Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs..
We are working on a platform "MPC5200 lite" with embedded Linux from denx (flavour of Debian) and kernel version is 2.4.25. We are in need of building new kernel image for the same and we face some issues with this. It will be grateful if anybody can throw some light towards solving the issue.
As per the Application note Installing Embedded Linux on Motorola MPC5200 Lite evaluation board, emsys.denayer.wenk.be/emcam/Linux_on_MPC5200_(UK).pdf", page 11, we tried building of Linux Kernel by using the configuration file icecube_5200_defconfig. After downloading the image to the target using TFTP, we tried booting with bootm command. But, the system doesnt boot properly as it is unable to mount root fs, please find the boot up log as follows: => setenv bootargs root=/dev/hda1 rw panic=1 => tftp Using FEC ETHERNET device TFTP from server 10.114.105.41; our IP address is 10.114.105.162 Filename 'MPC5200/uImage'. Load address: 0x100000 Loading: T ################################################################# ################################################################# ################################ done Bytes transferred = 829404 (ca7dc hex) => printenv ethact=FEC ETHERNET ethaddr=00:01:AF:52:01:17 hostname=icecube flashroot=root=/dev/mtdblock2 rw rootpatip=:::::eth0:off=panic=1 baudrate=115200 bootdelay=5 preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo netdev=eth0 rootpath=/opt/eldk/ppc_82xx ramargs=setenv bootargs root=/dev/ram rw nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1 flash_nfs=run nfsargs addip;bootm $(kernel_addr) flash_self=run ramargs addip;bootm $(kernel_addr) $(ramdisk_addr) net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm kernel_addr=FF100000 ramdisk_addr=FF200000 ideargs=setenv bootargs root=/dev/hda1 rw flash_ide=run ideargs addip; bootm $(kernel_addr) bootcmd=run flash_ide bootfile=MPC5200/uImage stdin=serial stdout=serial stderr=serial bootargs=root=/dev/hda1 rw panic=1 filesize=ca7dc fileaddr=100000 gatewayip=10.114.105.41 netmask=255.255.255.0 ipaddr=10.114.105.162 serverip=10.114.105.41 Environment size: 1055/65532 bytes => bootm ## Booting image at 00100000 ... Image Name: Linux-2.4.25 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 829340 Bytes = 809.9 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb Linux version 2.4.25 (root@M4-110822) (gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-10)) #1 Wed May 10 17:50:07 IST 2006 On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/hda1 rw panic=1 Calibrating delay loop... 263.78 BogoMIPS Memory: 62280k available (1440k kernel code, 456k data, 76k init, 0k highmem) Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware PCI: Cannot allocate resource region 0 of device 00:1a.0 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Journalled Block Device driver loaded JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc. pty: 256 Unix98 ptys configured ttyS0 on PSC1 ttyS1 on PSC2 ttyS2 on PSC3 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Port Config is: 0x11050004 ipb=66MHz, set clock period to 15 GPIO config: 11050004 ATA invalid: 00800000 ATA hostcnf: 03000000 ATA pio1 : 100a0a00 ATA pio2 : 02040600 XLB Arb cnf: 0000a366 mpc5xxx_ide: Setting up IDE interface ide0... ATA DMA task: 5 Probing IDE interface ide0... hda: ST340015A, ATA DISK drive hda: Setting UDMA 2 timings hda: Setting PIO 4 timings ide0 at 0xf0003a60-0xf0003a67,0xf0003a5c on irq 45 hda: attached ide-disk driver. hda: host protected area => 1 hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63, UDMA(33) Partition check: hda:<7>Unhandled interrupt 1a, disabled hda1 hda2 Icecube Bank 0: Found 1 x8 devices at 0x0 in 8-bit mode Icecube Bank 0: Found 1 x8 devices at 0x800000 in 8-bit mode Amd/Fujitsu Extended Query Table at 0x0040 Icecube Bank 0: CFI does not contain boot bank location. Assuming top. number of CFI chips: 2 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Icecube flash bank 0: Using static image partition definition Creating 5 MTD partitions on "Icecube Bank 0": 0x00000000-0x00800000 : "Spare" 0x00800000-0x00900000 : "kernel" 0x00900000-0x00c00000 : "initrd" 0x00c00000-0x00f00000 : "jffs" 0x00f00000-0x01000000 : "Firmware" NET4: Linux TCP/IP 1.0 for NET4.0 eth0: Phy @ 0x0, type LXT971 (0x001378e2) IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. cramfs: wrong magic FAT: bogus logical sector size 7424 FAT: bogus logical sector size 7424 Kernel panic: VFS: Unable to mount root fs on 03:01 <0>Rebooting in 1 seconds.. U-Boot 1.1.3 (May 20 2005 - 18:29:54) CPU: MPC5200 v1.2 at 396 MHz Bus 132 MHz, IPB 66 MHz, PCI 33 MHz Board: Motorola MPC5200 (IceCube) I2C: 85 kHz, ready DRAM: 64 MB FLASH: 16 MB PCI: Bus Dev VenId DevId Class Int 00 1a 1057 5803 0680 00 In: serial Out: serial Err: serial Net: FEC ETHERNET IDE: Bus 0: OK Device 0: Model: ST340015A Firm: 3.15 Ser#: 5LAMQLQ6 Type: Hard Disk Capacity: 38166.6 MB = 37.2 GB (78165360 x 512) Device 1: not available Type "run flash_nfs" to mount root filesystem over NFS |
All times are GMT -5. The time now is 12:05 AM. |