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

Stefano Babic <sbabic@...> writes:

> 
> 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
> 

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? 

So, for modifying u-boot to adujst serial boaudrate, I understand that I can
add SERIAL_CONSOLE = "115200 ttyS0" to my local.conf according to your reply
and it doesnt need to modify u-boot source code.

Am I in the right place?




  reply	other threads:[~2013-11-19 11:25 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 [this message]
2013-11-19 12:10         ` Stefano Babic
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=loom.20131119T121506-919@post.gmane.org \
    --to=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.