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

From eLinux.org
Jump to: navigation, search
(Add Suspend-to-RAM, incl. Wake-Up Sources)
Line 76: Line 76:
 
|-
 
|-
 
|}
 
|}
 +
 +
= 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>

Revision as of 09:35, 21 March 2019

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=0x40008000 uImage

U-Boot boot command:

tftp 40f00000 r8a73a4-ape6evm.dtb 
tftp 41000000 uImage 
bootm 41000000 - dtb 40f00000


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

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