I thought I'd just post how to "factory reset" a Pogoplug Pro.
First you will need to download
http://archlinuxarm.org/mirror/ce/ce_pogopro_ramdisk_r9The next steps need to be run in a Linux terminal. If you don't understand some of the commands please do not continue.
- rename the downloaded file
$ mv ce_pogopro_ramdisk_r9 ce_pogopro_ramdisk_r9.gz
- decompress the file
$ gzip -d ce_pogopro_ramdisk_r9.gz
- extract cpio image
$ mkdir pogoroot
$ cd pogoroot
$ cpio -i < ../ce_pogopro_ramdisk_r9
You may get some errors about not being allowed to create device nodes. Just ignore the errors - we don't need the device nodes.
You may now have a look at the file init ($ cat init) from which some of the next steps are taken.
- transfer necessary files to a USB thumb drive
$ cp uImage pproot.ubi /your/usb/mountpoint
- connect the device to your pogoplug and run ALARM (SATA boot (see
http://archlinuxarm.org/forum/viewtopic.php?f=29&t=2146#p11512) or USB boot) and mount the drive - the following steps obviously need to be run on your Pogoplug device
- now flash the root filesystem and uImage (this will delete your old kernel and rootfs - so don't blame me if you loose any data you might need - you could always backup your kernel and mtd2 content)
$ cd /your/usb/mountpoint/on/pogoplug
$ flash_eraseall /dev/mtd2
$ nandwrite /dev/mtd2 pproot.ubi
!!! the next steps will delete the factory kernels and also ALARM kernels in NAND - if you don't want to delete the ALARM Kernels modify the block count of flash_erase commands accordingly !!!$ flash_erase /dev/mtd1 0x200000 48
$ nandwrite -p -s 0x200000 /dev/mtd1 uImage
$ flash_erase /dev/mtd1 0x800000 48
$ nandwrite -p -s 0x800000 /dev/mtd1 uImage
That's it.
$ sync
$ reboot