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