Active Topics

 


Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Feb 2008
#1
hey all. i just went through all of the steps to clone the N810 OS into the internal mmc (2GB). i was going crazy for hours trying to get it to work, re-doing all the steps, etc., but then finally, i just took out the miniSD i had in the device, and then poof, it works! (selecting MMC card, partition 2, ext2). while i'm excited that it's finally working, i would ideally like to eventually use the miniSD without having to take it out whenever i boot. am i missing something? how do i boot correctly without having to take out the card?

i have no linux experience, so this is all confusing to me. any enlightenment/solution would be greatly appreciated!

i used this thread to clone: http://www.internettablettalk.com/fo...mplified+clone

and got the idea to take out the miniSD from: http://www.internettablettalk.com/fo...t=n810+cloning
 
PinCushionQueen's Avatar
Posts: 538 | Thanked: 168 times | Joined on Dec 2007 @ Seattle
#2
You need to make a bootmenu.conf file and add it to your initfs_flasher directory and then rerun the flasher.

Here's what my bootmenu.conf looks like:
Code:
# 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=3

# IP address for USB networking
USB_IP=192.168.1.2

# dim screen when in menu
#/usr/sbin/dsmetest -l 1

# 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, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="mmcblk1p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"

MENU_3_NAME="External MMC card, partition 2, ext3"
MENU_3_ID="mmc12"
MENU_3_DEVICE="mmcblk0p2"
MENU_3_MODULES="mbcache jbd ext3"
MENU_3_FSTYPE="ext3"
MENU_3_FSOPTIONS="noatime" #",data=writeback"

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
to make this file you need to use a simple text editor and don't allow it to attach anything file extensions to the end of the file name. In other words, make sure the file name is just bootmenu.conf.

Fanoush included some other examples of bootmenu.conf files in the zip that you used for the initfs_flasher if you want to see other options and possiblities.
__________________
When you wish upon a star, your dreams really can come true... Unless it's an asteroid hurtling towards earth that will destroy all life.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#3
Originally Posted by helloimroberto View Post
how do i boot correctly without having to take out the card?
This is bug/feature of kernel
http://bugs.maemo.org/show_bug.cgi?id=2747
Try solution here
http://www.internettablettalk.com/fo...657#post124657
or combine it with this
http://www.internettablettalk.com/fo...155#post145155
or simply make two identical items as you currently have, one with mmcblk0 and one with mmcblk1 and boot the second one with card inserted.

Hopefully I will update the flasher this weekend with final fix. The version posted by me works for OS2008 based N810 and N800 but it fails for N800 with OS2007. Unfortunately the file /sys/block/mmcblkX/device/../slot_name does not exist so it is harder to figure out which slot belongs to which mmcbklX device.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
PinCushionQueen's Avatar
Posts: 538 | Thanked: 168 times | Joined on Dec 2007 @ Seattle
#4
Originally Posted by fanoush View Post
This is bug/feature of kernel
http://bugs.maemo.org/show_bug.cgi?id=2747
Try solution here
http://www.internettablettalk.com/fo...657#post124657
or combine it with this
http://www.internettablettalk.com/fo...155#post145155
or simply make two identical items as you currently have, one with mmcblk0 and one with mmcblk1 and boot the second one with card inserted.

Hopefully I will update the flasher this weekend with final fix. The version posted by me works for OS2008 based N810 and N800 but it fails for N800 with OS2007. Unfortunately the file /sys/block/mmcblkX/device/../slot_name does not exist so it is harder to figure out which slot belongs to which mmcbklX device.
So Fanoush, is your bootmenu.conf file better than mine? It looks like the main difference is the additional code at the beginning which looks like it looks to see if a card is inserted or not. Am I correct here? I know my bootmenu.conf file works, but I never take my card out of the slot on my N810. If someone wants to be able to boot without a card in the slot do they need to add that extra code?

Thanks
__________________
When you wish upon a star, your dreams really can come true... Unless it's an asteroid hurtling towards earth that will destroy all life.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
Originally Posted by PinCushionQueen View Post
So Fanoush, is your bootmenu.conf file better than mine? It looks like the main difference is the additional code at the beginning which looks like it looks to see if a card is inserted or not.
The additional code tries to figure out which slot is mmcblk0 and which one is mmcblk1 as the names depend on presence of card in external slot.
Originally Posted by PinCushionQueen View Post
I know my bootmenu.conf file works, but I never take my card out of the slot on my N810. If someone wants to be able to boot without a card in the slot do they need to add that extra code?
Yes, either extra code or two items for both mmcblk0 and mmcblk1
like

MENU_2_DEVICE="mmcblk0p2"
..
..
..
MENU_3_DEVICE="mmcblk1p2"

and then one needs to select correct one depending on presence of the card in external slot.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2008-02-29 at 13:29.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:26.