[poky] [PATCH v1] u-boot/beaglebone: Select Beaglebone Black target specifically.
Kristian Amlie
kristian.amlie at mender.io
Tue Dec 27 00:52:39 PST 2016
On 20/12/16 09:10, Kristian Amlie wrote:
> On 19/12/16 17:03, Ed Bartosh wrote:
>> On Mon, Dec 19, 2016 at 09:14:58AM +0100, Kristian Amlie wrote:
>>> On 16/12/16 15:28, Ed Bartosh wrote:
>>>> On Fri, Dec 16, 2016 at 08:32:48AM +0100, Kristian Amlie wrote:
>>>>> The am335x_evm_config target has a subtle problem which is not present
>>>>> in the am335x_boneblack_config target: When booting from an external
>>>>> MMC card, the internal MMC is not accessible using the former target.
>>>>>
>>>>> This problem was introduced in U-Boot in commit 80b24fcd3083515e6b961,
>>>>> due to the addition of the CONFIG_DM_MMC option, and the
>>>>> am335x_boneblack_config target does not have this problem.
>>>>>
>>>>> Signed-off-by: Kristian Amlie <kristian.amlie at mender.io>
>>>>> ---
>>>>> meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +-
>>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
>>>>> index fc6a527..24a95b4 100644
>>>>> --- a/meta-yocto-bsp/conf/machine/beaglebone.conf
>>>>> +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
>>>>> @@ -31,7 +31,7 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
>>>>>
>>>>> SPL_BINARY = "MLO"
>>>>> UBOOT_SUFFIX = "img"
>>>>> -UBOOT_MACHINE = "am335x_evm_config"
>>>>> +UBOOT_MACHINE = "am335x_boneblack_config"
>>>>> UBOOT_ENTRYPOINT = "0x80008000"
>>>>> UBOOT_LOADADDRESS = "0x80008000"
>>>>>
>>>>
>>>> Would this work for Beaglebone white?
>>>
>>> I don't have one, so unfortunately I can't test it. However, the
>>> beagleboard.org site states that the differences between the two are the
>>> on-board USB JTAG and serial adapters. Looking at the differences of the
>>> two configs I can't find anything obvious that would influence this
>>> (I'll admit that I don't fully understand all the options though).
>>>
>>
>> I don't understand it neither. I'm just worrying that we can break
>> support for BBW, which is mentioned in README.hardware as poky reference hardware.
>
> I have sent an email to the U-Boot mailing list to ask.
Someone on the U-Boot mailing list just confirmed that he was running
the am335x_boneblack target for both Black, Green and White.
--
Kristian
More information about the poky
mailing list