Merge "soc: add packet information and dvfs_version to bugreport" into udc-d1-dev am: 1748e7638d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22214496 Change-Id: I6fd0925424fdc28d94ca15a30d8a13e1a7bc9eb3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
80f35504c2
2 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue