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

From eLinux.org
Jump to: navigation, search
(Add wakeonlan <hostname>)
(Update load addresses to support booting larger kernels)
Line 20: Line 20:
 
U-Boot boot command:
 
U-Boot boot command:
 
<pre>
 
<pre>
tftpboot 0x48080000 Image
+
tftpboot 0x50000000 Image
tftpboot 0x49f00000 r8a77990-ebisu.dtb
+
tftpboot 0x58000000 r8a77990-ebisu.dtb
booti 0x48080000 - 0x49f00000
+
booti 0x50000000 - 0x58000000
 
</pre>
 
</pre>
 
  
 
= Suspend-to-RAM =
 
= Suspend-to-RAM =

Revision as of 06:29, 14 January 2021

Introduction

This is the Wiki for the Renesas Ebisu (Ebisu-4D, RTP0RC77990SEB0010S) board, which is equipped with an R-Car E3 SoC. Refer to the R-Car page for information about Renesas' R-Car SoC family.

Serial Console

Use a micro-USB cable to connect to "Debug Serial 0" (CN25). Serial settings are 115200 8N1.


Booting Linux

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

U-Boot boot command:

tftpboot 0x50000000 Image
tftpboot 0x58000000 r8a77990-ebisu.dtb
booti 0x50000000 - 0x58000000

Suspend-to-RAM

PSCI System Suspend

The system can be suspended by triggering a PSCI System Suspend:

echo mem > /sys/power/state

Caveats:

  • Before you can use the above, you must configure the PMIC for DDR Backup Mode first, using the command below, followed by switching SW23 off:
echo on > /sys/bus/i2c/drivers/bd9571mwv/*/bd9571mwv-regulator*/backup_mode
  • PSCI System Suspend supports wake-up by PMIC only. Switch SW23 on to resume the system.

Suspend-to-Idle

If you want to suspend the system, and wake up through other wake-up sources, you must use Suspend-to-Idle instead of PSCI System Suspend.

The system can be suspended ("frozen") using:

echo freeze > /sys/power/state

Alternatively (since v4.10), you can configure the system to use Suspend-to-Idle by default:

echo s2idle > /sys/power/mem_sleep

After that, you can suspend the system using the standard:

echo mem > /sys/power/state

Wake-Up Sources

Suspend-to-Idle supports the following wake-up sources:

  • ravb (Ethernet): Configure using one of:
ethtool -s eth0 wol g # Enable wake on MagicPacket
ethtool -s eth0 wol d # Disable

Wake-up by sending a MagicPacket from another system using:

wakeonlan <mac-address> | <hostname> | <ip-address> # <hostname> or <ip-address> must be in /etc/ethers
  • sh-sci (Serial): Disabled by default
  • usb: Disabled by default

Remote Control

Operation Signal A Pin A Signal B Pin B Connector needed Comments
Reset #MRB/SYSRSTn EXIO-D pin 66 GND EXIO-D center Samtec QTE-020 or -040
ACC OFF #RSTB/EX_PWRONn EXIO-D pin 68 D12.0V CN32 pin 1 Samtec QTE-020 or -040, JST PHR-7 Pull high via 47K resistor to power off