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