README.sh7757lcr 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. ========================================
  2. Renesas R0P7757LC0030RL board
  3. ========================================
  4. This board specification:
  5. =========================
  6. The R0P7757LC0030RL(board config name:sh7757lcr) has the following device:
  7. - SH7757 (SH-4A)
  8. - DDR3-SDRAM 256MB (with ECC)
  9. - SPI ROM 8MB
  10. - 2D Graphic controller
  11. - Ethernet controller
  12. configuration for This board:
  13. =============================
  14. You can select the configuration as follows:
  15. - make sh7785lcr_config
  16. This board specific command:
  17. ============================
  18. This board has the following its specific command:
  19. - sh_g200
  20. - write_mac
  21. 1. sh_g200
  22. If we run this command, SH4 can control the G200.
  23. The default setting is that SH4 cannot control the G200.
  24. 2. write_mac
  25. You can write MAC address to SPI ROM.
  26. Usage 1) Write MAC address
  27. write_mac [ETHERC ch0] [ETHERC ch1] [GETHERC ch0] [GETHERC ch1]
  28. For example)
  29. => write_mac 00:00:87:6c:21:80 00:00:87:6c:21:81 00:00:87:6c:21:82 00:00:87:6c:21:83
  30. *) We have to input the command as a single line
  31. (without carriage return)
  32. *) We have to reset after input the command.
  33. Usage 2) Show current data
  34. write_mac
  35. For example)
  36. => write_mac
  37. ETHERC ch0 = 00:00:87:6c:21:80
  38. ETHERC ch1 = 00:00:87:6c:21:81
  39. GETHERC ch0 = 00:00:87:6c:21:82
  40. GETHERC ch1 = 00:00:87:6c:21:83
  41. Update SPI ROM:
  42. ============================
  43. 1. Copy u-boot image to RAM area.
  44. 2. Probe SPI device.
  45. => sf probe 0
  46. 8192 KiB M25P64 at 0:0 is now current device
  47. 3. Erase SPI ROM.
  48. => sf erase 0 80000
  49. 4. Write u-boot image to SPI ROM.
  50. => sf write 0x89000000 0 80000