R-Car/Boards/S4SK-Proto

From eLinux.org
< R-Car
Revision as of 02:04, 13 October 2022 by RenesasJa (talk | contribs) (How to update the loader)
Jump to: navigation, search

This page is preparing now.

Please wait a minute.

Introduction

This page is for the Starter Kit prototype board equipped with R-Car S4(ws1.0).
This board is not for sale.
The mass production version is scheduled for 2023. Please look forward to it.

Hardware

Type name

Y-ASK-RCAR-S4

Picture

[Top view]

Top view

[Bottom view]

Bottom view

Block Diagram

Hardware feature

Documentation

Schematic

Specification of DIP SW (SW3)

DIP SW information
SW Usage When on When off Description Default
SW3-1 MD1 L H Boot device selection [0] On
SW3-2 MD2 L H Boot device selection [1] On
SW3-3 MD3 L H Boot device selection [2] Off
SW3-4 MD4 L H Boot device selection [3] On
SW3-5 MD5 L / enabled H / disabled Secure authorization Off
SW3-6 MD6 L / ICU-MXB H / CR52 Master boot processor On
SW3-7 -
SW3-8 -
MD[4:1] Pins – Selection of Boot Device (SW On = 0 / Off = 1)
MD4 MD3 MD2 MD1 Selection of Boot Device
0 1 0 0 Serial flash ROM boot at single read 40MHz using DMA
1 1 1 1 SCIF Downloading mode
MD6 Pin – Selection of Master Boot Processor (SW On = 0 / Off = 1)
MD6 Selection of Master Boot Processor
0 Booted through ICUMXA (Initial setting)
1 Booted through Cortex-R52

How to update the loader

Write data information
Filename Program Top Address Qspi Save Address Description
bootparam_sa0.srec 0xEB200000 0x0000000 ICUMXA IPL (boot parameter)
icumx_loader.srec 0xEB210000 0x0040000 ICUMXA IPL
cert_header_sa9.srec 0xEB230000 0x0240000 ICUMXA IPL (certification)
dummy_fw.srec 0xEB240000 0x0280000 Dummy FW (secure firmware)
dummy_rtos.srec 0xE2100000 0x0500000 Dummy RTOS
ca55_loader.srec 0xE6300000 0x0480000 Dummy G4MH
dummy_g4mh_case0.srec 0x00000000 0x0900000 Dummy G4MH
dummy_icumh_case1.srec 0x00500000 0x0380000 Dummy ICUMH
bl31-s4sk-proto.srec 0x46400000 0x0E00000 Secure monitor
tee-s4sk-proto.srec 0x44100000 0x0E80000 Tee OS
u-boot-elf-s4sk-proto.srec 0x50000000 0x0F80000 U-Boot

SW environments

Supported OS

Linux

Base environments
Software Revision
Yocto Project 3.1.11
aarch64-poky-linux-gcc (GCC) 9.3
Kernel Ver 5.10.41
Userland 64/32bit 64
U-Boot 2020.10
Renesas Yocto BSP v5.12.0 (R-Car SDK v3.3.0)

Host PC

Ubuntu 20.04 LTS (64bit) is recommended as OS. 32bit version is not supported.

How to build

Installation of required tools and libraries

Ubuntu is used as Linux Host PC since Yocto Project Quick Start specifies Ubuntu as one of the distributions. You need to install the required packages as follows.

sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa \
libsdl1.2-dev pylint3 xterm libarchive-zip-perl

Build script

Manual steps

How to boot

Loading kernel and rootfs via SD card

This section describes steps that are necessary for preparing and booting from SD card.

Preparing SD card

How to test some capabilities

Thermal

root@s4sk-proto:~# cat /sys/class/thermal/thermal_zone*/temp
48000
50000
46500

CPU Hotplug

Ex)
root@s4sk-proto:~#  cat /sys/devices/system/cpu/online
0-7
root@s4sk-proto:~#                                     
root@s4sk-proto:~# echo 0 > /sys/devices/system/cpu/cpu1/online
[   83.276294] IRQ209: set affinity failed(-22).
[   83.276416] CPU1: shutdown
[   83.277352] psci: CPU1 killed (polled 0 ms)
root@s4sk-proto:~# 
root@s4sk-proto:~# cat /sys/devices/system/cpu/offline
1
root@s4sk-proto:~# 
root@s4sk-proto:~#  echo 1 > /sys/devices/system/cpu/cpu1/online
[  116.336034] Detected VIPT I-cache on CPU1
[  116.336084] GICv3: raw_spin_lock_init for SGI
[  116.336093] GICv3: CPU1: found redistributor 100 region 0:0x00000000f1080000
[  116.336163] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
root@s4sk-proto:~# cat /sys/devices/system/cpu/offline

root@s4sk-proto:~#

QA site

Known issues & Restrictions

This page is preparing now.