Skip to content

Commit 4b0d777

Browse files
committed
systems: improve Odroid XU detection
Add support for recognizing the XU3/4 boards through `/proc/device-tree/compatible`, seems like recent kernels (just like the RPI boards) have removed the board name from the CPU information Possibly related file: <https://github.com/raspberrypi/linux/blob/rpi-6.6.y/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml#L180-L186>
1 parent 3810202 commit 4b0d777

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scriptmodules/system.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,9 @@ function get_platform() {
452452
*raspberrypi*)
453453
get_rpi_model
454454
;;
455+
*odroid-xu[3|4]*)
456+
__platform="odroid-xu"
457+
;;
455458
*tegra186*)
456459
__platform="tegra-x2"
457460
;;

0 commit comments

Comments
 (0)