u-boot-brain/arch/arm/mach-rmobile/include/mach
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
..
boot0.h ARM: rmobile: Add JTAG recovery support for M2 Porter 2018-04-11 23:11:55 +02:00
ehci-rmobile.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
gpio.h ARM: rmobile: Zap Gen3 PFC tables 2017-11-30 02:34:20 +01:00
irqs.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
mmc.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7740-gpio.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7740.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7790-gpio.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7790.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7791-gpio.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7791.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7792-gpio.h arm: rmobile: Add BLANCHE board support 2016-08-17 10:25:35 +09:00
r8a7792.h arm: rmobile: Add BLANCHE board support 2016-08-17 10:25:35 +09:00
r8a7793-gpio.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7793.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7794-gpio.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
r8a7794.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
rcar-base.h arm: rmobile: Add BLANCHE board support 2016-08-17 10:25:35 +09:00
rcar-gen3-base.h ARM: rmobile: Drop SDHI address macros from Gen3 2017-11-30 02:34:20 +01:00
rcar-mstp.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
rmobile.h ARM: rmobile: Add R8A77965 M3N IDs 2018-03-05 10:59:37 +01:00
sh73a0-gpio.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
sh73a0.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
sh_sdhi.h mmc: sh_sdhi: Fix the ACMD handling 2017-08-17 14:38:02 +09:00
sys_proto.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00