From 6a596b48e6c86b177825c384a98fb8dfdd28671c Mon Sep 17 00:00:00 2001 From: tolik Date: Thu, 16 Apr 2026 22:13:21 +0300 Subject: [PATCH] added `X_PLATFORM_TYPE_RPI_5` --- misc/platforms.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/misc/platforms.json b/misc/platforms.json index ebb4526..cb2ee86 100644 --- a/misc/platforms.json +++ b/misc/platforms.json @@ -69,6 +69,22 @@ {"type": "file_exists", "path": "/boot/config.txt"} ] }, + { + "platform": "X_PLATFORM_TYPE_RPI_5", + "log": "Raspberry Pi 5 detected (Raspberry Pi OS).", + "conditions": [ + {"type": "file_exists", "path": "/boot/config.txt"}, + {"type": "file_contains_any", "path": "/proc/cpuinfo", "values": ["Raspberry Pi 5 Model B"]} + ] + }, + { + "platform": "X_PLATFORM_TYPE_RPI_5", + "log": "Raspberry Pi 5 detected (Ubuntu OS).", + "conditions": [ + {"type": "file_exists", "path": "/boot/firmware/config.txt"}, + {"type": "file_contains_any", "path": "/proc/cpuinfo", "values": ["Raspberry Pi 5 Model B"]} + ] + }, { "platform": "X_PLATFORM_TYPE_OPENIPC_SIGMASTAR_UNDEFINED", "log": "Detected SigmaStar platform.",