blob: 37c1a7a98a9e6f2c6144709b9c7d30f7924784fc [file] [log] [blame]
Yoshihiro Shimoda8e9c8972011-02-02 10:05:36 +09001========================================
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
16
17configuration for This board:
18=============================
19
20You can select the configuration as follows:
21
22 - make sh7785lcr_config
23
24
25This board specific command:
26============================
27
28This board has the following its specific command:
29
30 - sh_g200
31 - write_mac
32
33
341. sh_g200
35
36If we run this command, SH4 can control the G200.
37The default setting is that SH4 cannot control the G200.
38
39
402. write_mac
41
42You 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 Iwamatsuc67ce952011-11-08 15:40:08 +090064
65
66Update SPI ROM:
67============================
68
691. Copy u-boot image to RAM area.
Wolfgang Denk6b62b9a2011-12-19 12:03:40 +0100702. Probe SPI device.
71 => sf probe 0
Nobuhiro Iwamatsuc67ce952011-11-08 15:40:08 +090072 8192 KiB M25P64 at 0:0 is now current device
733. Erase SPI ROM.
Wolfgang Denk6b62b9a2011-12-19 12:03:40 +010074 => sf erase 0 80000
Nobuhiro Iwamatsuc67ce952011-11-08 15:40:08 +0900754. Write u-boot image to SPI ROM.
76 => sf write 0x89000000 0 80000