Meego Wiki
Views

ARM/N900/Install/Dual Boot

From MeeGo wiki
< ARM | N900 | Install(Difference between revisions)
Jump to: navigation, search
(wikify list)
(Dual booting Maemo 5 (Fremantle) PR1.3 and MeeGo Developer Edition)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
-
== Dual booting Maemo 5 (Fremantle) PR1.3 and MeeGo 1.1 ==
+
== Dual booting Maemo 5 (Fremantle) PR1.3 and MeeGo Developer Edition ==
-
<strong>WARNING: This guide is experimental and everything you do with this guide is at your own responsibility and risk and will probably void your warranty</strong>
+
<strong>WARNING: This guide is experimental and everything you do with this guide is at your own responsibility and risk.</strong>
-
<strong>WARNING: DO NOT RELY ON WALL CHARGER, ONLY USB CHARGING FOR 1.1 IMAGES, see [http://bugs.meego.com/show_bug.cgi?id=2260 meego bug #2260]</strong>
+
<strong>WARNING: DO NOT RELY ON WALL CHARGER, ONLY USB CHARGING FOR 1.1 IMAGES, see [http://bugs.meego.com/show_bug.cgi?id=2260 meego bug #2260].</strong> (no longer applies to images from april 2011 - wall charger is better.)
<strong>WARNING: If you are unable to boot anything, do NOT let the device stay in u-boot. IMMEDIATELY reflash back to Maemo. Your battery may drain otherwise. You can solve a drain situation by reflashing back to Maemo using another, charged, battery. Or charge your battery in another Nokia device using the same battery type, such as the 5800, using a wall charger. There is a [[ARM/N900/Recover From Drained Battery|guide to battery drainage solving]].</strong>
<strong>WARNING: If you are unable to boot anything, do NOT let the device stay in u-boot. IMMEDIATELY reflash back to Maemo. Your battery may drain otherwise. You can solve a drain situation by reflashing back to Maemo using another, charged, battery. Or charge your battery in another Nokia device using the same battery type, such as the 5800, using a wall charger. There is a [[ARM/N900/Recover From Drained Battery|guide to battery drainage solving]].</strong>
Line 9: Line 9:
This is a simplified guide for dual-booting with u-boot on Nokia N900.
This is a simplified guide for dual-booting with u-boot on Nokia N900.
-
'''You must be using the PR1.3 kernel and nothing else'''. You will likely end up in a reboot loop if you don't have this otherwise. To check this, in Maemo X-Terminal, type "uname -a" and make sure you see:
+
'''You must be using the PR1.3 kernel and nothing else'''. If you aren't, you will likely end up in a reboot loop. To check this, in Settings -> About product. Make sure you see:
-
<pre>Linux Nokia-N900 2.6.28-omap1 #1 PREEMPT Fri Aug 6 11:50:00 EEST 2010 armv7l unknown</pre>
+
<pre>Version: 20.2010.36-2</pre>
-
and "dpkg -l | grep kernel-modules" should show 2.6.28-20103103+0m5.
+
You will need a 4 GB microSD card or bigger. You may also see "MMC", which is basically the same thing as the microSD card.
-
You will need a 2 GB microSD card or bigger.
+
# Enable the maemo.org extras-devel repository, see http://wiki.maemo.org/Extras-devel (<strong>The software hosted in extras-devel is not ready for normal users! PLEASE PLEASE PLEASE don't play with it, unless you really know what you are doing.</strong> It is recommended to disable the extras-devel repository after you have installed the package below, and do not install any updated packages that you might be notified of while extras-devel is enabled. Be ready to file proper bug reports instead of posting complaints.)
-
 
+
-
# Enable the maemo.org extras-devel repository, see http://wiki.maemo.org/Extras-devel (<strong>The software hosted in extras-devel is not ready for normal users! PLEASE PLEASE PLEASE don't play with it unless you really know what you are doing.</strong> It is recommended to disable the extras-devel repository after you have installed the package below, and do not install any updated packages that you might be notified of while extras-devel is enabled. Be ready to file proper bug reports instead of posting complaints.)
+
# Install the 'uboot-pr13' package from 'System' section
# Install the 'uboot-pr13' package from 'System' section
# Verify it's installed by restarting your N900. A penguin should show up at startup and U-boot will be mentioned, let it time out and boot into Maemo.
# Verify it's installed by restarting your N900. A penguin should show up at startup and U-boot will be mentioned, let it time out and boot into Maemo.
-
# From http://tablets-dev.nokia.com/meego-codedrop.php (type in your IMEI), download meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw.bz2 -- we require IMEI/EULA but in practice the images are redistributable under certain conditions, see the license files for more information.
+
# Download the image from [http://repository.maemo.org/meego/n900-de/ http://repository.maemo.org/meego/n900-de/] (you need the raw.bz2 file for the daily acceptance image)
-
# Follow the [[ARM/N900/Install/MMC#Installing Rootfs on external MMC card|instructions for installing a rootfs on an external MMC card]] and write the image to your microSD
+
# Follow the [[ARM/N900/Install/MMC#Installing Rootfs on external MMC card|instructions for installing a rootfs on an external MMC card]] to write the raw image to your microSD
# Insert the microSD, put back phone back cover (otherwise, microSD card won't be properly detected at startup by MeeGo) and turn on the N900, let U-boot menu time out and MeeGo will boot.
# Insert the microSD, put back phone back cover (otherwise, microSD card won't be properly detected at startup by MeeGo) and turn on the N900, let U-boot menu time out and MeeGo will boot.
# Enjoy!
# Enjoy!
-
To boot back in to Maemo turn off your phone, then either remove the microSD and then turn on your phone, or turn it on and interrupt the boot during the countdown by pressing a button and then type "run noloboot".
+
To boot back in to Maemo, turn off your phone, then either remove the microSD and then turn on your phone, or turn it on and interrupt the boot during the countdown, by pressing a button and then typing "run noloboot".
 +
 
 +
If you want to remove U-boot, you can as root in Maemo run: apt-get install --reinstall kernel kernel-flasher
 +
 
 +
<strong>If you are unable to get back into Maemo, please follow http://wiki.maemo.org/Updating_the_tablet_firmware in order to reflash your device. This will destroy your current Maemo setup, but return your device to a working state.</strong>
 +
 
 +
<strong>For the technically minded, you can flasher '-F <firmware image> -u' and 'flasher -f zImage -R' to get your original kernel back and hopefully get back to your current Maemo setup. If you have used other kernels than the required PR1.3 kernel, this will not work.</strong>
 +
 
 +
=== Tricky way to install u-boot using flasher ===
 +
 
 +
<strong>This is riskier, so please use the previous way instead.</strong>
-
If you want to remove U-boot you can as root in Maemo run: apt-get install --reinstall kernel kernel-flasher
+
<strong>Note all warnings in the previous section.</strong>
-
<strong>If you are unable to get back into Maemo, please follow http://wiki.maemo.org/Updating_the_tablet_firmware in order to reflash your device. This will destroy your current Maemo setup, but return your device to a working state</strong>
+
'''You must be using the PR1.3 kernel and nothing else'''. If you aren't, you will likely end up in a reboot loop. You need dpkg tool to use this.
-
<strong>For the technically minded, you can flasher '-F <firmware image> -u' and 'flasher -f zImage -R' to get your original kernel back and hopefully get back to your current Maemo setup. If you have used other kernels than PR1.3 kernel as is required, this will not work.</strong>
+
# Download 'uboot-pr13_*_armel.deb' from http://repository.maemo.org/extras-devel/pool/fremantle-1.3/free/u/uboot-pr13/
 +
# unpack deb: <strong>"dpkg -X uboot-pr13_1.0.2_armel.deb uboot-pr13"</strong>
 +
# flash to device: <strong>"sudo flasher-3.5 -f -F temp/boot/uboot-and-zImage-2.6.28-20103103+0m5.fiasco"</strong>
[[Category:N900]]
[[Category:N900]]

Latest revision as of 21:23, 21 June 2011

Dual booting Maemo 5 (Fremantle) PR1.3 and MeeGo Developer Edition

WARNING: This guide is experimental and everything you do with this guide is at your own responsibility and risk.

WARNING: DO NOT RELY ON WALL CHARGER, ONLY USB CHARGING FOR 1.1 IMAGES, see meego bug #2260. (no longer applies to images from april 2011 - wall charger is better.)

WARNING: If you are unable to boot anything, do NOT let the device stay in u-boot. IMMEDIATELY reflash back to Maemo. Your battery may drain otherwise. You can solve a drain situation by reflashing back to Maemo using another, charged, battery. Or charge your battery in another Nokia device using the same battery type, such as the 5800, using a wall charger. There is a guide to battery drainage solving.

This is a simplified guide for dual-booting with u-boot on Nokia N900.

You must be using the PR1.3 kernel and nothing else. If you aren't, you will likely end up in a reboot loop. To check this, in Settings -> About product. Make sure you see:

Version: 20.2010.36-2

You will need a 4 GB microSD card or bigger. You may also see "MMC", which is basically the same thing as the microSD card.

  1. Enable the maemo.org extras-devel repository, see http://wiki.maemo.org/Extras-devel (The software hosted in extras-devel is not ready for normal users! PLEASE PLEASE PLEASE don't play with it, unless you really know what you are doing. It is recommended to disable the extras-devel repository after you have installed the package below, and do not install any updated packages that you might be notified of while extras-devel is enabled. Be ready to file proper bug reports instead of posting complaints.)
  2. Install the 'uboot-pr13' package from 'System' section
  3. Verify it's installed by restarting your N900. A penguin should show up at startup and U-boot will be mentioned, let it time out and boot into Maemo.
  4. Download the image from http://repository.maemo.org/meego/n900-de/ (you need the raw.bz2 file for the daily acceptance image)
  5. Follow the instructions for installing a rootfs on an external MMC card to write the raw image to your microSD
  6. Insert the microSD, put back phone back cover (otherwise, microSD card won't be properly detected at startup by MeeGo) and turn on the N900, let U-boot menu time out and MeeGo will boot.
  7. Enjoy!

To boot back in to Maemo, turn off your phone, then either remove the microSD and then turn on your phone, or turn it on and interrupt the boot during the countdown, by pressing a button and then typing "run noloboot".

If you want to remove U-boot, you can as root in Maemo run: apt-get install --reinstall kernel kernel-flasher

If you are unable to get back into Maemo, please follow http://wiki.maemo.org/Updating_the_tablet_firmware in order to reflash your device. This will destroy your current Maemo setup, but return your device to a working state.

For the technically minded, you can flasher '-F <firmware image> -u' and 'flasher -f zImage -R' to get your original kernel back and hopefully get back to your current Maemo setup. If you have used other kernels than the required PR1.3 kernel, this will not work.

Tricky way to install u-boot using flasher

This is riskier, so please use the previous way instead.

Note all warnings in the previous section.

You must be using the PR1.3 kernel and nothing else. If you aren't, you will likely end up in a reboot loop. You need dpkg tool to use this.

  1. Download 'uboot-pr13_*_armel.deb' from http://repository.maemo.org/extras-devel/pool/fremantle-1.3/free/u/uboot-pr13/
  2. unpack deb: "dpkg -X uboot-pr13_1.0.2_armel.deb uboot-pr13"
  3. flash to device: "sudo flasher-3.5 -f -F temp/boot/uboot-and-zImage-2.6.28-20103103+0m5.fiasco"
Personal tools