u-boot support boot logo for duos mipi dsi

This commit is contained in:
carbon
2024-05-05 00:26:31 +08:00
parent 7bad8c0c65
commit bc8cc5a88b
11 changed files with 78 additions and 2 deletions

View File

@ -70,6 +70,25 @@ CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config # end of Sensor tuning param config
# end of Sensor settings # end of Sensor settings
#
# Panel settings
#
CONFIG_MIPI_PANEL_HX8394=y
# CONFIG_MIPI_PANEL_ILI9881C is not set
# CONFIG_MIPI_PANEL_ILI9881D is not set
# CONFIG_MIPI_PANEL_JD9366AB is not set
# CONFIG_MIPI_PANEL_NT35521 is not set
# CONFIG_MIPI_PANEL_OTA7290B is not set
# CONFIG_MIPI_PANEL_OTA7290B_1920 is not set
# CONFIG_MIPI_PANEL_ICN9707 is not set
# CONFIG_MIPI_PANEL_3AML069LP01G is not set
# CONFIG_MIPI_PANEL_ST7701 is not set
# CONFIG_MIPI_PANEL_ST7785M is not set
# CONFIG_LVDS_PANEL_EK79202 is not set
# CONFIG_I80_PANEL_ST7789V is not set
# CONFIG_I80_PANEL_ST7789V3 is not set
# end of Panel settings
# #
# uboot options # uboot options
# #

View File

@ -1,5 +1,6 @@
<physical_partition type="emmc"> <physical_partition type="emmc">
<partition label="BOOT" size_in_kb="8192" file="boot.emmc" /> <partition label="BOOT" size_in_kb="8192" file="boot.emmc" />
<partition label="MISC" size_in_kb="2048" file="logo.jpg" />
<!-- Beware that in emmc u-boot environment should be 0x40000 alignment --> <!-- Beware that in emmc u-boot environment should be 0x40000 alignment -->
<partition label="ENV" size_in_kb="128" file="" /> <partition label="ENV" size_in_kb="128" file="" />
<partition label="ROOTFS" size_in_kb="786432" file="rootfs_ext4.emmc" type="ext4"/> <partition label="ROOTFS" size_in_kb="786432" file="rootfs_ext4.emmc" type="ext4"/>

View File

@ -41,3 +41,18 @@ CONFIG_LZ4=y
CONFIG_LZMA=y CONFIG_LZMA=y
# CONFIG_TOOLS_LIBCRYPTO is not set # CONFIG_TOOLS_LIBCRYPTO is not set
CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_IS_IN_MMC=y
CONFIG_BOOTLOGO=y
CONFIG_CMD_CVI_VO=y
CONFIG_CMD_CVI_JPEG=y
CONFIG_CMD_GPIO=y
CONFIG_DM_GPIO=y
CONFIG_DWAPB_GPIO=y
CONFIG_DM_VIDEO=y
CONFIG_VIDEO_CVITEK=y
CONFIG_VIDEO_CVITEK_MAX_XRES=1920
CONFIG_VIDEO_CVITEK_MAX_YRES=1080
CONFIG_DISPLAY_CVITEK_MIPI=y
CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y

View File

@ -70,6 +70,25 @@ CONFIG_SENSOR_TUNING_PARAM="gcore_gc4653"
# end of Sensor tuning param config # end of Sensor tuning param config
# end of Sensor settings # end of Sensor settings
#
# Panel settings
#
CONFIG_MIPI_PANEL_HX8394=y
# CONFIG_MIPI_PANEL_ILI9881C is not set
# CONFIG_MIPI_PANEL_ILI9881D is not set
# CONFIG_MIPI_PANEL_JD9366AB is not set
# CONFIG_MIPI_PANEL_NT35521 is not set
# CONFIG_MIPI_PANEL_OTA7290B is not set
# CONFIG_MIPI_PANEL_OTA7290B_1920 is not set
# CONFIG_MIPI_PANEL_ICN9707 is not set
# CONFIG_MIPI_PANEL_3AML069LP01G is not set
# CONFIG_MIPI_PANEL_ST7701 is not set
# CONFIG_MIPI_PANEL_ST7785M is not set
# CONFIG_LVDS_PANEL_EK79202 is not set
# CONFIG_I80_PANEL_ST7789V is not set
# CONFIG_I80_PANEL_ST7789V3 is not set
# end of Panel settings
# #
# uboot options # uboot options
# #

View File

@ -1,4 +1,5 @@
<physical_partition type="sd"> <physical_partition type="sd">
<partition label="BOOT" size_in_kb="131072" readonly="false" file="boot.sd"/> <partition label="BOOT" size_in_kb="131072" readonly="false" file="boot.sd"/>
<partition label="MISC" size_in_kb="2048" readonly="false" file="logo.jpg"/>
<partition label="ROOTFS" size_in_kb="768432" readonly="false" file="rootfs.sd" /> <partition label="ROOTFS" size_in_kb="768432" readonly="false" file="rootfs.sd" />
</physical_partition> </physical_partition>

View File

@ -41,3 +41,18 @@ CONFIG_LZ4=y
CONFIG_LZMA=y CONFIG_LZMA=y
# CONFIG_TOOLS_LIBCRYPTO is not set # CONFIG_TOOLS_LIBCRYPTO is not set
CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_NOWHERE=y
CONFIG_BOOTLOGO=y
CONFIG_CMD_CVI_VO=y
CONFIG_CMD_CVI_JPEG=y
CONFIG_CMD_GPIO=y
CONFIG_DM_GPIO=y
CONFIG_DWAPB_GPIO=y
CONFIG_DM_VIDEO=y
CONFIG_VIDEO_CVITEK=y
CONFIG_VIDEO_CVITEK_MAX_XRES=1920
CONFIG_VIDEO_CVITEK_MAX_YRES=1080
CONFIG_DISPLAY_CVITEK_MIPI=y
CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y

View File

@ -3,7 +3,7 @@
export MV_BOARD=milkv-duos-emmc export MV_BOARD=milkv-duos-emmc
export MV_BOARD_CPU=cv1813h export MV_BOARD_CPU=cv1813h
export MV_VENDOR=milkv export MV_VENDOR=milkv
export MV_BOOTLOGO= export MV_BOOTLOGO=logo.jpg
export MV_BUILD_ENV=milkvsetup.sh export MV_BUILD_ENV=milkvsetup.sh
export MV_BOARD_LINK=cv1813h_milkv_duos_emmc export MV_BOARD_LINK=cv1813h_milkv_duos_emmc

View File

@ -0,0 +1 @@
../milkv-duos-sd/logo.jpg

View File

@ -3,7 +3,7 @@
export MV_BOARD=milkv-duos-sd export MV_BOARD=milkv-duos-sd
export MV_BOARD_CPU=cv1813h export MV_BOARD_CPU=cv1813h
export MV_VENDOR=milkv export MV_VENDOR=milkv
export MV_BOOTLOGO= export MV_BOOTLOGO=logo.jpg
export MV_BUILD_ENV=milkvsetup.sh export MV_BUILD_ENV=milkvsetup.sh
export MV_BOARD_LINK=cv1813h_milkv_duos_sd export MV_BOARD_LINK=cv1813h_milkv_duos_sd

View File

@ -26,6 +26,11 @@ image milkv-duos-sd.img {
image = "boot.vfat" image = "boot.vfat"
} }
partition logo {
image = "logo.jpg"
size = 2M
}
partition rootfs { partition rootfs {
partition-type = 0x83 partition-type = 0x83
image = "rootfs.ext4" image = "rootfs.ext4"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB