[PATCH] Debug: add Kconfig option to abort autoboot

Jonas Rebmann jre at pengutronix.de
Wed Feb 25 01:52:39 PST 2026


On 2026-02-25 08:54, Sascha Hauer wrote:
> On Tue, Feb 24, 2026 at 04:59:00PM +0100, Jonas Rebmann wrote:
>> Hi Sascha,
>>
>> On 2026-02-23 16:39, Sascha Hauer wrote:
>>> For debugging purposes it's sometimes useful when barebox doesn't boot
>>> through, but stops at the prompt.
>>
>> Isn't this already compile-time configurable by setting the defaultenv
>> autoboot to "abort"?
> 
> Yes, it is. It's just easier sometimes to just change a config, at least
> for Claude.

I think for the human, managing one option in two systems in different
ways makes things confusing. If the change is really needed, I suggest
the help text could explain that this overrides global.autoboot and that
configuration via defaultenv has further options for boot behavior.
Maybe also the autoboot global help text could be extended: "Autoboot
state. Possible values: countdown (default), abort, halt, menu, boot.
Ineffective if overwritten by CONFIG_DEBUG_AUTOBOOT_ABORT."

Regards,
Jonas

-- 
Pengutronix e.K.                           | Jonas Rebmann               |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



More information about the barebox mailing list