10299c90fSStefan RoeseUpdate from original Marvell U-Boot to mainline U-Boot: 20299c90fSStefan Roese------------------------------------------------------- 30299c90fSStefan Roese 40299c90fSStefan RoeseGenerate the U-Boot image with these commands: 50299c90fSStefan Roese 60299c90fSStefan Roese$ make clearfog_defconfig 70299c90fSStefan Roese$ make 80299c90fSStefan Roese 90299c90fSStefan RoeseThe resulting image including the SPL binary with the 100299c90fSStefan Roesefull DDR setup is "u-boot-spl.kwb". 110299c90fSStefan Roese 120299c90fSStefan RoeseNow all you need to do is copy this image on a SD card. 130299c90fSStefan RoeseFor example with this command: 140299c90fSStefan Roese 150299c90fSStefan Roese$ sudo dd if=u-boot-spl.kwb of=/dev/sdX bs=512 seek=1 160299c90fSStefan Roese 170299c90fSStefan RoesePlease use the correct device node for your setup instead 180299c90fSStefan Roeseof "/dev/sdX" here! 19*0d106f1eSBaruch Siach 20*0d106f1eSBaruch SiachBoot from UART: 21*0d106f1eSBaruch Siach--------------- 22*0d106f1eSBaruch Siach 23*0d106f1eSBaruch SiachConnect the on-board micro-USB (CF Pro: CON11, CF Base: CON5) 24*0d106f1eSBaruch Siachto your host. 25*0d106f1eSBaruch Siach 26*0d106f1eSBaruch SiachSet the SW1 DIP switches to UART boot (0: OFF, 1: ON): 27*0d106f1eSBaruch Siach 28*0d106f1eSBaruch Siach ClearFog Base: 01001 29*0d106f1eSBaruch Siach ClearFog Pro: 11110 30*0d106f1eSBaruch Siach 31*0d106f1eSBaruch SiachRun the following command to initiate U-Boot download: 32*0d106f1eSBaruch Siach 33*0d106f1eSBaruch Siach ./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX 34*0d106f1eSBaruch Siach 35*0d106f1eSBaruch SiachUse the correct UART device node for /dev/ttyUSBX. 36*0d106f1eSBaruch Siach 37*0d106f1eSBaruch SiachWhen download finishes start your favorite terminal emulator 38*0d106f1eSBaruch Siachon /dev/ttyUSBX. 39