sh7752evb.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. R0P7752C00000RZ board
  3. =====================
  4. This board specification
  5. ------------------------
  6. The R0P7752C00000RZ(board config name:sh7752evb) has the following device:
  7. - SH7752 (SH-4A)
  8. - DDR3-SDRAM 512MB
  9. - SPI ROM 8MB
  10. - Gigabit Ethernet controllers
  11. - eMMC 4GB
  12. Configuration for This board
  13. ----------------------------
  14. You can select the configuration as follows:
  15. - make sh7752evb_config
  16. This board specific command
  17. ---------------------------
  18. This board has the following its specific command:
  19. write_mac:
  20. You can write MAC address to SPI ROM.
  21. Usage 1: Write MAC address
  22. .. code-block:: none
  23. write_mac [GETHERC ch0] [GETHERC ch1]
  24. For example:
  25. => write_mac 74:90:50:00:33:9e 74:90:50:00:33:9f
  26. * We have to input the command as a single line (without carriage return)
  27. * We have to reset after input the command.
  28. Usage 2: Show current data
  29. .. code-block:: none
  30. write_mac
  31. For example:
  32. => write_mac
  33. GETHERC ch0 = 74:90:50:00:33:9e
  34. GETHERC ch1 = 74:90:50:00:33:9f
  35. Update SPI ROM
  36. --------------
  37. 1. Copy u-boot image to RAM area.
  38. 2. Probe SPI device.
  39. .. code-block:: none
  40. => sf probe 0
  41. SF: Detected MX25L6405D with page size 64KiB, total 8 MiB
  42. 3. Erase SPI ROM.
  43. .. code-block:: none
  44. => sf erase 0 80000
  45. 4. Write u-boot image to SPI ROM.
  46. .. code-block:: none
  47. => sf write 0x48000000 0 80000