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

From eLinux.org
Jump to: navigation, search
(Use stable reference to my board-farm branch)
(Update DTB load address to support booting larger kernels)
Line 24: Line 24:
 
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>
  

Revision as of 06:25, 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=0x40008000 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