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

Stefano Babic sbabic at denx.de
Tue Nov 19 04:10:17 PST 2013


Hi Jack,

On 19/11/2013 12:25, Jack wrote:

> For Nor-Flash we have only three files(kernel,rootfs,dtb). Where is u-boot?
> I think it is inside the fsl-image-minimal-p1022ds.ext2.gz.u-boot rootfs
> file. Is it true? 

I do not think so, but you are the best to answer this question: unzip
the file and check inside.

However, even if it contains a u-boot.bin or whatever is your u-boot
file, you have to extract it to write the bootloader at the right address.

In most cases, you will see a separate image for u-boot in
tmp/deploy/images diurectory.

> 
> So, for modifying u-boot to adujst serial boaudrate,

No. To modify the serial console under linux.

> I understand that I can
> add SERIAL_CONSOLE = "115200 ttyS0" to my local.conf according to your reply

See Robert reply. SERIAL_CONSOLE is deprecated, uses SERIAL_CONSOLES
instead.

> and it doesnt need to modify u-boot source code.
> 
> Am I in the right place?

Mmmhh..there is something missing. Usually you have a separate file for
u-boot. Of course, if u-boot is part of the filesystem, you cannot use
for a first installation because u-boot must be copied at a specific
address.

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