Skip to contentSkip to conversation

u-boot_2021.07: incompatible with qemumips and qemumips64

PATCH In review kai 4 participants 4 messages Jul 22, 2021

lore
Share & tools
lore

kai

author
#0 lore raw

PATCH 1/1 u-boot_2021.07: incompatible with qemumips and qemumips64

From: Kai Kang <[email protected]>

u-boot 2021.07 is not compatible with qemumips and qemumips64:

| *** Can't find default configuration "arch/../configs/qemu_mips64_defconfig"!

The supports have been removed by upstream:

https://source.denx.de/u-boot/u-boot/-/commit/5308a71

---
 meta/recipes-bsp/u-boot/u-boot_2021.07.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-bsp/u-boot/u-boot_2021.07.bb +3 -0
index bbbc99bf8d..64c20537e6 100644
@@ -4,3 +4,6 @@ require u-boot.inc
 SRC_URI_append = " file://0001-riscv32-Use-double-float-ABI-for-rv32.patch"
 
 DEPENDS += "bc-native dtc-native python3-setuptools-native"
+
+COMPATIBLE_MACHINE_qemumips = '(!.*mips).*'
+COMPATIBLE_MACHINE_qemumips64 = '(!.*mips64).*'
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · kai

From: Kai Kang <[email protected]>

u-boot 2021.07 is not compatible with qemumips and qemumips64:

Quoted 1 line

*** Can't find default configuration "arch/../configs/qemu_mips64_defconfig"!

Quoted 8 lines

The supports have been removed by upstream:

https://source.denx.de/u-boot/u-boot/-/commit/5308a71

---
 meta/recipes-bsp/u-boot/u-boot_2021.07.bb | 3 +++

 1 file changed, 3 insertions(+)

Reading the link above, shouldn't we change the UBOOT_MACHINE definition for qemumips/qemumips64 to point at malta instead?

Cheers,

Richard

#2 lore raw
Quoted 11 lines · Richard Purdie
Quoted 10 lines · kai

From: Kai Kang <[email protected]>

u-boot 2021.07 is not compatible with qemumips and qemumips64:

Quoted 1 line

*** Can't find default configuration "arch/../configs/qemu_mips64_defconfig"!

The supports have been removed by upstream:

https://source.denx.de/u-boot/u-boot/-/commit/5308a71

Quoted 7 lines
Quoted 4 lines

---
 meta/recipes-bsp/u-boot/u-boot_2021.07.bb | 3 +++

 1 file changed, 3 insertions(+)

Reading the link above, shouldn't we change the UBOOT_MACHINE definition for qemumips/qemumips64 to point at malta instead?

Yes please. That's what U-Boot tests in qemu.

Signature · 1 line
Tom
#3 lore raw
In reply to kai
Quoted 11 lines · kai

From: Kai Kang <[email protected]>

u-boot 2021.07 is not compatible with qemumips and qemumips64:

| *** Can't find default configuration "arch/../configs/qemu_mips64_defconfig"!

The supports have been removed by upstream:

https://source.denx.de/u-boot/u-boot/-/commit/5308a71

thanks, I was seeing this failing in my world builds.

Quoted 22 lines
---
 meta/recipes-bsp/u-boot/u-boot_2021.07.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-bsp/u-boot/u-boot_2021.07.bb +3 -1
index bbbc99bf8d..64c20537e6 100644
@@ -4,3 +4,6 @@ require u-boot.inc
 SRC_URI_append = " file://0001-riscv32-Use-double-float-ABI-for-rv32.patch"
 
 DEPENDS += "bc-native dtc-native python3-setuptools-native"
+
+COMPATIBLE_MACHINE_qemumips = '(!.*mips).*'
+COMPATIBLE_MACHINE_qemumips64 = '(!.*mips64).*'
--

2.17.1