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 |
Yoshihiro Shimoda | 566f63d | 2012-03-05 20:11:12 +0000 | [diff] [blame^] | 15 | - eMMC 2GB |
Yoshihiro Shimoda | 8e9c897 | 2011-02-02 10:05:36 +0900 | [diff] [blame] | 16 | |
| 17 | |
| 18 | configuration for This board: |
| 19 | ============================= |
| 20 | |
| 21 | You can select the configuration as follows: |
| 22 | |
| 23 | - make sh7785lcr_config |
| 24 | |
| 25 | |
| 26 | This board specific command: |
| 27 | ============================ |
| 28 | |
| 29 | This board has the following its specific command: |
| 30 | |
| 31 | - sh_g200 |
| 32 | - write_mac |
| 33 | |
| 34 | |
| 35 | 1. sh_g200 |
| 36 | |
| 37 | If we run this command, SH4 can control the G200. |
| 38 | The default setting is that SH4 cannot control the G200. |
| 39 | |
| 40 | |
| 41 | 2. write_mac |
| 42 | |
| 43 | You 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 |
Nobuhiro Iwamatsu | c67ce95 | 2011-11-08 15:40:08 +0900 | [diff] [blame] | 65 | |
| 66 | |
| 67 | Update SPI ROM: |
| 68 | ============================ |
| 69 | |
| 70 | 1. Copy u-boot image to RAM area. |
Wolfgang Denk | 6b62b9a | 2011-12-19 12:03:40 +0100 | [diff] [blame] | 71 | 2. Probe SPI device. |
| 72 | => sf probe 0 |
Nobuhiro Iwamatsu | c67ce95 | 2011-11-08 15:40:08 +0900 | [diff] [blame] | 73 | 8192 KiB M25P64 at 0:0 is now current device |
| 74 | 3. Erase SPI ROM. |
Wolfgang Denk | 6b62b9a | 2011-12-19 12:03:40 +0100 | [diff] [blame] | 75 | => sf erase 0 80000 |
Nobuhiro Iwamatsu | c67ce95 | 2011-11-08 15:40:08 +0900 | [diff] [blame] | 76 | 4. Write u-boot image to SPI ROM. |
| 77 | => sf write 0x89000000 0 80000 |