View Single Post
  #2  
Old 2008-09-14, 20:40
fanoush fanoush is offline
 
Join Date: Jan 2006
Location: Czech Republic
Posts: 2,152
Thanks!: 102
Thanked 1,490 Times in 589 Posts
Default Re: mtd-tools and 0xFFFF

binaries of mtd-utils are inside bootmenu flasher http://fanoush.wz.cz/maemo/initfs_flasher.tgz

For flashable backup you just mount jffs2 system somewhere and create jffs2 image out of it via mkfs.jffs2. Example for rootfs
Code:
mount -t jffs2 /dev/mtdblock4 /opt
mkfs.jffs2 -r /opt -o /media/mmc1/rootfs.jffs2 -e 128 -l -n
later you can flash it (when booted from something else than internal flash) via
Code:
flash_eraseall -j /dev/mtd4
nandwrite -a -p /dev/mtd4 /media/mmc1/rootfs.jffs2
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2009-03-23 at 20:46. Reason: added '-t jffs2' to mount (thanks scaler)
Reply With Quote
The Following 6 Users Say Thank You to fanoush For This Useful Post: