gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled

Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
This commit is contained in:
Woody Lin 2023-02-05 12:26:40 +08:00
parent 8514bb0e01
commit 5186bf4b9b

View file

@ -41,3 +41,8 @@ on property:ro.revision=PROTO1.1
setprop debug.hypervisor.metrics_tag "hwrev_a0"
on property:ro.revision=EVT1.0
setprop debug.hypervisor.metrics_tag "hwrev_a0"
# Enable etm/etm2dram when ramdump is enabled.
on property:ro.boot.ramdump=enabled
write /sys/devices/platform/exynos-etm/etm_on 1
write /sys/devices/platform/etm2dram/arm 1