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