Booting the Neo FreeRunner via U-Boot

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Booting the Neo Freerunner: Remove top level title)
m (Booting the Neo FreeRunner moved to Booting the Neo FreeRunner via U-Boot: this is for U-Boot only, does not apply to Qi)
 
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
{{Languages|Booting the Neo FreeRunner}}
 +
 +
{|align=left
 +
|__TOC__
 +
|}
 +
 +
The Neo FreeRunner contains two FLASH memories: NOR FLASH and NAND FLASH. A boot loader is present in both memories.
 +
 +
The normal power up uses the boot loader in NAND FLASH.
 +
NAND FLASH can be updated (written) using the boot loader and a utility (dfu_util) running on an attached host computer.
 +
 +
NOR FLASH can not be written to using the boot loader. The reason for this is to provide a failsafe boot loader in NOR FLASH, in case the boot loader in NAND FLASH is corrupted while updating itself.
 +
 
You can boot your Neo FreeRunner in the following ways:
 
You can boot your Neo FreeRunner in the following ways:
  
Line 19: Line 32:
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu2.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
 
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #ffffff;">[[Image:Menu2.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
 
Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up.  You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.
 
Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up.  You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.
 +
 +
The boot time to the "Today" page is about 2 minutes. Improvements are being discussed in the [[Booting time reduction plan]].
  
 
</td></tr></table>
 
</td></tr></table>
Line 43: Line 58:
 
[[Image:Menu6.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
 
[[Image:Menu6.jpg|200px|right|thumb]]</td><td style="padding: 1px 1em 0; background: #eeeeee;">
  
This option is usually used by developers or when [[#Flashing_the_Neo_FreeRunner|flashing]] (imaging) the FreeRunner.  
+
This option is usually used by developers or when [[Flashing the Neo FreeRunner|flashing]] (imaging) the FreeRunner.  
  
 
* Press and hold the AUX button
 
* Press and hold the AUX button
 
* While still pressing the AUX button, press and hold the Power button.  
 
* While still pressing the AUX button, press and hold the Power button.  
* Then release the AUX button (not required?)
+
* Then release the AUX button
 
* You should see the boot menu for the NOR Flash. This means you have entered the NOR flash.   
 
* You should see the boot menu for the NOR Flash. This means you have entered the NOR flash.   
  
Line 60: Line 75:
 
# Power off
 
# Power off
  
If you cannot log into U-Boot in NAND flash then you can log into U-Boot in the NOR flash either.  
+
If you cannot log into U-Boot in NAND flash then you can log into U-Boot in the NOR flash instead.  
  
{{note|The term ''Logging in'' used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will '''not''' automatically turn off while flashing is in progress.
+
When flashing the device via USB connection, you must choose ''Set console to USB'' by pressing the AUX key until it is highlighted and then press the power button to select it.
 +
 
 +
{{note|The term ''Logging in'' used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will '''not''' automatically turn off while flashing is in progress.  
 
}}
 
}}
  
 
</td></tr></table>
 
</td></tr></table>
 +
 +
[[Category:Neo FreeRunner Hardware]]
 +
[[Category:Advanced End User]]

Latest revision as of 00:54, 19 March 2010


Contents

The Neo FreeRunner contains two FLASH memories: NOR FLASH and NAND FLASH. A boot loader is present in both memories.

The normal power up uses the boot loader in NAND FLASH. NAND FLASH can be updated (written) using the boot loader and a utility (dfu_util) running on an attached host computer.

NOR FLASH can not be written to using the boot loader. The reason for this is to provide a failsafe boot loader in NOR FLASH, in case the boot loader in NAND FLASH is corrupted while updating itself.

You can boot your Neo FreeRunner in the following ways:

Circle2.gif You can power it up into an Openmoko image directly (default, when powered-on for the first time).
Circle2.gif You can boot it into the U-Boot bootloader via NAND Flash.
Circle2.gif You can boot it into U-Boot via NOR Flash.

Booting the device into NAND and NOR Flash allows you to update the kernel and root filesystem.

[edit] Start the Openmoko Image

Menu2.jpg

Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up. You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.

The boot time to the "Today" page is about 2 minutes. Improvements are being discussed in the Booting time reduction plan.

[edit] Log into U-Boot in the NAND Flash

Menu7.jpg
  • Press and hold Power button
  • Then while still pressing the Power button, press and hold AUX button for 5 to 8 seconds.
  • A boot menu will appear. This indicates the NAND flash has booted.
  • Press the AUX button to select one of the options and then press the Power button to execute.

[edit] Log into U-Boot in the NOR Flash

Menu6.jpg

This option is usually used by developers or when flashing (imaging) the FreeRunner.

  • Press and hold the AUX button
  • While still pressing the AUX button, press and hold the Power button.
  • Then release the AUX button
  • You should see the boot menu for the NOR Flash. This means you have entered the NOR flash.

Flashing can be performed when the NOR boot menu is active.

There are six options you can choose when you log into the NOR Flash.

  1. Boot
  2. Boot from MicroSD
  3. Set console to USB
  4. Set console to Serial
  5. Reset
  6. Power off

If you cannot log into U-Boot in NAND flash then you can log into U-Boot in the NOR flash instead.

When flashing the device via USB connection, you must choose Set console to USB by pressing the AUX key until it is highlighted and then press the power button to select it.

NOTE: The term Logging in used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will not automatically turn off while flashing is in progress.


Personal tools

You can boot your Neo FreeRunner in the following ways:

Circle2.gif You can power it up into an Openmoko image directly (default, when powered-on for the first time).
Circle2.gif You can boot it into the U-Boot bootloader via NAND Flash.
Circle2.gif You can boot it into U-Boot via NOR Flash.

Booting the device into NAND and NOR Flash allows you to update the kernel and root filesystem.

Start the Openmoko Image

Menu2.jpg

Press and hold Power button for about 8 seconds, until the Openmoko splash screen turns up. You may now release the Power button and the Neo FreeRunner will continue to boot into the Openmoko Image.

Log into U-Boot in the NAND Flash

Menu7.jpg
  • Press and hold Power button
  • Then while still pressing the Power button, press and hold AUX button for 5 to 8 seconds.
  • A boot menu will appear. This indicates the NAND flash has booted.
  • Press the AUX button to select one of the options and then press the Power button to execute.

Log into U-Boot in the NOR Flash

Menu6.jpg

This option is usually used by developers or when flashing (imaging) the FreeRunner.

  • Press and hold the AUX button
  • While still pressing the AUX button, press and hold the Power button.
  • Then release the AUX button (not required?)
  • You should see the boot menu for the NOR Flash. This means you have entered the NOR flash.

Flashing can be performed when the NOR boot menu is active.

There are six options you can choose when you log into the NOR Flash.

  1. Boot
  2. Boot from MicroSD
  3. Set console to USB
  4. Set console to Serial
  5. Reset
  6. Power off

If you cannot log into U-Boot in NAND flash then you can log into U-Boot in the NOR flash either.

NOTE: The term Logging in used in this context means to turn on the device using the described method, and leaving it at the U-Boot menu. To avoid the device automatically booting, tap the AUX key to move the selector bar. Note also that the device will not automatically turn off while flashing is in progress.