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

jack lemon lemonjack05 at gmail.com
Tue Nov 19 07:04:05 PST 2013


Thanks a lot for your answers Stefano,

I put the patch in my bsp directory and adjust my u-boot receipe.


On Tue, Nov 19, 2013 at 3:40 PM, Stefano Babic <sbabic at denx.de> wrote:

> 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
> =====================================================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131119/072b4154/attachment.html>


More information about the yocto mailing list