maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Help! Boot from MMC (https://talk.maemo.org/showthread.php?t=7611)

stewp6340 2007-08-08 18:00

Re: Help! Boot from MMC
 
Oh, and one more thing, when I tried to do this all again from the start following tama's great instructions, I get an error on this command:
Quote:

# insmod /mnt/initfs/lib/modules/current/ext2.ko
that says:

mod: cannot insert '/mnt/initfs/lib/modules/current/ext2.ko': File Exists

what gives here? How should I handle this?

TIA

tama 2007-08-08 18:41

Re: Help! Boot from MMC
 
Quote:

Originally Posted by stewp6340 (Post 66682)
mod: cannot insert '/mnt/initfs/lib/modules/current/ext2.ko': File Exists

what gives here? How should I handle this?

TIA

Just ignore and move on. This just says that ext2.ko is already loaded. So you are fine.

middguy 2007-08-09 14:45

Re: Help! Boot from MMC
 
Quote:

Originally Posted by stewp6340 (Post 66661)
middguy,

when you said that you started all over from the beginning by reflashing, what system/file did you reflash? I am wondering if I should do the same? What reflash method did you use?

Nokia flashing program to latest official release

stewp6340 2007-08-09 17:15

Re: Help! Boot from MMC
 
middguy,

If I flash from the Nokia site using the provided software wizard download, will I lose any additional software I have installed (e.g. Claws email, FBReader, etc)? I have a bunch of email filters setup in Claws that I would hate to lose.

middguy 2007-08-09 20:52

Re: Help! Boot from MMC
 
Quote:

Originally Posted by stewp6340 (Post 67092)
middguy,

If I flash from the Nokia site using the provided software wizard download, will I lose any additional software I have installed (e.g. Claws email, FBReader, etc)? I have a bunch of email filters setup in Claws that I would hate to lose.

On reflash you will lose everything. Not sure if backing up will save those.

bythesea 2007-08-10 19:10

Re: Help! Boot from MMC
 
Quote:

Originally Posted by tama (Post 66583)
Use this procesure

Do
Code:

# /tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt

i encounter an error after executing this command:
/tar-temp/bin/tar: not found
/tar-temp/bin/tar: not found

i have followed your steps carefully so i am not sure what is wrong.
can you advise me?

bythesea 2007-08-12 17:48

Re: Help! Boot from MMC
 
Quote:

Originally Posted by bythesea (Post 67504)
i encounter an error after executing this command:
/tar-temp/bin/tar: not found
/tar-temp/bin/tar: not found

i have followed your steps carefully so i am not sure what is wrong.
can you advise me?

advices from anyone? :o

Milhouse 2007-08-12 18:07

Re: Help! Boot from MMC
 
Quote:

Originally Posted by bythesea (Post 67930)
advices from anyone? :o

Try following the ultra simplified install script in the following thread:

http://www.internettablettalk.com/fo...ead.php?t=8631

If you still have problems, it might be time to give up (or at least learn more about Linux before tackling tasks such as cloning the OS).

bythesea 2007-08-18 06:49

Re: Help! Boot from MMC
 
one of the advantages of booting from mmc states that applications can be installed on the mmc
http://maemo.org/community/wiki/HowT..._From_MMC_card

after completing the procedure listed in the above link, i installed an application from one of the repos. i was not given the option to choose between installing in the flash or installing on the mmc: the apps was simply installed in the flash.

if i am not mistaken, by extending the root filesystem, does it mean that apps will continue to be installed in the flash TILL it fills up before continuing the installing on the mmc?

btw, upon powering on, which option should be selected from the boot menu:
"MMC card" or "MMC card, partition 2, ext2"?

Milhouse 2007-08-18 17:36

Re: Help! Boot from MMC
 
If you boot from MMC, your apps will be installed in MMC.
If you boot from internal flash, your apps will be installed in internal flash.

Simple, really. Once booted from MMC, you have no access to internal flash (ie. the flash on the device motherboard).

The second option you listed, assuming you cloned the OS to MMC card, on partition 2 using the ext2 filesystem....

bunanson 2007-08-22 03:25

Re: Help! Boot from MMC
 
after completing the procedure listed in the above link, i installed an application from one of the repos. i was not given the option to choose between installing in the flash or installing on the mmc: the apps was simply installed in the flash.

This tells me you are still booting from the flash.
If you boot from the MMC, like Milhouse said, you would not be able to get access to the flash. I think it is a good idea to start from beginning, again, yup. BTW, this is not the most challenging task, try to make a Blue tooth GPS or tether with a cellphone is even more fun. Be persistent, you will get it.

bun;)

bythesea 2007-08-22 16:14

Re: Help! Boot from MMC
 
i have been using the dual boot system for the past few days, each time booting from the mmc without much problems

however after i power on the set and complete the booting process as per normal, i find that i am not able to access my programs via the icon in the left column (only a little small empty box appears when i tap on the icon). on top of that, my browser bookmarks are all missing

