README 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Here is the step-by-step to boot U-Boot on rv1108 evb.
  2. Get ddr init binary
  3. ==============================================================================
  4. > git clone https://github.com/rockchip-linux/rkbin.git
  5. Compile U-Boot
  6. ===========================
  7. > make CROSS_COMPILE=arm-linux-gnueabi- evb-rv1108_defconfig all
  8. > ./tools/mkimage -n rv1108 -T rksd -d ../rkbin/rv1x/rv1108ddr_v1.00.bin spl.bin
  9. > cat spl.bin u-boot.bin > u-boot.img
  10. Flash the image by rkdeveloptool
  11. ================================
  12. rkdeveloptool can get from https://github.com/rockchip-linux/rkdeveloptool.git
  13. Power on(or reset with RESET KEY) with MASKROM KEY preesed, and then:
  14. > rkdeveloptool db ./rkbin/rv1x/rv1108usbboot_v1.00.bin
  15. > rkdeveloptool wl 0x40 u-boot.img
  16. > rkdeveloptool RD
  17. You should be able to get U-Boot log message from boot console:
  18. DDR Version V1.02 20170220
  19. In
  20. 400MHz
  21. DDR3
  22. Bus Width=16 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=512MB
  23. mach:2
  24. OUT
  25. U-Boot 2017.05-00693-g3a5b171 (Jun 01 2017 - 17:37:53 +0800)
  26. Model: Rockchip RV1108 Evaluation board
  27. DRAM: 128 MiB
  28. APLL: 600000000 DPLL:792000000 GPLL:384000000
  29. MMC:
  30. Using default environment
  31. In: serial@10210000
  32. Out: serial@10210000
  33. Err: serial@10210000
  34. Net: No ethernet found.
  35. Hit any key to stop autoboot: 0
  36. =>