soc: add packet information and dvfs_version to bugreport
We could find SoC packet information and dvfs_version from the bugreport after applying this patch. Bug: 274570190 Test: build pass, dump_soc and check bugreport Change-Id: Iad466fa3a5c68ae4b3500bce97e52c8163228520
This commit is contained in:
parent
86fdd03b13
commit
26dd5cd90c
2 changed files with 4 additions and 0 deletions
|
@ -31,8 +31,10 @@ std::string readFile(const std::string& file_path) {
|
||||||
// Dump chip ID.
|
// Dump chip ID.
|
||||||
int main() {
|
int main() {
|
||||||
dumpFileContent("AP HW TUNE", "/sys/devices/system/chip-id/ap_hw_tune_str");
|
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("EVT VERSION", "/sys/devices/system/chip-id/evt_ver");
|
||||||
dumpFileContent("LOT ID", "/sys/devices/system/chip-id/lot_id");
|
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("PRODUCT ID", "/sys/devices/system/chip-id/product_id");
|
||||||
dumpFileContent("REVISION", "/sys/devices/system/chip-id/revision");
|
dumpFileContent("REVISION", "/sys/devices/system/chip-id/revision");
|
||||||
dumpFileContent("RAW STR", "/sys/devices/system/chip-id/raw_str");
|
dumpFileContent("RAW STR", "/sys/devices/system/chip-id/raw_str");
|
||||||
|
|
|
@ -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/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/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/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/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/revision u:object_r:sysfs_chip_id:s0
|
||||||
genfscon sysfs /devices/system/chip-id/raw_str u:object_r:sysfs_chip_id:s0
|
genfscon sysfs /devices/system/chip-id/raw_str u:object_r:sysfs_chip_id:s0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue