Difference between revisions of "Recovery U-Boot Image (Lizard)"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 1: Line 1:
'''Tool preparation'''
+
 
* Download the zip archive lizard-Recovery.zip and extract it in a folder
+
 
* Open the command prompt and go inside the utility folder
+
== Tool Preparation ==
 +
* Download the zip archive lizard-Recovery.zip and extract it  
 +
* Open the command prompt and go inside the folder where you extract the recovery
 
* Lunch the uitility with the serial port number
 
* Lunch the uitility with the serial port number
C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery_V2.bat COM1
+
<pre>
 
+
C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery.bat COM1
 +
</pre>
 
{{InfoBoxTop}}
 
{{InfoBoxTop}}
 
{{AppliesToLizard}}
 
{{AppliesToLizard}}
 
{{AppliesToLizardEVB-Lite}}
 
{{AppliesToLizardEVB-Lite}}
 
{{InfoBoxBottom}}
 
{{InfoBoxBottom}}
'''Board Preparation'''
+
== Board Preparation ==
 
* Power down the board and set the deep switch 2 1 configuration.
 
* Power down the board and set the deep switch 2 1 configuration.
* Connect the serial console to the PORT2 of your board.
+
* Connect the serial console to the <ode>PORT2</code> of your board.
* Turn the board on.
+
* Turn on the board.
  
'''Flashing the firmware'''
+
== Flashing the firmware ==
  
If everithing was set correctly, this message should appear on your screen
+
If everithing was set correctly, this messages should appear on your screen
 
<pre>
 
<pre>
  
Line 47: Line 50:
 
CLOSE Serial Console !!!!!!
 
CLOSE Serial Console !!!!!!
 
</pre>
 
</pre>
 +
{{ImportantMessage|text=Don't close the '''command prompt'''}}
  
Now it is necessary to open a serial console for example Putty and insert the following command
+
Now it is necessary to open a serial console for example Putty and type the following command
 
<pre>
 
<pre>
 
mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200
 
mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200
 
</pre>
 
</pre>
  
Now close the command line and pres <code>Enter</code> inside the command prompt.
+
Now close the serial console and pres <code>Enter</code> inside the command prompt.
A new download will start.
+
A new download will start follewd by some instructions.
 
<pre>
 
<pre>
 
Downloading file: 100.000% completed(218792/218792 bytes)
 
Downloading file: 100.000% completed(218792/218792 bytes)
Line 72: Line 76:
 
res
 
res
 
</pre>
 
</pre>
If everithing went ok, you shuld
+
Now the board will restart and if everithing went ok, you should see the U-Boot command line prompt.
 
 
* Turn off the board.
 
* Change the sweetch position to reflect the original one.
 
* Turn on the board.
 

Revision as of 10:56, 15 March 2018


Tool Preparation[edit | edit source]

  • Download the zip archive lizard-Recovery.zip and extract it
  • Open the command prompt and go inside the folder where you extract the recovery
  • Lunch the uitility with the serial port number
C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery.bat COM1
Info Box
Lizard.jpg Applies to Lizard
Lizard-evb-02.png Applies to LizardEVB-Lite

Board Preparation[edit | edit source]

  • Power down the board and set the deep switch 2 1 configuration.
  • Connect the serial console to the <ode>PORT2 of your board.
  • Turn on the board.

Flashing the firmware[edit | edit source]

If everithing was set correctly, this messages should appear on your screen


ASIC ID Detected.

Sending 2ndFile:

Downloading file: 100.000% completed(15232/15232 bytes)

File download completed.

In attesa da 0 secondi. Premere un tasto per continuare...

Downloading file: 100.000% completed(218792/218792 bytes)

File Download completed

Open Serial Console and write this command

.

.

"=> mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200"

.

.

CLOSE Serial Console !!!!!!
200px-Emblem-important.svg.png

Don't close the command prompt

Now it is necessary to open a serial console for example Putty and type the following command

mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200

Now close the serial console and pres Enter inside the command prompt. A new download will start follewd by some instructions.

Downloading file: 100.000% completed(218792/218792 bytes)
File Download completed
.
.
Open Serial Console and write this command
"=> protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000"
"=> res"
.
.
.

When the download is finished, you need to reopen putty and insert this command

protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000
res

Now the board will restart and if everithing went ok, you should see the U-Boot command line prompt.