Return-Path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 784F8E00510 for ; Tue, 19 Nov 2013 03:25:57 -0800 (PST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VijRL-0001rl-Ge for yocto@yoctoproject.org; Tue, 19 Nov 2013 12:25:55 +0100 Received: from 78.157.37.205 ([78.157.37.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Nov 2013 12:25:55 +0100 Received: from lemonjack05 by 78.157.37.205 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Nov 2013 12:25:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: yocto@yoctoproject.org From: Jack Date: Tue, 19 Nov 2013 11:25:34 +0000 (UTC) Message-ID: References: <528B27C0.5060901@denx.de> <528B390E.4000401@denx.de> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 78.157.37.205 (Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0) 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 11:25:57 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stefano Babic writes: > > On 19/11/2013 10:59, Jack Lemon wrote: > > Stefano Babic ...> 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?