Skip to contentSkip to conversation

arm: mvebu: AC5/AC5X: Disable SMBIOS

PATCH In review Chris Packham 2 participants 3 messages Oct 13, 2023 – Oct 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: AC5/AC5X: Disable SMBIOS

The RD-AC5X doesn't make use of EFI or SMBIOS. Recently we started seeing boot failures such as

WARNING: SMBIOS table_address overflow 27f60f020 Failed to write SMBIOS table
initcall failed at event 10/(unknown) (err=-22) ### ERROR ### Please RESET the board ###

The error is because the physical address of the RAM on the AC5X SoC is above the 32GiB boundary. As we don't need SMBIOS or EFI this can be safely disabled.

---
This probably should have been part of the series I sent as
https://lore.kernel.org/u-boot/[email protected]/
but I didn't have the RD-AC5X board at the time. There is another issue that's stopping the RD-AC5X board from booting with current master but with the suspect commit reverted you can see the same SMBIOS issue I was seeing on the x240.

 configs/mvebu_ac5_rd_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mvebu_ac5_rd_defconfig +1 -0
index dbf1e3136cdf..e8fa22b648be 100644
@@ -85,3 +85,4 @@ CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_USB_ETHER_MCS7830=y
 CONFIG_USB_ETHER_RTL8152=y
 CONFIG_USB_ETHER_SMSC95XX=y
+# CONFIG_SMBIOS is not set
Signature · 1 line
2.42.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Chris Packham

The RD-AC5X doesn't make use of EFI or SMBIOS. Recently we started seeing boot failures such as

WARNING: SMBIOS table_address overflow 27f60f020 Failed to write SMBIOS table
initcall failed at event 10/(unknown) (err=-22) ### ERROR ### Please RESET the board ###

Quoted 5 lines

The error is because the physical address of the RAM on the AC5X SoC is above the 32GiB boundary. As we don't need SMBIOS or EFI this can be safely disabled.

Thanks,
Stefan

Quoted 16 lines

---
This probably should have been part of the series I sent as
https://lore.kernel.org/u-boot/[email protected]/
but I didn't have the RD-AC5X board at the time. There is another issue that's stopping the RD-AC5X board from booting with current master but with the suspect commit reverted you can see the same SMBIOS issue I was seeing on the x240.

  configs/mvebu_ac5_rd_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/mvebu_ac5_rd_defconfig +0 -0
index dbf1e3136cdf..e8fa22b648be 100644

configs/mvebu_ac5_rd_defconfig CONFIG_USB_ETHER_ASIX88179=y · line 88

Quoted 4 lines
configs/mvebu_ac5_rd_defconfig +1 -0
@@ -85,3 +85,4 @@ CONFIG_USB_ETHER_ASIX88179=y
  CONFIG_USB_ETHER_MCS7830=y
  CONFIG_USB_ETHER_RTL8152=y
  CONFIG_USB_ETHER_SMSC95XX=y
+# CONFIG_SMBIOS is not set

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#2 lore raw
Quoted 9 lines · Stefan Roese
Quoted 8 lines · Chris Packham

The RD-AC5X doesn't make use of EFI or SMBIOS. Recently we started seeing boot failures such as

     WARNING: SMBIOS table_address overflow 27f60f020 Failed to write SMBIOS table
     initcall failed at event 10/(unknown) (err=-22) ### ERROR ### Please RESET the board ###

Quoted 7 lines
Quoted 5 lines

The error is because the physical address of the RAM on the AC5X SoC is above the 32GiB boundary. As we don't need SMBIOS or EFI this can be safely disabled.

Applied to u-boot-marvell/master

Thanks,
Stefan

Quoted 14 lines

Thanks,
Stefan

Quoted 11 lines

---
This probably should have been part of the series I sent as
https://lore.kernel.org/u-boot/[email protected]/
but I didn't have the RD-AC5X board at the time. There is another issue that's stopping the RD-AC5X board from booting with current master but with the suspect commit reverted you can see the same SMBIOS issue I was seeing on the x240.

  configs/mvebu_ac5_rd_defconfig | 1 +

  1 file changed, 1 insertion(+)
Quoted 13 lines
Quoted 9 lines
configs/mvebu_ac5_rd_defconfig +0 -0
index dbf1e3136cdf..e8fa22b648be 100644
@@ -85,3 +85,4 @@ CONFIG_USB_ETHER_ASIX88179=y

  CONFIG_USB_ETHER_MCS7830=y
  CONFIG_USB_ETHER_RTL8152=y
  CONFIG_USB_ETHER_SMSC95XX=y
+# CONFIG_SMBIOS is not set

Viele Grüße,
Stefan Roese

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]