On Fri, Jun 07, 2019 at 09:06:59AM +0200, Rouven Czerwinski wrote:
> From: Oleksij Rempel <[email protected]>
> 
> With this option barebox will be build with breakpoint instruction
> in early pbl stage and on main barebox entry. Otherwise two nop
> instructions are generated which allow binary patching of existing
> barebox binaries.
> In case production barebox images should be debugged, the corresponding
> ELF binaries need to be kept to allow later JTAG debugging.
> This option only works with an attached JTAG debugger, the board will
> hang otherwise.
> 
>  
> +
> +config PBL_BREAK
> +     bool "Execute software break on pbl start"
> +     help
> +       If this enabled, barebox will be compiled with BKPT instruction
> +       during early pbl init and entry of the main barebox.
> +       This option can only be used with a JTAG debugger,
> +       the board hangs otherwise.

This option is presented to everyone but implemented only on ARM.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to