diff options
| author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2025-06-03 15:29:37 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-05 11:02:22 +0100 |
| commit | 8a941848e7519f693c51b129be9a66f19bbf8124 (patch) | |
| tree | cb9c0caaffe95d2abc5da451cd838fc1204657da | |
| parent | 953cb7b0c24f68e51e9e68d0bf91dcb91b31f64e (diff) | |
| download | poky-8a941848e7519f693c51b129be9a66f19bbf8124.tar.gz | |
u-boot: disable USB support on qemuarm64 and genericarm64
qemu USB devices under KVM currently cause reset loop
in u-boot. If u-boot USB support is disabled then
u-boot just ignores the qemu USB devices which
then work with Linux kernel as before.
Issue has been reported to u-boot upstream in:
https://lists.denx.de/pipermail/u-boot/2025-June/591233.html
(From OE-Core rev: ade1069ece5f964edaa7115681d8dbc484ff2c81)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-bsp/u-boot/files/disable_CONFIG_USB.cfg | 1 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-common.inc | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-bsp/u-boot/files/disable_CONFIG_USB.cfg b/meta/recipes-bsp/u-boot/files/disable_CONFIG_USB.cfg new file mode 100644 index 0000000000..1d2509982b --- /dev/null +++ b/meta/recipes-bsp/u-boot/files/disable_CONFIG_USB.cfg | |||
| @@ -0,0 +1 @@ | |||
| # CONFIG_USB is not set | |||
diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc index a77c49cb8b..6cd9c39430 100644 --- a/meta/recipes-bsp/u-boot/u-boot-common.inc +++ b/meta/recipes-bsp/u-boot/u-boot-common.inc | |||
| @@ -16,9 +16,9 @@ SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a" | |||
| 16 | 16 | ||
| 17 | SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}" | 17 | SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}" |
| 18 | 18 | ||
| 19 | # workaround for aarch64 kvm qemu boot regression | 19 | # workarounds for aarch64 kvm qemu boot regressions |
| 20 | SRC_URI:append:qemuarm64 = " file://disable-CONFIG_BLOBLIST.cfg" | 20 | SRC_URI:append:qemuarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg" |
| 21 | SRC_URI:append:genericarm64 = " file://disable-CONFIG_BLOBLIST.cfg" | 21 | SRC_URI:append:genericarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg" |
| 22 | 22 | ||
| 23 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
| 24 | B = "${WORKDIR}/build" | 24 | B = "${WORKDIR}/build" |
