Skip to contentSkip to conversation

Disable SMBIOS table creation for Odroid M2

PATCH In review Milivoje Legenovic 5 participants 12 messages Sep 26 – Oct 5

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Disable SMBIOS table creation for Odroid M2

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/odroid-m2-rk3588s_defconfig +1 -0
index e71e61ddb0b..fc8adc7d047 100644
@@ -79,6 +79,7 @@ CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550_MEM32=y
 CONFIG_ROCKCHIP_SPI=y
 CONFIG_SYSRESET=y
+# CONFIG_GENERATE_SMBIOS_TABLE is not set
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
Signature · 1 line
2.47.3
#1 lore raw

Hi Milivoje,

Quoted 9 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

OK, but *why*. Without more information, we cannot fix the actual issue (whether it's in U-Boot or in Armbian's kernel) and it's bound to come back later, or people asking to reenable this because it broke their setup.

Adding Raymond in Cc, since they worked on this most recently, maybe they can help debug this.

Milivoje, can you maybe bisect U-Boot to figure out which commit(s) broke this? CONFIG_GENERATE_SMBIOS_TABLE is enabled in v2025.10 for this board, so something broke since and it would be best to know what.

Cheers,
Quentin

Quoted 17 lines
---
  configs/odroid-m2-rk3588s_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/odroid-m2-rk3588s_defconfig +1 -0
index e71e61ddb0b..fc8adc7d047 100644
@@ -79,6 +79,7 @@ CONFIG_DEBUG_UART_SHIFT=2
  CONFIG_SYS_NS16550_MEM32=y
  CONFIG_ROCKCHIP_SPI=y
  CONFIG_SYSRESET=y
+# CONFIG_GENERATE_SMBIOS_TABLE is not set
  CONFIG_USB=y
  CONFIG_USB_XHCI_HCD=y
  CONFIG_USB_EHCI_HCD=y
Reviewed-by on v1 1/1
#2 lore raw
In reply to Milivoje Legenovic
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#3 lore raw

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Cheers,
Milivoje

Quoted 23 lines · Simon Glass
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#4 lore raw

Hi Milivoje,

Quoted 50 lines · Milivoje Legenovic

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after
Quoted 7 lines

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Good idea!

Does 'dmesg | grep -i dmi' show a DMI line, and is /sys/firmware/dmi/tables populated? That shows whether the kernel reads the property.

Does the hang go away if the property stays but the region is reserved? A quick hack is fdt_add_mem_rsv(fdt, smbiosaddr, TABLE_SIZE) next to the setprop in fdt_chosen()

If so, you could add a fix for 209bbc4e003 - i.e. reserve the table.

Regards,
Simon

Quoted 28 lines

Cheers,
Milivoje

Quoted 23 lines · Simon Glass
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#5 lore raw
Quoted 67 lines · Simon Glass

Hi Milivoje,

Quoted 50 lines · Milivoje Legenovic

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after
Quoted 7 lines

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Good idea!

Does 'dmesg | grep -i dmi' show a DMI line, and is /sys/firmware/dmi/tables populated? That shows whether the kernel reads the property.

Quoted 5 lines

Does the hang go away if the property stays but the region is reserved? A quick hack is fdt_add_mem_rsv(fdt, smbiosaddr, TABLE_SIZE) next to the setprop in fdt_chosen()

If so, you could add a fix for 209bbc4e003 - i.e. reserve the table.

Thanks for the additional details Milivoje, I'm hoping that someone else that worked on this can explain how the change in question here leads to a kernel hang. Can you please confirm what kernel(s) you've seen this with? It might be worth increasing the kernel loglevel too.

Signature · 1 line
Tom
#6 lore raw
In reply to Simon Glass

Hi Simon,

'dmesg | grep -i dmi' shows this:

[    1.107089] DMI not present or invalid.

and /sys/firmware/dmi/tables is not populated:

ls -l /sys/firmware/dmi/tables
ls: cannot access '/sys/firmware/dmi/tables': No such file or directory

Adding fdt_add_mem_rsv() does not change anything, it still hangs, and "DMI not present or invalid" message remains. This is how I did it:

fdt_add_mem_rsv(fdt, smbiosaddr, 0x00001000);

As I’m not familiar with the code, I didn’t know how to calculate or determine the table size, so I simply used the SZ_4K constant (aligned to 4KB). Let me know if that is wrong, and what the correct value should be.

