2
0
Fork 0
mirror of https://github.com/AsahiLinux/u-boot synced 2024-12-19 17:53:08 +00:00
u-boot/doc/SPI
Neha Malcom Francis 7314ba2bf8 doc: board: ti: Move documentation from README to .rst
Make the conversion for all existing TI documentation from README to
.rst

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-09-09 06:12:47 +02:00
..
README.altera_spi spi: altera: Add short note about EPCS/EPCQx1 2014-10-27 22:37:03 +05:30
README.ftssp010_spi_test
README.sandbox-spi sandbox: update documents regarding spi_sf 2020-05-29 20:55:45 -06:00
README.sh_qspi_test
status.txt doc: SPI: Update status.txt 2014-01-12 21:40:23 +05:30

-------------------------------------------------
   Simple steps used to test the SH-QSPI at U-Boot
-------------------------------------------------

#0, Currently, SH-QSPI is used by lager board (Renesas ARM SoC R8A7790)
    and koelsch board (Renesas ARM SoC R8A7791). These boot from SPI ROM
    basically. Thus, U-Boot start, SH-QSPI will is operating normally.

#1, build U-Boot and load u-boot.bin

  => tftpboot 40000000 u-boot.bin
  sh_eth Waiting for PHY auto negotiation to complete.. done
  sh_eth: 100Base/Half
  Using sh_eth device
  TFTP from server 192.168.169.1; our IP address is 192.168.169.79
  Filename 'u-boot.bin'.
  Load address: 0x40000000
  Loading: ############
    2.5 MiB/s
  done
  Bytes transferred = 175364 (2ad04 hex)

#2, Commands to erase/write u-boot to flash device

  Note: This method is description of the lager board. If you want to use the
  other boards, please change the value according to each environment.

  =>  sf probe 0
  SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 64 KiB, total 64 MiB
  => sf erase 80000 40000
  SF: 262144 bytes @ 0x80000 Erased: OK
  => sf write 40000000 80000 175364
  SF: 1528676 bytes @ 0x80000 Written: OK
  =>

#3, Push reset button.

  If you're written correctly and driver works properly, U-Boot starts.