[maemo-developers] [maemo-developers] Modified initfs with onscreen boot menu

From: Frantisek Dufka dufkaf at seznam.cz
Date: Wed Aug 2 19:52:41 EEST 2006
Hello,

I managed to make initfs with boot menu (as mentioned here 
http://maemo.org/pipermail/maemo-developers/2006-July/004653.html ) sort 
of working. You can get it here http://fanoush.webpark.cz/maemo/#initfs 
see README inside. Basically it is original initfs with testserver 
removed, modified linuxrc, additional bootmenu.sh script and one uclibc 
executable evkey to get key state and key up and down codes.

To use binary diff you need original initfs.jffs2 and xdelta (1.1.3 
included in debian) or you can recreate initfs yourself via mkfs.jffs2 
and included files.

linuxrc modification is relatively minimal, menu is in extra script 
bootmenu.sh. You can easily add your own options to it.

I still don't have mmc card with working system. When copied original 
system from flash to second partition /dev/mmcblk0p2 (ext2) it reboots 
after while without even showing progressbar. I tried to fix rootfs in 
/etc/fstab but it wasn't enough. What else might be hardwired to flash 
(/dev/mtdblock4)? If anyone manages to have working copy of IT2006 on 
mmc card let me know :)

BTW there is still problem with limited number of writes to free space. 
Looks like suggested eraseblock of 128KB is too big for initfs with 
~128KB free space :-) I tried to make the eraseblock 16kb via -e 16 but 
it didn't help. In addition to errors in dmesg log, number of writes is 
still limited. It the 128kb block hardwired in kernel?

Frantisek

More information about the maemo-developers mailing list