Hi Team
Currently we are working on imx8qxp-mek custom board on harknott branch, currently when board-boots up , after u-boot we are able see penguin logo by default . but we need to custmoize it and add our required logo .
Could any one share the steps how to proceed in yocto how to add custom logo
Thanks
Hi @Ram2
You need use devtool modify u-boot-imx to uncompress source code to workspace, modify code and generate patch ,then add the patch to uboot-imx bb file.
For adding a new logo, you need put bmp file to tools/logo, the file name should be $(BOARD).bmp or $(VENDOR).bmp.
# Generic logo
ifeq ($(LOGO_BMP),)
LOGO_BMP= $(srctree)/$(src)/logos/denx.bmp
# Use board logo and fallback to vendor
ifneq ($(wildcard $(srctree)/$(src)/logos/$(BOARD).bmp),)
LOGO_BMP= $(srctree)/$(src)/logos/$(BOARD).bmp
else
ifneq ($(wildcard $(srctree)/$(src)/logos/$(VENDOR).bmp),)
LOGO_BMP= $(srctree)/$(src)/logos/$(VENDOR).bmp
endif
endif
Then modify board/freescale/imx8qxp_mek/Kconfig, modify the SYS_VENDOR in this file, the name should be same as your bmp file's.
Hi @Zhiming_Liu
modify code and generate patch ,then add the patch to uboot-imx bb file.
[Ram] . Could you please tell what is exact modification your pointing to and i should write my own recipe and add the patch or what is the rite steps
Can you please give some more brief, I feel its high level explanation given
Since I m very new to yocto background, so not sure can we modify existing layers or not
For adding a new logo, you need put bmp file to tools/logo
[Ram] - Where I can find the tools folder.
Please feel free to share your inputs
Thanks
Hi @Ram2
You can refer this yocto guide to patch uboot source code
https://wiki.koansoftware.com/index.php/Using_devtool_to_modify_recipes_in_Yocto
Where I can find the tools folder.
-->Uboot source code folder in workspace.
Thanks @Zhiming_Liu for sharing inputs