Luke-Jr wrote: > On Tuesday 05 January 2010 08:46:27 pm Francisco Alecrim wrote: >> Luke-Jr wrote: >>> On Tuesday 05 January 2010 05:24:56 pm Francisco Alecrim wrote: >>>> What rootfs do you use? Did you change initfs? >>> Gentoo. I modified my initfs to chainload its init if a new kernel is >>> running. >> I don't know how to do it. Could you send me yours? Thanks! Now it goes to rootfs and continue the boot, but device power-off after 10-20 seconds. There is no error message to help. :( I did some small changes: > > special=false > if echo -n >/writetest; then > exec >/$(uname -r).log > exec 2>&1 > /dmesg.static > ls -lh /dev > # ifconfig usb0 192.168.1.2 > # mount -t proc proc proc > # ifconfig -a > # umount proc > # sync > > if true; then > > echo A > mount -t proc proc proc > mount /dev/mmcblk0p1 /mnt/new_root || exec /bin/sh mount -t jffs2 /dev/mtdblock4 /mnt/new_root || exec /bin/sh > echo B > cd /mnt/new_root > mkdir -p mnt/initfs > echo C > pivot_root . mnt/initfs > echo D > cd / > mount > sync > echo E > exec /usr/bin/chroot / /sbin/init exec /usr/sbin/chroot / /sbin/init > > fi > > special=true > fi Thanks, Alecrim -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html