[Uboot-stm32] [PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Aug 16 15:03:26 CEST 2023



On 8/16/23 14:08, Patrice CHOTARD wrote:
> 
> 
> On 8/14/23 16:35, Dario Binacchi wrote:
>> Patrice, All
>>
>> On Mon, Aug 7, 2023 at 9:41 AM Patrice CHOTARD
>> <patrice.chotard at foss.st.com> wrote:
>>>
>>>
>>>
>>> On 7/10/23 21:02, Dario Binacchi wrote:
>>>> Hi Patrick,
>>>>
>>>> On Mon, Jul 10, 2023 at 1:31 PM Patrick Delaunay
>>>> <patrick.delaunay at foss.st.com> wrote:
>>>>>
>>>>> Display the STMicroelectronics logo with features VIDEO_LOGO and
>>>>> SPLASH_SCREEN on STMicroelectronics boards.
>>>>>
>>>>> With CONFIG_SYS_VENDOR = "st", the logo st.bmp is selected, loaded at the
>>>>> address indicated by splashimage and centered with "splashpos=m,m".
>>>>>
>>>>> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>>>>> ---
>>>>>
>>>>>  MAINTAINERS                           |   1 +
>>>>>  configs/stm32mp15_basic_defconfig     |   3 +++
>>>>>  configs/stm32mp15_defconfig           |   3 +++
>>>>>  configs/stm32mp15_trusted_defconfig   |   3 +++
>>>>>  include/configs/stm32mp15_st_common.h |   4 +++-
>>>>>  tools/logos/st.bmp                    | Bin 0 -> 18244 bytes
>>>>>  6 files changed, 13 insertions(+), 1 deletion(-)
>>>>>  create mode 100644 tools/logos/st.bmp
>>>>>
>>>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>>>> index d724b6467344..dfe9409bc7fe 100644
>>>>> --- a/MAINTAINERS
>>>>> +++ b/MAINTAINERS
>>>>> @@ -578,6 +578,7 @@ F:  include/dt-bindings/clock/stm32mp*
>>>>>  F:     include/dt-bindings/pinctrl/stm32-pinfunc.h
>>>>>  F:     include/dt-bindings/reset/stm32mp*
>>>>>  F:     include/stm32_rcc.h
>>>>> +F:     tools/logos/st.bmp
>>>>>  F:     tools/stm32image.c
>>>>>  N:     stm
>>>>>  N:     stm32
>>>>> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
>>>>> index 424ae5dbdfaf..9ea5aaa7145a 100644
>>>>> --- a/configs/stm32mp15_basic_defconfig
>>>>> +++ b/configs/stm32mp15_basic_defconfig
>>>>> @@ -171,6 +171,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0483
>>>>>  CONFIG_USB_GADGET_PRODUCT_NUM=0x5720
>>>>>  CONFIG_USB_GADGET_DWC2_OTG=y
>>>>>  CONFIG_VIDEO=y
>>>>> +CONFIG_VIDEO_LOGO=y
>>>>>  CONFIG_BACKLIGHT_GPIO=y
>>>>>  CONFIG_VIDEO_LCD_ORISETECH_OTM8009A=y
>>>>>  CONFIG_VIDEO_LCD_RAYDIUM_RM68200=y
>>>>> @@ -178,6 +179,8 @@ CONFIG_VIDEO_STM32=y
>>>>>  CONFIG_VIDEO_STM32_DSI=y
>>>>>  CONFIG_VIDEO_STM32_MAX_XRES=1280
>>>>>  CONFIG_VIDEO_STM32_MAX_YRES=800
>>>>> +CONFIG_SPLASH_SCREEN=y
>>>>> +CONFIG_SPLASH_SCREEN_ALIGN=y
>>>>>  CONFIG_BMP_16BPP=y
>>>>>  CONFIG_BMP_24BPP=y
>>>>>  CONFIG_BMP_32BPP=y
>>>>> diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig
>>>>> index 2700b5c49910..4d0a81f8a871 100644
>>>>> --- a/configs/stm32mp15_defconfig
>>>>> +++ b/configs/stm32mp15_defconfig
>>>>> @@ -147,6 +147,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0483
>>>>>  CONFIG_USB_GADGET_PRODUCT_NUM=0x5720
>>>>>  CONFIG_USB_GADGET_DWC2_OTG=y
>>>>>  CONFIG_VIDEO=y
>>>>> +CONFIG_VIDEO_LOGO=y
>>>>>  CONFIG_BACKLIGHT_GPIO=y
>>>>>  CONFIG_VIDEO_LCD_ORISETECH_OTM8009A=y
>>>>>  CONFIG_VIDEO_LCD_RAYDIUM_RM68200=y
>>>>> @@ -154,6 +155,8 @@ CONFIG_VIDEO_STM32=y
>>>>>  CONFIG_VIDEO_STM32_DSI=y
>>>>>  CONFIG_VIDEO_STM32_MAX_XRES=1280
>>>>>  CONFIG_VIDEO_STM32_MAX_YRES=800
>>>>> +CONFIG_SPLASH_SCREEN=y
>>>>> +CONFIG_SPLASH_SCREEN_ALIGN=y
>>>>>  CONFIG_BMP_16BPP=y
>>>>>  CONFIG_BMP_24BPP=y
>>>>>  CONFIG_BMP_32BPP=y
>>>>> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
>>>>> index 5b94e0c6d2e7..0a7d8624858d 100644
>>>>> --- a/configs/stm32mp15_trusted_defconfig
>>>>> +++ b/configs/stm32mp15_trusted_defconfig
>>>>> @@ -147,6 +147,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0483
>>>>>  CONFIG_USB_GADGET_PRODUCT_NUM=0x5720
>>>>>  CONFIG_USB_GADGET_DWC2_OTG=y
>>>>>  CONFIG_VIDEO=y
>>>>> +CONFIG_VIDEO_LOGO=y
>>>>>  CONFIG_BACKLIGHT_GPIO=y
>>>>>  CONFIG_VIDEO_LCD_ORISETECH_OTM8009A=y
>>>>>  CONFIG_VIDEO_LCD_RAYDIUM_RM68200=y
>>>>> @@ -154,6 +155,8 @@ CONFIG_VIDEO_STM32=y
>>>>>  CONFIG_VIDEO_STM32_DSI=y
>>>>>  CONFIG_VIDEO_STM32_MAX_XRES=1280
>>>>>  CONFIG_VIDEO_STM32_MAX_YRES=800
>>>>> +CONFIG_SPLASH_SCREEN=y
>>>>> +CONFIG_SPLASH_SCREEN_ALIGN=y
>>>>>  CONFIG_BMP_16BPP=y
>>>>>  CONFIG_BMP_24BPP=y
>>>>>  CONFIG_BMP_32BPP=y
>>>>> diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h
>>>>> index b45982a35b8c..60838cb0e3f0 100644
>>>>> --- a/include/configs/stm32mp15_st_common.h
>>>>> +++ b/include/configs/stm32mp15_st_common.h
>>>>> @@ -10,7 +10,9 @@
>>>>>
>>>>>  #define STM32MP_BOARD_EXTRA_ENV \
>>>>>         "usb_pgood_delay=2000\0" \
>>>>> -       "console=ttySTM0\0"
>>>>> +       "console=ttySTM0\0" \
>>>>> +       "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
>>>>> +       "splashpos=m,m\0"
>>>>>
>>>>>  #include <configs/stm32mp15_common.h>
>>>>>
>>>>> diff --git a/tools/logos/st.bmp b/tools/logos/st.bmp
>>>>> new file mode 100644
>>>>> index 0000000000000000000000000000000000000000..f59d3c5cef6b8bce5213a1ef42a9cdaa3c5dbc58
>>>>> GIT binary patch
>>>>> literal 18244
>>>>> zcmeHvcUV-((s!LXVPJqEg9Hfz>WVo>42Tg_%$P;Qw63nQ=A5&b5zOKWq9|ZOKv57>
>>>>> z1OZ9TpyV(E6ZYo#-mm%$0|+yFpYPxIdH1=!JLh!$s;j%JtE=i1cZ}cI at xcG%#Q^+>
>>>>> zzm`w{<=7}Nzy`p116Ueq+Hd$w+L-avH{yT(zy1-lp`PqUgI^a at nCfW@{=J-FdS5q~
>>>>> zIiL&79_$HohV_B~uf8yE)BsrEJs1}H41>kvy<o}2Q4l!U8<zR`K+x3j5bQq at R?P5)
>>>>> zm9wV6>e<s^&0K%@ao!AAJAW3eTQ~>SFAjj8m&}6=feT>cvV{;5v=}x8FNMu30%6Ol
>>>>> zAlSNkIc!@K4BOYPgdIPvf}QKuz^?T_!tM=gVb8{Ous38q?EB?s*uQB59M}>92e<wL
>>>>> zhqi5k!`nB*ksVv$=+3QhY}a-;zIz88-?I}=?A-+?_w9yL2ll|}gL@(L&^|bGct4yy
>>>>> zasb;wICu0AoIiFLE*w7s7f&38ODB)PrBlZt?DPq^9C{MM&zypYv!@~ATqs;Qe+I6e
>>>>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wd!rv<NNnx4h?^nn=
>>>>> z;Q8d7eO8}I{1%J7X+3}*a#u#GwuRY2R$v*`;t?8=6DhXoxgoX;;)r(a#hc4FvP?!S
>>>>> zwxO~*eTN9F=6!A6ccka+=3Oh0sS>bXu?2IjP62l-iG4LxecaQJ0`QY)Yhc$KAhoT}
>>>>
>>>>> zjz?J)s86g)a%$=vVCMo8u%IXYttN;p`}xhA8!%&x8;ehj<D8$LH_de;o=(oH`{Ye`
>>>>> zzu*ke=k_5!w*_ at t(+`G6OlgX<UldbIq((n`4%m}p#dHmCqA)1DvM4w-wMZ6^{VK_s
>>>>> unf42SnZIyjBI!qMXR1 at uOP?ZdS?+VNPX;C_`E4ob`@jF+g#Se=K>a_RI-jlp
>>>>>
>>>>> literal 0
>>>>> HcmV?d00001
>>>>>
>>>>> --
>>>>> 2.25.1
>>>>>
>>>>
>>>> I downloaded the patch from Patchwork, but when I apply it (git am
>>>> board-stm32mp1-add-splash-screen-with-stmicroelectronics-logo.patch),
>>>> the file tools/logos/st.bmp is empty, and the compilation fails.
>>>> I'm sorry for the stupid question, but what am I doing wrong?
>>>>
>>>> Thanks and regards,
>>>> Dario
>>>
>>> Hi Dario
>>>
>>> I applied this patch on v2023.07 U-Boot tags and everything works fine, no
>>> compilation errors and the logo is displayed as described in Patrick's patch.
>>
>> I run the next commands:
>> $ git checkout -b 2023.07 v2023.07
>> $ git am ~/Downloads/board-stm32mp1-add-splash-screen-with-stmicroelectronics-logo.patch
>>
>>>
>>> The tools/logos/st.bmp is not empty, its size is 18244 bytes.
>>
>> $ file tools/logos/st.bmp
>> tools/logos/st.bmp: empty
> 
> 
> Hi Dario
> 
> I found the reason why we got different behavior.
> 
> In my side i retrieved the patch from my mailer (Thunderbird) and not
> from patchwork as you did.
> 
> I confirm, from patchwork i get the same issue as yours, there is an
> issue with binary part of the patch => st.bmp file
> 
> When part of the patch include binary, we should use --binary option 
> which was not the case when Patrick generated this patch.
> 
> I will resubmit the patch with correct option.

I generate again this patch using --binary and full-index options, i submitted it
to the mailing list but unfortunately, the issue is the same.

It seems that patchwork can't handle correctly patch included binary parts.

Please find attached the patch to try in your side

Patrice

> 
> Thanks for pointing this issue.
> 
> Patrice
> 
>>
>>>
>>> Can you show the compilation error you get ?
>>>
>>
>> HOSTCC  tools/spl_size_limit
>> tools/bmp_logo --gen-info ./tools/logos/st.bmp > include/bmp_logo.h
>> ERROR: Input file is not a bitmap
>> make[3]: *** [tools/Makefile:315: include/bmp_logo.h] Error 1
>> make[3]: *** Deleting file 'include/bmp_logo.h'
>> make[3]: *** Waiting for unfinished jobs....
>> make[2]: *** [Makefile:1853: tools] Error 2
>> make[1]: *** [package/pkg-generic.mk:293:
>> /home/dario/projects/passgat/stm32mp157f-dk2/buildroot/output/build/uboot-custom/.stamp_built]
>> Error 2
>> make: *** [Makefile:82: _all] Error 2
>>
>> Thanks and regards,
>> Dario
>>
>>> Thanks
>>> Patrice
>>
>>
>>
> _______________________________________________
> Uboot-stm32 mailing list
> Uboot-stm32 at st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-board-stm32mp1-add-splash-screen-with-stmicroelectro.patch
Type: text/x-patch
Size: 17486 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230816/98a977af/attachment.bin>


More information about the U-Boot mailing list