ls1046ardb: Add support for JTAG boot
authorSean Anderson <sean.anderson@seco.com>
Tue, 22 Mar 2022 21:16:05 +0000 (17:16 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 20:56:44 +0000 (16:56 -0400)
commit93c3d329707e0d8dc98e5f86938bbedbe15b5349
tree74fb19fa68429b864cbbd379c5feaacb499d98e9
parenteeb54e81ca9226aa2a664af7d1e5bc2e44d790e3
ls1046ardb: Add support for JTAG boot

This adds support for booting entirely from JTAG while using a
hard-coded RCW. With these steps, it is not necessary to program a
"good" RCW using CodeWarrior. The method here can be performed with any
JTAG adapter supported by OpenOCD, including the on-board CMSIS-DAP
(albeit very slowly).

These steps require LS1046A support in OpenOCD, which was added in [1].

[1] https://sourceforge.net/p/openocd/code/ci/5b70c1f679755677c925b4e6dd2c3d8be4715717/

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
[trini: Add reference to doc/board/nxp/ls1046ardb.rst]
arch/arm/cpu/armv8/fsl-layerscape/spl.c
board/freescale/ls1046ardb/ls1046ardb.c
doc/board/nxp/ls1046ardb.rst
doc/usage/semihosting.rst
include/configs/ls1046ardb.h