Cheers,
Milivoje

Quoted 105 lines · Simon Glass

Hi Milivoje,

Quoted 50 lines · Milivoje Legenovic

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after
Quoted 7 lines

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Good idea!

Does 'dmesg | grep -i dmi' show a DMI line, and is /sys/firmware/dmi/tables populated? That shows whether the kernel reads the property.

Does the hang go away if the property stays but the region is reserved? A quick hack is fdt_add_mem_rsv(fdt, smbiosaddr, TABLE_SIZE) next to the setprop in fdt_chosen()

If so, you could add a fix for 209bbc4e003 - i.e. reserve the table.

Regards,
Simon

Quoted 28 lines

Cheers,
Milivoje

Quoted 23 lines · Simon Glass
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#7 lore raw

Hi Quentin,

You’re actually right; git bisect has shown that the problematic commit is the following one:

commit c6bba31dbdd450081503dc0e20fcfb4328b347e4

Author: Jonas Karlman <[email protected]>
Date:   Sat Jul 12 21:12:29 2025 +0000

rockchip: spl-boot-order: Defer probe of boot device

Boot devices are being probed when SPL boot order is determined. This may delay boot slightly and can prevent booting from SPI Flash on boards that use same pins for SPI Flash and eMMC due to pinctrl being applied prior to booting.

Instead defer probe of the boot device until SPL try to load image from the boot device by using uclass_find_device_by_of_offset() instead of the get variant.

Your question about used u-boot and kernel version: currently u-boot version is v2025.10, and this version works. I tried switching to v2026.01 a while ago, but because of this problem I’ve been waiting for a newer version to come out, in the hope that the problem will be sorted out there. I’ve tried every new version, but the problem persisted.. Kernel versiona are: 6.18 (so called "current" kernel in Armbian) and 7.2 (so called "edge"). I have tested both versions, but the behaviour is the same. For git bisect I have used "edge" kernel (7.2.8).

I’m absolutely on your side – we should get to the root of the problem rather than just treating the symptoms.

Cheers,
Milivoje

Quoted 131 lines · Milivoje Legenovic

Hi Simon,

'dmesg | grep -i dmi' shows this:

[    1.107089] DMI not present or invalid.

and /sys/firmware/dmi/tables is not populated:

ls -l /sys/firmware/dmi/tables
ls: cannot access '/sys/firmware/dmi/tables': No such file or directory

Adding fdt_add_mem_rsv() does not change anything, it still hangs, and "DMI not present or invalid" message remains. This is how I did it:

fdt_add_mem_rsv(fdt, smbiosaddr, 0x00001000);

As I’m not familiar with the code, I didn’t know how to calculate or determine the table size, so I simply used the SZ_4K constant (aligned to 4KB). Let me know if that is wrong, and what the correct value should be.

Cheers,
Milivoje

Quoted 105 lines · Simon Glass

Hi Milivoje,

Quoted 50 lines · Milivoje Legenovic

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after
Quoted 7 lines

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Good idea!

Does 'dmesg | grep -i dmi' show a DMI line, and is /sys/firmware/dmi/tables populated? That shows whether the kernel reads the property.

Does the hang go away if the property stays but the region is reserved? A quick hack is fdt_add_mem_rsv(fdt, smbiosaddr, TABLE_SIZE) next to the setprop in fdt_chosen()

If so, you could add a fix for 209bbc4e003 - i.e. reserve the table.

Regards,
Simon

Quoted 28 lines

Cheers,
Milivoje

Quoted 23 lines · Simon Glass
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#8 lore raw

Hi Milivoje,

Quoted 11 lines · Milivoje Legenovic

Hi Quentin,

You’re actually right; git bisect has shown that the problematic commit is the following one:

commit c6bba31dbdd450081503dc0e20fcfb4328b347e4

Author: Jonas Karlman <[email protected]>
Date:   Sat Jul 12 21:12:29 2025 +0000

rockchip: spl-boot-order: Defer probe of boot device

Quoted 8 lines

Boot devices are being probed when SPL boot order is determined. This may delay boot slightly and can prevent booting from SPI Flash on boards that use same pins for SPI Flash and eMMC due to pinctrl being applied prior to booting.

Instead defer probe of the boot device until SPL try to load image from the boot device by using uclass_find_device_by_of_offset() instead of the get variant.

