README.sh_qspi_test 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. -------------------------------------------------
  2. Simple steps used to test the SH-QSPI at U-Boot
  3. -------------------------------------------------
  4. #0, Currently, SH-QSPI is used by lager board (Renesas ARM SoC R8A7790)
  5. and koelsch board (Renesas ARM SoC R8A7791). These boot from SPI ROM
  6. basically. Thus, U-Boot start, SH-QSPI will is operating normally.
  7. #1, build U-Boot and load u-boot.bin
  8. => tftpboot 40000000 u-boot.bin
  9. sh_eth Waiting for PHY auto negotiation to complete.. done
  10. sh_eth: 100Base/Half
  11. Using sh_eth device
  12. TFTP from server 192.168.169.1; our IP address is 192.168.169.79
  13. Filename 'u-boot.bin'.
  14. Load address: 0x40000000
  15. Loading: ############
  16. 2.5 MiB/s
  17. done
  18. Bytes transferred = 175364 (2ad04 hex)
  19. #2, Commands to erase/write u-boot to flash device
  20. Note: This method is description of the lager board. If you want to use the
  21. other boards, please change the value according to each environment.
  22. => sf probe 0
  23. SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 64 KiB, total 64 MiB
  24. => sf erase 80000 40000
  25. SF: 262144 bytes @ 0x80000 Erased: OK
  26. => sf write 40000000 80000 175364
  27. SF: 1528676 bytes @ 0x80000 Written: OK
  28. =>
  29. #3, Push reset button.
  30. If you're written correctly and driver works properly, U-Boot starts.