Issue #631 has been updated by Martin Ostrica.

David Zeller wrote in #note-11:
> Victor Bessonov wrote in #note-10:
> > Sorry for the late answer - my old laptop died, so I had to rebuild my env.
> > So, I combined CB:94028 with CB:94042 as @Alicja suggested and... it 
> > resulted in a brick (will pull my clip out of the drawer soon)
> > I tried debugging it and it looks like something's off in romstage - I get 
> > this "no channels are populated" error message
> > Maybe I should rebuild only CB:94028 on master branch. BTW, I was surprised 
> > to see that coreboot+EDK2+iPXE does not fit into the ROM chip now, I had to 
> > remove EFI shell.
> 
> You can try CB:94992

I have x2e n150 mini pc as well and I am trying to run opnsense on it with 
coreboot, I also had issue with irq9/stability and applied all mentioned 
patched from CB:94042 and CB:94992 and I can confirm that this resolves irq 
storm issue and boot with no "no channels are populated" error. 

here is output of vmstat -i:
interrupt                          total       rate
cpu0:timer                        326841        719
cpu1:timer                         75385        166
cpu2:timer                         70448        155
cpu3:timer                         69313        152
irq128: xhci0                        215          0
irq130: igc0:rxq0                   4029          9
irq131: igc0:rxq1                  11254         25
irq132: igc0:rxq2                   3942          9
irq133: igc0:rxq3                   3166          7
irq134: igc0:aq                        2          0
irq135: igc1:rxq0                   4648         10
irq136: igc1:rxq1                  11056         24
irq137: igc1:rxq2                   3464          8
irq138: igc1:rxq3                   3475          8
irq139: igc1:aq                        2          0
irq150: nvme0:admin                   17          0
irq151: nvme0:io0                   2701          6
irq152: nvme0:io1                   3146          7
irq153: nvme0:io2                   3437          8
irq154: nvme0:io3                   2682          6
Total                             599223       1318

before it was irq9 there with ~180k rate

Let me know if you need any other output, I have console adapter as well.


----------------------------------------
Bug #631: Topton X2E (N150) instabilities/timer issues
https://ticket.coreboot.org/issues/631#change-2407

* Author: Victor Bessonov
* Status: New
* Priority: Normal
* Target version: none
* Start date: 2026-02-23
* Affected versions: main
* Affected hardware: Topton X2E
* Affected OS: Linux, BSD
----------------------------------------
Image built from master (c9578eac246) as 25.12 does not support iPXE with 
SecureBoot in edk2 payload.

After flashing the image a few bugs were discovered (all may be related to the 
same root cause)
1. Some USB drives and NVMes may be not detected in edk2 on boot - setting port 
speed to Gen3 manually and turning off power saving mostly helps with NVMes, 
however some flash drives may still need to be unplugged and re-plugged back
2. Booting from Ventoy USB mostly doesn't work - some linux images wait for 
mount and then fail with timout, others will just hang. Ventoy itself boots 
quickly and reliably.
3. USB booting from images written directly to flash mostly works, however BSD 
may still hang or panic out with spinlock timeout panic (OpnSense/FreeBSD)
4. Linux kernel reports about broken IRQ 9 (acpi_sci=low seemingly removes the 
message from dmesg)
5. After several tries to boot, BSD system got installed without any issues, 
however after rebooting into it the system became extremely laggy (even 
printing to the console worked word-by-word, high LA without any userspace 
CPU-loading process), switching the timer from LAPIC to HPET on running system 
seemingly resolved all the laginess instantly
6. Linux kernel reports that HPET is dysfunctional in PC10 (shouldn't it be 
fine on Alder Lake?)

Build config (I tried both with default xApic and x2Apic - doesn't seem to 
change anything):
``` shell
CONFIG_VENDOR_TOPTON=y
# CONFIG_POST_DEVICE is not set
# CONFIG_POST_IO is not set
CONFIG_TPM_MEASURED_BOOT=y
CONFIG_BOARD_TOPTON_X2E_N150=y
# CONFIG_FSP_HYPERTHREADING is not set
CONFIG_X2APIC_ONLY=y
CONFIG_TPM2=y
CONFIG_TPM_MEASURE_MRC_CACHE=y
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6=y
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_ENABLE_IPXE=y
```

The majority of these problems can be explained by faulty timer - the reason 
for a single ticket
I'm also attaching the patch suggested in Discord channel for reference - 
doesn't seem to solve the issue

---Files--------------------------------
coreboot.log (63.9 KB)
linux-boot.log (274 KB)
gpio.patch (3.1 KB)
SuperIODump.txt (1.48 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to