system() added Raspberry CM5 detection

This commit is contained in:
Sebastian Hildebrandt
2024-12-08 12:19:52 +01:00
parent 3a92931c7d
commit 56032602df
4 changed files with 112 additions and 49 deletions
+4
View File
@@ -1018,7 +1018,11 @@ function decodePiCpuinfo(lines) {
'13': '400',
'14': 'CM4',
'15': 'CM4S',
'16': 'Internal use only',
'17': '5',
'18': 'CM5 (EMMC)',
'19': 'Internal use only',
'1a': 'CM5 (Lite)',
};
const revisionCode = getValue(lines, 'revision', ':', true);