u-boot-brain/arch/arm
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
..
cpu armv7m: disable icache before linux booting 2018-04-10 11:52:16 -04:00
dts arm64: zynqmp: Add support for Xilinx zcu111-revA 2018-04-09 12:14:53 +02:00
include fpga: zynqmp: Update zynqmp_load() as per latest xilfpga 2018-04-09 12:14:50 +02:00
lib ARM: Fix Makefile during SPL and TPL build 2018-04-11 13:22:06 -04:00
mach-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
mach-at91 at91: ma5d4evk: Enable DM_SPI 2018-04-06 16:11:09 -04:00
mach-bcm283x Patch queue for efi - 2018-04-09 2018-04-09 11:05:44 -04:00
mach-davinci net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
mach-exynos usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00
mach-highbank
mach-imx imx: hab: Convert DCD non-NULL error to warning 2018-03-13 07:51:32 -04:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-keystone cmd: ti: Generalize cmd_ddr3 command 2018-01-19 15:49:26 -05:00
mach-kirkwood spi: Migrate CONFIG_KIRKWOOD_SPI to Kconfig 2018-02-13 23:01:44 -05:00
mach-meson libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-mvebu arm64: a37xx: populate pcie memory region 2018-03-30 12:52:49 +02:00
mach-omap2 net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
mach-orion5x spl: add hierarchical defaults for SPL_LDSCRIPT 2017-08-13 17:12:37 +02:00
mach-qemu ARM: qemu-arm: Add support for AArch64 2018-01-19 15:49:30 -05:00
mach-rmobile ARM: rmobile: Add JTAG recovery support for M2 Porter 2018-04-11 23:11:55 +02:00
mach-rockchip rockchip: rk3288: Fix wrong TPL_TEXT_BASE 2018-02-24 18:47:23 +01:00
mach-s5pc1xx
mach-snapdragon db820c: add qualcomm dragonboard 820C support 2018-01-15 16:29:02 -05:00
mach-socfpga libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 mach-stm32: Use default memory map as background region 2018-03-13 21:45:37 -04:00
mach-stm32mp stm32mp: handle SYSRESET 2018-04-06 20:45:44 -04:00
mach-sunxi sunxi: Add DRAM_SUN8I_A83T kconfig entry 2018-03-19 16:46:47 +05:30
mach-tegra aes: Allow non-zero initialization vector 2018-01-29 12:50:13 -05:00
mach-uniphier libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mach-versatile
mach-zynq arm: zynq: Handle ENXIO error return value properly 2018-04-09 08:02:50 +02:00
thumb1/include/asm/proc-armv
config.mk binman: arm: Include the binman symbol table 2017-12-12 19:53:45 -07:00
Kconfig stm32mp: handle SYSRESET 2018-04-06 20:45:44 -04:00
Kconfig.debug
Makefile arm: stm32: add new architecture for STM32MP family 2018-03-19 16:14:21 -04:00