[U-Boot] [RFC] fastboot: flashing to emmc hw boot (0, 1) partitions
marex at denx.de
Wed Jun 12 13:45:18 UTC 2019
On 6/12/19 3:22 PM, Igor Opaniuk wrote:
> Currently a lot of boards started (AFAIK: Colibri/Apalis
> iMX6/iMX7/iMX8QXP; TI AM56XX  etc.) using hardware boot0/1
> partitions for storing U-boot blob (which obviously speeds up the
> booting process).
> Taking into account that current implementation of fastboot driver
> does support only flashing images to "software" partitions in the user
> data area, does it make sense to add also the same support for
> It will definitely simplify and unify the way of firmware flashing, as
> currently people are playing around with `mmc partinfo`/`mmc write`
> and flashing stuff manually instead of using fastboot (where it's
> My suggestion is to introduce custom handling for `boot0` and `boot1`
> in the same manner as done for `zimage`   for re-packing Android
> boot image with the new zImage. Example of flashing:
> -> fastboot flash boot0 u-boot.img
> Question: are there any objections (why it should not be
> done)/limitations I'm not aware of?
> Thanks for your suggestions.
>  http://git.ti.com/cgit/cgit.cgi/ti-u-boot/ti-u-boot.git/tree/board/ti/am65x/README?h=ti-u-boot-2018.01
>  http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/fastboot/fb_mmc.c;h=90ca81da9b5f338f09a27873fb142d142a07933e;hb=HEAD#l389
>  http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/fastboot/fb_mmc.c;h=90ca81da9b5f338f09a27873fb142d142a07933e;hb=HEAD#l188
+CC Lukasz, Peng.
More information about the U-Boot