1config BR2_PACKAGE_RKSCRIPT 2 bool "rockchip script" 3 depends on BR2_PACKAGE_HAS_UDEV 4 help 5 Rockchip helper scripts. 6 7if BR2_PACKAGE_RKSCRIPT 8 9config BR2_PACKAGE_RKSCRIPT_DEFAULT_PCM 10 string "default PCM" 11 help 12 Alsa's default PCM 13 14config BR2_PACKAGE_RKSCRIPT_IODOMAIN_NOTICE 15 bool "rkscript iodomain notice script" 16 default y if BR2_PACKAGE_RK3308 17 default y if BR2_PACKAGE_RV1126_RV1109 18 default y if BR2_PACKAGE_RK3566_RK3568 19 select BR2_PACKAGE_RKTOOLKIT 20 help 21 Install iodomain notice script. 22 23config BR2_PACKAGE_RKSCRIPT_MOUNTALL 24 bool "rkscript mountall" 25 # The recovery might handle it internally 26 default y if !BR2_PACKAGE_SYSTEMD && (!BR2_PACKAGE_RECOVERY || BR2_PACKAGE_RECOVERY_USE_UPDATEENGINE) 27 help 28 Install mountall script. 29 30config BR2_PACKAGE_RKSCRIPT_RESIZEALL 31 bool "rkscript resizeall" 32 default y if BR2_PACKAGE_SYSTEMD 33 depends on !BR2_PACKAGE_RKSCRIPT_MOUNTALL 34 help 35 Install resizeall script. 36 37config BR2_PACKAGE_RKSCRIPT_BOOTANIM 38 bool "rkscript bootanim" 39 help 40 Install bootanim scripts. 41 42if BR2_PACKAGE_RKSCRIPT_BOOTANIM 43 44config BR2_PACKAGE_RKSCRIPT_BOOTANIM_TIMEOUT 45 int "bootanim timeout" 46 default 3 47 help 48 Bootanim timeout. 49 50endif 51 52config BR2_PACKAGE_RKSCRIPT_USB 53 bool "rkscript usbdevice" 54 default y 55 help 56 Install usbdevice scripts. 57 58if BR2_PACKAGE_RKSCRIPT_USB 59 60config BR2_PACKAGE_RKSCRIPT_USB_EXTRA_CONFIG 61 string "usb extra config" 62 help 63 Extra usb configs. 64 65config BR2_PACKAGE_RKSCRIPT_USB_ADBD 66 bool "adbd" 67 default y if BR2_PACKAGE_ANDROID_TOOLS_ADBD 68 help 69 Android adbd. 70 71config BR2_PACKAGE_RKSCRIPT_USB_MTP 72 bool "mtp" 73 default y if BR2_PACKAGE_MTP 74 help 75 Media Transfer Protocal (MTP). 76 77config BR2_PACKAGE_RKSCRIPT_USB_ACM 78 bool "acm" 79 help 80 USB ACM. 81 82config BR2_PACKAGE_RKSCRIPT_USB_NTB 83 bool "ntb" 84 help 85 Rockchip NTB. 86 87config BR2_PACKAGE_RKSCRIPT_USB_UVC 88 bool "uvc" 89 help 90 USB UVC. 91 92config BR2_PACKAGE_RKSCRIPT_USB_UAC1 93 bool "uac1" 94 help 95 USB UAC1. 96 97config BR2_PACKAGE_RKSCRIPT_USB_UAC2 98 bool "uac2" 99 help 100 USB UAC2. 101 102config BR2_PACKAGE_RKSCRIPT_USB_HID 103 bool "hid" 104 help 105 USB HID. 106 107config BR2_PACKAGE_RKSCRIPT_USB_RNDIS 108 bool "rndis" 109 help 110 USB RNDIS. 111 112config BR2_PACKAGE_RKSCRIPT_USB_UMS 113 bool "ums" 114 help 115 USB mass storage (UMS). 116 117if BR2_PACKAGE_RKSCRIPT_USB_UMS 118 119config BR2_PACKAGE_RKSCRIPT_USB_UMS_FILE 120 string "ums file" 121 default "/userdata/ums_shared.img" 122 help 123 Block device or image file to share through UMS. 124 125config BR2_PACKAGE_RKSCRIPT_USB_UMS_SIZE 126 string "ums size" 127 default "256M" 128 help 129 UMS's size. 130 131config BR2_PACKAGE_RKSCRIPT_USB_UMS_FSTYPE 132 string "ums fstype" 133 default "vfat" 134 help 135 UMS's filesystem type. 136 137config BR2_PACKAGE_RKSCRIPT_USB_UMS_RO 138 bool "ums ro" 139 default n 140 help 141 UMS is read-only. 142 143config BR2_PACKAGE_RKSCRIPT_USB_UMS_MOUNT 144 bool "ums mount" 145 default n 146 help 147 Mount when USB disconnected, umount when connected. 148 149 Warning: 150 Umounting UMS may failed if it is still in use. 151 152config BR2_PACKAGE_RKSCRIPT_USB_UMS_MOUNTPOINT 153 string "ums mountpoint" 154 default "/mnt/ums" 155 help 156 UMS's mountpoint. 157 158endif # BR2_PACKAGE_RKSCRIPT_USB_UMS 159 160endif # BR2_PACKAGE_RKSCRIPT_USB 161 162endif 163