diff --git a/soc/dump_soc.cpp b/soc/dump_soc.cpp index 4c34349..ab3ac2d 100644 --- a/soc/dump_soc.cpp +++ b/soc/dump_soc.cpp @@ -31,8 +31,10 @@ std::string readFile(const std::string& file_path) { // Dump chip ID. int main() { dumpFileContent("AP HW TUNE", "/sys/devices/system/chip-id/ap_hw_tune_str"); + dumpFileContent("DVFS VERSION", "/sys/devices/system/chip-id/dvfs_version"); dumpFileContent("EVT VERSION", "/sys/devices/system/chip-id/evt_ver"); dumpFileContent("LOT ID", "/sys/devices/system/chip-id/lot_id"); + dumpFileContent("PACKAGE", "/sys/devices/system/chip-id/pkg_revision"); dumpFileContent("PRODUCT ID", "/sys/devices/system/chip-id/product_id"); dumpFileContent("REVISION", "/sys/devices/system/chip-id/revision"); dumpFileContent("RAW STR", "/sys/devices/system/chip-id/raw_str"); diff --git a/soc/sepolicy/soc/genfs_contexts b/soc/sepolicy/soc/genfs_contexts index 454ab6a..aa2f3b2 100644 --- a/soc/sepolicy/soc/genfs_contexts +++ b/soc/sepolicy/soc/genfs_contexts @@ -1,6 +1,8 @@ genfscon sysfs /devices/system/chip-id/ap_hw_tune_str u:object_r:sysfs_chip_id:s0 +genfscon sysfs /devices/system/chip-id/dvfs_version u:object_r:sysfs_chip_id:s0 genfscon sysfs /devices/system/chip-id/evt_ver u:object_r:sysfs_chip_id:s0 genfscon sysfs /devices/system/chip-id/lot_id u:object_r:sysfs_chip_id:s0 +genfscon sysfs /devices/system/chip-id/pkg_revision u:object_r:sysfs_chip_id:s0 genfscon sysfs /devices/system/chip-id/product_id u:object_r:sysfs_chip_id:s0 genfscon sysfs /devices/system/chip-id/revision u:object_r:sysfs_chip_id:s0 genfscon sysfs /devices/system/chip-id/raw_str u:object_r:sysfs_chip_id:s0