From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Tue, 21 Oct 2008 17:30:18 -0700 Subject: [U-Boot] [PATCH] [ARM] Apollon UBI support In-Reply-To: <9c9fda240810211717r447103b8pc29384991786e1af@mail.gmail.com> References: <20081021091908.GA29310@july> <20081021102725.1EA83835694E@gemini.denx.de> <9c9fda240810211717r447103b8pc29384991786e1af@mail.gmail.com> Message-ID: <48FE741A.6050408@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Kyungmin, Kyungmin Park wrote: > Dear Wolfgang, > > >>> -# define CONFIG_BOOTARGS "root=/dev/nfs rw mem=64M console=ttyS0,115200n8 ip=192.168.116.25:192.168.116.1:192.168.116.1:255.255.255.0:apollon:eth0:off nfsroot=/tftpboot/nfsroot profile=2" >>> +# define CONFIG_BOOTARGS "root=/dev/nfs rw mem=64M console=ttyS0,115200n8 ip=192.168.116.25:192.168.116.1:192.168.116.1:255.255.255.0:apollon:eth0:off nfsroot=/tftpboot/nfsroot profile=2 lpj=1646592 ubi.mtd=4" >>> #else >>> -# define CONFIG_BOOTARGS "root=/dev/nfs rw mem=128M console=ttyS0,115200n8 ip=192.168.116.25:192.168.116.1:192.168.116.1:255.255.255.0:apollon:eth0:off nfsroot=/tftpboot/nfsroot profile=2" >>> +# define CONFIG_BOOTARGS "root=/dev/nfs rw mem=128M console=ttyS0,115200n8 ip=192.168.116.25:192.168.116.1:192.168.116.1:255.255.255.0:apollon:eth0:off nfsroot=/tftpboot/nfsroot profile=2 lpj=1646592 ubi.mtd=4" >>> >> Maximum line length exceeded. >> >> > > Fixed all commented except one. > I run the checkpatch.pl and passed. > > >> And please do not hard-code network parameters into U-Boot. >> >> > > Then how to define the network IP at bootargs? please give some example? > You set environment variables (ie. setenv bootcmd ...) regards, Ben