[yocto] Allow choose of U-Boot config for machine

JH jupiter.hce at gmail.com
Tue Jul 2 00:40:38 PDT 2019


Thanks Gabriele, you are right, it did not work in command line but it
did not complain after UBOOT_CONFIG = "nand" to local.conf, how can I
am sure it is built to boot from nand? I don't have a board to try
yet.

Thank you very much.

Kind regards,

- jh


On 7/2/19, Gabriele Zampieri <gabbla.malist at gmail.com> wrote:
> Hi,
>
> you must use double quotes around nand, so:
> UBOOT_CONFIG = "nand"
>
> However I cannot guarantee this line will be the solution, I usually use a
> customized uboot.
>
> Gabriele
>
> Il giorno mar 2 lug 2019 alle ore 04:07 JH <jupiter.hce at gmail.com> ha
> scritto:
>
>> Hi,
>>
>> The imx6ullevk.conf defined sdcard for booting on imx6 EVK:
>>
>> imx6ullevk.conf
>>
>> UBOOT_CONFIG ??= "sd"
>> UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
>> UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
>>
>> I need to change it for a customized board referenced from imx6 EVK
>> but booting from NAND, there are some blogs said it can be done to add
>> UBOOT_CONFIG=nand either in local.conf or command line. I tried it did
>> not work:
>>
>> ERROR: Unable to start bitbake server (None)
>> --- Starting bitbake server pid 2673 at 2019-07-02 11:54:24.011086 ---
>> ERROR: local.conf:34: unparsed line: 'UBOOT_CONFIG=nand'
>>
>> What should be a proper process to overwrite imx6ullevk.conf
>> UBOOT_CONFIG from sdcard to nand?
>>
>> Thank you.
>>
>> Kind regards,
>>
>> - JH
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>


More information about the yocto mailing list