Author Topic: Zbackup For Pdaxii13  (Read 12799 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #45 on: March 14, 2007, 01:45:29 am »
Quote
Hey Meanie,

Ok, I got pdaxii13 5.3.2 going and tried your zbackup 0.16. Well looks like your fix worked, the initrd.bin backup worked perfectly.  I'm still trying stuff, but no bugs so far.

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156193\"][{POST_SNAPBACK}][/a][/div]

This is great!

I will add some more bug fixes for C3100/C3200 in zbackup 0.17 then zbackup will work for all models
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Zbackup For Pdaxii13
« Reply #46 on: March 14, 2007, 08:54:22 am »
Quote
does the following work:

mkdir -p /mnt/nand
mount -t jffs2 /dev/mtdblock2 /mnt/nand
Yes, it does (as to be expected). Actually, the mtdblock-devices do represent the NAND-memory, don't they? And as far as I have seen "/dev/root" is just a symlink to "/dev/mtdblock2" which is mounted as "/".

I'm not sure what the other mtdblock-devices are, though. 0 and 1 both have a size of 7MB on my system, so I guess that the boot block must be somewhere there. This, of course, would also have to be included in a backup.

Would it be a good idea to "dd" the whole nand, i.e. mtdblock0-3, into an initrd-file and just flash them back on restore?
YT,
Tron

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Zbackup For Pdaxii13
« Reply #47 on: March 14, 2007, 09:09:24 am »
Quote
Quote
does the following work:

mkdir -p /mnt/nand
mount -t jffs2 /dev/mtdblock2 /mnt/nand
Yes, it does (as to be expected). Actually, the mtdblock-devices do represent the NAND-memory, don't they? And as far as I have seen "/dev/root" is just a symlink to "/dev/mtdblock2" which is mounted as "/".

I'm not sure what the other mtdblock-devices are, though. 0 and 1 both have a size of 7MB on my system, so I guess that the boot block must be somewhere there. This, of course, would also have to be included in a backup.

Would it be a good idea to "dd" the whole nand, i.e. mtdblock0-3, into an initrd-file and just flash them back on restore?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156234\"][{POST_SNAPBACK}][/a][/div]

mtdblock0 is kernel?
mtdblock1 is emergency rootfs
mtdblock2 is rootfs
mtdblock3 is home

initrd.bin only contains rootfs and a tarred up home is inside the /root directory of rootfs
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K