This patch changed so that devices is lazy probed in SPL, a side affect from this has likely been that the clock drivers are no longer always probed in SPL phase.

Please see the test the series "rockchip: Always init clocks in SPL build for RK35xx" [1], it should help ensure that e.g. SPLL and CPU PLLs are configured in SPL, instead of possible having to wait until Linux configures CPU clocks.

[1] https://lore.kernel.org/u-boot/[email protected]/

Regards,
Jonas

Quoted 149 lines

Your question about used u-boot and kernel version: currently u-boot version is v2025.10, and this version works. I tried switching to v2026.01 a while ago, but because of this problem I’ve been waiting for a newer version to come out, in the hope that the problem will be sorted out there. I’ve tried every new version, but the problem persisted.. Kernel versiona are: 6.18 (so called "current" kernel in Armbian) and 7.2 (so called "edge"). I have tested both versions, but the behaviour is the same. For git bisect I have used "edge" kernel (7.2.8).

I’m absolutely on your side – we should get to the root of the problem rather than just treating the symptoms.

Cheers,
Milivoje

Quoted 131 lines · Milivoje Legenovic

Hi Simon,

'dmesg | grep -i dmi' shows this:

[    1.107089] DMI not present or invalid.

and /sys/firmware/dmi/tables is not populated:

ls -l /sys/firmware/dmi/tables
ls: cannot access '/sys/firmware/dmi/tables': No such file or directory

Adding fdt_add_mem_rsv() does not change anything, it still hangs, and "DMI not present or invalid" message remains. This is how I did it:

fdt_add_mem_rsv(fdt, smbiosaddr, 0x00001000);

As I’m not familiar with the code, I didn’t know how to calculate or determine the table size, so I simply used the SZ_4K constant (aligned to 4KB). Let me know if that is wrong, and what the correct value should be.

Cheers,
Milivoje

Quoted 105 lines · Simon Glass

Hi Milivoje,

Quoted 50 lines · Milivoje Legenovic

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after
Quoted 7 lines

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Good idea!

Does 'dmesg | grep -i dmi' show a DMI line, and is /sys/firmware/dmi/tables populated? That shows whether the kernel reads the property.

Does the hang go away if the property stays but the region is reserved? A quick hack is fdt_add_mem_rsv(fdt, smbiosaddr, TABLE_SIZE) next to the setprop in fdt_chosen()

If so, you could add a fix for 209bbc4e003 - i.e. reserve the table.

Regards,
Simon

Quoted 28 lines

Cheers,
Milivoje

Quoted 23 lines · Simon Glass
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#9 lore raw

Hi Jonas,

I've applied your patches, and can confirm it fixes the problem. Therefore the mystery is solved.

Thanks to everyone involved.

Cheers,
Milivoje

Quoted 188 lines · Jonas Karlman

Hi Milivoje,

Quoted 11 lines · Milivoje Legenovic

Hi Quentin,

You’re actually right; git bisect has shown that the problematic commit is the following one:

commit c6bba31dbdd450081503dc0e20fcfb4328b347e4

Author: Jonas Karlman <[email protected]>
Date:   Sat Jul 12 21:12:29 2025 +0000

rockchip: spl-boot-order: Defer probe of boot device

Quoted 8 lines

Boot devices are being probed when SPL boot order is determined. This may delay boot slightly and can prevent booting from SPI Flash on boards that use same pins for SPI Flash and eMMC due to pinctrl being applied prior to booting.

Instead defer probe of the boot device until SPL try to load image from the boot device by using uclass_find_device_by_of_offset() instead of the get variant.

This patch changed so that devices is lazy probed in SPL, a side affect from this has likely been that the clock drivers are no longer always probed in SPL phase.

Please see the test the series "rockchip: Always init clocks in SPL build for RK35xx" [1], it should help ensure that e.g. SPLL and CPU PLLs are configured in SPL, instead of possible having to wait until Linux configures CPU clocks.

[1] https://lore.kernel.org/u-boot/[email protected]/

Regards,
Jonas

Quoted 149 lines

Your question about used u-boot and kernel version: currently u-boot version is v2025.10, and this version works. I tried switching to v2026.01 a while ago, but because of this problem I’ve been waiting for a newer version to come out, in the hope that the problem will be sorted out there. I’ve tried every new version, but the problem persisted.. Kernel versiona are: 6.18 (so called "current" kernel in Armbian) and 7.2 (so called "edge"). I have tested both versions, but the behaviour is the same. For git bisect I have used "edge" kernel (7.2.8).

