Home | History | Annotate | only in /external/u-boot/board/renesas/sh7757lcr
Up to higher level directory
NameDateSize
Kconfig22-Oct-2020149
lowlevel_init.S22-Oct-202012.1K
MAINTAINERS22-Oct-2020126
Makefile22-Oct-2020175
README.sh7757lcr22-Oct-20201.6K
sh7757lcr.c22-Oct-20209.7K
spi-boot.c22-Oct-20202.4K

README.sh7757lcr

      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  - eMMC 2GB
     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
     65 
     66 
     67 Update SPI ROM:
     68 ============================
     69 
     70 1. Copy u-boot image to RAM area.
     71 2. Probe SPI device.
     72    => sf probe 0
     73    8192 KiB M25P64 at 0:0 is now current device
     74 3. Erase SPI ROM.
     75    => sf erase 0 80000
     76 4. Write u-boot image to SPI ROM.
     77    => sf write 0x89000000 0 80000
     78