Hi,
I'm trying to boot an upgraded Kernel on my Guruplug standard.
I cross compiled the latest kernel (2.6.37-rc7) taken from linux.org using the latest code sorcery files (arm-2010.09).
I have copied the uImage file to the Guruplug using TFTP and written it to the 0x100000 address.
The guruplug still contains the original RFS (rootfs.ubi.img) taken from
http://www.plugcomputer.org/index.php/us/resources/downloads?func=select&id=18 When I boot the plug I get the following error:
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Any ideas?
Thanks in advance!
Here is the partial output from the Plug:
...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung )
Scanning device for bad blocks
Bad eraseblock 505 at 0x000003f20000
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "root"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
ata1: SATA link down (SStatus 0 SControl F300)
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 2
UBI: attached mtd2 to ubi0
UBI: MTD device name: "root"
UBI: MTD device size: 507 MiB
UBI: number of good PEBs: 4055
UBI: number of bad PEBs: 1
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 4055
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 1/0
UBI: image sequence number: -1
UBI: background thread "ubi_bgt0d" started, PID 445
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:50:43:67:64:06
net eth1: port 0 with MAC address 00:50:43:67:64:07
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2010-12-30 13:04:32 UTC (1293714272)
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 (driver?)
1f01 4096 mtdblock1 (driver?)
1f02 519168 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c002c4ac>] (unwind_backtrace+0x0/0xe0) from [<c0347b64>] (panic+0x68/0x18c)
[<c0347b64>] (panic+0x68/0x18c) from [<c0008ea4>] (mount_block_root+0x1bc/0x1fc)
[<c0008ea4>] (mount_block_root+0x1bc/0x1fc) from [<c000902c>] (prepare_namespace+0x88/0x174)
[<c000902c>] (prepare_namespace+0x88/0x174) from [<c0008afc>] (kernel_init+0x10c/0x14c)
[<c0008afc>] (kernel_init+0x10c/0x14c) from [<c00284d8>] (kernel_thread_exit+0x0/0x8)
And the output from printenv
bootdelay=3
baudrate=115200
ethaddr=00:50:43:67:64:06
eth1addr=00:50:43:67:64:07
ethact=egiga0
x_bootcmd_ethernet1=set ethact egiga1
x_bootcmd_ethernet=ping 192.168.2.1
serverip=192.168.2.1
ipaddr=192.168.2.2
x_bootcmd_usb=usb start
x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
x_bootargs=console=ttyS0,115200
x_bootcmd=$(x_bootcmd_usb); $(x_bootcmd_kernel); setenv bootargs $(x_bootargs) $(x_bootargs_root) ;bootm 0x6400000;
bootcmd=run x_bootcmd
mainlineLinux=yes
stdin=serial
stdout=serial
stderr=serial
Environment size: 579/131068 bytes