Difference between revisions of "R-Car/Boards/H3SK"

From eLinux.org
Jump to: navigation, search
Line 9: Line 9:
  
 
== Hardware ==
 
== Hardware ==
[[File:ULCB H3 top lables.jpg|Top view]]<br/>
+
[[File:ULCB H3 top lables.jpg|700px|Top view]]<br/>
[[File:ULCB H3 bot lables.jpg|Bottom view]]<br/>
+
[[File:ULCB H3 bot lables.jpg|700px|Bottom view]]<br/>
 
 
  
 
== Hardware Features==
 
== Hardware Features==

Revision as of 07:24, 25 October 2016

Renesas H3SK

Introduction

This is the Wiki for the Renesas R-Car Starter Kit Premier board (RTP0RC7795SKB00010S). Refer to the R-Car page for information about Renesas' R-Car SoC family.

Hardware

Top view
Bottom view

Hardware Features

  • R-CAR H3
    • ARM CA57 (ARMv8) 1.5 GHz quad core, with NEON/VFPv4, L1$ I/D 48K/32K, L2$ 2MB
    • ARM CA53 (ARMv8) 1.2 GHz quad core, with NEON/VFPv4, L1$ I/D 32K/32K, L2$ 512K
    • Memory controller for LPDDR4-3200 4GB in 2 channels, each 64-bit wide
    • Two- and three-dimensional graphics engines,
    • Video processing units,
    • 3 channels Display Output,
    • 6 channels Video Input,
    • SD card host interface,
    • USB3.0 and USB2.0 interfaces,
    • CAN interfaces
    • Ethernet AVB
    • PCI Express Interfaces
  • Memories
    • INTERNAL 384KB SYSTEM RAM
    • DDR 4 GB LPDDR4
    • HYPERFLASH 64 MB HYPER FLASH (512 MBITS, 160 MHZ, 320 MBYTES/S)
    • QSPI FLASH 16MB QSPI (128 MBITS,80 MHZ,80 MBYTES/S)1 HEADER QSPI MODULE
    • EMMC 32 GB EMMC (HS400 240 MBYTES/S)
    • MICROSD-CARD SLOT (SDR104 100 MBYTES/S)
  • Connecotrs
    • CN1 COM Express type connector 440pin
    • CN2 QSPI Flash module
    • CN3 DEBUG JTAG
    • CN4 HDMI
    • CN5 USB 2.0
    • CN6 Push-Pull microSD Card Socket
    • CN7 Ethernet, Connector, RJ45
    • CN8 LINE Out
    • CN9 MIC Input
    • CN10 DEBUG SERIAL (optional)
    • CN11 CPLD Programming JTAG
    • CN12 DEBUG SERIAL
    • CN13 Main Power Supply input (5VDC)
    • CN14 CPU Fan
  • Swithces
    • SW1 Hyper Flash
    • SW2 Software Readable DIPSWITCHES (4x)
    • SW3 Software Readable Push button
    • SW4 Software Readable Push button
    • SW5 Software Readable Push button
    • SW6 Mode Settings
    • SW7 Reset
    • SW8 Power
    • SW9 Reset
  • Board specifications
    • Dimensions: 95mm × 95mm
    • Board thickness: 1.6mm
    • External power supply 5V / 6A max, Ripple & Noise (Vp-p) Full load 200mV
    • T opr Operating ambient temperature 0°C to 40°C Do not expose to condensation
    • Vcc 5V system power supply voltage (range 5V +- 5%)
    • I board Maximum current consumption 6A , 40W

Serial Console

Use a micro-USB cable to connect to "Debug Serial-0" (CN10 for ws1.0, CN12 for ws1.1). Serial settings are 115200 8N1.

Booting Linux

 * Kernel config: defconfig
 * Kernel image: arch/arm64/boot/Image
 * DTB: arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dtb

U-Boot boot command:

tftpboot 0x48080000 Image
tftpboot 0x48f00000 r8a7795-h3ulcb.dtb 
booti 0x48080000 - 0x48f00000

Flashing firmware

  1. Power off the board
  2. Press SW8
    
  3. Set SW and JP as follows:
  4. SW1=OFF
     ws1.0: SW6[all]=OFF
     ws1.1: SW6[1]=ON, SW6[2]=ON, SW6[3]=OFF, SW6[4]=ON
    JP1 -> 1-2 short
    
  5. Power on the board
  6. Press SW8
    Minimonitor starts and provides prompts on console
    
  7. Change SW as follows:
  8. SW1=ON
     ws1.0: SW6[3]=ON
     ws1.1: SW6[2]=OFF, SW6[3]=ON
    
  9. Flash bootparam_sa0.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:
  10. 3
    y
    y
    e6320000
    0
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bootparam_sa0.srec", after upload finished press any key
    y
    
  11. Flash bl2-h3ulcb.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:
  12. 3
    y
    y
    e6302000
    40000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl2-h3ulcb.srec", after upload finished press any key
    y
    
  13. Flash cert_header_sa6.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:
  14. 3
    y
    y
    e6320000
    180000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "cert_header_sa6.srec", after upload finished press any key
    y
    
  15. Flash bl31-h3ulcb.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:
  16. 3
    y
    y
    44000000
    1C0000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "bl31-h3ulcb.srec", after upload finished press any key
    y
    
  17. Flash tee-h3ulcb.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:
  18. 3
    y
    y
    44100000
    200000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "tee-h3ulcb.srec", after upload finished press any key
    y
    
  19. Flash u-boot-elf.srec. In console execute xls2 command (load program to hyper flash) and provide the following inputs:
  20. 3
    y
    y
    49000000
    640000
    type "ctrl+A S" and select upload method "ascii", then choose file for uploading "u-boot-elf.srec", after upload finished press any key
    y
    
  21. Reset the board
  22. Press SW9
    


Test procedures