|
From: | Gianluca Valentino |
Subject: | [Ltib] Cannot boot rootfs from SD card LPC 3131 |
Date: | Tue, 2 Mar 2010 11:39:37 +0100 |
Dear All, I wish to boot Linux on my LPC 3131 in the following manner: startup = copy ext2://1/zImage 0x30008000; boot cmdline console=/dev/ttyS0,115200n8 root=/dev/mmcblk0p1 rw rootfstype=ext2 However I get the following: CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: NXP EA313X Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p1 rw rootfstype=ex t2 irq=30 Event=0x18 bank:0 bit:24 type:1 irq=31 Event=0x50 bank:2 bit:16 type:0 PID hash table entries: 256 (order: 8, 1024 bytes) Console: colour dummy device 80x30 console [ttyS0] enabled Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 58756KB available (2680K code, 210K data, 120K init) Calibrating delay loop... 89.60 BogoMIPS (lpj=179200) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 288 bytes NET: Registered protocol family 16 cgu_init pll set at 180000000 Registering USB host 0x00000420 0x02401004 (3) enabling USB host vbus_power 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: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered checking if image is initramfs...it isn't (bad gzip magic numbers); looks like a n initrd Freeing initrd memory: 3072K pca9532 0-0060: setting platform data NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 120 io scheduler noop registered io scheduler anticipatory registered (default) Serial: 8250/16550 driver1 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x15001000 (irq = 10) is a NXP16750 ÿserial8250.0: ttyS0 at MMIO 0x15001000 (irq = 10) is a NXP16750 brd: module loaded dm9000 Ethernet Driver, V1.31 dm9000 dm9000.0: eth%d: Invalid ethernet MAC address. Please set using ifconfig eth0: dm9000a at c486e000,c4872000 IRQ 30 MAC: 00:00:00:00:00:00 (chip) Driver 'sd' needs updating - please use bus_type methods CGU: Get clock id:13 freq:90000000 NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron NAND 256MiB 1,8V 8-bit ) Creating 1 MTD partitions on "lpc313x_nand": 0x014c0000-0x10000000 : "lpc313x-rootfs" CGU: Get clock id:89 freq:90000000 mtd_dataflash spi0.0: at45db321d (4096 KBytes) pagesize 512 bytes (OTP) spi_lpc313x spi_lpc313x.0: chipselect 0 already in use spi_lpc313x spi_lpc313x.0: LPC313x SPI driver usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver lpc-ehci lpc-ehci.0: LPC EHCI Host Controller lpc-ehci lpc-ehci.0: new USB bus registered, assigned bus number 1 lpc-ehci lpc-ehci.0: irq 27, io mem 0x19000000 lpc-ehci lpc-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: LPC EHCI Host Controller usb usb1: Manufacturer: Linux 2.6.28.2 ehci_hcd usb usb1: SerialNumber: lpc-ehci.0 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver CGU: Get clock id:20 freq:45000000 lpc313x_mmc lpc313x_mmc.0: LPC313x MMC controller at irq 26 Advanced Linux Sound Architecture Driver Version 1.0.18rc3. ASoC version 0.13.2 UDA1380 Audio Codec 0.6<7>bus: 'i2c': add driver UDA1380 I2C Codec asoc: UDA1380 <-> lpc313x-i2s mapping ok ALSA device list: #0: LPC313X_I2S_UDA1380 (UDA1380) TCP cubic registered RPC: Registered udp transport module. RPC: Registered tcp transport module. RAMDISK: ext2 filesystem found at block 0 RAMDISK: image too big! (121600KiB/8192KiB) Root-NFS: No NFS server available, giving up. VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "mmcblk0p1" or unknown-block(2,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 240896 mtdblock0 (driver?) 1f01 4096 mtdblock1 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Don't worry about the RAMDISK IMAGE too big part, that's because I used a rootfs of > 64MB, for smaller rootfs.ext2 it still gives me the same errors at the end. Could you please help me out? Thanks and regards, Gianluca Valentino Hotmail: Free, trusted and rich email service. Get it now. |
[Prev in Thread] | Current Thread | [Next in Thread] |