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

From eLinux.org
Jump to: navigation, search
(Initial APE6-EVM page)
 
(Use stable reference to my board-farm branch)
 
(6 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 29: Line 27:
 
tftp 41000000 uImage  
 
tftp 41000000 uImage  
 
bootm 41000000 - dtb 40f00000
 
bootm 41000000 - dtb 40f00000
 +
</pre>
 +
 +
 +
= 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"
 +
|-
 +
|'''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 [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>
 
</pre>

Latest revision as of 05:18, 21 May 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 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