diff options
author | Cory Tusar <Cory.Tusar@zii.aero> | 2019-08-29 19:10:25 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-02 09:17:00 +0200 |
commit | 159e3c833f08f3c80abbd137511cf7f9e594d5bb (patch) | |
tree | bfd9b49a662a387db724816741364657330ef70c /Documentation/boards/imx | |
parent | ed62f3929234beebd169a62993cb50fdf5492b23 (diff) | |
download | barebox-159e3c833f08f3c80abbd137511cf7f9e594d5bb.tar.gz barebox-159e3c833f08f3c80abbd137511cf7f9e594d5bb.tar.xz |
Documentation: zii-imx7d-dev: Fix errors with openocd configuration script
When attempting to use the existing configuration file to bootstrap an
RMU2 board, openocd would consistently fail in the 'safe_reset' function
with a number of errors.
Disabling the internal reset handling (similar to what's done on the
i.MX7 Sabre boards) allowed barebox to download and run successfully.
Tested with openocd-0.10.0+dev-00924-g16496488 on a Zodiac RMU2.
Signed-off-by: Cory Tusar <cory.tusar@zii.aero>
Tested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/boards/imx')
-rw-r--r-- | Documentation/boards/imx/zii-imx7d-dev/openocd.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/boards/imx/zii-imx7d-dev/openocd.cfg b/Documentation/boards/imx/zii-imx7d-dev/openocd.cfg index f971c3fb21..6056b89578 100644 --- a/Documentation/boards/imx/zii-imx7d-dev/openocd.cfg +++ b/Documentation/boards/imx/zii-imx7d-dev/openocd.cfg @@ -138,6 +138,12 @@ proc start_barebox { } { resume $MX7_DDR_BASE_ADDR } +# disable internal reset-assert handling to +# allow reset-init to work +$_TARGETNAME.0 configure -event reset-assert "" +$_TARGETNAME.1 configure -event reset-assert "" +$_TARGETNAME_2 configure -event reset-assert "" + # hook the init function into the reset-init event ${_TARGETNAME}.0 configure -event reset-init { board_init } |