Thread
:
Bare metal backup and restore of N810 without repositories
View Single Post
scaler
2013-06-25 , 22:48
Posts: 154 | Thanked: 73 times | Joined on Jan 2009 @ Toronto
#
2
Does this have any particular advantage over using mkfs.jffs2 to create a jffs2 image of your rootfs? For creating the image, see the first half of this post:
http://talk.maemo.org/showthread.php?p=33348#post33348
.
There are various ways of restoring the jffs2 image to the nand flash. Fanoush's suggested method (in the second half of the post linked above) does not require a PC, but does require a bootable rootfs somewhere on mmc. You could clone a pristine rootfs to an mmc partition specifically for this purpose (and not use it for anything else).
Alternatively, you could copy the jffs2 image to PC (it's a good idea to tar it first) and restore it with the 0xFFFF flasher. If you don't have a Linux PC handy but you do have another Maemo device, you could use the other Maemo device in USB host mode as the “PC”, and flash the image using 0xFFFF.static .
The various scripts involved (mkfs.jffs2, sumtool, flash_eraseall and nandwrite) are bundled into Fanoush's initfs_flasher folder, and you can still get a .tgz of it from
http://fanoush.wz.cz/maemo/
.
0xFFFF flasher is obtainable from
http://www.nopcode.org/0xFFFF/
.
You can find a link for 0xFFFF.static in this post:
http://talk.maemo.org/showpost.php?p=741534&postcount=2
.
P.S. Although Fanoush says he creates the jffs2 image while booted into mmc, you can do it equally well on the internal flash. However, restoration can not be done on internal flash, since everything there is erased when you run the flash_eraseall script (hence the name).
Last edited by scaler; 2013-06-26 at
19:10
. Reason: Added link to maacruz post for 0xFFFF.static
Quote & Reply
|
The Following 3 Users Say Thank You to scaler For This Useful Post:
endsormeans
,
vandys
,
Wikiwide
scaler
View Public Profile
Send a private message to scaler
Find all posts by scaler