View Single Post
Posts: 73 | Thanked: 5 times | Joined on Jul 2008
#1
hi, i am sorry to post a repeat post here , i have post a question in here, but that thread list is too long to make my question noticeable, so i create a new thead here.

here i have a question about bootmenu.conf,
i want to boot from internel MM Card, so i set my bootmeu.conf as following, after initfs_flash, it did boot from as i wish( from internel MM Card ,i mean , the MENU_2) , however, i found i lost the entry to boot into internel flash,
does i miss something? how can i set the bootmenu.conf, so as to make the default device is mmc card and also make me could choose to boot to internal flash? thanks!
--------------------------------------------
.........
# menu items
MENU_MIN=2 # first item index

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

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
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 2, ext2"
MENU_3_ID="mmc12"
MENU_3_DEVICE="${EXT_CARD}p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"
[ -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"
....
-------------------------------------------------