From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f66.google.com (mail-qa0-f66.google.com [209.85.216.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1F3B6E0053F for ; Tue, 19 Nov 2013 07:04:06 -0800 (PST) Received: by mail-qa0-f66.google.com with SMTP id f11so541687qae.5 for ; Tue, 19 Nov 2013 07:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1rRLAV8SVb2BAJKgw19OZvLzZRaVCk37nKK3aSkVOKk=; b=JCsaEt1ggk0OFdXywxkRwy5LJM0r9pixyNRs/Oa4UR+xfZm4581HZtCZ3hJceXBvNX MrVVYCNNl7p6EydhNjKDSvD2D9QKA02tozXRg+c6WpiDRlRwqnOF8MUu3xn4O3vOtfXU RLCpFNG+Be8alnWfcP3BqZ+XjRXxlQZqPqF46QoGjn8E+jlTy6ldnT9HHXjCRXy59oU3 ntSlJSo2Pw+yBRizFFhTBAa3WxStdBIKipjGV4KprVZPJVcAEjTDp+taRxdbRLZhlbHb Oaso0qj9SqslEhgxgvGFuicNLrSga6ZXeEFUfKh3RgbZ5NctgjlKuvA7Wioi/s104NAE YUjA== MIME-Version: 1.0 X-Received: by 10.224.22.20 with SMTP id l20mr43712996qab.17.1384873445651; Tue, 19 Nov 2013 07:04:05 -0800 (PST) Received: by 10.140.102.167 with HTTP; Tue, 19 Nov 2013 07:04:05 -0800 (PST) In-Reply-To: <528B5529.5090807@denx.de> References: <528B27C0.5060901@denx.de> <528B390E.4000401@denx.de> <528B5529.5090807@denx.de> Date: Tue, 19 Nov 2013 18:34:05 +0330 Message-ID: From: jack lemon To: Stefano Babic X-Mailman-Approved-At: Tue, 19 Nov 2013 08:43:11 -0800 Cc: yocto@yoctoproject.org Subject: Re: How to modify u-boot in Root File System rootfs.ext2.gz.u-boot ? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 15:04:08 -0000 Content-Type: multipart/alternative; boundary=047d7bf0cfecc9889b04eb88f9fa --047d7bf0cfecc9889b04eb88f9fa Content-Type: text/plain; charset=ISO-8859-1 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 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@denx.de > ===================================================================== > --047d7bf0cfecc9889b04eb88f9fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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@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 root= fs
> 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.<= br>
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 =3D "115200 ttyS0" to my local.conf accor= ding 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.
=A0
Best regards,
Stefano Babic

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

--047d7bf0cfecc9889b04eb88f9fa--