README.sh7757lcr 1.6 KB

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