Werner Almesberger schrieb: > ramsarvan wrote: > >> I want to have a boot menu which shows the touch based platform >> selection options. >> > > You mean you want to have a boot menu (instead of the current u-boot > menu) that uses the touch screen ? > > >> Is that possible to do? >> > > That would certainly be possible to do, but ... may I suggest that, > if you embark on that mission, that you base your work on Qi ? > > More specifically, that you don't actually change the boot loader > but make a small Linux system that does nothing but bring up the > menu and then execute the respective choice with kexec. > I wrote a little C programm for this for zaurus pda. It has no touchscreen suppport, but you might find it useful: http://git.linuxtogo.org/?p=thesing/kexecboot.git;a=summary It works as follows: -read available filesystems from /proc/filesystems -read available partitions from /proc/partitions -try to mount each partition, search for zImage in /boot -present menu -kexec choice
Here is a (bad) picture of it: http://www.linuxtogo.org/~thesing/kexecboot_collie.jpg <http://www.linuxtogo.org/%7Ethesing/kexecboot_collie.jpg> Regards, Thomas _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel