12fe4e5f8Sopenharmony_ci{ 22fe4e5f8Sopenharmony_ci "import" : [ 32fe4e5f8Sopenharmony_ci "init.${ro.hardware}.usb.cfg" 42fe4e5f8Sopenharmony_ci ], 52fe4e5f8Sopenharmony_ci "jobs" : [{ 62fe4e5f8Sopenharmony_ci "name" : "pre-init", 72fe4e5f8Sopenharmony_ci "cmds" : [ 82fe4e5f8Sopenharmony_ci "write /proc/sys/vm/min_free_kbytes 10240", 92fe4e5f8Sopenharmony_ci "mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755" 102fe4e5f8Sopenharmony_ci ] 112fe4e5f8Sopenharmony_ci }, { 122fe4e5f8Sopenharmony_ci "name" : "init", 132fe4e5f8Sopenharmony_ci "cmds" : [ 142fe4e5f8Sopenharmony_ci "write /sys/kernel/debug/hisi_inno_phy/role peripheral" 152fe4e5f8Sopenharmony_ci ] 162fe4e5f8Sopenharmony_ci }, { 172fe4e5f8Sopenharmony_ci "name" : "fs", 182fe4e5f8Sopenharmony_ci "cmds" : [ 192fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi_securec.ko", 202fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi_osal.ko anony=1 mmz_allocator=hisi mmz=anonymous,0,0xA8000000,384M || report_error", 212fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi_irq.ko", 222fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi_proc.ko", 232fe4e5f8Sopenharmony_ci "insmod /vendor/modules/sys_config.ko chip=hi3516dv300 sensors=sns0=imx335,sns1=NULL,g_cmos_yuv_flag=0", 242fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi3516cv500_base.ko", 252fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi3516cv500_sys.ko", 262fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi3516cv500_tde.ko", 272fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi3516cv500_vo_dev.ko", 282fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hifb.ko video=\"hifb:vram0_size:16200\"", 292fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi3516cv500_hdmi.ko", 302fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi_mipi_rx.ko", 312fe4e5f8Sopenharmony_ci "insmod /vendor/modules/hi3516cv500_wdt.ko" 322fe4e5f8Sopenharmony_ci ] 332fe4e5f8Sopenharmony_ci }, { 342fe4e5f8Sopenharmony_ci "name" : "boot", 352fe4e5f8Sopenharmony_ci "cmds" : [ 362fe4e5f8Sopenharmony_ci "chmod 777 /dev/ttyAMA2", 372fe4e5f8Sopenharmony_ci "chmod 775 /sys/class/rfkill/rfkill0/state", 382fe4e5f8Sopenharmony_ci "chmod 777 /dev/rtkbt_dev", 392fe4e5f8Sopenharmony_ci "chmod 0440 /proc/interrupts", 402fe4e5f8Sopenharmony_ci "chmod 0440 /proc/stat", 412fe4e5f8Sopenharmony_ci "chmod 0640 /dev/xt_qtaguid", 422fe4e5f8Sopenharmony_ci "chmod 0660 /proc/net/xt_qtaguid/ctrl", 432fe4e5f8Sopenharmony_ci "chmod 0440 /proc/net/xt_qtaguid/stats", 442fe4e5f8Sopenharmony_ci "chmod 666 /dev/mali0", 452fe4e5f8Sopenharmony_ci "chown system graphics /dev/mali0", 462fe4e5f8Sopenharmony_ci "chown system graphics /dev/graphics/fb0", 472fe4e5f8Sopenharmony_ci "chmod 666 /dev/ion", 482fe4e5f8Sopenharmony_ci "chown system system /dev/ion", 492fe4e5f8Sopenharmony_ci "chown shell root /dev/mmz_userdev" 502fe4e5f8Sopenharmony_ci ] 512fe4e5f8Sopenharmony_ci } 522fe4e5f8Sopenharmony_ci ] 532fe4e5f8Sopenharmony_ci} 54