You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ODROID-XU4 not detected on kernels with Hardware field in /proc/cpuinfo #415
ODROID-XU4 not detected on kernels with Hardware field in /proc/cpuinfo
Description
The ODROID-XU4 is not detected by PlatformDetect on Armbian (and likely other non-Hardkernel images) because the compatible-string detection block is gated behind if hardware is None:, but the XU4 reports a Hardware field in /proc/cpuinfo.
In chip.py, the block that checks /proc/device-tree/compatible for "odroid-xu4" is nested inside if hardware is None::
hardware=self.detector.get_cpuinfo_field("Hardware")
ifhardwareisNone:
compatible=self.detector.get_device_compatible()
...
ifcompatibleand"odroid-xu4"incompatible: # never reached on XU4linux_id=chips.EXYNOS5422
Since hardware is "Samsung Exynos (Flattened Device Tree)" (not None), the entire block is skipped. The fallback check later (elif "ODROID-XU4" in hardware) also fails because the hardware string does not contain "ODROID-XU4".
Fix
Move the "odroid-xu4" compatible check outside the if hardware is None: block, similar to the check_dt_compatible_value() calls used for other boards earlier in the same method.
Activity
makermelissa commentedon Jun 23, 2026
Fixed by #416.