u-boot-brain/arch/arm/mach-rmobile
Marek Vasut 82239aa7cd ARM: rmobile: Add JTAG recovery support for M2 Porter
Add JTAG recovery support into the M2 Porter TPL. This allows the
TPL to be loaded over JTAG, initialize the system, wait for the
JTAG debugger to load U-Boot image into RAM and then resume and
start U-Boot from RAM.

The procedure is as follows:
1) Load u-boot-tpl.bin to 0xe6300000
2) Write magic number 0x1337c0de to 0xe6300020
   TPL checks for this particular magic and starts JTAG recovery
   if this number is present. This is not present by default.
3) Start U-Boot TPL from 0xe6300000
4) Wait for a message from TPL on UART indicating JTAG boot:
   "JTAG boot detected!"
5) Halt the system in JTAG debugger
6) Load U-Boot image (u-boot.img) to 0x4fffffc0
7) Write magic number 0xb33fc0de to 0xe6300024
   TPL checks for this particular magic to verify that the U-Boot
   image was loaded into DRAM by the JTAG debugger.
8) Resume the system in JTAG debugger

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2018-04-11 23:11:55 +02:00
..
include/mach ARM: rmobile: Add JTAG recovery support for M2 Porter 2018-04-11 23:11:55 +02:00
board.c ARM: rmobile: Zap checkboard on Gen3 2017-11-30 02:34:20 +01:00
cpu_info-r8a7740.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
cpu_info-rcar.c ARM: rmobile: Convert PRR to DM and OF control 2017-11-30 02:34:21 +01:00
cpu_info-sh73a0.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
cpu_info.c ARM: rmobile: Add R8A77965 M3N IDs 2018-03-05 10:59:37 +01:00
emac.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
Kconfig ARM: rmobile: Add support R-Car Generation 3 2016-08-17 10:25:35 +09:00
Kconfig.32 ARM: rmobile: Add TPL support on R8A7791 M2 Porter 2018-04-11 23:11:55 +02:00
Kconfig.64 ARM: rmobile: Add R8A77995 D3 Draak board 2017-12-09 13:36:27 +01:00
lowlevel_init_ca15.S ARM: rmobile: Do not init caches in TPL before DRAM 2018-04-11 23:11:54 +02:00
lowlevel_init_gen3.S armv8: aarch64: Fix the warning about x1-x3 nonzero issue 2017-01-18 09:29:33 -08:00
lowlevel_init.S ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
Makefile ARM: rmobile: Unify R8A7795 and R8A7796 in rmobile Makefile 2017-11-30 02:34:20 +01:00
memmap-gen3.c ARM: rmobile: Add R8A77965 M3N IDs 2018-03-05 10:59:37 +01:00
pfc-r8a7740.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
pfc-r8a7790.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
pfc-r8a7790.h arm: rmobile: Add BLANCHE board support 2016-08-17 10:25:35 +09:00
pfc-r8a7791.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
pfc-r8a7792.c arm: rmobile: Add BLANCHE board support 2016-08-17 10:25:35 +09:00
pfc-r8a7793.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
pfc-r8a7794.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
pfc-sh73a0.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00
timer.c ARM: rmobile: Move SoC sources to mach-rmobile 2016-08-17 10:25:28 +09:00