blob: 05178291b184bcd273825c6de5347e6e101d2622
1 | import init.amlogic.usb.rc |
2 | |
3 | on early-init |
4 | loglevel 3 |
5 | |
6 | mount configfs configfs /sys/kernel/config |
7 | #mount usbfs none /proc/bus/usb |
8 | |
9 | insmod /boot/optee.ko |
10 | insmod /boot/optee_armtz.ko |
11 | |
12 | on init |
13 | |
14 | on post-fs-data |
15 | insmod /vendor/lib/mali.ko |
16 | insmod /vendor/lib/modules/cfg80211.ko |
17 | |
18 | on boot |
19 | setprop ro.radio.noril true |
20 | write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive |
21 | write /sys/class/freq_limit/limit 0 |
22 | write /sys/devices/system/cpu/cpu0/cpufreq/scaling_dflt_freq 2016000 |
23 | |
24 | #HDMI IN |
25 | chmod 666 /sys/class/sii9233a/port |
26 | chmod 666 /sys/class/sii9233a/enable |
27 | chmod 666 /sys/module/tvin_vdin/parameters/max_buf_num |
28 | |
29 | #chmod 0666 /dev/amstream_sub_read |
30 | |
31 | # insmod /vendor/lib/audio_data.ko |
32 | |
33 | # chmod 0666 /dev/ge2d |
34 | chmod 666 /dev/cec |
35 | chmod 0666 /dev/opteearmtz00 |
36 | chmod 0666 /dev/tee0 |
37 | |
38 | on fs |
39 | on post-fs-data |
40 | mkdir /data/tee |
41 | |
42 | service tee_supplicant /system/bin/tee-supplicant |
43 | class main |
44 | oneshot |
45 | seclabel u:r:tee:s0 |
46 | |
47 |