[ELDK] Canyonlands Freezes after "Uncompressing Kernel Image ... OK"
camel joe
camel4joe at gmail.com
Sat Oct 3 01:55:00 CEST 2009
Can someone help see(the boot log included at the end) what I did
wrong in booting Canyonlands board with my own compiled kernel?
My situation: I "git pull" the kernel source from DENX and use ELDK
(a proven toolchain that has been working successfully with Makalu,
Kilauea, etc. boards), and follow exactly the Canyonlands document for
compiling the kernel, and use the same NFS/TFTP servers (the same
setup has been working successfully with other boards, too) to boot
the board. But the board always freezes when the following line shows
up"
Uncompressing Kernel Image ... OK
--Joe
---------------------------------------------------- my boot log
follows ---------------------------------------------
U-Boot 2009.08-rc1 (Aug 27 2009 - 17:02:42)
CPU: AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=200, OPB=100, EBC=100 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 16
I2C: ready
DRAM: 512 MB (ECC not enabled, 400 MHz, CL3)
FLASH: 64 MB
NAND: 128 MiB
PCI: Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE0: initialization as root-complex failed
PCIE1: link is not up.
PCIE1: initialization as root-complex failed
In: serial
Out: serial
Err: serial
DTT: 1 is 48 C
Net: ppc_4xx_eth0, ppc_4xx_eth1
Type run flash_nfs to mount root filesystem over NFS
Hit any key to stop autoboot: 5 4 3 2 0
=> printenv
bootdelay=5
baudrate=115200
loads_echo=1
netdev=eth0
hostname=canyonlands
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
addip=setenv bootargs ${bootargs}
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
rootpath=/opt/eldk/ppc_4xxFP
bootfile=canyonlands/uImage
fdt_file=canyonlands/canyonlands.dtb
initrd_high=30000000
load=tftp 200000 canyonlands/u-boot.bin
update=protect off fffa0000 ffffffff;era fffa0000 ffffffff;cp.b
${fileaddr} fffa0000 ${filesize};setenv filesize;saveenv
upd=run load update
nload=tftp 200000 canyonlands/u-boot-nand.bin
nupdate=nand erase 0 60000;nand write 200000 0 60000;setenv filesize;saveenv
nupd=run nload nupdate
pciconfighost=1
pcie_mode=RP:RP
ipaddr=192.168.1.62
ramargs=setenv bootargs ramdisk_size=65536 root=/dev/ram rw
dynip=setenv autoload n;dhcp
fixedip=echo Using ip address ${ipaddr}
flash_self_old=run ramargs addip addtty;bootm ${kernel_addr} ${ramdisk_addr}
flash_self=run ramargs setip addip addtty;bootm ${kernel_addr}
${ramdisk_addr} ${fdt_addr}
flash_nfs_old=run nfsargs addip addtty;bootm ${kernel_addr}
flash_nfs=run nfsargs setip addip addtty;bootm ${kernel_addr} - ${fdt_addr}
preboot=echo;echo Type 'run flash_nfs' to mount root filesystem over NFS;echo
setip=echo Using ip address ${ipaddr}
bootcmd=run flash_self
kernel_addr=0xfc000000
ramdisk_addr=0xfc200000
fdt_addr=0xfc1e0000
net_nfs_old=tftp 200000 ${bootfile};run nfsargs addip addtty;bootm 200000
net_nfs=tftp 200000 ${bootfile};tftp ${fdt_addr} ${fdt_file};run
nfsargs addip addtty;bootm 200000 - ${fdt_addr}
ethaddr=00:10:ec:01:21:03
eth1addr=00:10:ec:81:21:03
stdin=serial
stdout=serial
stderr=serial
ethact=ppc_4xx_eth0
ver=U-Boot 2009.08-rc1 (Aug 27 2009 - 17:02:42)
Environment size: 1807/16379 bytes
=> setenv ipaddr 172.20.11.20
=> setenv netmask 255.255.254.0
=> setenv serverip 172.20.10.34
=> setenv gatewayip 172.20.10.1
=> setenv rootpath /opt/eldk/ppc_4xx
=> setenv fdt_addr 400000
=> printenv
bootdelay=5
baudrate=115200
loads_echo=1
netdev=eth0
hostname=canyonlands
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
addip=setenv bootargs ${bootargs}
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
bootfile=canyonlands/uImage
fdt_file=canyonlands/canyonlands.dtb
initrd_high=30000000
load=tftp 200000 canyonlands/u-boot.bin
update=protect off fffa0000 ffffffff;era fffa0000 ffffffff;cp.b
${fileaddr} fffa0000 ${filesize};setenv filesize;saveenv
upd=run load update
nload=tftp 200000 canyonlands/u-boot-nand.bin
nupdate=nand erase 0 60000;nand write 200000 0 60000;setenv filesize;saveenv
nupd=run nload nupdate
pciconfighost=1
pcie_mode=RP:RP
ramargs=setenv bootargs ramdisk_size=65536 root=/dev/ram rw
dynip=setenv autoload n;dhcp
fixedip=echo Using ip address ${ipaddr}
flash_self_old=run ramargs addip addtty;bootm ${kernel_addr} ${ramdisk_addr}
flash_self=run ramargs setip addip addtty;bootm ${kernel_addr}
${ramdisk_addr} ${fdt_addr}
flash_nfs_old=run nfsargs addip addtty;bootm ${kernel_addr}
flash_nfs=run nfsargs setip addip addtty;bootm ${kernel_addr} - ${fdt_addr}
preboot=echo;echo Type 'run flash_nfs' to mount root filesystem over NFS;echo
setip=echo Using ip address ${ipaddr}
bootcmd=run flash_self
kernel_addr=0xfc000000
ramdisk_addr=0xfc200000
net_nfs_old=tftp 200000 ${bootfile};run nfsargs addip addtty;bootm 200000
net_nfs=tftp 200000 ${bootfile};tftp ${fdt_addr} ${fdt_file};run
nfsargs addip addtty;bootm 200000 - ${fdt_addr}
ethaddr=00:10:ec:01:21:03
eth1addr=00:10:ec:81:21:03
stdin=serial
stdout=serial
stderr=serial
ethact=ppc_4xx_eth0
ver=U-Boot 2009.08-rc1 (Aug 27 2009 - 17:02:42)
ipaddr=172.20.11.20
netmask=255.255.254.0
serverip=172.20.10.34
gatewayip=172.20.10.1
rootpath=/opt/eldk/ppc_4xx
fdt_addr=400000
Environment size: 1867/16379 bytes
=> run net_nfs
Waiting for PHY auto negotiation to complete.. done
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 172.20.10.34; our IP address is 172.20.11.20
Filename 'canyonlands/uImage'.
Load address: 0x200000
Loading: *T T T T
#################################################################
############################################################
done
Bytes transferred = 1831711 (1bf31f hex)
Using ppc_4xx_eth0 device
TFTP from server 172.20.10.34; our IP address is 172.20.11.20
Filename 'canyonlands/canyonlands.dtb'.
Load address: 0x400000
Loading: *T T T #
done
Bytes transferred = 10140 (279c hex)
## Booting kernel from Legacy Image at 00200000 ...
Image Name: Linux-2.6.31-00020-gc94e8c9
Created: 2009-10-01 1:14:02 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1831647 Bytes = 1.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00400000
Booting using the fdt blob at 0x400000
Uncompressing Kernel Image ... OK
More information about the eldk
mailing list