maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Step by step guide: 48Mhz kernel and MMC boot clone (https://talk.maemo.org/showthread.php?t=22155)

OVK 2008-08-04 16:03

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by bunanson (Post 209848)
More details please? You're goin' to make a RAM disk thing or you're going to make a big .video or .audio folder in partition 2? You will have to SSH/USB or somehow get it on FAT then transfer to .audio, right? I am NOT sure this is faster. To access part2 or 3, you will need a Linux box.
In general, partition 2 is for app installation. I have 2.5G and have KDE installed. This left with 5.5 G for FAT or storage on a 8G card.

bun

Sorry, seems like I mixed the partitions (p1 and p2) with each other. I don't need 4 G p2, probably 1 G would be enough. However, I would like to have as big p1 as possible for my media.

Actually, I think that I have located the problem: if I understand correctly FAT16 partitions may have a maximum size of 2 G. When I was partitioning the card I tried to make 4 G FAT16 partition (because for some reason I remembered that FAT16 partitions can be up to 4 G).

So it seems that I have to go through the whole procedure again... Or I could try to repartition the card with Parted Magic but I am not sure if it is going to work, last time when I tried to resize and move the partitions the whole card got messed up and I had to format it again.

I am using OS2006. It seems that the Diskusage app that you recommend is not available for this old fashioned OS. Can you recommend any alternative? And on the other hand: can I in any way make the p1 larger than 2 G (and accessible with Windows)? If I remember correctly the OS2006 can only read cards that are FAT16.

fanoush 2008-08-04 18:58

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by OVK (Post 210061)
If I remember correctly the OS2006 can only read cards that are FAT16.

No. Linux kernel handles FAT32 just fine. Just format it on Windows and OS2006 will handle it (both reading and writing).

buma 2008-08-06 00:45

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
so, if I have already cloned my OS to my mmc, do I just follow the same steps as shown to the "Some good links" portion of the first post? Or do I have to re-clone my OS again? Or is there something else that can be done to use my already cloned card to get the 48Mhz upgrade?

ericdkirk 2008-08-06 03:13

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by bunanson (Post 205668)
Add Fanoush's 48 Mhz kernel, http://fanoush.wz.cz/maemo/, scrolled down to " Support for SDHC cards and higher SD/MMC speeds for Nokia 770", dl http://fanoush.wz.cz/maemo/kernel-sd...2006.49.tar.gz and http://fanoush.wz.cz/maemo/kernel_flasher.tgz; both files dl to the default folder, /home/user/MyDocs/.documents, or Document folder from file manager. DL onto internal flash, not mmc card. If you are tight in space, clean up, delete/move things from folders Audio clips, Documents (all the user manuals) Images, and Video clips. And anything NOT related to this operation, delete/move.

xterm
sudo gainroot
cd ~/Mydocs/.documents
tar zxvf kernel-sdhc-48MHz-3.2006.49.tar.gz (this generated zImage-48MHz)
tar zxvf kernel_flasher.tgz
cp zImage-48MHz ~/MyDocs/.documents/kernel_flasher
cd kernel_flasher
./kernel_flash

That's it!!!
P.S. mind the links above are broke, use ones in first post (to lazy to correct tonight)

buma 2008-08-06 03:23

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
awesome! thanks for the response - but again my newbieness raises it's ugly (and stupid) head

so... as I was reading this post from Why there is lack of interest "Highspeed enabled kernel for the Nokia n800 and n810"? thread, what's the difference between the above ./kernel_flash and the fiasco-flasher being used?

nhanquy 2008-08-06 04:11

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by buma (Post 210639)
awhat's the difference between the above ./kernel_flash and the fiasco-flasher being used?

They are the same before diablo we did not have fiasco-flasher on the device so we had to use kernel_flash. I haven't tried fiasco-flasher myself :D

buma 2008-08-06 04:13

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by nhanquy (Post 210651)
They are the same before diablo we did not have fiasco-flasher on the device so we had to use kernel_flash. I haven't tried fiasco-flasher myself :D

so is one safer to use than the other? or just different flavors of the same thing? Basically I don't want to screw up my SD card (which I assume I run this on if I'm booting to it primarily) partition and have to redo all the stuff I've loaded...

fanoush 2008-08-06 06:12

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by buma (Post 210653)
so is one safer to use than the other? or just different flavors of the same thing?

hard to say without seeing source code of fiasco-flasher (it is closed) but most probably it does the same thing when flashing the kernel.

And BTW there is no fiasco-flasher for 770 or older OS versions for N8x0. I wonder if the binary would work with OS2007/N800 though. For 770 there is no chance.

OVK 2008-08-06 08:25

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by fanoush (Post 210145)
No. Linux kernel handles FAT32 just fine. Just format it on Windows and OS2006 will handle it (both reading and writing).

Thank you for the info.

Now I finally have what I wanted: about 7 G as FAT32 on memory card partition and 1 G on boot partition. Card works fine on Nokia 770 and the partition sizes are as they should be. For some reason my memory card reader stopped recognizing the card but I can access it by connecting the tablet to computer with usb cable. This makes file transfer a bit slow but I can probably live with that.

One more question if I for some reason need to make the cloning again:
When following these instructions:
http://examplified.net/guide/Nokia_7...ting_from_MMC/

When I define the partitions in the following way:
umount /media/mmc1
sfdisk /dev/mmcblk0
/dev/mmcblk0p1: 1,15000,6
/dev/mmcblk0p2: 15001,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:

What should I write instead of 6 if I want to directly make FAT32 partition instead of FAT16 partition? This time I just made a 7 G FAT16 partition and later reformatted it to FAT32 with Parted Magic.

fanoush 2008-08-06 08:42

Re: Step by step guide: 48Mhz kernel and MMC boot clone
 
Quote:

Originally Posted by OVK (Post 210705)
What should I write instead of 6 if I want to directly make FAT32 partition instead of FAT16 partition? This time I just made a 7 G FAT16 partition and later reformatted it to FAT32 with Parted Magic.

b or maybe c, see e.g. this. No sane system checks this flag. It may help with the other ones though :-)

You can change it even now, see -c or --id option description in http://linux.die.net/man/8/sfdisk


All times are GMT. The time now is 20:08.

vBulletin® Version 3.8.8