On Wed, Jul 21, 2010 at 10:50 AM, Martin Jansa <[email protected]> wrote: > On Wed, Jul 21, 2010 at 10:40:12AM +0200, Jose Luis Perez Diez wrote: >> A Dimarts 20 Juliol 2010 22:11:05, Christ van Willegen va escriure: >> > Any ideas what could be wrong? I already opkg --force-reinstall >> > install'd the kernel-image... >> >> Is the root filesystem on uSD? >> >> If I remember correctly there is no way to know from where was a running >> kernel loaded from NAND, uSD, or usb via dfu-util > > please unpack kernel ipk package with ar and see postinst in > control.tar.gz > > You can replay the command sequence by hand and see why it thinks you > don't have kernel in NAND partition (if you're really sure you're > booting kernel from NAND).
# echo `cat /proc/cmdline |tr " " "\n"|grep "root=" |tail -n 1` root=ubi0:om-gta02-rootfs # cat /proc/cmdline loglevel=4 console=tty0 console=ttySAC2,115200 init=/sbin/init ro mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(qi),0x00040000(depr-ub-env),0x00800000(kernel),0x000a0000(depr),0x00040000(identity-ext2),0x0f6a0000(rootfs) rootfstype=ubifs ubi.mtd=6,2048 root=ubi0:om-gta02-rootfs This is where it goes wrong. The command line does not indicate any mtdblocks being used. Christ van Willegen _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
