README 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Update from original Marvell U-Boot to mainline U-Boot:
  2. -------------------------------------------------------
  3. Generate the U-Boot image with these commands:
  4. $ make helios4_defconfig
  5. $ make
  6. The resulting image including the SPL binary with the
  7. full DDR setup is "u-boot-spl.kwb".
  8. Now all you need to do is copy this image on a SD card.
  9. For example with this command:
  10. $ sudo dd if=u-boot-spl.kwb of=/dev/sdX bs=512 seek=1
  11. Please use the correct device node for your setup instead
  12. of "/dev/sdX" here!
  13. Boot selection:
  14. ---------------
  15. Before powering up the board, boot selection should be done via the SW1 dip
  16. switch (0: OFF, 1: ON):
  17. - SPI: 00010
  18. - SD/eMMC: 00111
  19. - SATA1: 11100
  20. - UART: 11110
  21. Boot from UART:
  22. ---------------
  23. Connect the on-board micro-USB (CF Pro: CON11, CF Base: CON5)
  24. to your host.
  25. Set the SW1 DIP switches to UART boot (see above).
  26. Run the following command to initiate U-Boot download:
  27. ./tools/kwboot -p -b u-boot-spl.kwb /dev/ttyUSBX
  28. Use the correct UART device node for /dev/ttyUSBX.
  29. When download finishes start your favorite terminal emulator
  30. on /dev/ttyUSBX.