Difference between revisions of "R-Car/Boards/S4SK-Proto"
< R-Car
(Create the new page for S4 Starter Kit prototype board) |
(→How to test some capabilities) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== Hardware == | == Hardware == | ||
=== Type name === | === Type name === | ||
− | |||
=== Picture === | === Picture === | ||
− | --> | + | ==== [Top view] ==== |
+ | [[File:R-Car-S4SK-topview.jpg|700px|Top view]] | ||
+ | ==== [Bottom view] ==== | ||
+ | [[File:R-Car-S4SK-bottomview.jpg|700px|Bottom view]]<br/> | ||
=== Block Diagram === | === Block Diagram === | ||
=== Hardware feature === | === Hardware feature === | ||
Line 112: | Line 114: | ||
50000 | 50000 | ||
46500 | 46500 | ||
+ | </syntaxhighlight> | ||
+ | === CPU Hotplug === | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | Ex) | ||
+ | root@s4sk:~# cat /sys/devices/system/cpu/online | ||
+ | 0-7 | ||
+ | root@s4sk:~# | ||
+ | root@s4sk:~# 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:~# | ||
+ | root@s4sk:~# cat /sys/devices/system/cpu/offline | ||
+ | 1 | ||
+ | root@s4sk:~# | ||
+ | root@s4sk:~# 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:~# cat /sys/devices/system/cpu/offline | ||
+ | |||
+ | root@s4sk:~# | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 00:38, 28 September 2022
Contents
- 1 This page is preparing now.
- 2 This page is preparing now.
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
Picture
[Top view]
[Bottom view]
Block Diagram
Hardware feature
Documentation
Schematic
Specification of DIP SW (SW3)
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 | - |
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 | Selection of Master Boot Processor |
---|---|
0 | Booted through ICUMXA (Initial setting) |
1 | Booted through Cortex-R52 |
How to update the loader
SW environments
Supported OS
Linux
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:~# cat /sys/class/thermal/thermal_zone*/temp
48000
50000
46500
CPU Hotplug
Ex)
root@s4sk:~# cat /sys/devices/system/cpu/online
0-7
root@s4sk:~#
root@s4sk:~# 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:~#
root@s4sk:~# cat /sys/devices/system/cpu/offline
1
root@s4sk:~#
root@s4sk:~# 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:~# cat /sys/devices/system/cpu/offline
root@s4sk:~#