diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-10 10:48:24 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 19:47:58 +0800 |
commit | d0d678fd9bbe9b115e06107f392229104de9b233 (patch) | |
tree | 00fa17609ced1332e0ae12093dadd845f042275b /cmd/fastboot | |
parent | e84160eaf5c057da45a227039c6f8a7911f43a82 (diff) | |
download | u-boot-imx-d0d678fd9bbe9b115e06107f392229104de9b233.zip u-boot-imx-d0d678fd9bbe9b115e06107f392229104de9b233.tar.gz u-boot-imx-d0d678fd9bbe9b115e06107f392229104de9b233.tar.bz2 |
MLK-12527-2 android: Add FSL android fastboot support
Integrate the FSL android fastboot features into community's fastboot.
1. Use USB gadget g_dnl driver
2. Integrate the FSL SD/SATA/NAND flash operations, since the GPT and
EFI partitions are not support by i.MX.
3. Add FDT support to community's android image.
4. Add a new boot command "boota" for android image boot. The boota
implements to load ramdisk and fdt to their loading addresses
specified in boot.img header, while bootm won't do it for android image.
5. Support the authentication of boot.img at the "load_addr" for
both SD and NAND.
6. We use new configuration CONFIG_FSL_FASTBOOT for Freescale's fastboot
with relevant header file "fsl_fastboot.h". While disabling the
configuration, the community fastboot is used.
7. Overwrite the cmdline in boot.img by using bootargs saved in local environment.
8. Add recovery and reboot-bootloader support.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 23d63ff185929fff5e392efc853d69b606ba081a)
Diffstat (limited to 'cmd/fastboot')
-rw-r--r-- | cmd/fastboot/Kconfig | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cmd/fastboot/Kconfig b/cmd/fastboot/Kconfig index 89b9e73..4a8f1af 100644 --- a/cmd/fastboot/Kconfig +++ b/cmd/fastboot/Kconfig @@ -24,6 +24,44 @@ config ANDROID_BOOT_IMAGE This enables support for booting images which use the Android image format header. +config FSL_FASTBOOT + bool "Enable FSL fastboot support" + help + This enables FSL implementation for Android fastboot. + +if FSL_FASTBOOT + +config ANDROID_RECOVERY + bool "Enable the recovery boot function" + help + This enables the Android Recovery boot function. + +config CMD_BOOTA + bool "Enable the boota command" + help + This enables the boota command for booting android images. + +choice + prompt "Android Image Storage select" + default FASTBOOT_STORAGE_MMC + +config FASTBOOT_STORAGE_MMC + bool "Using eMMC/SD for Android fastboot storage media" + +config FASTBOOT_STORAGE_NAND + bool "Using NAND flash for Android fastboot storage media" + +config FASTBOOT_STORAGE_SATA + bool "Using SATA disk for Android fastboot storage media" + +endchoice + +config FASTBOOT_SATA_NO + int "Sata device index" + depends on FASTBOOT_STORAGE_SATA + +endif #FSL_FASTBOOT + if USB_FUNCTION_FASTBOOT config FASTBOOT_BUF_ADDR |