Booting the Neo FreeRunner via U-Boot

From Openmoko

Revision as of 12:40, 19 July 2008 by Glenn (Talk | contribs)

Jump to: navigation, search

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.

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.


Personal tools

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.

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.