1# 2 3menu "Post rootfs installs" 4 5choice 6 prompt "hostname" 7 8config RK_ROOTFS_HOSTNAME_DEFAULT 9 bool "auto" 10 help 11 Use "<chip>-<OS>" for non-debian OS. 12 13config RK_ROOTFS_HOSTNAME_ORIGINAL 14 bool "original" 15 16config RK_ROOTFS_HOSTNAME_CUSTOM 17 bool "custom" 18 19endchoice # hostname 20 21if RK_ROOTFS_HOSTNAME_CUSTOM 22 23config RK_ROOTFS_HOSTNAME 24 string "custom hostname" 25 default RK_CHIP 26 27endif 28 29choice 30 prompt "locale" 31 32config RK_ROOTFS_LOCALE_DEFAULT 33 bool "auto" 34 help 35 Use "en_US.UTF-8" for non-debian OS. 36 37config RK_ROOTFS_LOCALE_ORIGINAL 38 bool "original" 39 40config RK_ROOTFS_LOCALE_CUSTOM 41 bool "custom" 42 43endchoice # locale 44 45if RK_ROOTFS_LOCALE_CUSTOM 46 47config RK_ROOTFS_LOCALE 48 string "custom locale" 49 default "en_US.UTF-8" 50 51endif 52 53choice 54 prompt "extra fonts" 55 56config RK_EXTRA_FONTS_DEFAULT 57 bool "auto" 58 help 59 Install extra fonts for yocto OS. 60 61config RK_EXTRA_FONTS_ENABLED 62 bool "install" 63 64config RK_EXTRA_FONTS_DISABLED 65 bool "not install" 66 67endchoice # extra fonts 68 69choice 70 prompt "disk helpers" 71 72config RK_DISK_HELPERS_DEFAULT 73 bool "auto" 74 help 75 Install mount-all for buildroot OS. 76 Install resize-all for non-buildroot OS. 77 78config RK_DISK_HELPERS_MOUNTALL 79 bool "mount all partitions" 80 81config RK_DISK_HELPERS_RESIZEALL 82 bool "resize all partitions" 83 84config RK_DISK_HELPERS_DISABLED 85 bool "not install" 86 87endchoice # disk helpers 88 89if ! RK_DISK_HELPERS_DISABLED 90 91config RK_DISK_AUTO_FORMAT 92 bool "format extra partitions when needed" 93 94config RK_DISK_SKIP_FSCK 95 bool "bypass boot time fsck" 96 97endif 98 99config RK_ROOTFS_UDEV_RULES 100 bool "Rockchip udev rules" 101 default y 102 103comment "USB gadget depends on linux kernel" 104 depends on RK_KERNEL_CFG = "" 105 106if RK_KERNEL_CFG != "" 107 108choice 109 prompt "USB gadget" 110 111config RK_USB_DEFAULT 112 bool "auto" 113 help 114 Install USB gadget on non-buildroot OS. 115 116config RK_USB_ENABLED 117 bool "install" 118 119config RK_USB_DISABLED 120 bool "not install" 121 122endchoice # USB gadget 123 124if !RK_USB_DISABLED 125 126menu "USB gadget" 127 128config RK_USB_ADBD 129 bool "adbd" 130 default y 131 help 132 Android adbd. 133 134if RK_USB_ADBD 135 136config RK_USB_ADBD_TCP_PORT 137 int "adbd tcp port" 138 default 5555 139 140config RK_USB_ADBD_BASH 141 bool "adbd prefer using bash" 142 default y 143 144config RK_USB_ADBD_PASSWORD 145 string "adbd password" 146 default "" 147 148config RK_USB_ADBD_RSA_KEY 149 string "adbd RSA key" 150 default "" 151 152endif 153 154config RK_USB_MTP 155 bool "mtp" 156 help 157 Media Transfer Protocal (MTP). 158 159config RK_USB_ACM 160 bool "acm" 161 162config RK_USB_NTB 163 bool "ntb" 164 help 165 Rockchip NTB. 166 167config RK_USB_UVC 168 bool "uvc" 169 170config RK_USB_UAC1 171 bool "uac1" 172 173config RK_USB_UAC2 174 bool "uac2" 175 176config RK_USB_HID 177 bool "hid" 178 179config RK_USB_RNDIS 180 bool "rndis" 181 182config RK_USB_UMS 183 bool "ums" 184 help 185 USB mass storage (UMS). 186 187if RK_USB_UMS 188 189config RK_USB_UMS_FILE 190 string "ums file" 191 default "/userdata/ums_shared.img" 192 help 193 Block device or image file to share through UMS. 194 195config RK_USB_UMS_SIZE 196 string "ums size" 197 default "256M" 198 help 199 UMS's size. 200 201config RK_USB_UMS_FSTYPE 202 string "ums fstype" 203 default "vfat" 204 help 205 UMS's filesystem type. 206 207config RK_USB_UMS_MOUNT 208 bool "ums mount" 209 default n 210 help 211 Mount when USB disconnected, umount when connected. 212 213 Warning: 214 Umounting UMS may failed if it is still in use. 215 216config RK_USB_UMS_MOUNTPOINT 217 string "ums mountpoint" 218 default "/mnt/ums" 219 help 220 UMS's mountpoint. 221 222config RK_USB_UMS_RO 223 bool "ums ro" 224 default n 225 help 226 UMS is read-only. 227 228endif 229 230config RK_USB_EXTRA 231 string "extra USB gadget configs" 232 default "" 233 234config RK_USB_HOOKS 235 string "hook scripts" 236 default "" 237 238endmenu # USB gadget 239 240endif 241 242endif 243 244comment "wifi/BT depends on linux kernel" 245 depends on RK_KERNEL_CFG = "" 246 247if RK_KERNEL_CFG != "" 248 249config RK_WIFIBT_CHIP 250 string "wifi/BT chip" 251 default "ALL_AP" 252 help 253 ALL_AP for Realtek and AP6XXX, ALL_CY for Realtek and CYWXXX. 254 Set "" for no WIFI/BT. 255 256config RK_WIFIBT_TTY 257 string "BT serial port" 258 depends on RK_WIFIBT_CHIP != "" 259 default "ttyS0" 260 261endif 262 263config RK_ROOTFS_PREBUILT_TOOLS 264 bool "prebuilt tools" 265 266config RK_ROOTFS_OVERLAY_DIRS 267 string "rootfs overlay dirs" 268 269endmenu # Post-rootfs 270