Recovery U-Boot Image (Lizard)

From DAVE Developer's Wiki
Jump to: navigation, search


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.