u-boot-brain/board/renesas
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
..
alt net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ap325rxa sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
blanche net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
draak ARM: rmobile: Add R8A77995 D3 Draak board 2017-12-09 13:36:27 +01:00
eagle ARM: rmobile: Add R8A77970 V3M Eagle board 2017-12-09 13:36:27 +01:00
ecovec env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
gose net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
koelsch net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
lager net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
MigoR sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
porter ARM: rmobile: Add JTAG recovery support for M2 Porter 2018-04-11 23:11:55 +02:00
r2dplus sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
r7780mp sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
r0p7734 i2c: Drop use of CONFIG_I2C_HARD 2017-05-15 06:17:09 +02:00
rcar-common ARM: rmobile: rcar-common: Fix warning of type difference 2016-08-17 10:25:35 +09:00
rsk7203 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
rsk7264 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
rsk7269 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
salvator-x ARM: rmobile: Add R8A77965 Salvator-XS board support 2018-03-05 10:59:38 +01:00
sh7752evb net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh7753evb net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh7757lcr net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh7763rdp sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
sh7785lcr sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
silk net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
stout net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ulcb ARM: rmobile: Rework the ULCB CPLD driver 2017-11-30 08:54:18 +01:00