Changes

Jump to: navigation, search

Recovery U-Boot Image (Naon)

1,104 bytes added, 15:50, 7 February 2013
m
UART Recovery
=== UART Recovery ===
UART recovery does not requires any specialized hardware, apart except for  * a PC (Windows or Linux based) and * a DB9 serial cross cable* the binary image of the 1st stage bootloader (u-boot.min) with UART support (please see [[Recovery U-Boot Image (Naon)#Getting the u-boot.min.uart | Getting the u-boot.min.uart]])
If not already available, configure [[Boot sequence (Naon)|Naon boot sequence]] to include UART boot.
When the 2nd stage is running follow [[Flashing Images (Naon)|this]] article for instructions on how to update U-Boot in flash
 
==== Getting the u-boot.min.uart ====
 
To build the 1st stage bootloader with UART support:
 
* configure the file Rules.make file contained into the ''EZSDK_INSTALL_DIR'', modifying the <code>MIN_UBOOT_CONFIG</code> and <code>MIN_UBOOT_IMAGE</code> variables, choosing the ''uart'' variant:
<pre>
MIN_UBOOT_CONFIG=naon_min_uart
MIN_UBOOT_IMAGE=u-boot.min.uart
</pre>
 
* build u-boot launching the <code>make u-boot</code> command, as described in [[http://wiki.dave.eu/index.php/Development_Environment_HowTo_(NELK)#Build.2Fconfigure_U-Boot_only | Build/configure U-Boot only]]
* enter the ''EZSDK_INSTALL_DIR/board-support/u-boot.git'' directory and launch the following command, which removes the MLO header (first 8 bytes):
 
<pre>
dd if=MLO of=u-boot.min.uart bs=1 skip=8
</pre>
 
<code>u-boot.min.uart</code> is the file that must be sent through the serial line to load the 1st stage bootloader on the board.
=== MMC Recovery ===

Navigation menu