View Single Post
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#558
Today I had some spare time and so I tried again to make an ubifs image of my rootfs, by processing the latest tar generated by backupmenu. Well, I can confirm that the obtained image, when flashed, cannot boot. These are the commands I used:
Code:
mkdir rootfs

tar xvf mylatestrootfs.tar -C ./rootfs/

mkfs.ubifs -x zlib -g 0 -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs -v ./base.ubi.img

ubinize -o ./rootfs.zlib.img ./ubinize.cfg -m 2048 -p 128KiB -s 512

flasher-3.5 -r ./rootfs.zlib.img -f
Is there anything wrong in your opinion in the above?

You know what? My suspect is the last line, the one which flashes the img.
After my n900 was in unbootable state, I reflashed the flashable_rootfs_v0.56-1-20101109.img that is available on Robbiethe1st site. Didn't flash the kernel.
After that I rebooted with keyboard open, intending to restore my latest rootfs. Well, I couldn't, because backupmenu couldn't see the sdcard (where my tar images were allocated).
I had to reflash the stock 1.3 firmware, then the image with backupmenu 0.56, then my rootfs (and of course reinstall kernel-power).

So my question is, what happened in the reflash with the zlib'd image that prevented my n900 to see mmc1, and was over when a full reflash with stock image was performed?

Might be that the last line reflashes in a wrong way and touches something that hadn't to be touched?

Sorry if this seems delirious. After all, I'm playing with things I don't fully understand
__________________
Ernesto de Bernardis


Last edited by debernardis; 2011-01-28 at 11:42.