Yoshihiro Shimoda | 8e9c897 | 2011-02-02 10:05:36 +0900 | [diff] [blame] | 1 | ======================================== |
| 2 | Renesas R0P7757LC0030RL board |
| 3 | ======================================== |
| 4 | |
| 5 | This board specification: |
| 6 | ========================= |
| 7 | |
| 8 | The 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 | |
| 16 | |
| 17 | configuration for This board: |
| 18 | ============================= |
| 19 | |
| 20 | You can select the configuration as follows: |
| 21 | |
| 22 | - make sh7785lcr_config |
| 23 | |
| 24 | |
| 25 | This board specific command: |
| 26 | ============================ |
| 27 | |
| 28 | This board has the following its specific command: |
| 29 | |
| 30 | - sh_g200 |
| 31 | - write_mac |
| 32 | |
| 33 | |
| 34 | 1. sh_g200 |
| 35 | |
| 36 | If we run this command, SH4 can control the G200. |
| 37 | The default setting is that SH4 cannot control the G200. |
| 38 | |
| 39 | |
| 40 | 2. write_mac |
| 41 | |
| 42 | You can write MAC address to SPI ROM. |
| 43 | |
| 44 | Usage 1) Write MAC address |
| 45 | |
| 46 | write_mac [ETHERC ch0] [ETHERC ch1] [GETHERC ch0] [GETHERC ch1] |
| 47 | |
| 48 | For example) |
| 49 | => 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 |
| 50 | *) We have to input the command as a single line |
| 51 | (without carriage return) |
| 52 | *) We have to reset after input the command. |
| 53 | |
| 54 | Usage 2) Show current data |
| 55 | |
| 56 | write_mac |
| 57 | |
| 58 | For example) |
| 59 | => write_mac |
| 60 | ETHERC ch0 = 00:00:87:6c:21:80 |
| 61 | ETHERC ch1 = 00:00:87:6c:21:81 |
| 62 | GETHERC ch0 = 00:00:87:6c:21:82 |
| 63 | GETHERC ch1 = 00:00:87:6c:21:83 |
Nobuhiro Iwamatsu | c67ce95 | 2011-11-08 15:40:08 +0900 | [diff] [blame] | 64 | |
| 65 | |
| 66 | Update SPI ROM: |
| 67 | ============================ |
| 68 | |
| 69 | 1. Copy u-boot image to RAM area. |
| 70 | 2. Probe SPI device. |
| 71 | => sf probe 0 |
| 72 | 8192 KiB M25P64 at 0:0 is now current device |
| 73 | 3. Erase SPI ROM. |
| 74 | => sf erase 0 80000 |
| 75 | 4. Write u-boot image to SPI ROM. |
| 76 | => sf write 0x89000000 0 80000 |
| 77 | |