summaryrefslogtreecommitdiff
path: root/doc/board/renesas/sh7753evb.rst
blob: c62a82435cbda5c7a4d32f489b4880c56f598fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.. SPDX-License-Identifier: GPL-2.0+

SH7753 EVB board
================

This board specification
------------------------

The SH7753 EVB (board config name:sh7753evb) has the following device:

 - SH7753 (SH-4A)
 - DDR3-SDRAM 512MB
 - SPI ROM 8MB
 - Gigabit Ethernet controllers
 - eMMC 4GB


Configuration for This board
----------------------------

You can select the configuration as follows:

 - make sh7753evb_config


This board specific command
---------------------------

This board has the following its specific command:

write_mac:
  You can write MAC address to SPI ROM.

Usage 1: Write MAC address

.. code-block:: none

   write_mac [GETHERC ch0] [GETHERC ch1]

   For example:
   => write_mac 74:90:50:00:33:9e 74:90:50:00:33:9f

* We have to input the command as a single line (without carriage return)
* We have to reset after input the command.

Usage 2: Show current data

.. code-block:: none

   write_mac

   For example:
   => write_mac
      GETHERC ch0 = 74:90:50:00:33:9e
      GETHERC ch1 = 74:90:50:00:33:9f


Update SPI ROM
--------------

1. Copy u-boot image to RAM area.
2. Probe SPI device.

.. code-block:: none

   => sf probe 0
   SF: Detected MX25L6405D with page size 64KiB, total 8 MiB

3. Erase SPI ROM.

.. code-block:: none

   => sf erase 0 80000

4. Write u-boot image to SPI ROM.

.. code-block:: none

   => sf write 0x48000000 0 80000