ARMv4 does not support the bkpt mnemonic. Rather than trying to work around this, just disable this feature for ARMv4. On Tegra the PBL runs on the ARM720T co-processor, so we also need to disable the option for this SoC architecture. Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Kconfig b/common/Kconfig index d397d8bc4d4d..60237d305676 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1309,7 +1309,7 @@ config DEBUG_INITCALLS config PBL_BREAK bool "Execute software break on pbl start" - depends on ARM + depends on ARM && (!CPU_32v4T && !ARCH_TEGRA) help If this enabled, barebox will be compiled with BKPT instruction on early pbl init. This option should be used only with JTAG debugger! -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox