Reply
Thread Tools
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#1
I think I am a veteran of MMC boot, progressed from 2006Os, 2007He, 2008Os, internal, 2G to 16G, over 10 posts on MMC boot by myself, and I cannot search and find my own post!

I believe MMC boot is the number one hack for the tablet, or at least number two on application, right after MaemoMapper. MMC boot is NOT an application, not yet at the present stage, and it is technically challenging. Currently the largest thread are Fanoush (Nokia 770, 165 posts; Software>2008Os but posts have involved 2006Os 2007Os, 105 posts) Penguinbait (under Upgrading and we know, MMC boot is not necessary upgrade, 224 posts), and Milhouse's script (under Software>2007 Os but applicable to 2008Os, 291 posts) and are all under the wrong(?) forum AND different forums. Flipping between forums to get a grib is pain in the a55.
And search on info how to do it, comes up with more than a dozen of "MMC boot, how I did it", and search for "MMC boot, help, wont work, screw up" comes up more than several pages.

Finally, we know we have to visit MMC boot everytime, at least for myself, when there is a new OS, be it revision or upgrade.

I got my point accross. Please consolidate into a forum or subforum or subsubforum, that would tidy up the iTT and easier for people to find info. Wiki is NOT the solution. Thanks,


bun

Last edited by bunanson; 2008-02-09 at 18:05.
 

The Following 2 Users Say Thank You to bunanson For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#2
Come on, you guys, I cannot do everything by myself!
Where are those senior gurus of the forum? I need your support.

Just for today 2/16/08, there are 6 threads going on simultaneously about MMC boot (or KDE requiring MMC boot), each thread has more than 4-5 posts, for a total of 30 posts in 1 day. I myself, bunanson, already posted 9 of them. I think a subforum is absolutely justified. No subforum will translate into more fragmented info and disgruntled or discouraged MMC boot "attempters". A subforum is


bun
 

The Following User Says Thank You to bunanson For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#3
New_2_Linux, post your current status here, we will get it done.


bun
 

The Following User Says Thank You to bunanson For This Useful Post:
Posts: 6 | Thanked: 0 times | Joined on Feb 2008
#4
Thanks bunanson. Before announcing my problem, I'd like to inform you all that I am very new to Linux and all these operating as the OS I use most of the times is Windows. However, please scold or flame if you must to get me to understand how to operate this process of booting a 16gb SDHC onto n800. Second, I would like to state that I have succeeded in booting from 2 GB SD card using this website http://thisweekinnuclear.com/KDEonN800.html, on maemo.org (how to easily boot from a mmc). Unfortunately, I struggled a lot because I didn't really understand what they were really talking about with the repository and stuff. And some stuff is missing because I believe they expect people to know it already. Such would be installing becomeroot in order to do sudo gainroot on xterm. Overall, I really didnt really know how I managed to boot from a 2GB SD card, but it was probably luck. I decided to install KDE, but it failed because it did not have sufficient capacity. Now before this time, I had about 1.4 gb on the device to use and around 400mb on the partition. KDE requires 1.5gb, so I decided to find the tarballs and certain files, but with my "newb-self" I wasn't able to find the tarballs or detemine which file is unnecessary to have. I tried to do search and type in tar and stuff like that, but it's not there. However, I began to realize that even with 2gb sd Card, I don't think that is sufficient for me as I want my n800 to have as much as possible because I would like to keep many useful apps to run on n800 and not just KDE. So I decided to purchase a 16gb SDHC ADATA card. After searching around, I have found so many people failing to boot from a 16gb SDHC. I began to be hopeless, but surprisingly, I came across this thread from Milhouse and bunanson and a few other people. I was very excited to see that they are able to boot from the 16gb SDHC.
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2008
#5
This is the instruction I lean towards in hoping to boot a 16gb on n800 with os2008.

Here are the steps:
1. Reflash my n800 to os2008.
2. I believe we need to install os xterm, but on os2008, it already has the included os xterm(v. 1.6).
3. I added the repository: http://repository.maemo.org/, bora, free non-free
4. Then install becomeroot by doing this:
Web Address: http://eko.one.pl/maemo
Distribution: bora or mistral (N800 or 770 respectively)
Components: user
Afterward, I went to browse installable, and installed becomeroot.
5. sudo gainroot
apt-get install wget
exit (question, must we exit and then tye back gainroot for the next step? It seems pointless)
6. sudo gainroot
apt-get update
apt-get install e2fsprogs
exit (again, must we exit?)
7. #sfdisk /dev/mmcblk0 -uM