I’m absolutely on your side – we should get to the root of the problem rather than just treating the symptoms.

Cheers,
Milivoje

Quoted 131 lines · Milivoje Legenovic

Hi Simon,

'dmesg | grep -i dmi' shows this:

[    1.107089] DMI not present or invalid.

and /sys/firmware/dmi/tables is not populated:

ls -l /sys/firmware/dmi/tables
ls: cannot access '/sys/firmware/dmi/tables': No such file or directory

Adding fdt_add_mem_rsv() does not change anything, it still hangs, and "DMI not present or invalid" message remains. This is how I did it:

fdt_add_mem_rsv(fdt, smbiosaddr, 0x00001000);

As I’m not familiar with the code, I didn’t know how to calculate or determine the table size, so I simply used the SZ_4K constant (aligned to 4KB). Let me know if that is wrong, and what the correct value should be.

Cheers,
Milivoje

Quoted 105 lines · Simon Glass

Hi Milivoje,

Quoted 50 lines · Milivoje Legenovic

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
        linux,initrd-end = <0x00 0xecbffca5>;
        bootargs = ...
        smbios3-entrypoint = <0x00 0xedf47000>;
        kaslr-seed = <0x00 0x00>;
        linux,initrd-start = <0x00 0xeb519000>;
        stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after
Quoted 7 lines

63684076 usecs

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

Good idea!

Does 'dmesg | grep -i dmi' show a DMI line, and is /sys/firmware/dmi/tables populated? That shows whether the kernel reads the property.

Does the hang go away if the property stays but the region is reserved? A quick hack is fdt_add_mem_rsv(fdt, smbiosaddr, TABLE_SIZE) next to the setprop in fdt_chosen()

If so, you could add a fix for 209bbc4e003 - i.e. reserve the table.

Regards,
Simon

Quoted 28 lines

Cheers,
Milivoje

Quoted 23 lines · Simon Glass
Quoted 10 lines · Milivoje Legenovic

After upgrading u-boot in Armbian for the Odroid M2 board from version v2025.10 to a higher version (it doesn’t matter which one), the board does boot, but the boot process halts for 60 seconds, and only continues once this time has elapsed. Debugging via a UART cable showed that u-boot hands control over to the kernel, and then freezes there. The only difference compared to v2025.10 was the SMBIOS table. After disabling this configuration option everything worked perfectly.

Quoted 4 lines
---
 configs/odroid-m2-rk3588s_defconfig | 1 +
 1 file changed, 1 insertion(+)

But I agree it would be useful to know why the kernel can hang in this way (I didn't even know it looked at SMBIOS tables!)

- Simon

#10 lore raw
In reply to Milivoje Legenovic

Hi Milivoje,

Quoted 38 lines · Milivoje Legenovic

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5

Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

The Linux kernel can discover SMBIOS tables through two primary methods:
1. Via EFI tables, when using EFI boot;
2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
u-boot,version =

"2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a";
         linux,initrd-end = <0x00 0xecbffca5>;
         bootargs = ...
         smbios3-entrypoint = <0x00 0xedf47000>;
         kaslr-seed = <0x00 0x00>;
         linux,initrd-start = <0x00 0xeb519000>;
         stdout-path = "serial2:1500000n8";
};
Quoted 7 lines

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

As far as my understanding goes, there's actually nothing consuming this DT property right now. There is a patch on the Linux kernel mailing list, c.f. https://lore.kernel.org/lkml/[email protected]/ but it's not merged. I doubt Armbian would backport this but maybe they did? So I don't think the *presence* of this property changes anything, but there could be side-effects (e.g. actually having the SMBIOS3 table somewhere it isn't expected, potentially corrupting e.g. the kernel). I'm a bit skeptical though as the commit you point to only adds a property, it doesn't seem to be doing anything else.

Quoted 8 lines

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs
[   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after

63684076 usecs

So the probe of the drivers/leds/leds-gpio.c driver took 60+seconds, that seems quite improbable (well, it technically could be anything on the path for this driver to probe, c.f. really_probe() in drivers/base/dd.c.

Can you disable that driver (CONFIG_LEDS_GPIO) and see if it goes further? Being curious :) (I see Armbian did some - clearly downstream - changes to this driver, so being curious :) ).

