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

From eLinux.org
Jump to: navigation, search
(Update DTB load address to support booting larger kernels)
(Update uImage load address to avoid having to copy the compressed kernel image)
 
Line 19: Line 19:
 
Create a uImage:
 
Create a uImage:
 
<pre>
 
<pre>
make LOADADDR=0x40008000 uImage
+
make LOADADDR=0x41008000 uImage
 
</pre>
 
</pre>
  
Line 28: Line 28:
 
bootm 41000000 - dtb 50000000
 
bootm 41000000 - dtb 50000000
 
</pre>
 
</pre>
 
  
 
= Suspend-to-RAM =
 
= Suspend-to-RAM =

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