View Single Post
Posts: 14 | Thanked: 2 times | Joined on Mar 2009
#143
Hey, is there any way to boot this rootfs with Fanoush bootmenu?
I have both internal and external MMC formatted to ext3, and 256MB swap partition on internal MMC as well, so I have uncompressed the rootfs to internal mmc, installed Fanoush bootmenu, and when selecting booting from internal mmc it just sits there, with a white screen "booting from internal MMC"
I think it is doing something, because when i select booting from external MMC it immediately discovers that it cannot boot from it.
This is the bootmenu.conf I am using:
Code:
Nokia-N810-43-7:~/initfs_flasher# more bootmenu.conf
# bootmenu customisation file
#
# included from bootmenu.sh after default menu is defined
# you can change some items or redefine menu completely

# timeout for automatic selection when no key is pressed
# set to -1 for no timeout (not recommended, can drain battery when device reboots unatteded)
MENU_TIMEOUT=30

# IP address for USB networking
#USB_IP=192.168.2.15

# dim screen when in menu
#/usr/sbin/dsmetest -l 1 #for OS2006/7
#/usr/sbin/dsmetest -l 3 #for OS2008, 1 turns screen completely off

# menu items
MENU_MIN=1 # first item index

#no need to redefine
#MENU_1_NAME="Internal flash"
#MENU_1_ID="flash"

MENU_2_NAME="Internal MMC card, partition 1, ext3"
MENU_2_ID="mmc2"
MENU_2_DEVICE="${INT_CARD}p1"
MENU_2_MODULES="mbcache jbd ext3"
MENU_2_FSTYPE="ext3"
MENU_2_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || MENU_2_NAME="(${MENU_2_NAME}) N/A"

MENU_3_NAME="External MMC card, partition 1, ext3"
MENU_3_ID="mmc1"
MENU_3_DEVICE="${EXT_CARD}p1"
MENU_3_MODULES="mbcache jbd ext3"
MENU_3_FSTYPE="ext3"
MENU_3_FSOPTIONS="noatime" #",data=writeback"
[ -d "/sys/block/${EXT_CARD}/${MENU_3_DEVICE}" ] || MENU_3_NAME="(${MENU_3_NAME}) N/A"

MENU_4_NAME="Power off (when not on charger)"
MENU_4_ID="off"

#last item index, change if you add/remove items
MENU_MAX=4
What I am doing wrong? ;-)

Also I find it very confusing that mmc device names are different in initfs and after the system is loaded. WTH?