Can you provide us with a link (with commit hash) to the exact sources of U-Boot and Linux kernel that Armbian builds for your board?

Can you provide us with the full bootlog (including U-Boot up until the Linux kernel's hung)?

Quoted 6 lines

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

I'm not convinced we're there yet but that's the kind of spirit I like, let's not fix symptoms or consequences :)

Cheers,
Quentin

#11 lore raw

Sorry, forgot to add something.

Quoted 49 lines · Quentin Schulz

Hi Milivoje,

Quoted 45 lines · Milivoje Legenovic

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Hello everyone,

Here are the details of my analysis:
The commit that introduced the change in behavior in version 2026.01 is this one:

commit 209bbc4e0032228c6ea17e2172a8a6b89756c4f5
Author: Adriana Nicolae <[email protected]>
Date:   Thu Nov 27 08:28:34 2025 -0800

     boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots

     The Linux kernel can discover SMBIOS tables through two primary methods:
     1. Via EFI tables, when using EFI boot;
     2. Via the 'smbios3-entrypoint' property in the /chosen node of the device tree.
...

I found this out by comparing the device tree from a working version, decompiled using

sudo dtc -I fs -O dts /sys/firmware/devicetree/base -o live_tree.dts

and difference was in /chosen node:

chosen {
         u-boot,version = "2026.01_armbian-2026.01-S127a-P7283-Hee1c-V2928-B3a7f-R448a"; linux,initrd-end = <0x00 0xecbffca5>; bootargs = ...
         smbios3-entrypoint = <0x00 0xedf47000>; kaslr-seed = <0x00 0x00>; linux,initrd-start = <0x00 0xeb519000>; stdout-path = "serial2:1500000n8";
};

In 2026.01 version smbios3-entrypoint was there, in 2025.10 not. I searched for this term in git history and found the commit mentioned above.
With git show I saw what activates this, and made a patch in armbian build system to disable it and confirm it fixes the problem. And it fixed it.

Can you run a bisect between 2025.10 and 2026.01 without a change to the defconfig? I'm pretty sure this commit is not the issue (you can revert it and keep CONFIG_GENERATE_SMBIOS_TABLE enabled and you'll likely see behavior hasn't changed, meaning the breaking change is coming from another commit). After a glance at the log between 2025.10 and 2026.01, I don't see anything obviously related to smbios that changed (aside from the commit you mentioned and 2d226a735e0e ("smbios: Fix warning when building with clang") but that isn't a clear candidate for a breakage of this kind).

Quoted 31 lines

As far as my understanding goes, there's actually nothing consuming this DT property right now. There is a patch on the Linux kernel mailing list, c.f. https://lore.kernel.org/lkml/20251031115917.713105-2- [email protected]/ but it's not merged. I doubt Armbian would backport this but maybe they did? So I don't think the *presence* of this property changes anything, but there could be side-effects (e.g. actually having the SMBIOS3 table somewhere it isn't expected, potentially corrupting e.g. the kernel). I'm a bit skeptical though as the commit you point to only adds a property, it doesn't seem to be doing anything else.

Quoted 8 lines

Here is also where kernel hangs for 60 seconds (always at the same place):

[   14.482048] calling  gpio_led_driver_init+0x0/0x38 @ 1
[   78.137967] Freeing initrd memory: 23448K
[   78.165027] probe of leds returned 0 after 63677665 usecs [   78.166792] initcall gpio_led_driver_init+0x0/0x38 returned 0 after 63684076 usecs

So the probe of the drivers/leds/leds-gpio.c driver took 60+seconds, that seems quite improbable (well, it technically could be anything on the path for this driver to probe, c.f. really_probe() in drivers/base/ dd.c.

Can you disable that driver (CONFIG_LEDS_GPIO) and see if it goes further? Being curious :) (I see Armbian did some - clearly downstream - changes to this driver, so being curious :) ).

Can you provide us with a link (with commit hash) to the exact sources of U-Boot and Linux kernel that Armbian builds for your board?

Can you provide us with the full bootlog (including U-Boot up until the Linux kernel's hung)?

Quoted 6 lines

As you can see, I was only able to find the cause, but that’s the extent of my expertise.

At first, I wanted to sort out the problem with a patch in the Armbian build project, but then I thought: "Why not sort it out at source?"

I'm not convinced we're there yet but that's the kind of spirit I like, let's not fix symptoms or consequences :)

Cheers,
Quentin