Reply
Thread Tools
Posts: 30 | Thanked: 1 time | Joined on Aug 2007
#1
I browse alot of threads here and on garage&maemo about booting from MMC and looks there are no a final thread about this subject.Here we are :

sudo gainroot
apt-get install e2fsprogs
umount /media/mmc1
sfdisk /dev/mmcblk0
/dev/mmcblk0p1: 1,15000,6
/dev/mmcblk0p2: 15001,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:
mkdosfs /dev/mmcblk0p1
shutdown -r now
sudo gainroot
mke2fs /dev/mmcblk0p2
shutdown -r now
sudo gainroot
cd /home/user/MyDocs/.documents/
tar zxvf initfs_flasher.tgz
cd initfs_flasher
mv bootmenu.conf.n770.example bootmenu.conf
./initfs_flash
backup? no
*
remove extra stuff? yes
found, do you want to add it to initfs? yes
ready for flashing this image? yes
Press enter to reboot device
*
sudo gainroot
insmod /mnt/initfs/lib/modules/current/ext2.ko
mount /dev/mmcblk0p2 /opt
mkdir /floppy
mount -t jffs2 /dev/mtdblock4 /floppy
apt-get -d install tar
mkdir /tar-temp/
cd /var/cache/apt/archives/
dpkg -x tar*.deb /tar-temp/
/tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt
chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
umount /opt
umount /floppy
shutdown -r now

Everything went way too long,xterm closed himself and-
It took 4 hours to finish just to copy , and the result is ...start again from flash....

Where did I go wrong ? I try twice:unable to boot from MMC
Anybody can correct please some mistake on those lines?
Thanks,
bitrate
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#2
http://www.internettablettalk.com/fo...ead.php?t=8631

If speed is an issue, consider installing Fanoush's high speed MMC kernel.
 
Posts: 30 | Thanked: 1 time | Joined on Aug 2007
#3
at

wget http://www.nmacleod.com/nokia/bin/nupgrade.sh

reply :"Cannot write to nupgrade.sh1" (Permission Denied).

Anyway this loks like going nowhere, all the info that I try to find and understand in this forum is very disparate.

On maemo there are links that not work ;contradictory informations;I try to get wget from maemo but the link for download is corrupted -and so on.

I am very dissapointed , can someone please make a guide that is viable for newbie like me in the above subject ?
Step by step and explanatory:format,partition,and so on... in order to understand what I am doing...

I really appreciate the contribution of the one with experience here and the info in this forum ;only that is very disparate and hard to follow.
 
Posts: 148 | Thanked: 20 times | Joined on Sep 2007
#4
i am new to Linux. I am computer geek that started wirh DOS and have been in Windows since it came out.

I Used these instructions within days of getting my 770 (they also work on the n800). I found quite complete.
http://maemo.org/community/wiki/howt...from_mmc_card/

Hope this helps
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#5
Originally Posted by bitrate View Post
reply :"Cannot write to nupgrade.sh1" (Permission Denied).
Dunno, try deleting nupgrade.sh1 in case it already exists. If it already exists, who owns it? It would appear you've done something outside of the instructions - maybe you've tried to download the file multiple times which is why wget is trying to create additional versions; maybe you did this first as root which is why "user" can't create the file or maybe the entire directory is not writeable by "user"... who knows? Follow the instructions - they work. Invent your own, you're on your own (not really, we'll try and help!)

Originally Posted by bitrate View Post
I am very dissapointed , can someone please make a guide that is viable for newbie like me in the above subject ?
Step by step and explanatory:format,partition,and so on... in order to understand what I am doing...
The linked article is providing step-by-step instructions - did you follow them? They don't get much easier than that, to be honest. As they are known to work, I suspect you've done something wrong - my money would be on the directory you have created being owned by root and thus not writeable by user. Check the directory ownership, and either change ownership to user (chown users:user ~/bin) or delete the directory as root (rm -fr ~/bin) and recreate when logged in as user.

Last edited by Milhouse; 2007-11-12 at 02:54.
 
Posts: 30 | Thanked: 1 time | Joined on Aug 2007
#6
Rone- I did that - and Milhouse thanks for reply.
Now if somebody can ammend the commands from my first post ....
that will be very hepful.

And about speed....that is another problem - that link is also hard to compile- by me - eeek ....)
 
Posts: 25 | Thanked: 1 time | Joined on Jul 2007 @ 60201
#7
I dunno, I'm pretty newb to Linux and I am booting off an MMC with speed patched kernel, etc. I used the instructions 1st on the maemo.org to get booting from mmc and then instructions from Fanoush's site for the speed boost (which is pretty nifty).
 
Posts: 78 | Thanked: 57 times | Joined on Jul 2007
#8
You may find the copy process is more reliable by installing sshd and running the commands remotely. I had osso xterm crash on me during the copy. Also best to only try the copy step after a clean boot with nothing running.

(Funnily enough after this ran successfully I got a white screen of death and have only just got my 770 replaced and back up and running. Fortunately this was the last thing I did so at least I had a perfect copy of my system on the mmc card :-))

Cheers,
-John
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:46.