README 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Here is the step-by-step to boot U-Boot on phytium durian board.
  2. Compile U-Boot
  3. ==============
  4. > make durian_defconfig
  5. > make
  6. Get the prebuild binary about BPF
  7. =================================
  8. > cd ../
  9. > git clone https://github.com/phytium-durian/bpf.git
  10. Package the image
  11. =================
  12. > cd bpf
  13. > cp ../u-boot/u-boot.bin ./
  14. > ./dopack
  15. The fip-all.bin is the final image.
  16. Flash the image into the spi nor-flash
  17. ======================================
  18. Any spi nor-flash and appropriate tool can be used to flash.
  19. For example, we choose the S25FL256 chip that produced from
  20. SPANSION company and EZP_XPro V1.2.
  21. Reset the board, you can get U-Boot log message from boot console:
  22. Power on...
  23. Start pcie setup!
  24. End pcie setup!
  25. Start ddr setup!
  26. End ddr setup!
  27. Jump to entrypoint: 0x500000
  28. U-Boot 2019.10-00594-g9ccc1b17ea-dirty (Oct 18 2019 - 00:17:09 +0800)
  29. DRAM: 1.9 GiB
  30. In: uart@28001000
  31. Out: uart@28001000
  32. Err: uart@28001000
  33. scanning bus for devices...
  34. Target spinup took 0 ms.
  35. SATA link 1 timeout.
  36. SATA link 2 timeout.
  37. SATA link 3 timeout.
  38. AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
  39. flags: 64bit ncq led only pmp fbss pio slum part sxs
  40. Device 0: (0:0) Vendor: ATA Prod.: ST1000DM010-2EP1 Rev: CC43
  41. Type: Hard Disk
  42. Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
  43. SATA link 0 timeout.
  44. SATA link 1 timeout.
  45. SATA link 2 timeout.
  46. SATA link 3 timeout.
  47. AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
  48. flags: 64bit ncq led only pmp fbss pio slum part sxs
  49. Hit any key to stop autoboot: 0
  50. durian#