On Tue, 01 Oct 2024 10:52:08 +0200, Sascha Hauer wrote: > The sabrelite board has some GPIOs registered as buttons. These GPIOs > are not properly emulated in QEMU and read as low. The buttons are > active low as well, so in barebox we detect all buttons as pressed. One > of these buttons is registered as KEY_POWER. Depending on the > initialization order it can happen that barebox tries to power down the > board during startup. Avoid this pitfall by passing a device tree to > QEMU which has the gpio-keys driver disabled. > > [...] Applied, thanks! [1/1] test: arm: qemu-sabrelite: Use qemu specific device tree https://git.pengutronix.de/cgit/barebox/commit/?id=38dbe309f536 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>