blob: 272d6dde053ed0dc053e4298eb1b998e54acad7e [file] [log] [blame]
Bin Mengd25afed2019-07-18 00:34:21 -07001.. SPDX-License-Identifier: GPL-2.0+
2
3R0P7752C00000RZ board
4=====================
5
6This board specification
7------------------------
8
9The R0P7752C00000RZ(board config name:sh7752evb) has the following device:
10
11 - SH7752 (SH-4A)
12 - DDR3-SDRAM 512MB
13 - SPI ROM 8MB
14 - Gigabit Ethernet controllers
15 - eMMC 4GB
16
17
18Configuration for This board
19----------------------------
20
21You can select the configuration as follows:
22
23 - make sh7752evb_config
24
25
26This board specific command
27---------------------------
28
29This board has the following its specific command:
30
31write_mac:
32 You can write MAC address to SPI ROM.
33
34Usage 1: Write MAC address
35
36.. code-block:: none
37
38 write_mac [GETHERC ch0] [GETHERC ch1]
39
40 For example:
41 => write_mac 74:90:50:00:33:9e 74:90:50:00:33:9f
42
43* We have to input the command as a single line (without carriage return)
44* We have to reset after input the command.
45
46Usage 2: Show current data
47
48.. code-block:: none
49
50 write_mac
51
52 For example:
53 => write_mac
54 GETHERC ch0 = 74:90:50:00:33:9e
55 GETHERC ch1 = 74:90:50:00:33:9f
56
57
58Update SPI ROM
59--------------
60
611. Copy u-boot image to RAM area.
622. Probe SPI device.
63
64.. code-block:: none
65
66 => sf probe 0
67 SF: Detected MX25L6405D with page size 64KiB, total 8 MiB
68
693. Erase SPI ROM.
70
71.. code-block:: none
72
73 => sf erase 0 80000
74
754. Write u-boot image to SPI ROM.
76
77.. code-block:: none
78
79 => sf write 0x48000000 0 80000