![]() |
mtd-tools and 0xFFFF
Hi all,
Has anyone got debs or already built binaries of mtd-tools and 0xFFFF for the tablet (diablo)? I'm trying to do a flashable backup, but can't find the tools in any repo. |
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 Code:
flash_eraseall -j /dev/mtd4 |
Re: mtd-tools and 0xFFFF
Thank you very much.
I already did that with rootfs and initfs . Since nobody seems to have compiled 0xFFFF for the tablet I guess I'll have to do it myself once I put on the build environment. Seems a more appropiate tool to backup (it can dump CAL and Xloader areas too) |
Re: mtd-tools and 0xFFFF
I have static binaries of mtd-tools and 0xFFFF (for initfs) here:
http://qwerty12.maemobox.org/initfs It's static but compiled against uclibc so I dunno if it will work on a booted system. For dumping CAL, cat /dev/mtd1 > /media/mmc2/mycalfile should do it. edit: seems not, thanks fanoush. |
Re: mtd-tools and 0xFFFF
Thanks :-D
Static binaries always work, unless the kernel interface changes |
Re: mtd-tools and 0xFFFF
Thanks. I just remembered that I modified the dump function on 0xffff not to ask questions and not to strip :/. (i made it for the purpose for running straight from bootmenu), I'll recompile tomorrow with the original source.
|
Re: mtd-tools and 0xFFFF
Oooops!
Thanks for the warning |
Re: mtd-tools and 0xFFFF
Quote:
Quote:
|
All times are GMT. The time now is 06:09. |
vBulletin® Version 3.8.8