From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Date: Mon, 30 Jul 2012 12:06:16 -0500 Subject: [U-Boot] Building u-boot for iMX28 and getting error in mkimage of missing command line parameter CONFIG_IMX_CONFIG In-Reply-To: References: <50118C35.4040304@techsi.com> <5012929C.9000905@techsi.com> <5012B551.8000603@techsi.com> Message-ID: <5016BF08.90804@techsi.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Here is my log. It stops at the "done, booting kernel." I tried setting the console to ttyAM0 and no change. I don't think its booting as I don't see the LCD flash and no penguin. The odd this is that I built the latest kernel for iMX and this uboot will boot it. I also included my u-boot environment settings at the end. Thanks, Bills U-Boot 2012.07-rc1-08235-g7c5f511 (Jul 26 2012 - 12:00:38) Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 Booting from net ... BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 44 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 44 DHCP client bound to address 192.168.0.240 Using FEC0 device TFTP from server 192.168.0.204; our IP address is 192.168.0.240 Filename 'uImage'. Load address: 0x42000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################## done Bytes transferred = 2562232 (2718b8 hex) ## Booting kernel from Legacy Image at 42000000 ... Image Name: Linux-2.6.35.3-571-gcca29a0 Created: 2012-07-12 15:53:55 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2562168 Bytes = 2.4 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. U-boot environment settings: U-Boot 2012.07-rc1-08235-g7c5f511 (Jul 26 2012 - 12:00:38) Freescale i.MX28 family at 454 MHz BOOT: SSP SD/MMC #0, 3V3 I2C: ready DRAM: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC0, FEC1 Hit any key to stop autoboot: 0 MX28EVK U-Boot > printenv baudrate=115200 bootargs=console=ttyAMA0,115200n8 debug root=/dev/nfs ip=dhcp nfsroot=192.168.0.204:/tools/rootfs,v3,tcp fec_mac= bootcmd=run bootcmd_net bootcmd_net=echo Booting from net ...; run netargs; dhcp ${uimage}; bootm bootdelay=3 bootfile=uImage console=ttyAMA0 console_fsl=console=ttyAM0console_mainline=console=ttyAMA0netargs=setenv bootargs console=${console_mainline}root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot} console_mainline=ttyAMA0 ethact=FEC0 ipaddr=192.168.0.19 loadaddr=0x42000000 netargs=setenv bootargs console=ttyAMA0,115200 netmask=255.255.255.0 nfsroot=/tools/rootfs serverip=192.168.0.204 stderr=serial stdin=serial stdout=serial ver=U-Boot 2012.07-rc1-08235-g7c5f511 (Jul 26 2012 - 12:00:38) Environment size: 770/16380 bytes MX28EVK U-Boot > On 7/28/2012 3:19 PM, Fabio Estevam wrote: > On Fri, Jul 27, 2012 at 3:15 PM, Fabio Estevam wrote: >> On Fri, Jul 27, 2012 at 12:35 PM, Bill wrote: >>> Thanks. I tried that and got the same results. Are there any debug/logging >>> that I can use to see what's going on? >> I just tried it here and 2012.07-rc3 does not boot for me too. > I was using the wrong LOADADDR for mx28, and that's the reason it did not boot. > > What is the error you are seeing? Can you post your log? > > Here is the log on 2012.07-rc3: > ... > > U-Boot 2012.07-rc3 (Jul 28 2012 - 17:08:24) > > Freescale i.MX28 family at 454 MHz > BOOT: SSP SD/MMC #0, 3V3 > I2C: ready > DRAM: 128 MiB > MMC: MXS MMC: 0 > In: serial > Out: serial > Err: serial > Net: FEC0, FEC1 > Hit any key to stop autoboot: 0 > Using FEC0 device > TFTP from server 192.168.1.1; our IP address is 192.168.1.2 > Filename 'uImage'. > Load address: 0x42000000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ###### > done > Bytes transferred = 2358008 (23faf8 hex) > ## Booting kernel from Legacy Image at 42000000 ... > Image Name: Linux-3.5.0-next-20120727-00004- > Created: 2012-07-28 20:06:58 UTC > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 2357944 Bytes = 2.2 MiB > Load Address: 40008000 > Entry Point: 40008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > [ 0.000000] Booting Linux on physical CPU 0 > [ 0.000000] Linux version 3.5.0-next-20120727-00004-gef9b4ac > (fabio at fabio-Latitude-E6410) (gcc version 4.4.4 (4.4.4_09.06.2010) ) > #1309 Sat Jul 28 17:06:52 > [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 > [ 0.000000] CPU: VIVT data cache, VIVT instruction cache > [ 0.000000] Machine: Freescale MX28 EVK > [ 0.000000] Memory policy: ECC disabled, Data cache writeback > [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. > Total pages: 32512 > [ 0.000000] Kernel command line: console=ttyAMA0 root=/dev/nfs > ip=dhcp nfsroot=192.168.1.1:/tftpboot/ltib,v3,tcp > [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) > [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > [ 0.000000] Memory: 128MB = 128MB total > [ 0.000000] Memory: 119808k/119808k available, 11264k reserved, 0K highmem > [ 0.000000] Virtual kernel memory layout: > .... -- William (Bill) L. Sousan, Ph.D. (w) 402.331.4977 ext. 4002 bsousan at techsi.com Technical Support Inc. 11253 John Galt Blvd Omaha, NE 68137 www.techsi.com 8(a) SDB Certified, ISO 9001:2008