Gastal,
> How can I do this when I have a wholeflash backup
> file. I suppose I would have to boot the board wit
> h kwboot and this wholeflash image, and then flash
> it into nand flash. Is this correct?
Yes.
- Format a USB flash drive as ext2 or ext3. Put the mtd NAND dump files on the root folder.
- Boot with kwboot using the stock mtd0.
- Load mtd0 file to memory.
- And do nand flash erase and nand write.
After this you can boot normally with u-boot. And the next step depending on whether you want to boot Debian first or restore stock first.
1 .To boot Debian first,
- create Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs on USB: http://forum.doozan.com/read.php?2,12096.
- follow damacc posts to adjust u-boot envs in serial console to boot into Debian.
- and then flash the rest of the stock mtds in Debian.
2. To boot stock first,
- Do flash erase and nand write for each mtds in serial console.
I would recommend doing number 1 (booting Debian first).
And see here for flashing instruction for Pogo V4 mtd0 (section B):
http://forum.doozan.com/read.php?3,16789,16789#msg-16789
> How can I do this when I have a wholeflash backup
> file. I suppose I would have to boot the board wit
> h kwboot and this wholeflash image, and then flash
> it into nand flash. Is this correct?
Yes.
- Format a USB flash drive as ext2 or ext3. Put the mtd NAND dump files on the root folder.
- Boot with kwboot using the stock mtd0.
- Load mtd0 file to memory.
- And do nand flash erase and nand write.
After this you can boot normally with u-boot. And the next step depending on whether you want to boot Debian first or restore stock first.
1 .To boot Debian first,
- create Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs on USB: http://forum.doozan.com/read.php?2,12096.
- follow damacc posts to adjust u-boot envs in serial console to boot into Debian.
- and then flash the rest of the stock mtds in Debian.
2. To boot stock first,
- Do flash erase and nand write for each mtds in serial console.
I would recommend doing number 1 (booting Debian first).
And see here for flashing instruction for Pogo V4 mtd0 (section B):
http://forum.doozan.com/read.php?3,16789,16789#msg-16789