1
0
Fork 0
android_device_rockchip_tart/ramdisk/init.tart.rc

39 lines
1.2 KiB
Text

import /vendor/etc/init/hw/init.tart.usb.rc
on init
symlink /sdcard /storage/sdcard0
on fs
mount_all /vendor/etc/fstab.tart --early
on late-fs
mount_all /vendor/etc/fstab.tart --late
on boot
chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
chmod 0666 /sys/devices/system/cpu/cpufreq/boost
# Bring-up debugging: mirror the Android log onto the serial console so
# graphics/HAL failures are visible without adb or a working serial shell.
# Remove once the port is stable.
service logcat_serial /system/bin/logcat -b main,system,crash -v threadtime
class late_start
console
user shell
group shell log readproc
disabled
seclabel u:r:shell:s0
on post-fs-data
start logcat_serial