u-boot/board
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
..
8dtech/eco5pk
abilis/tb100
advantech x86: baytrail: fsp: Move Azalia update codes to board 2017-10-19 11:37:51 +08:00
alphaproject/ap_sh4a_4a i2c: Drop use of CONFIG_I2C_HARD 2017-05-15 06:17:09 +02:00
altera MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
amarula/vyasa-rk3288 rk3288: vyasa: Add eMMC boot support 2018-03-13 18:12:36 +01:00
amazon/kc1 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
amlogic net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
AndesTech riscv: ae250: Support DT provided by the board at runtime 2018-03-30 13:13:56 +08:00
Arcturus/ucp1020 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
aries at91: ma5d4evk: Enable SPL_DM and SPL_OF_CONTROL 2018-04-06 16:11:09 -04:00
aristainetos imx: Include <input.h> header file 2017-10-12 17:31:16 +02:00
armadeus spl: add hierarchical defaults for SPL_LDSCRIPT 2017-08-13 17:12:37 +02:00
armltd libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
aspeed/evb_ast2500 MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
astro/mcf5373l board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
atmark-techno/armadillo-800eva Revert "arm: Remove unregister MACH_TYPE_xxx uses" 2017-01-28 14:04:22 -05:00
atmel net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
avionic-design mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
bachmann/ot1200 imx6: drop duplicated bss memset and board_init_r() call 2017-09-18 17:15:28 +02:00
barco imx: imx6: Move gpr_init() function to soc.c 2017-08-28 09:48:53 +02:00
Barix/ipam390 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
beckhoff/mx53cx9020 arm: imx: cx9020: move dram init into common place 2018-02-04 12:00:58 +01:00
birdland/bav335x Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
bluegiga/apx4devkit env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bluewater at91: gurnard: Enable DM_SPI 2018-04-06 16:11:09 -04:00
bosch/shc spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the U-boot CONFIG 2018-03-05 10:06:05 -05:00
boundary/nitrogen6x env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
broadcom env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
buffalo/lsxl net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
BuR net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
BuS/eb_cpu5282 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cadence/xtfpga env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
calao/usb_a9263 board: usb_a9263: Update to support DT and DM 2017-08-04 20:38:38 -04:00
CarMediaLab/flea3 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cavium/thunderx dm: Use dm.h header when driver mode is used 2017-06-01 06:57:52 -06:00
ccv/xpress i.mx6ul: xpress: update UART init for current board revision 2017-10-12 17:58:42 +02:00
cei/cei-tk1-som dm: power: Convert as3722 to driver model 2017-07-28 12:02:47 -06:00
chipspark/popmetal_rk3288 rockchip: board: popmetal: de-assert the host rst pin in board init 2017-01-11 20:21:20 -07:00
cirrus/edb93xx arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
cloudengines/pogo_e02
cobra5272 flash: Fix spelling of "ERR_TIMOUT" 2018-01-29 07:48:59 +01:00
compal/paz00 mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
compulab net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
comtrend MIPS: add BMIPS Comtrend AR-5315u board 2018-01-26 12:38:13 +01:00
congatec libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
coreboot x86: kconfig: Let board select SPI flash 2017-08-01 20:17:02 +08:00
corscience/tricorder mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
creative/xfi3
cssi board: MCR3000: Use smaller flash sector for environment 2018-04-06 16:30:37 -04:00
CZ.NIC/turris_omnia net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
d-link/dns325
davinci net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
dbau1x00 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
devboards/dbm-soc1 Devboards.de DBM-SoC1 BOARD: Add S line 2018-03-05 10:20:46 -05:00
dfi x86: dfi-bt700: Select SERIAL_RX_BUFFER via Kconfig 2017-08-24 11:00:47 +08:00
dhelectronics/dh_imx6 net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ebv/socrates arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:09 +02:00
eets/pdu001 Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
efi x86: kconfig: Select ARCH_EARLY_INIT_R in the platform Kconfig 2017-08-01 20:17:02 +08:00
egnite/ethernut5 board: ethernut5: Update to support DT and DM 2017-08-04 20:38:37 -04:00
el/el6x libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
embest/mx6boards board: imx6: marsboard: Remove doubled #include <asm/arch/sys_proto.h> 2017-11-09 11:32:49 +01:00
emulation ARM: qemu-arm: Add support for AArch64 2018-01-19 15:49:30 -05:00
engicam imx6q: engicam: Use SPL_LOAD_FIT for MMC boards 2018-02-22 14:51:01 +01:00
esd libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
espt sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
firefly/firefly-rk3288
freescale board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb 2018-03-22 15:05:30 -05:00
gateworks/gw_ventana net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
gdsys treewide: Fix gdsys mail addresses 2018-03-09 09:23:10 -05:00
ge net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
geekbuying/geekbox rockchip: correct the bank0 ram size 2017-07-11 12:13:45 +02:00
google x86: kconfig: Remove meaningless 'select n' 2018-01-30 22:34:38 +08:00
grinn env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
gumstix env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
h2200 arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
highbank env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
hisilicon Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
htkw/mcx env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
huawei/hg556a MIPS: add BMIPS Huawei HG556a board 2017-05-10 16:16:09 +02:00
ids/ids8313 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
imgtec boston: Pad binary in .mcs to a multiple of 16 bytes 2018-01-25 17:40:42 +01:00
imx31_phycore arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
intel x86: edison: Bring minimal ACPI support to the board 2017-10-07 15:07:59 +08:00
inversepath/usbarmory treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
iomega/iconnect
is1 arm: socfpga: is1: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:10 +02:00
isee mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
keymile libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
kmc/kzm9g ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
kosagi/novena net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
l+g/vinco at91: vinco: Enable DM_SPI 2018-04-06 16:11:09 -04:00
LaCie net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
laird board: laird: add WB50N CPU module 2017-11-29 22:36:59 -05:00
lego/ev3 arm: Include asm/setup.h explictly 2017-06-05 11:02:37 -04:00
lg/sniper env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
liebherr libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
logicpd net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
Marvell arm64: a37xx: remove old pinctrl implementation 2018-03-30 12:52:48 +02:00
maxbcm
microchip/pic32mzda clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
micronas/vct mips: micronas/vct: check array bounds before access 2018-03-21 23:23:13 +01:00
mini-box/picosam9g45 mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
mpc8308_p1m libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
mpr2 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
mqmaker/miqi_rk3288 rockchip: Add support for MiQi rk3288 board 2017-04-04 20:01:57 -06:00
ms7720se sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
ms7722se sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
ms7750se sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
netgear MIPS: add BMIPS Netgear DGND3700v2 board 2018-03-21 23:23:13 +01:00
nokia/rx51 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
nvidia MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
olimex/mx23_olinuxino status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
omicron/calimain Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
opalkelly/zynq arm: zynq: Convert all board to use arch ps7_init code 2017-11-29 08:02:39 +01:00
overo mtd: nand: Rename nand.h into rawnand.h 2017-12-04 22:00:00 +09:00
pandora mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
pb1x00 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
phytec net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ppcag/bg0900
qca MIPS: QCA AP143: remove debug_uart_init call 2017-05-10 16:16:09 +02:00
qemu-mips board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
qualcomm MAINTAINERS: board: qcom: db410c, db820c: update email. 2018-02-04 22:55:34 -05:00
quipos/cairo Merge branch 'master' of git://git.denx.de/u-boot-mmc 2017-05-16 08:10:50 -04:00
radxa rockchip: rk3188: Add Radxa Rock board 2017-04-04 20:01:57 -06:00
raidsonic/ib62x0
raspberrypi/rpi net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
renesas ARM: rmobile: Add JTAG recovery support for M2 Porter 2018-04-11 23:11:55 +02:00
rockchip net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ronetix Drop CONFIG_HAS_DATAFLASH 2017-10-16 09:42:51 -04:00
sagem/f@st1704 MIPS: add BMIPS Sagem F@ST1704 board 2017-05-31 14:49:55 +02:00
samsung build: Drop CONFIG_SPL_BUILD guards in some cases 2018-01-10 08:05:52 -05:00
samtec net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sandbox sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
sandisk/sansa_fuze_plus
sbc8349 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
sbc8548 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
sbc8641d libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
schulercontrol/sc_sps_1
Seagate arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
seco imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
sfr/nb4_ser mips: bmips: add NeufBox 4 (Sercomm) board 2017-05-10 16:16:09 +02:00
shmin sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
siemens net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
silica/pengwyn net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sks-kinkel/sksimx6 mx6: Support SKS-Kinkel sksimx6 Board 2018-01-12 14:28:04 +01:00
socrates libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
solidrun arm: mvebu: ClearFog: document boot selection switches, update UART 2018-01-09 16:41:00 +01:00
spear build: Drop CONFIG_SPL_BUILD guards in some cases 2018-01-10 08:05:52 -05:00
sr1500 arm: socfpga: sr1500: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:10 +02:00
st stm32mp1: add eMMC support for ED1 2018-04-06 20:45:28 -04:00
sunxi sunxi: README.sunxi64: Add hint about non-debug of ARM Trusted Firmware 2018-04-04 11:31:35 +05:30
Synology MAINTAINERS: Add missing boards and config entries 2017-11-06 09:58:51 -05:00
synopsys ARC: HSDK: Add platform-specific commands 2018-04-02 12:27:56 +03:00
sysam m68k: add board stmark2, mcf5441x based 2017-08-18 01:26:52 +02:00
syteco/zmx25 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
tbs/tbs2910 board: tbs2910: add private imx config 2018-02-04 12:00:58 +01:00
tcl/sl50 Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
technexion pico-imx7d: Add "how to boot with NXP 4.1 Kernel" 2017-09-18 17:15:28 +02:00
technologic net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
teejet/mt_ventoux env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
terasic arm: socfpga: add cyclone5 based de10-nano board 2017-04-25 12:46:44 +02:00
theadorable arm: mvebu: Remove theadorable_defconfig 2017-09-26 06:51:37 +02:00
theobroma-systems net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ti net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
timll net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
topic/zynq arm: zynq: Move common ps7_init* initialization to arch code 2017-11-29 08:02:39 +01:00
toradex net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
tplink/wdr4300 MIPS: tl-wdr4300: remove debug_uart_init call 2017-05-10 16:16:09 +02:00
tqc libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
udoo libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
varisys libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ve8313 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
vscom/baltos Convert all of CONFIG_CONS_INDEX to Kconfig 2018-03-16 10:28:52 -04:00
wandboard Revert "wandboard: Remove unnecessary delay" 2017-11-20 09:54:09 +01:00
warp warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case 2017-12-29 11:18:59 +01:00
warp7 imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
woodburn treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
work-microwave/work_92105 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
xes libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
xilinx arm64: zynqmp: Add support for Xilinx zcu106-revA 2018-04-09 12:14:52 +02:00
zipitz2 arm: Add explicit include of <asm/mach-types.h> 2017-06-05 11:02:36 -04:00
zyxel/nsa310s