tici: log SOM ID (#31440)

* tici: log SOM ID

* no cat
old-commit-hash: 3cf845d952
pull/32199/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent 9fab120968
commit 4101f3d725
  1. 1
      system/hardware/tici/hardware.h

@ -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");

Loading…
Cancel
Save