all the above problems do not exist when i boot from flash thus my guess is that the mmc is probably corrupted (or something to that effect)

short of repeating the whole process to format and clone the os, what other options are available to me?

jlomein 2007-08-25 12:48

Re: Help! Boot from MMC
 
Quote:

Originally Posted by tama (Post 66550)
That will make mmc1 partition as FAT32 instead of FAT16. Believe me you will realise its imprtance later.

What advantage does FAT32 have over FAT16 for the 770?

Milhouse 2007-08-25 13:01

Re: Help! Boot from MMC
 
FAT16 is is limited to working with 2GB partitions while FAT32 will work with larger paritions, but on a 2GB partition FAT32 has no obvious advantage over FAT16 that I can see.

jlomein 2007-08-26 19:57

Re: Help! Boot from MMC
 
Quote:

Originally Posted by Milhouse (Post 71060)
FAT16 is is limited to working with 2GB partitions while FAT32 will work with larger paritions, but on a 2GB partition FAT32 has no obvious advantage over FAT16 that I can see.

I thought the same, that there is no obvious advantage. However, I just used Winmapper to download some Google Street maps for Maemo Mapper. On my Windows XP computer, the downloaded maps were 18MB in size. However, when I transferred them to my FAT16 partition on the memory card, the size is 160MB.

It seems like individual large files aren't affected (18MB movie files still appear on the memory card as 18MB). However the maps are lots of small files. Is this a result of using FAT16 instead of FAT32? I remember reading something about cluster sizes, and how on FAT16 small files will take up more space because of a minimum cluster size or something.

Milhouse 2007-08-26 20:41

Re: Help! Boot from MMC
 
With FAT16 the cluster size is 32KB if the partition is 2GB - a smaller cluster size will prevent you from creating a 2GB filesystem so in this case, FAT32 has the advantage of allowing you to create a 2GB filesystem with a smaller cluster size than 32KB which should allow more efficient storage of small files. Not quite sure how 18MB becomes 160MB though, unless you had hundreds of files substantially smaller than 32KB. You might be better off with an 8KB-ish cluster size. You can format your MMC card using FAT32 from the command line.

Phil 2007-08-28 11:34

Re: Help! Boot from MMC
 
Hi,

Could anybody tell me the command(s) for removing the boot menu please?

I have had it booting from MMC, but would now like to revert back without reflashing the firmware again.

Thanks for any help,

P.

fanoush 2007-08-28 12:27

Re: Help! Boot from MMC
 
You can hide the menu by setting root device to flash
Code:

sudo gainroot
chroot /mnt/initfs cal-tool --set-root-device flash

Bootmenu remains installed but is not shown. You only see 'Press and hold MENU key for advanced boot menu' message on boot but it is harmless.

Or you can restore initfs backup (if you created one)
Code:

cd initfs_flasher
./initfs_flash initfs.orig.jffs2


Phil 2007-08-28 12:59

Re: Help! Boot from MMC
 
Fanoush,

Thank you for the quick reply.

It's only a matter of time before it goes back on (I'm waiting for a new 2Gb RS-MMC card as my last was damaged), so I'll take this opportunity to say thanks for all your 770/800 packages too. I'm sure I talk for many who wouldn't be using their tablet half as effeciantly without your input.

P.

dmphzhopjrbffx 2007-08-28 20:51

Re: Help! Boot from MMC
 
Is there a way to "smartboot", i.e. if you want MMC2 just leave the MMC in and if you want flash just remove the MMC while the 770 is off? No "keyboard" input required?

fanoush 2007-08-28 21:45

Re: Help! Boot from MMC
 
yes, that's how it works, just set root device to mmc2

LoopInvariant 2007-09-06 03:37

Re: Help! Boot from MMC
 
I want to reduce the default waiting time for the countdown, anyone know of a way to do this? Also, it says to hold down MENU key... which one is it? I've held down all the key individually and none of them give me any advanced options...

Milhouse 2007-09-06 04:09

Re: Help! Boot from MMC
 
Fanoush is the expert here but...

1. I think you need to edit the timeout value in /mnt/initfs/bootmenu.sh

2. "hold down the MENU key" - not sure why that message appears, I don't think it means anything as their is only one menu which appears automatically

fanoush 2007-09-06 07:39

Re: Help! Boot from MMC
 
Quote:

Originally Posted by LoopInvariant (Post 73597)
I want to reduce the default waiting time for the countdown, anyone know of a way to do this?

See the readme, create your own bootmenu.conf, see the examples and edit MENU_TIMEOUT.

Quote:

Originally Posted by LoopInvariant (Post 73597)
Also, it says to hold down MENU key... which one is it? I've held down all the key individually and none of them give me any advanced options...

If you set the root device to include 'ask' like 'ask:mmc2' the boot menu appears always, no need to press menu key. If there is no 'ask' it boots straight from the mmc2 without showing the menu unless you press and hold the menu key.