/dev/mmcblk0p1: 0,14000,0C
/dev/mmcblk0p2: ,,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:
Question: By doing this it leaves the device with about 1gb of capacity only right? Why would we want to do that b/c we would be limited to the 1gb of app only. Or am I wrong? Well I followed the instruction anyway since I don't know much.

8. This step is to install fanoush and I have no idea how to so I went to this website and did:
http://fanoush.wz.cz/maemo/initfs_flasher.tgz
Install the flasher application to create a boot menu (won't have to repeat this if you redo these steps in the future for a new SD card)

# cd /home/user/MyDocs/.documents/
# tar zxvf initfs_flasher.tgz (check location of Tar first)
# cd initfs_flasher/
# ./initfs_flash
Question: Throughout the entire process, do I say yes to everything? Here are a few questions I could recall: do you want to install telnet?, do you want to delete unecessary extras, do you want to install something bear. Anyway, I said yes to all. After those questions, it asks me, " are you ready to reflash the image?" Saying yes would install something I believe and reboot asking me which slot I want to boot on ( I thought this only occurs when we get to the last step which is after installing the OS). Saying No doesn't seem to have the file installed because, then after I complete the whole process as in the final step of rebooting after installing OS, it doesn't allow me to choose which to boot from.
I also would like to include that reflashing the image, makes me reboot and I chose MMC card, partition 2, ext2, but it failed and started to boot on flash. I receive this once I get to the desktop view: Memory corrupted or not formatted. ***Notice: I have followed other people's advise and had used panasonic formatted SD card. I have selected the FULL format and something Flash on, however, as a result after the completion, it shows that the card has been formatted to 15.4gb and so on, but it puts (it failed to do a FULL format Flash on because this device does not support it). Once again, the SDHC I am using is a 16GB A-DATA from neweggs $65.
9. For this problem of memory corrupted after it reflash the image, I began to take the last step before installing the initfs_flash.tgz which is:
mkdir ~/bin
cd ~/bin
wget http://www.nmacleod.com/nokia/bin/nupgrade.sh
wget http://www.nmacleod.com/nokia/bin/tar
chmod +x nupgrade.sh tar

and then sudo gainroot
cd /home/user/bin
./nupgrade.sh 0, 1, 2, 3, 4

In this step, it clones the OS2008, Sadly, it completed with many files not being able to install due to the limited capacity. By following Milhouse's script, I believe my device has 1 gb and the rest goes to the partition. Again, here was the step I did for the mmc1 and mmc2:
#sfdisk /dev/mmcblk0 -uM

/dev/mmcblk0p1: 0,300,06
/dev/mmcblk0p2: ,,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:
(btw, must we umount /media/mmc2 or something? well I believe I had to do that for sfdisk to work) And I also tried to umount the way bananson as well and then did the sfdisk. Well, I really wish you guys could help me, but even if you guys cannot, I appreciate for reading. Will keep checking on this thread, maybe there will be miracle. Thanks every one!
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#6
Originally Posted by new_2_linux View Post
This is the ...
7. #sfdisk /dev/mmcblk0 -uM

/dev/mmcblk0p1: 0,14000,0C
/dev/mmcblk0p2: ,,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:


!
This is NOT good enough, I am afraid, the 16G will give you about 15.3G after formatting, this will leave you with 1.3G space for progs install. Subsitute 14000 with 13600 is more failsafe.

For 16 G, what brand is your SD card? If it is Adata, you need low level formatting, http://panasonic.jp/support/global/c...formatter.html. You will know if the formatting is not good....


So how are we doing?


bun

Last edited by bunanson; 2008-02-18 at 00:00.
 

The Following User Says Thank You to bunanson For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#7
Originally Posted by new_2_linux View Post
....8. This step is to install fanoush and I have no idea how to so I went to this website and did:
http://fanoush.wz.cz/maemo/initfs_flasher.tgz
Install the flasher application to create a boot menu (won't have to repeat this if you redo these steps in the future for a new SD card)

# cd /home/user/MyDocs/.documents/
# tar zxvf initfs_flasher.tgz (check location of Tar first)
# cd initfs_flasher/
# ./initfs_flash
Question: Throughout the entire process, do I say yes to everything?
_________________________________________________
NO. You only say yes to go ahead with the flasher. You say no
to 'create a backup', 'dropbear....', Yes to delete factory testing stuff. It is in Fanoush .tgz readme file.

_________________________________________________




re are a few questions I could recall: do you want to install telnet?,

_____________________________________________
No
_________________________________________________

do you want to delete unecessary extras,
____________________________________________
yes
________________________________________________


do you want to install something bear.
________________________________________________

no
_______________________________________

Anyway, I said yes to all. After those questions, it asks me, " are you ready to reflash the image?" Saying yes would install something I believe and reboot asking me which slot I want to boot on ( I thought this only occurs when we get to the last step which is after installing the OS). Saying No doesn't seem to have the file installed because, then after I complete the whole process as in the final step of rebooting after installing OS, it doesn't allow me to choose which to boot from.
I also would like to include that reflashing the image, makes me reboot and I chose MMC card, partition 2, ext2, but it failed and started to boot on flash. I receive this once I get to the desktop view: Memory corrupted or not formatted. ***Notice: I have followed other people's advise and had used panasonic formatted SD card. I have selected the FULL format and something Flash on, however, as a result after the completion, it shows that the card has been formatted to 15.4gb and so on, but it puts (it failed to do a FULL format Flash on because this device does not support it). Once again, the SDHC I am using is a 16GB A-DATA from neweggs $65.

__________________________________________________ ______
NO. You have to do a full format or whatever it called, something that it took forever to finish, is the correct process. A quick format does not do squat.
__________________________________________________ ______
9. For this problem of memory corrupted after it reflash the image, I began to take the last step before installing the initfs_flash.tgz which is:
mkdir ~/bin
cd ~/bin
wget http://www.nmacleod.com/nokia/bin/nupgrade.sh
wget http://www.nmacleod.com/nokia/bin/tar
chmod +x nupgrade.sh tar
__________________________________________________ ____
You only have to do that once. once you have done, you can skip this process from now on.
__________________________________________________ _______


and then sudo gainroot
cd /home/user/bin
./nupgrade.sh 0, 1, 2, 3, 4

In this step, it clones the OS2008, Sadly, it completed with many files not being able to install due to the limited capacity.


!
__________________________________________________ ___
No. It failed not because of capacity. It failed because the card is not partition right.

Redo the panasonic low level formatting, the rest will be straight forward.

and the new script does not use step 1,2,3,4. The new script everything is automatic, look at thread #292 of Milhouse simple clone.....thread.



bun
__________________________________________________ __________

Hey, please stop asking many questions in one post, it took me a lot of problem to answer. I do not have a good blogger...........

Regarding the formatting, use any option but the quick option, it takes for a long time, quick formatting does NOT work.

post back if question

bun

Last edited by bunanson; 2008-02-18 at 00:31.
 

The Following User Says Thank You to bunanson For This Useful Post:
Posts: 6 | Thanked: 0 times | Joined on Feb 2008
#8
What if I were to flash n800 again, Do I need to redo the initfs_flash.tgz again? Aside from this, I have already done the panasonic format, a Full Fromat. Yes the one that took forever, and as a result, it stated that it has sucessfully format the SDHC which is 15.4 gb. However it also has this: (it was not able to do the the Full Flash on because this device does not support it). I will run this n800 again right now. Thanks!
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#9
Originally Posted by new_2_linux View Post
What if I were to flash n800 again, Do I need to redo the initfs_flash.tgz again?




Aside from this, I have already done the panasonic format, a Full Fromat. Yes the one that took forever, and as a result, it stated that it has sucessfully format the SDHC which is 15.4 gb. However it also has this: (it was not able to do the the Full Flash on because this device does not support it). I will run this n800 again right now. Thanks!
Yes, reflash made you lose the bootmenu. There is a way to do without losing it. We will try that in the future. Why do you want to reflash the N800? There is NO point to reflash the N800. Full format with erase ON or Off is a moot point, it makes no difference. You may have to try with some other SD card if problem persisted.


bun
 

The Following User Says Thank You to bunanson For This Useful Post:
Posts: 6 | Thanked: 0 times | Joined on Feb 2008
#10
Originally Posted by bunanson View Post

and the new script does not use step 1,2,3,4. The new script everything is automatic, look at thread #292 of Milhouse simple clone.....thread.

bun
Is there a procedure there? Sorry I clicked on it and it only shows something about installing maemo SDK. By the way, is there anything else I should say no to besides the step where you install fanoush? Before finding about the panasonic, I have tried to format it using windows by right clicking on the icon of the drive and format. I had also tried to format it by inserting it into the cannon S5 to low-level format it as well because it has that option. Could that affect it? I apologize for asking too many questions in one post, I will try to ask less. But I don't want to make too many posts. Anyway if you don't mind I have added you to my buddy list on AIM, maybe we could chat there. Thanks!
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:51.