(→Load or flash kernel on N900) |
m (Some tidying) |
||
| Line 7: | Line 7: | ||
== Installing Rootfs on external MMC card == | == Installing Rootfs on external MMC card == | ||
| - | First what you need is microSD memory card which does not contain any information that you need as it will be erased during this operation. | + | First what you need is a microSD memory card which does not contain any information that you need as it will be erased during this operation. |
=== Linux === | === Linux === | ||
| - | + | When inserting the microSD memory card in the card reader you need to find out the proper device for the card. This can be done with for example fdisk: | |
sudo fdisk -l | sudo fdisk -l | ||
| Line 25: | Line 25: | ||
/dev/sdX1 1 588 1708984 83 Linux | /dev/sdX1 1 588 1708984 83 Linux | ||
| - | After you are <u>100% sure</u> that the /dev/sdX is the memory card you just inserted | + | After you are <u>100% sure</u> that the /dev/sdX is the microSD memory card you just inserted in the card reader you can use for example dd to put the image to the card: |
$ sudo dd bs=4096 if='''<raw_image>''' of=/dev/sdX | $ sudo dd bs=4096 if='''<raw_image>''' of=/dev/sdX | ||
448000+1 records in | 448000+1 records in | ||
| Line 33: | Line 33: | ||
The dd does not show any progress until the file is written to the device so be patient. | The dd does not show any progress until the file is written to the device so be patient. | ||
| - | After this you can insert the card | + | After this you can insert the card in the N900. |
=== Windows === | === Windows === | ||
| Line 42: | Line 42: | ||
# Unzip the file and extract the contents to a known directory | # Unzip the file and extract the contents to a known directory | ||
# Run W32DiskImager.exe | # Run W32DiskImager.exe | ||
| - | # Select the MeeGo image file ( | + | # Select the MeeGo image file (note you must write *.* file name to see all files) |
# Select the drive letter which corresponds to the microSD memory card. | # Select the drive letter which corresponds to the microSD memory card. | ||
# Click the "Write" button to byte-copy the image to the microSD memory card. | # Click the "Write" button to byte-copy the image to the microSD memory card. | ||
| - | === On the N900 | + | === On the N900 itself === |
| - | This should | + | This should be a last resort solution. |
# Download and unpack the raw image to a desktop computer (see above). | # Download and unpack the raw image to a desktop computer (see above). | ||
| - | # un-mount the | + | # un-mount the microSD memory card |
sudo gainroot | sudo gainroot | ||
umount /dev/mmcblk1p1 | umount /dev/mmcblk1p1 | ||
| Line 57: | Line 57: | ||
==== Notes ==== | ==== Notes ==== | ||
| - | * There might be more than one partition on the | + | * There might be more than one partition on the microSD memory card, though it is unlikely. |
| - | * It is possible to download the compressed image to your N900 but | + | * It is possible to download the compressed image to your N900 but it is not recommended as it takes very long to unpack. |
| - | * `dd` does not give any output while it is copying, so be patient | + | * `dd` does not give any output while it is copying, so be patient. |
== Load or flash kernel on N900 == | == Load or flash kernel on N900 == | ||
Contents |
NOTE: Read the whole guide before doing any steps from this guide to make sure you understand everything.
If you do not want to erase the NAND partition or the internal 32G eMMC from the N900 device, this installation is for you. What you need for this installation is a raw image that can be put to the MMC card and kernel (same kernel that is installed to the MMC).
First what you need is a microSD memory card which does not contain any information that you need as it will be erased during this operation.
When inserting the microSD memory card in the card reader you need to find out the proper device for the card. This can be done with for example fdisk:
sudo fdisk -l
An example output (NOTE: The /dev/sdX is used as an example on your PC this might be also called /dev/mmcblk0, /dev/sdd or something else)
$ sudo fdisk -l ... Disk /dev/sdX: 3965 MB, 3965714432 bytes 194 heads, 30 sectors/track, 1330 cylinders Units = cylinders of 5820 * 512 = 2979840 bytes Disk identifier: 0x0001ab40 Device Boot Start End Blocks Id System /dev/sdX1 1 588 1708984 83 Linux
After you are 100% sure that the /dev/sdX is the microSD memory card you just inserted in the card reader you can use for example dd to put the image to the card:
$ sudo dd bs=4096 if=<raw_image> of=/dev/sdX 448000+1 records in 448000+1 records out 1835008001 bytes (1.8 GB) copied, 300.641 s, 6.1 MB/s
The dd does not show any progress until the file is written to the device so be patient.
After this you can insert the card in the N900.
This should be a last resort solution.
sudo gainroot umount /dev/mmcblk1p1 dd if=/home/user/MyDocs/meego-image.raw of=/dev/mmcblk1
NOTE: Back cover must be closed to boot from MMC.
Before the MeeGo is able to boot you need also load the kernel provided with the raw image to the device. This can be done with the flasher
$ sudo flasher-3.5 -l -b -k <kernel>
NOTE: The command above will only load the kernel to the device, so next time you boot the device the original kernel should be used and your Maemo 5 OS should boot normally.
If you want to flash the kernel to your device so that it is not forgotten when it is powered off use option -f instead of option -l on command above.
| MeeGo Version | <kernel> | <raw_image> |
|---|---|---|
| 1.0-open | ??? | ??? |