RMX2061: Create device specific init rc file

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
This commit is contained in:
SagarMakhar
2021-08-29 16:43:19 +00:00
parent 5223120b38
commit f60aee87f8
2 changed files with 9 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/svi_config_19720.xml:$(TARGET_COPY_OUT_VENDOR)/etc/svi_config_19720.xml
# Init scripts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.RMX2061.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.RMX2061.rc
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay

View File

@@ -0,0 +1,5 @@
on init
# Update Fastchg FW
chmod 0660 /proc/fastchg_fw_update
chown system system /proc/fastchg_fw_update
write /proc/fastchg_fw_update 1