[Techtalk] Problem with AMCC powerPC 440EP (yosemite)

Sridhar Mahadevan msridhar87 at gmail.com
Mon Aug 24 13:50:08 UTC 2009


 Hi,
I am trying to bring up the AMCC powerPC 440EP (yosemite) eval board using
the wind river linux 2.0.The kernel version is 2.6.21.
I compiled kernel for ppc and cross compiled busybox. I tried to load the
kernel and file system using tftp and I got the following message.The kernel
exits with kernel panic with signal 11.Am using busybox-1.4.1.

"===================================================================================
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot:  0
=> printenv
baudrate=115200
loads_echo=1
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over
NFS;echo
netdev=eth0
hostname=yosemite
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs}
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
flash_nfs=run nfsargs addip addtty;bootm ${kernel_addr}
flash_self=run ramargs addip addtty;bootm ${kernel_addr} ${ramdisk_addr}
net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;bootm
bootfile=/tftpboot/yosemite/uImage
kernel_addr=fc000000
ramdisk_addr=fc180000
load=tftp 100000 /tftpboot/yosemite/u-boot.bin
update=protect off fff80000 ffffffff;era fff80000 ffffffff;cp.b 100000
fff80000 80000;setenv filesize;saveenv
upd=run load;run update
ethaddr=00:10:ec:01:00:57
eth1addr=00:10:ec:41:00:57
bootdelay=5
bootcmd=run flash_self
ethact=ppc_4xx_eth0
kozio=bootm 0xfc320000
bootfromtftp=tftp 0x200000 uImage; tftp 0x1000000 ramdisk.img; bootm
0x200000 0x1000000
filesize=149516
fileaddr=200000
gatewayip=172.30.15.33
netmask=255.255.255.0
ipaddr=172.30.15.243
serverip=172.30.15.48
rootpath=/home/sridharm/nfs
bootargs=console=ttyS0,115200 root=/dev/ram rw init=/sbin/linuxrc panic=3
loglevel=7
initrd_high=0x00000000
stdin=serial
stdout=serial
stderr=serial
Environment size: 1396/8187 bytes
=> setenv bootargs 'console=ttyS0,115200 rw init=linuxrc'
=> tftp 0x200000 uImage
ENET Speed is 100 Mbps - FULL duplex connection
Using ppc_4xx_eth0 device
TFTP from server 172.30.15.48; our IP address is 172.30.15.243
Filename 'uImage'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         ########################################
done
Bytes transferred = 1200686 (12522e hex)
=> tftp 0x1000000 new_image.img
Using ppc_4xx_eth0 device
TFTP from server 172.30.15.48; our IP address is 172.30.15.243
Filename 'new_image.img'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############################################################
done
Bytes transferred = 5302796 (50ea0c hex)
=> bootm 0x200000 0x1000000
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.21
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1200622 Bytes =  1.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 01000000 ...
   Image Name:   fs
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    5302732 Bytes =  5.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Ramdisk to 002f1000, end 007ff9cc ... OK
DEBUG:kernel started
Linux version 2.6.21 (root at cheuxeri002) (gcc version 4.1.2 (Wind River Linux
Sourcery G++ 4.1-91)) #9 Fri Aug 21 10:07:07 IST 2009
AMCC PowerPC 440EP Yosemite Platform
Zone PFN ranges:
  DMA             0 ->    65536
  Normal      65536 ->    65536
early_node_map[1] active PFN ranges
    0:        0 ->    65536
Built 1 zonelists.  Total pages: 65024
Kernel command line: console=ttyS0,115200 rw init=linuxrc
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 252032k available (1812k kernel code, 572k data, 144k init, 0k
highmem)
Mount-cache hash table entries: 512
Gonna call init
DEBUG:Going to create init
DEBUG:entering do_initcalls
NET: Registered protocol family 16
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
Freeing initrd memory: 5178k freed
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
serial8250: ttyS2 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS3 at MMIO 0x0 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 200000K size 1024 blocksize
PPC 4xx OCP EMAC driver, version 3.54
mal0: initialized, 4 TX channels, 2 RX channels
zmii0: bridge in RMII mode
eth0: emac0, MAC 00:10:ec:01:00:57
eth0: found Generic MII PHY (0x01)
eth1: emac1, MAC 00:10:ec:41:00:57
eth1: found Generic MII PHY (0x03)
usbmon: debugfs is not available
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
DEBUG:going to free init memory
*Freeing unused kernel memory: 144k init
init has generated signal 11 but has no handler for it
Kernel panic - not syncing: Attempted to kill init!
Rebooting in 180 seconds..*

===================================================================================

Am struck with this for more than a week and am a newbie to board bring up.
Kindly help me.


More information about the Techtalk mailing list