Unfortunately the bootmenu script cannot read root device so early in startup sequence so the message is always shown. At the time when root device is already known (and script can check for 'ask') it is already too late to show the message only if 'ask' is not there. You wouldn't be fast enough to press and hold the key.

Maybe instead of making the timeout shorter you want to skip the menu at all? Then just remove ask from root device. See
http://maemo.org/community/wiki/howt...da7ff9b53b3674

michaelxy 2007-09-11 03:41

Re: Help! Boot from MMC
 
How can I uninstall the 770 boot loader bzw set the 770 to system default ? The Nokia Flashing Software does not find the 770 with the 2007HE Firmware.

dmphzhopjrbffx 2007-09-11 23:13

Re: Help! Boot from MMC
 
Quote:

Maybe instead of making the timeout shorter you want to skip the menu at all? Then just remove ask from root device.
Thanks, fanoush!

Eazy-Snatch 2007-09-12 08:54

Re: Help! Boot from MMC
 
Hello colleges,

I have some strange problems with booting from my 4GB MMC

I make it work one time before 2 mounts but now I try to make it and I don't know but no luck.

I make everything like in how to
1.Make boot menu
2.mount everything
3.copy in tar-temp with dpkg
4.Download GNU tar (i check with /tar-temp/bin/tar --version)
5.Then clone system but ....i get this at end
tar-temp/bin/tar: .: implausibly old time stamp 1970-01-01 01:00:00
6.I change my bootmenu.sh to use MMC1 (external card)

Then when boot everything look fins but when i see the NOKIA logo start booting and when go middle loading I see the mouse and when finish boot my theme is all gray and very very simple and not good looking then when i try to change it frees and reboot.When stay 2-3 min reboot again

The stupid thing is I make it work one time and now don't work and I am very mad.

My fist partition is 100000 --> fat 16
Boot os 100001 ---> ext2 --> 750 MB

Is have some problems with too big partitions or something like this i make all this procedure maybe 3 -4 times but every time i get this GREY theme and then REBOOT
Thank you for helping .

Greetings

fanoush 2007-09-12 10:12

Re: Help! Boot from MMC
 
Quote:

Originally Posted by Eazy-Snatch (Post 74983)
4.Download GNU tar (i check with /tar-temp/bin/tar --version)
5.Then clone system but ....i get this at end
tar-temp/bin/tar: .: implausibly old time stamp 1970-01-01 01:00:00

This time stamp warning is OK.
Just an idea - make sure you use correct tar on both sides of the pipeline (.. | ..). It is hard to guess without details what you did and how.

Eazy-Snatch 2007-09-12 11:50

Re: Help! Boot from MMC
 
Yes i work with Linux for long time and I now
I use the original MAEMO how-to
But i thing it comes maybe from partitions because last time I do it I think (can't remember write now) but i use only 1G for fat16 + ext2 but I am not sure about that.
# apt-get -d install tar
# cd /var/cache/apt/archives/
# mkdir /tar-temp/
# dpkg -x tar*.deb /tar-temp/
Nokia-N800-26:/var/cache/apt/archives/tar-temp# bin/tar --version
tar (GNU tar) 1.14
Copyright (C) 2004 Free Software Foundation, Inc.

# /tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt

I don't know what to do i read so many things in internet but no use.

Gretings

Eazy-Snatch 2007-09-12 12:29

Re: Help! Boot from MMC
 
I make it I Boot normal from my MMC ...
The problem comes from I don't know how but from PARTITIONS
I resize my 4G MMC with this
/dev/mmcblk0p1:1,15000,6
/dev/mmcblk0p2:15001,,

Just to see if working and GEST what WORK ....

Greetings

Now i go to make KDE work ..

Milhouse 2007-09-12 17:31

Re: Help! Boot from MMC
 
Or there are these instructions which work every time... ;)

penguinbait 2007-09-12 17:47

Re: Help! Boot from MMC
 
Quote:

Originally Posted by Eazy-Snatch (Post 75010)
I make it I Boot normal from my MMC ...
The problem comes from I don't know how but from PARTITIONS
I resize my 4G MMC with this
/dev/mmcblk0p1:1,15000,6
/dev/mmcblk0p2:15001,,

Just to see if working and GEST what WORK ....

Greetings

Now i go to make KDE work ..

I would try XFCE

http://www.internettablettalk.com/fo...ad.php?p=75069

klancast 2007-11-19 22:45

Re: Help! Boot from MMC
 
Quote:

Originally Posted by bythesea (Post 67504)
i encounter an error after executing this command:
/tar-temp/bin/tar: not found
/tar-temp/bin/tar: not found

i have followed your steps carefully so i am not sure what is wrong.
can you advise me?

As far as I can see the steps outlined in the steps stewp6340 provides tells you to skip making the /tar-temp directory unless I read it wrong.

[QUOTE-stew6340;]
Skip
Code:

# apt-get -d install tar
# cd /var/cache/apt/archives/
# mkdir /tar-temp/
# dpkg -x tar*.deb /tar-temp/
[/QUOTE]


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

vBulletin® Version 3.8.8