Difference between revisions of "R-Mobile/Boards/APE6-EVM"

From eLinux.org
Jump to: navigation, search
m (Add missing 0 prefix for Samtec connector)
(Update uImage load address to avoid having to copy the compressed kernel image)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
  
= Renesas APE6-EVM =
+
= Introduction =
 
 
== Introduction ==
 
  
 
This is the Wiki for the Renesas R-Mobile APE6 APE6-EVM board.
 
This is the Wiki for the Renesas R-Mobile APE6 APE6-EVM board.
 
Refer to the [[R-Mobile]] page for information about Renesas' R-Mobile SoC family.
 
Refer to the [[R-Mobile]] page for information about Renesas' R-Mobile SoC family.
  
== Serial Console ==
+
= Serial Console =
  
 
Use a micro-USB cable to connect to "Console".
 
Use a micro-USB cable to connect to "Console".
 
Serial settings are 115200 8N1.
 
Serial settings are 115200 8N1.
  
== Booting Linux ==
+
= Booting Linux =
  
 
   * Kernel config: shmobile_defconfig
 
   * Kernel config: shmobile_defconfig
Line 21: Line 19:
 
Create a uImage:
 
Create a uImage:
 
<pre>
 
<pre>
make LOADADDR=0x40008000 uImage
+
make LOADADDR=0x41008000 uImage
 
</pre>
 
</pre>
  
 
U-Boot boot command:
 
U-Boot boot command:
 
<pre>
 
<pre>
tftp 40f00000 r8a73a4-ape6evm.dtb
 
 
tftp 41000000 uImage  
 
tftp 41000000 uImage  
bootm 41000000 - dtb 40f00000
+
tftp 50000000 r8a73a4-ape6evm.dtb
 +
bootm 41000000 - dtb 50000000
 
</pre>
 
</pre>
  
== Remote Control ==
+
= Suspend-to-RAM =
 +
 
 +
== Procedure ==
 +
 
 +
The system can be suspended using:
 +
<pre>
 +
echo mem > /sys/power/state
 +
</pre>
 +
 
 +
== Wake-Up Sources ==
 +
 
 +
Suspend-to-RAM supports the following wake-up sources:
 +
 
 +
* gpio-keys: Wake-up using push button S16.
 +
* sh-sci (Serial): Disabled by default
 +
 
 +
 
 +
= Remote Control =
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 57: Line 72:
 
|X8 pin 28
 
|X8 pin 28
 
|Samtec QTE-020
 
|Samtec QTE-020
|Needs [https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=topic/board-farm&id=379debff99d5fdfd190d3442424af09bbabeae43 ARM: dts: ape6evm: Enable PORT1 for wake-up]
+
|Needs ''ARM: dts: ape6evm: Enable PORT1 for wake-up'' from [https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/board-farm renesas-drivers#topic/board-farm]
 
|-
 
|-
 
|}
 
|}
 +
 +
= Run U-Boot from JTAG =
 +
Start openocd, one can use the similar and upstream Stout board file.
 +
 +
<pre>
 +
openocd -f interface/ftdi/flyswatter2.cfg -f board/renesas_stout.cfg -c 'adapter_khz 300'
 +
</pre>
 +
 +
Halt the target, load U-Boot and jump to it.
 +
<pre>
 +
halt
 +
load_image /path/to/uboot.bin 0xe8200000
 +
resume 0xe8200000
 +
</pre>

Latest revision as of 06:32, 7 December 2020

Introduction

This is the Wiki for the Renesas R-Mobile APE6 APE6-EVM board. Refer to the R-Mobile page for information about Renesas' R-Mobile SoC family.

Serial Console

Use a micro-USB cable to connect to "Console". Serial settings are 115200 8N1.

Booting Linux

 * Kernel config: shmobile_defconfig
 * Kernel image: arch/arm/boot/uImage
 * DTB: arch/arm/boot/dts/r8a73a4-ape6evm.dtb

Create a uImage:

make LOADADDR=0x41008000 uImage

U-Boot boot command:

tftp 41000000 uImage 
tftp 50000000 r8a73a4-ape6evm.dtb 
bootm 41000000 - dtb 50000000

Suspend-to-RAM

Procedure

The system can be suspended using:

echo mem > /sys/power/state

Wake-Up Sources

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

  • gpio-keys: Wake-up using push button S16.
  • sh-sci (Serial): Disabled by default


Remote Control

Operation Signal A Pin A Signal B Pin B Connector needed Comments
Reset JTAG nSRST X12 pin 15 GND X12 pin 16 2-pin female Mini-PV nSRST is an 1.8V signal!
Wake-Up PORT1/DU0_DR1 X8 pin 16 GND X8 pin 28 Samtec QTE-020 Needs ARM: dts: ape6evm: Enable PORT1 for wake-up from renesas-drivers#topic/board-farm

Run U-Boot from JTAG

Start openocd, one can use the similar and upstream Stout board file.

openocd -f interface/ftdi/flyswatter2.cfg -f board/renesas_stout.cfg -c 'adapter_khz 300'

Halt the target, load U-Boot and jump to it.

halt
load_image /path/to/uboot.bin 0xe8200000
resume 0xe8200000