tici: log SOM ID (#31440)

* tici: log SOM ID

* no cat
old-commit-hash: 3cf845d9521f9062bbcc7ae0db7195576ca632a4
This commit is contained in:
Adeeb Shihadeh
2024-02-13 15:01:32 -08:00
committed by GitHub
parent 9fab120968
commit 4101f3d725
+1
View File
@@ -72,6 +72,7 @@ public:
std::map<std::string, std::string> ret = {
{"/BUILD", util::read_file("/BUILD")},
{"lsblk", util::check_output("lsblk -o NAME,SIZE,STATE,VENDOR,MODEL,REV,SERIAL")},
{"SOM ID", util::read_file("/sys/devices/platform/vendor/vendor:gpio-som-id/som_id")},
};
std::string bs = util::check_output("abctl --boot_slot");