Help Recovering Pogoplug v4 - any nand backups?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Help Recovering Pogoplug v4 - any nand backups?

Postby skakz » Thu Sep 12, 2013 10:52 pm

Hi all,
it seems that I screwed up my Pogo V4-A3-01 nand (I don't know how.. I tought that it was read-only). In short now I don't have a working uImage nor rootfs on the nand of my Pogoplug V4. The only thing that is working is uboot but unfortunately in the various attempts to recover the system I ended to install the Davy's uBoot image (April 8th 2012) ( uboot.nandpogoV4-MMC-mtdparts-noSATA.kwb ) which doesn't support boot from sata (which I need). However I've access to serial console and tftp is working, so should not be difficult to recover the whole system. I just need some backups of mtd0 mtd1 and mtd2 of a working pogoplug v4. Unfortunately I can't find these backups on internet, so I'm asking you, if you have a working pogoplug v4 please do some backups of your nand and upload somewhere to I can recover mine. (I don't need specifically the original firmware, I just need a working o.s.).
for the backups you need to do something like this:
$this->bbcode_second_pass_code('', ' dd if=/dev/mtd0 of=mtd0.img
dd if=/dev/mtd1 of=mtd1.img
dd if=/dev/mtd2 of=mtd2.img')

or better with nanddump:
$this->bbcode_second_pass_code('', './nanddump -nf USB/mtd0 /dev/mtd0
./nanddump -nf USB/mtd1 /dev/mtd1
./nanddump -nf USB/mtd2 /dev/mtd2')

if you want to help but you don't know how to do, please just ask.. would be much appreciated.
Thank you!!
Last edited by skakz on Fri Sep 13, 2013 7:44 am, edited 1 time in total.
skakz
 
Posts: 9
Joined: Wed Sep 14, 2011 11:17 pm

Re: Help Recovery Pogoplug v4 - any nand backups?

Postby moonman » Fri Sep 13, 2013 1:00 am

Why don't you boot from sd card and then reflash u-boot?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Help Recovery Pogoplug v4 - any nand backups?

Postby skakz » Fri Sep 13, 2013 7:44 am

yes, I could, but then I would still have a non working system on the pogoplug which is handy sometimes when the external drive fails to boot. Thanks
skakz
 
Posts: 9
Joined: Wed Sep 14, 2011 11:17 pm

Re: Help Recovering Pogoplug v4 - any nand backups?

Postby bodhi » Fri Sep 13, 2013 9:22 am

skakz,

I trust that you have serial console and have tried UART booting (to recover from unforeseen problem)
http://forum.doozan.com/read.php?3,7852

If you do then here is the just-uploaded archive for all pogoplug v4 mtd images from my backup (long ago):
http://bitly.com/189BnB6
md5: 064a298c89ae5a1b207061e11b401930

-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Help Recovering Pogoplug v4 - any nand backups?

Postby skakz » Fri Sep 13, 2013 6:56 pm

Hi bodhi,
thank you very much! I didn't know that there is a way to boot from uart. However for me is not working: kwboot hangs and nothing happens. I tryed different uboot images.

For the mtd backups instead I can't boot the kernel and I got the "Bad Data CRC" error. But maybe I'm doing something wrong. Why do you have 5 mtd images (mtd0 mtd1 mtd2 mtd3 mtd4)? I only have 4
$this->bbcode_second_pass_code('', 'Pogov4> mtdparts

device nand0 <orion_nand>, # parts = 4
#: name size offset mask_flags
0: u-boot 0x00100000 0x00000000 0
1: uImage 0x00400000 0x00100000 0
2: rootfs 0x02000000 0x00500000 0
3: data 0x05b00000 0x02500000 0
')

How I can restore my pogoplug trought tftp with your backups files?
My situation is:
$this->bbcode_second_pass_code('', 'U-Boot 2011.12 (Apr 08 2012 - 19:03:41)
Cloud Engines-Pogoplug v4/Mobile:MMC version')
(with f*cked up env variables)

I cant boot from mmc or usb or sata. I can just start uboot and use tftp to get some files.
thank you!!!
skakz
 
Posts: 9
Joined: Wed Sep 14, 2011 11:17 pm

Re: Help Recovering Pogoplug v4 - any nand backups?

Postby bodhi » Fri Sep 13, 2013 8:45 pm

skakz,

There were 5 mtd parts originally, but I would not worry about mtd4
$this->bbcode_second_pass_code('', '<5>[ 1.060000] Creating 5 MTD partitions on "nand_mtd":
<5>[ 1.070000] 0x000000000000-0x000000200000 : "u-boot"
<5>[ 1.070000] 0x000000200000-0x000000500000 : "uImage"
<5>[ 1.080000] 0x000000500000-0x000000800000 : "uImage2"
<5>[ 1.080000] 0x000000800000-0x000001000000 : "failsafe"
<5>[ 1.090000] 0x000001000000-0x000008000000 : "root" ')

And here an example of using tftp to flash NAND mtd parts by davygravy:
http://forum.doozan.com/read.php?3,6965,page=1

goodluck!
-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Help Recovering Pogoplug v4 - any nand backups?

Postby skakz » Mon Sep 16, 2013 3:26 pm

:( no luck getting my pogoplug working again. I'm a bit confused on how to use nand erase/write and I don't want to do worse. I need first to learn how it works and then I can do something. In the meantime, if anyone knows how to do, please help me.
Now thanks to bodhi I've the mtd backups. I need to flash these in the nand via serial connection and tftp.

this should be helpful to understand where I need to flash these mtd backup.
$this->bbcode_second_pass_code('', '~ # cat /proc/mtd
dev: size erasesize name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"')

thank you.
skakz
 
Posts: 9
Joined: Wed Sep 14, 2011 11:17 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 19 guests