1e016f0b2SSteve Raecomment "FASTBOOT" 2e016f0b2SSteve Rae 3e016f0b2SSteve Raeconfig FASTBOOT 4e016f0b2SSteve Rae bool "" 5e016f0b2SSteve Rae 6e016f0b2SSteve Raemenu "Fastboot support" 7e016f0b2SSteve Rae depends on FASTBOOT 8e016f0b2SSteve Rae 9e016f0b2SSteve Raeconfig USB_FUNCTION_FASTBOOT 10e016f0b2SSteve Rae bool "Enable USB fastboot gadget" 11e016f0b2SSteve Rae help 12e016f0b2SSteve Rae This enables the USB part of the fastboot gadget. 13e016f0b2SSteve Rae 14e016f0b2SSteve Raeconfig CMD_FASTBOOT 15e016f0b2SSteve Rae bool "Enable FASTBOOT command" 16e016f0b2SSteve Rae help 17e016f0b2SSteve Rae This enables the command "fastboot" which enables the Android 18e016f0b2SSteve Rae fastboot mode for the platform's USB device. Fastboot is a USB 19e016f0b2SSteve Rae protocol for downloading images, flashing and device control 20e016f0b2SSteve Rae used on Android devices. 21e016f0b2SSteve Rae 22e016f0b2SSteve Raeconfig ANDROID_BOOT_IMAGE 23e016f0b2SSteve Rae bool "Enable support for Android Boot Images" 24e016f0b2SSteve Rae help 25e016f0b2SSteve Rae This enables support for booting images which use the Android 26e016f0b2SSteve Rae image format header. 27e016f0b2SSteve Rae 28e016f0b2SSteve Raeif USB_FUNCTION_FASTBOOT 29e016f0b2SSteve Rae 30e016f0b2SSteve Raeconfig FASTBOOT_BUF_ADDR 31e016f0b2SSteve Rae hex "Define FASTBOOT buffer address" 32e016f0b2SSteve Rae help 33e016f0b2SSteve Rae The fastboot protocol requires a large memory buffer for 34e016f0b2SSteve Rae downloads. Define this to the starting RAM address to use for 35e016f0b2SSteve Rae downloaded images. 36e016f0b2SSteve Rae 37e016f0b2SSteve Raeconfig FASTBOOT_BUF_SIZE 38e016f0b2SSteve Rae hex "Define FASTBOOT buffer size" 39e016f0b2SSteve Rae help 40e016f0b2SSteve Rae The fastboot protocol requires a large memory buffer for 41e016f0b2SSteve Rae downloads. This buffer should be as large as possible for a 42e016f0b2SSteve Rae platform. Define this to the size available RAM for fastboot. 43e016f0b2SSteve Rae 44e016f0b2SSteve Raeconfig FASTBOOT_FLASH 45e016f0b2SSteve Rae bool "Enable FASTBOOT FLASH command" 46e016f0b2SSteve Rae help 47e016f0b2SSteve Rae The fastboot protocol includes a "flash" command for writing 48e016f0b2SSteve Rae the downloaded image to a non-volatile storage device. Define 49e016f0b2SSteve Rae this to enable the "fastboot flash" command. 50e016f0b2SSteve Rae 51e016f0b2SSteve Raeconfig FASTBOOT_FLASH_MMC_DEV 52e016f0b2SSteve Rae int "Define FASTBOOT MMC FLASH default device" 53*6f6c8630SPetr Kulhavy depends on FASTBOOT_FLASH 54e016f0b2SSteve Rae help 55e016f0b2SSteve Rae The fastboot "flash" command requires additional information 56e016f0b2SSteve Rae regarding the non-volatile storage device. Define this to 57e016f0b2SSteve Rae the eMMC device that fastboot should use to store the image. 58e016f0b2SSteve Rae 59*6f6c8630SPetr Kulhavyconfig FASTBOOT_GPT_NAME 60*6f6c8630SPetr Kulhavy string "Target name for updating GPT" 61*6f6c8630SPetr Kulhavy depends on FASTBOOT_FLASH 62*6f6c8630SPetr Kulhavy default "gpt" 63*6f6c8630SPetr Kulhavy help 64*6f6c8630SPetr Kulhavy The fastboot "flash" command supports writing the downloaded 65*6f6c8630SPetr Kulhavy image to the Protective MBR and the Primary GUID Partition 66*6f6c8630SPetr Kulhavy Table. (Additionally, this downloaded image is post-processed 67*6f6c8630SPetr Kulhavy to generate and write the Backup GUID Partition Table.) 68*6f6c8630SPetr Kulhavy This occurs when the specified "partition name" on the 69*6f6c8630SPetr Kulhavy "fastboot flash" command line matches the value defined here. 70*6f6c8630SPetr Kulhavy The default target name for updating GPT is "gpt". 71*6f6c8630SPetr Kulhavy 72*6f6c8630SPetr Kulhavyconfig FASTBOOT_MBR_NAME 73*6f6c8630SPetr Kulhavy string "Target name for updating MBR" 74*6f6c8630SPetr Kulhavy depends on FASTBOOT_FLASH 75*6f6c8630SPetr Kulhavy default "mbr" 76*6f6c8630SPetr Kulhavy help 77*6f6c8630SPetr Kulhavy The fastboot "flash" command allows to write the downloaded image 78*6f6c8630SPetr Kulhavy to the Master Boot Record. This occurs when the "partition name" 79*6f6c8630SPetr Kulhavy specified on the "fastboot flash" command line matches the value 80*6f6c8630SPetr Kulhavy defined here. The default target name for updating MBR is "mbr". 81*6f6c8630SPetr Kulhavy 82e016f0b2SSteve Raeendif # USB_FUNCTION_FASTBOOT 83e016f0b2SSteve Rae 84e016f0b2SSteve Raeendmenu 85