u-boot-brain/arch
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
..
arc ARC: HSDK: Enable SPI flash support 2018-04-02 12:27:56 +03:00
arm ARM: rmobile: Add JTAG recovery support for M2 Porter 2018-04-11 23:11:55 +02:00
m68k Convert CONFIG_SYS_BOOT_GET_{CMDLINE, KBD} to Kconfig 2018-01-30 12:52:57 -05:00
microblaze fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
mips mips: bmips: add ar-5315 usb support 2018-03-21 23:23:13 +01:00
nds32 Drop CONFIG_FTSDC010_BASE 2018-03-30 13:13:45 +08:00
nios2 nios2: 10m50: Add CPU pre-relocation in device tree 2017-11-17 10:51:24 -05:00
powerpc net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
riscv riscv: ae250: Support DT provided by the board at runtime 2018-03-30 13:13:56 +08:00
sandbox clk: add sandbox test for bulk API 2018-04-10 15:18:56 -04:00
sh sh: Do not provide strncmp 2018-02-23 00:06:05 +01:00
x86 efi_loader: correctly set the machine type in the PE header 2018-04-09 10:20:59 +02:00
xtensa xtensa: clean up CONFIG_SYS_TEXT_ADDR 2018-02-23 10:21:41 -05:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00