Open main menu

DAVE Developer's Wiki β

Changes

Restoring U-Boot on SPI NOR flash (BELK/BXELK)

146 bytes added, 14:38, 23 November 2021
no edit summary
===Instructions===
First of all, create a bootable microSD card as described [[System boot and recovery via microSD card (BORA_SOM/BELK-L/Development/BXELK)How_to_create_a_bootable_microSD_card|here]].
Then, boot the board with the microSD card and stop automatic boot process of U-Boot in order to access the console.
====Programming U-Boot from ethernet====
 Download via TFTP Properly define the U-Boot SPL and the U-Boot binary images. Then, burn them in NOR flash memory.ethernet configuration parameter:
<pre class="board-terminal">
Bora> setenv ipaddr 192.168.0.91
Bora> setenv ethaddr 00:50:C2:1E:AF:B3
Bora> setenv serverip 192.168.0.23
</pre>
 
Download via TFTP the U-Boot SPL and the U-Boot binary images. Then, burn them in NOR flash memory:
<pre class="board-terminal">
Bora> setenv SPL_base 0
Bora> setenv u-boot_base 0x40000
[[BoraXEVB#Boot_mode_selection_-_S5BORA_Xpress_SOM/BORA_Xpress_Evaluation_Kit/Getting_started/Boot_Configurations|Select the SPI NOR flash as boot device]], remove the microSD card, and reset the board. The board should boot off the NOR flash as shown in the following image.
<pre class="board-terminal">
Bora> reset
8,226
edits