[yocto] Where to add U-Boot argements bootargs and bootcmd?

JH jupiter.hce at gmail.com
Mon Jul 15 05:45:47 PDT 2019


Thanks Gabriele and Maciej, I use meta-freescale for imx6. The u-boot
argements seem defined in wks files such as imx-uboot-mxs.wks,
imx-uboot-bootpart.wks, not quite sure how to extend or overwrite it.
Sorry still learning the Yocto.

Thank you.

Kind regards,

- jh

On 7/15/19, Gabriele Zampieri <gabbla.malist at gmail.com> wrote:
> Yes, thanks Maciej for pointing that out! It may be a good starting point
> for JH.
>
> Gabriele
>
> Il giorno lun 15 lug 2019 alle ore 10:29 Maciej Pijanowski <
> maciej.pijanowski at 3mdeb.com> ha scritto:
>
>>
>> On 15.07.2019 08:45, Gabriele Zampieri wrote:
>>
>> Hi,
>>
>> as far as I know, there is no mechanism to add custom bootargs and/or
>> bootcmd to uboot via Yocto (correct me if I'm wrong). I usually patch the
>> upstream uboot to achieve this task.
>>
>> I also haven't heard of any standardized way. It may depend on the target
>> hardware
>> and the BSP layer you are using. Apart from patching the U-Boot, there
>> also might
>> be boot.cmd script to modify or the config.txt in case of the RPI, for
>> example.
>>
>>
>> Best regards,
>> Gabriele
>>
>> Il giorno lun 8 lug 2019 alle ore 22:43 JH <jupiter.hce at gmail.com> ha
>> scritto:
>>
>>> Hi,
>>>
>>> Which Yocto files and which statement can I add my own U-Boot bootargs
>>> and bootcmd?
>>>
>>> Thank you.
>>>
>>> - jupiter
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> --
>> Maciej Pijanowski
>> Embedded Systems Engineerhttps://3mdeb.com | @3mdeb_com
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>


More information about the yocto mailing list