All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: Jack <lemonjack05@gmail.com>, yocto@yoctoproject.org
Subject: Re: How to modify u-boot in Root File System rootfs.ext2.gz.u-boot ?
Date: Tue, 19 Nov 2013 13:10:17 +0100	[thread overview]
Message-ID: <528B5529.5090807@denx.de> (raw)
In-Reply-To: <loom.20131119T121506-919@post.gmane.org>

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@denx.de
=====================================================================


  reply	other threads:[~2013-11-19 12:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-16 15:24 How to modify u-boot in Root File System rootfs.ext2.gz.u-boot ? Jack lemon
2013-11-19  7:32 ` Jack Lemon
2013-11-19  8:56 ` Stefano Babic
2013-11-19  9:59   ` Jack Lemon
2013-11-19 10:10     ` Stefano Babic
2013-11-19 11:25       ` Jack
2013-11-19 12:10         ` Stefano Babic [this message]
2013-11-19 15:04           ` jack lemon
2013-11-19 10:13     ` Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528B5529.5090807@denx.de \
    --to=sbabic@denx.de \
    --cc=lemonjack05@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.