With the onboard nand as the root fs, my openrd client hangs at
UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0030a64>] (unwind_backtrace+0x0/0xd8) from [<c0369f78>] (panic+0x40/0x108)
[<c0369f78>] (panic+0x40/0x108) from [<c0008e40>] (mount_block_root+0x1d0/0x210)
[<c0008e40>] (mount_block_root+0x1d0/0x210) from [<c0009000>] (prepare_namespace+0x8c/0x1c0)
[<c0009000>] (prepare_namespace+0x8c/0x1c0) from [<c0008400>] (kernel_init+0xb8/0xe4)
[<c0008400>] (kernel_init+0xb8/0xe4) from [<c003d2c8>] (do_exit+0x0/0x5ac)
[<c003d2c8>] (do_exit+0x0/0x5ac) from [<00000000>] (0x0)
I have ubifs support enabled in the kernel.
My env settings are
setenv console 'console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw'
setenv bootargs $(console) ubi.mtd=1,2048 root=ubi0:rootfs rootfstype=ubifs fb=xgifb
setenv bootcmd 'nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
saveenv
I also have set mainlineLinux to yes.