[http://mer-project.blogspot.com/2010/01/small-but-important-update-in-pr11.html]
Do Android based devices allow this kind of hacking to the boot-up sequence? ===== Thursday, January 14, 2010 A small but important update in PR1.1 This is slightly technical, but PR1.1 included a small but interesting patch to /sbin/preinit (part of getbootstate). /sbin/preinit is the first thing that gets run on Maemo5 for N900. [...] Besides some patches to aid MMC booting, what is added is few very important lines: SLIDE_STATE=`cat /sys/devices/platform/gpio-switch/state` if [ x"$SLIDE_STATE = "xopen" ]; then echo_g "slide open, attempting to use bootmenu" [ -f /bootmenu.sh ] && . /bootmenu.sh fi What does this mean? This means, that when you have the keyboard slid out at power on, it will look for /bootmenu.sh and try to include it in the boot process. If it doesn't exist, it goes on with business as usual. This means, you can add have fanoush's bootmenu or your own rescue menu, or whatever could be interesting to have this early in the process. [...] ===== -- Soh Kam Yung my Google Reader Shared links: (http://www.google.com/reader/shared/16851815156817689753) my Google Reader Shared SFAS links: (http://www.google.com/reader/shared/user/16851815156817689753/label/sfas) _______________________________________________ LUGS Mailing list - [email protected] List FAQ: http://wiki.lugs.org.sg/LugsMailingListFaq Info page: http://www.lugs.org.sg/mailman/listinfo/slugnet To unsubscribe send an empty email to: [email protected]
