Preparing usb drive

Download latest U-Boot from https://forum.doozan.com/read.php?3,12381

Prepare emtpy Fat32 formatted flash drive.

Copy there latest U-Boot file downloaded from link above and rename to uboot.kwb

Loading data from usb and flashing

In serial console type:

usb stop 
usb start

output:

starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

check which number was given, usually it is 0 if one USB storage is present.

usb part

output:

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     8192            31711232        d1fc5102-01     0c

 

Flash file

mw 0x0800000 0xffff 0x100000 
fatload usb 0 0x0800000 uboot.kwb
nand write 0x0800000 0x0 0x100000
   
© Paweł Woźniak