Blame view
drivers/fastboot/Kconfig
6.89 KB
312a10f16 fastboot: Move fa... |
1 |
menu "Fastboot support" |
e016f0b2c fastboot: impleme... |
2 |
|
312a10f16 fastboot: Move fa... |
3 4 5 6 |
config FASTBOOT bool imply ANDROID_BOOT_IMAGE imply CMD_FASTBOOT |
e016f0b2c fastboot: impleme... |
7 8 9 |
config USB_FUNCTION_FASTBOOT bool "Enable USB fastboot gadget" |
312a10f16 fastboot: Move fa... |
10 11 12 |
depends on USB_GADGET default y if ARCH_SUNXI && USB_MUSB_GADGET select FASTBOOT |
cfa34996b cmd: fastboot: Re... |
13 |
select USB_GADGET_DOWNLOAD |
e016f0b2c fastboot: impleme... |
14 15 |
help This enables the USB part of the fastboot gadget. |
f73a7df98 net: fastboot: Me... |
16 17 18 19 20 21 |
config UDP_FUNCTION_FASTBOOT depends on NET select FASTBOOT bool "Enable fastboot protocol over UDP" help This enables the fastboot protocol over UDP. |
312a10f16 fastboot: Move fa... |
22 |
if FASTBOOT |
e016f0b2c fastboot: impleme... |
23 24 25 |
config FASTBOOT_BUF_ADDR hex "Define FASTBOOT buffer address" |
48f6232e5 Kconfig: Migrate ... |
26 27 28 29 30 31 32 33 34 35 |
default 0x82000000 if MX6SX || MX6SL || MX6UL || MX6SLL default 0x81000000 if ARCH_OMAP2PLUS default 0x42000000 if ARCH_SUNXI && !MACH_SUN9I default 0x22000000 if ARCH_SUNXI && MACH_SUN9I default 0x60800800 if ROCKCHIP_RK3036 || ROCKCHIP_RK3188 || \ ROCKCHIP_RK322X default 0x800800 if ROCKCHIP_RK3288 || ROCKCHIP_RK3329 || \ ROCKCHIP_RK3399 default 0x280000 if ROCKCHIP_RK3368 default 0x100000 if ARCH_ZYNQMP |
0a60a81ba Kconfig: sandbox:... |
36 |
default 0 if SANDBOX |
e016f0b2c fastboot: impleme... |
37 38 39 40 41 42 43 |
help The fastboot protocol requires a large memory buffer for downloads. Define this to the starting RAM address to use for downloaded images. config FASTBOOT_BUF_SIZE hex "Define FASTBOOT buffer size" |
48f6232e5 Kconfig: Migrate ... |
44 45 46 |
default 0x8000000 if ARCH_ROCKCHIP default 0x6000000 if ARCH_ZYNQMP default 0x2000000 if ARCH_SUNXI |
0a60a81ba Kconfig: sandbox:... |
47 |
default 0x8192 if SANDBOX |
48f6232e5 Kconfig: Migrate ... |
48 |
default 0x7000000 |
e016f0b2c fastboot: impleme... |
49 50 51 52 |
help The fastboot protocol requires a large memory buffer for downloads. This buffer should be as large as possible for a platform. Define this to the size available RAM for fastboot. |
9af5ba878 fastboot: Add CON... |
53 54 |
config FASTBOOT_USB_DEV int "USB controller number" |
312a10f16 fastboot: Move fa... |
55 |
depends on USB_FUNCTION_FASTBOOT |
9af5ba878 fastboot: Add CON... |
56 57 58 59 60 |
default 0 help Some boards have USB OTG controller other than 0. Define this option so it can be used in compiled environment (e.g. in CONFIG_BOOTCOMMAND). |
e016f0b2c fastboot: impleme... |
61 62 |
config FASTBOOT_FLASH bool "Enable FASTBOOT FLASH command" |
a9af59a30 fastboot: rockchi... |
63 |
default y if ARCH_SUNXI || ARCH_ROCKCHIP |
88718be30 mtd: rename CONFI... |
64 |
depends on MMC || (MTD_RAW_NAND && CMD_MTDPARTS) |
c232d14d1 mmc: Separate "mm... |
65 |
select IMAGE_SPARSE |
e016f0b2c fastboot: impleme... |
66 67 68 69 |
help The fastboot protocol includes a "flash" command for writing the downloaded image to a non-volatile storage device. Define this to enable the "fastboot flash" command. |
9f99e9de1 MLK-18591-3 andro... |
70 71 72 73 |
config FASTBOOT_UUU_SUPPORT bool "Enable FASTBOOT i.MX UUU special command" default y if ARCH_MX7 || ARCH_MX6 || ARCH_IMX8 || ARCH_IMX8M || ARCH_MX7ULP select FSL_FASTBOOT |
bf42b93f3 MLK-20594-2 enabl... |
74 |
select FAT_WRITE |
a19987616 MLK-22092 Enable ... |
75 76 77 |
select CMD_GPT select RANDOM_UUID select CMD_GPT_RENAME |
e4bcf17c0 MLK-23124 fastboo... |
78 79 |
select CONSOLE_MUX select SYS_STDIO_DEREGISTER |
9f99e9de1 MLK-18591-3 andro... |
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
help The fastboot protocol includes "UCmd" command and "ACmd" command config FSL_FASTBOOT bool "Enable FSL fastboot support" depends on FASTBOOT_FLASH help This enables FSL implementation for Android fastboot. config ANDROID_RECOVERY bool "Enable the recovery boot function" depends on FSL_FASTBOOT help This enables the Android Recovery boot function. config CMD_BOOTA bool "Enable the boota command" |
8f3e86b52 MA-18634-1 Androi... |
97 |
default y |
9f99e9de1 MLK-18591-3 andro... |
98 |
depends on FSL_FASTBOOT |
8f3e86b52 MA-18634-1 Androi... |
99 |
depends on ANDROID_SUPPORT || ANDROID_AUTO_SUPPORT || ANDROID_THINGS_SUPPORT |
9f99e9de1 MLK-18591-3 andro... |
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
help This enables the boota command for booting android images. config BCB_SUPPORT bool "Enable the boot control block support" depends on FSL_FASTBOOT help This enables the boot control block support for android reboot command config FASTBOOT_LOCK bool "Enable the lock and unlock feature to the partitions" depends on FSL_FASTBOOT help This enables the lock support for android flashing command config FASTBOOT_USB_DEV int "USB controller number" default 0 help Some boards have USB OTG controller other than 0. Define this option so it can be used in compiled environment (e.g. in CONFIG_BOOTCOMMAND). |
b0cce3f90 cmd: fastboot: Kc... |
122 123 |
choice prompt "Flash provider for FASTBOOT" |
9f99e9de1 MLK-18591-3 andro... |
124 |
depends on FASTBOOT_FLASH && !FSL_FASTBOOT |
b0cce3f90 cmd: fastboot: Kc... |
125 126 127 128 129 130 131 |
config FASTBOOT_FLASH_MMC bool "FASTBOOT on MMC" depends on MMC config FASTBOOT_FLASH_NAND bool "FASTBOOT on NAND" |
88718be30 mtd: rename CONFI... |
132 |
depends on MTD_RAW_NAND && CMD_MTDPARTS |
b0cce3f90 cmd: fastboot: Kc... |
133 134 |
endchoice |
e016f0b2c fastboot: impleme... |
135 136 |
config FASTBOOT_FLASH_MMC_DEV int "Define FASTBOOT MMC FLASH default device" |
b0cce3f90 cmd: fastboot: Kc... |
137 |
depends on FASTBOOT_FLASH_MMC |
a9af59a30 fastboot: rockchi... |
138 |
default 0 if ARCH_ROCKCHIP |
de86fc385 sunxi: Remove the... |
139 140 |
default 0 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1 default 1 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1 |
e016f0b2c fastboot: impleme... |
141 142 143 144 |
help The fastboot "flash" command requires additional information regarding the non-volatile storage device. Define this to the eMMC device that fastboot should use to store the image. |
7dec673ea cmd: fastboot: En... |
145 |
|
4085b9030 fastboot: Migrate... |
146 147 148 149 150 151 |
config FASTBOOT_FLASH_NAND_TRIMFFS bool "Skip empty pages when flashing NAND" depends on FASTBOOT_FLASH_NAND help When flashing NAND enable the DROP_FFS flag to drop trailing all-0xff pages. |
1fdbad021 fastboot: mt85xx:... |
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
config FASTBOOT_MMC_BOOT1_SUPPORT bool "Enable EMMC_BOOT1 flash/erase" depends on FASTBOOT_FLASH_MMC && EFI_PARTITION && ARCH_MEDIATEK help The fastboot "flash" and "erase" commands normally does operations on EMMC userdata. Define this to enable the special commands to flash/erase EMMC_BOOT1. The default target name for updating EMMC_BOOT1 is "mmc0boot0". config FASTBOOT_MMC_BOOT1_NAME string "Target name for updating EMMC_BOOT1" depends on FASTBOOT_MMC_BOOT1_SUPPORT default "mmc0boot0" help The fastboot "flash" and "erase" commands support operations on EMMC_BOOT1. This occurs when the specified "EMMC_BOOT1 name" on the "fastboot flash" and "fastboot erase" commands match the value defined here. The default target name for updating EMMC_BOOT1 is "mmc0boot0". config FASTBOOT_MMC_USER_NAME string "Target name for erasing EMMC_USER" depends on FASTBOOT_FLASH_MMC && EFI_PARTITION && ARCH_MEDIATEK default "mmc0" help The fastboot "erase" command supports erasing EMMC_USER. This occurs when the specified "EMMC_USER name" on the "fastboot erase" commands match the value defined here. The default target name for erasing EMMC_USER is "mmc0". |
6f6c86309 fastboot: move FA... |
181 182 |
config FASTBOOT_GPT_NAME string "Target name for updating GPT" |
42d8dd442 fastboot: Correct... |
183 |
depends on FASTBOOT_FLASH_MMC && EFI_PARTITION |
6f6c86309 fastboot: move FA... |
184 185 186 187 188 189 190 191 192 193 194 195 |
default "gpt" help The fastboot "flash" command supports writing the downloaded image to the Protective MBR and the Primary GUID Partition Table. (Additionally, this downloaded image is post-processed to generate and write the Backup GUID Partition Table.) This occurs when the specified "partition name" on the "fastboot flash" command line matches the value defined here. The default target name for updating GPT is "gpt". config FASTBOOT_MBR_NAME string "Target name for updating MBR" |
42d8dd442 fastboot: Correct... |
196 |
depends on FASTBOOT_FLASH_MMC && DOS_PARTITION |
6f6c86309 fastboot: move FA... |
197 198 199 200 201 202 |
default "mbr" help The fastboot "flash" command allows to write the downloaded image to the Master Boot Record. This occurs when the "partition name" specified on the "fastboot flash" command line matches the value defined here. The default target name for updating MBR is "mbr". |
3845b9065 fastboot: Add sup... |
203 204 205 206 207 208 209 |
config FASTBOOT_CMD_OEM_FORMAT bool "Enable the 'oem format' command" depends on FASTBOOT_FLASH_MMC && CMD_GPT help Add support for the "oem format" command from a client. This relies on the env variable partitions to contain the list of partitions as required by the gpt command. |
c29487317 fastboot: simplif... |
210 |
endif # FASTBOOT |
312a10f16 fastboot: Move fa... |
211 212 |
endmenu |