diff options
author | Robin van der Gracht <robin@protonic.nl> | 2022-06-16 15:11:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-17 09:07:57 +0200 |
commit | 48cb9e4a511de1a4d26c5fd503946cc1b9a45912 (patch) | |
tree | 7d50e1f8974edd40e37e49260fa75eaa09b77350 /scripts | |
parent | deb45848956d317623c9e809504566043e834f4d (diff) | |
download | barebox-48cb9e4a511de1a4d26c5fd503946cc1b9a45912.tar.gz barebox-48cb9e4a511de1a4d26c5fd503946cc1b9a45912.tar.xz |
ARM: boards: protonic-imx6: Register prt-usb boot entry
The worker that polls for a bootable usb device and the first boot.default
target are executed at the same time (after usb_delay seconds). Since
inspecting the usb drive's contents takes some time it loses the race
breaking usb boot.
If we make the usb boot routine a boot entry and prepend it to boot.default
it will always run first when the autoboot timeout expires. If the usb boot
entry fails boot will just fallback to the next entry (i.e. bootchooser).
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Link: https://lore.barebox.org/20220616131114.214628-7-robin@protonic.nl
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions