Commit ae7ffee7fe9f9b2e217d051971a98e1f28290cb1
1 parent
93e0175055
Exists in
smarc-m6.0.1_2.1.0-ga
and in
2 other branches
MLK-11228-1 android: Integrate community fastboot with FSL i.MX fastboot
1. Replace the UDC driver with community's USB gadget d_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. Change the booti command to boota, due to the booti has been used for ARM64 image boot. 5. Modify boota implementation to load ramdisk and fdt to their loading addresses specified in boot.img header, while bootm won't do it for android image. 6. Modify the android image HAB implementation. Authenticate the boot.img on the "load_addr" for both SD and NAND. 7. Enable 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. 8. Use community's way to combine cmdline in boot.img and u-boot environment, not overwrite the cmdline in boot.img Signed-off-by: Ye.Li <B37916@freescale.com>
Warning! This is a large diff.
To preserve performance the diff is not shown. Please, download the diff as plain diff or email patch instead.
If you still want to see the diff click this link
Showing 30 changed files with 2267 additions and 3793 deletions Side-by-side Diff
- arch/arm/cpu/armv7/mx6/soc.c
- arch/arm/cpu/armv7/mx7/soc.c
- arch/arm/lib/board.c
- board/freescale/common/Makefile
- board/freescale/mx6qsabreauto/mx6qsabreauto.c
- board/freescale/mx6sabresd/mx6sabresd.c
- board/freescale/mx6slevk/mx6slevk.c
- board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
- board/freescale/mx6sxsabresd/mx6sxsabresd.c
- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
- board/freescale/mx7dsabresd/mx7dsabresd.c
- common/Makefile
- common/board_r.c
- common/cmd_bootm.c
- common/cmd_fastboot.c
- common/image-android.c
- common/image-fdt.c
- drivers/fastboot/fastboot.c
- drivers/usb/gadget/ci_udc.c
- drivers/usb/gadget/f_fastboot.c
- include/configs/mx6sabre_common.h
- include/configs/mx6sabreandroid_common.h
- include/configs/mx6slevkandroid.h
- include/configs/mx6sxsabreautoandroid.h
- include/configs/mx6sxsabresdandroid.h
- include/configs/mx6ul_14x14_evk_android.h
- include/configs/mx7dsabresdandroid.h
- include/fastboot.h
- include/fsl_fastboot.h
- include/image.h