Device     : Nokia N770
OS         : ITOS 2006 3.2006.49-2 (default from factory)
Card       : Kingston 2GB MMC Mobile card
Instructor : All from 
http://maemo.org/community/wiki/HowTo_EASILY_Boot_From_MMC_card

First I have to say: the manual is very good, except no description about what 
if the procedure fails.

At first time, I partitioned the brand new MMC card following 
http://maemo.org/maemowiki/HowTo_EASILY_Partition_your_MMC_card. All procedures 
worked like a charm, and by the end I could boot from the MMC card for sure.
When I booted from MMC card, the system memory was about 1.5G, MMC card show 
about 4xx MB. When connected to PC via USB, there was a 4xx MB space on the 
device.
Because the manual is for 1GB card, and I wanted to use most of the card space 
to save movie/mp3, then I decided to re-partition, and redo it.

I repartitioned the card again. The /dev/mmcblk0p1(fat16) occupied about 1.5G, 
/dev/mmcblk0p1(ext2) occupied the leftover about 4xx MB.
I used the last time downloaded initfs_flasher, and re-created the deal boot 
menu.(It was too sad that this time the backed up boot image overrided the last 
time backup image, so I lost the original non-bootmenu boot image.)

Then, re-run the following procedures:
    # insmod /mnt/initfs/lib/modules/current/ext2.ko
    # mount /dev/mmcblk0p2 /opt                       ;the /opt already there
    # mount -t jffs2 /dev/mtdblock4 /floppy          ;the /floppy already 
created last time
    # cd /tar-temp/bin/                                       ;the targnu 
already there from last time
    # ./targnu cf - -C /floppy . | ./targnu xvf - -C /opt

The bad thing happened at the last step: It took about 15 minutes, then the 
xterm exited without any notice! No reboot, no error, just show the default 
desktop. Last time this step spent about 90 minutes!
I checked the mounted fs, they were still there. Using df command I saw there 
was already 90% data transfered to /opt (All about 140M on /floppy).


I did the last two steps to reboot:
    # chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
    # shutdown -r now

The boot menu was there, but when I choosed to boot from the MMC ext2 770 just 
said that the boot failed and will boot from internal flash memory, then booted 
up the OS. Nothing wrong there just not from MMC card.

I repeated the full steps at least two again as the manual says, still crashed 
at the targnu step(I sure closed all other apps and WiFi), and not bootable MMC 
card.

Did anyone encounter this problem before? I really appreciate if someone help 
me working out this trouble.

Many thanks


Mike


_________________________________________________________________
Express yourself with free Messenger emoticons. Get them today!
http://www.freemessengeremoticons.ca/?icid=EMENCA122
_______________________________________________
maemo-users mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-users

Reply via email to