[yocto] How to modify u-boot in Root File System rootfs.ext2.gz.u-boot ?

Stefano Babic sbabic at denx.de
Tue Nov 19 02:10:22 PST 2013


On 19/11/2013 10:59, Jack Lemon wrote:
> Stefano Babic <sbabic at ...> writes:
> 
> 
>> Is it not enough to add SERIAL_CONSOLE = "115200 ttyS0" (or which serial
>> you use as console) to your machine conf ?
>>
>> Best regards,
>> Stefano Babic
>>
> 
> Thank you Stefano for your reply.
> Does it not any need to edit u-boot source code? just adding SERIAL_CONSOLE
> = "115200 ttyS0" to local.conf?

You asked to change your rootfs (initrd, I presume)
fsl-image-minimal-p1022ds.ext2.gz.u-boot, and setting SERIAL_CONSOLE
adjusts the parameters for inittab.

If you want to change u-boot as well (but this is outside
fsl-image-minimal-*) and you do not want to compile it outside Yocto,
you have to put the patch you already have in your bsp directory and
adjust your u-boot receipe.

Best regards
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================



More information about the yocto mailing list