[Uboot-stm32] [PATCH] dfu: Make DFU virtual backend SPL friendly

Marek Vasut marex at denx.de
Thu Dec 8 14:27:27 CET 2022


On 12/8/22 09:19, Patrice CHOTARD wrote:
> Hi Marek

Hello Patrice,

> I am preparing a STM32 pull request which includes this series
> 
> https://patchwork.ozlabs.org/project/uboot/patch/20221206023515.113556-1-marex@denx.de/
> 
> We got a DFU compilation issue with this series :
> 
>         arm:  +   stm32mp15_dhcom_basic
> +/usr/lib/python3/dist-packages/setuptools/dist.py:473: UserWarning: Normalizing '2023.01' to '2023.1'
> +  warnings.warn(
> +arm-linux-gnueabi-ld.bfd: drivers/dfu/dfu.o: in function `dfu_fill_entity':
> +drivers/dfu/dfu.c:548: undefined reference to `dfu_fill_entity_virt'
> +make[2]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
> +make[1]: *** [Makefile:2071: spl/u-boot-spl] Error 2
> +make: *** [Makefile:177: sub-make] Error 2
>         arm:  +   stm32mp15_dhcor_basic
> +/usr/lib/python3/dist-packages/setuptools/dist.py:473: UserWarning: Normalizing '2023.01' to '2023.1'
> +  warnings.warn(
> +arm-linux-gnueabi-ld.bfd: drivers/dfu/dfu.o: in function `dfu_fill_entity':
> +drivers/dfu/dfu.c:548: undefined reference to `dfu_fill_entity_virt'
> +make[2]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
> +make[1]: *** [Makefile:2071: spl/u-boot-spl] Error 2
> +make: *** [Makefile:177: sub-make] Error 2
> 
> 
> The correct fix is this patch below which is currently in your usb/master branch.
> I propose to take this patch in my pull request (available today or tomorrow) to make GitLab Ci tests happy.
> 
> Are you OK ?

I still have one more patch to pick/review and then I'll send USB MR.
I can ask Tom to pick it before the STM MR at which point it should all 
be fine ?


More information about the U-Boot mailing list