# Set up card names by model # Assume 770 INT_CARD="" EXT_CARD="mmcblk0" if grep -q RX-34 /proc/component_version then #N800 INT_CARD="mmcblk0" if grep -q mmcblk1 /proc/partitions then # Removable card present EXT_CARD="mmcblk1" else # Removable card not present EXT_CARD="" fi fi if grep -q RX-44 /proc/component_version then #N810 if grep -q mmcblk1 /proc/partitions then # Removable card present INT_CARD="mmcblk1" EXT_CARD="mmcblk0" else # Removable card not present INT_CARD="mmcblk0" EXT_CARD="" fi fi
MENU_2_NAME="Boot internal MMC card, partiton 2, ext2"
MENU_2_ID="mmcint2"
MENU_2_DEVICE=${INT_CARD}p2
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"
MENU_3_NAME="Boot removable MMC card, partiton 2, ext2"
[ -z "$EXT_CARD" ] && MENU_3_NAME="No removable card -- do not select this"
MENU_3_ID="mmcext2"
MENU_3_DEVICE=${EXT_CARD}p2
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"
flasher-3.0 -f -F RX-34_2008SE_2.2007.50-2_PR_COMBINED_MR0_ARM.bin -R
flasher-3.0 --flash-only initfs -f -F RX-34_2008SE_2.2007.50-2_PR_COMBINED_MR0_ARM.bin -R