Welcome! Log In Create A New Profile

Advanced

getting back to booting pogo

Posted by naugtur 
getting back to booting pogo
January 04, 2011 01:17PM
I have been using the nand instalation for some time and now I need to get back to the original system to check how a script would work in that environment.
I boot it with
run pogo_bootcmd
from the uboot that greets me with:
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan


It loads the kernel etc. and finally I get a lot of:
[    9.340000] Error: jffs2_decompress returned -5
[    9.340000] JFFS2 compression type 0x07 not available.
[    9.350000] Error: jffs2_decompress returned -5
[    9.350000] JFFS2 compression type 0x07 not available.
[    9.360000] Error: jffs2_decompress returned -5
[    9.360000] JFFS2 compression type 0x07 not available.
[    9.370000] Error: jffs2_decompress returned -5

and after that
[    9.600000] Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[    9.610000] Scheduling watchdog timeout to force reboot...

and it reboots


I have found another thread with this error
Jeff, You suggested to do the following: [I fixed one error - nandwrite was targeting mtd0 instead of mtd2]

# Restore mtd2
wget http://plugapps.com/os/pogoplug/ce_mirror/ce_ramdisk_v2.0b.img.gz
unzip ce_ramdisk_v2.0b.img.gz
flash_erase /dev/mtd2
nandwrite /dev/mtd2 ce_ramdisk_v2.0b.img


After doing this I got:

root@debian:~# flash_erase /dev/mtd2
Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0x0 done
root@debian:~# nandwrite /dev/mtd2 ce_ramdisk_v2.0b.img 
Input file is not page-aligned. Use the padding option.
Data was only partially written due to error
: Success


And now it boots like that:
...
[    3.210000] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[    3.220000] TCP cubic registered
[    3.220000] NET: Registered protocol family 1
[    3.230000] NET: Registered protocol family 17
[    3.230000] md: Autodetecting RAID arrays.
[    3.240000] md: autorun ...
[    3.240000] md: ... autorun DONE.
[    8.040000] Empty flash at 0x01660e38 ends at 0x01661000
[    8.600000] VFS: Mounted root (jffs2 filesystem) readonly.
[    8.610000] Freeing init memory: 120K
[    8.610000] Warning: unable to open an initial console.
[    8.610000] Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[    8.620000] Scheduling watchdog timeout to force reboot...



I guess the problem can be caused by mounting mtd2 with -t jffs2 when running debian.



Edited 3 time(s). Last edit at 01/04/2011 02:48PM by naugtur.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: