Stefan Roese | 7360640 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 1 | Update from original Marvell U-Boot to mainline U-Boot: |
| 2 | ------------------------------------------------------- |
| 3 | |
| 4 | Generate the U-Boot image with these commands: |
| 5 | |
| 6 | $ make clearfog_defconfig |
| 7 | $ make |
| 8 | |
| 9 | The resulting image including the SPL binary with the |
| 10 | full DDR setup is "u-boot-spl.kwb". |
| 11 | |
| 12 | Now all you need to do is copy this image on a SD card. |
| 13 | For example with this command: |
| 14 | |
| 15 | $ sudo dd if=u-boot-spl.kwb of=/dev/sdX bs=512 seek=1 |
| 16 | |
| 17 | Please use the correct device node for your setup instead |
| 18 | of "/dev/sdX" here! |
Baruch Siach | 67732a1 | 2017-09-24 15:50:18 +0300 | [diff] [blame^] | 19 | |
| 20 | Boot from UART: |
| 21 | --------------- |
| 22 | |
| 23 | Connect the on-board micro-USB (CF Pro: CON11, CF Base: CON5) |
| 24 | to your host. |
| 25 | |
| 26 | Set the SW1 DIP switches to UART boot (0: OFF, 1: ON): |
| 27 | |
| 28 | ClearFog Base: 01001 |
| 29 | ClearFog Pro: 11110 |
| 30 | |
| 31 | Run the following command to initiate U-Boot download: |
| 32 | |
| 33 | ./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX |
| 34 | |
| 35 | Use the correct UART device node for /dev/ttyUSBX. |
| 36 | |
| 37 | When download finishes start your favorite terminal emulator |
| 38 | on /dev/ttyUSBX. |