Skip to contentSkip to conversation

Enable the display of the STM32MP257F-EV1

PATCH New Dario Binacchi 1 participant 3 messages Nov 14 Arm STM32

lore
Share & tools
lore
#0 lore raw

v2 cover Enable the display of the STM32MP257F-EV1

This series enables the LVDS panel of the STM32MP257F-EV1 and shows the STMicroelectronics logo as splash screen on the STM32MP25 boards, as already done on the STM32MP15 ones.

Tested on the STM32MP257F-EV1.

Changes in v2:
- Drop the redundant MAINTAINERS entry

Dario Binacchi (2):
configs: stm32mp25: enable the LVDS panel of the STM32MP257F-EV1
board: stm32mp25: add splash screen with stmicroelectronics logo

 configs/stm32mp25_defconfig           |  10 ++++++++++
 include/configs/stm32mp25_st_common.h |   4 +++-
 tools/logos/stm32mp2.bmp              | Bin 0 -> 7802 bytes
 3 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 tools/logos/stm32mp2.bmp

---
base-commit: ff8a9bc41e4e5bdd3406932af5abb4c18064e539
branch: stm32mp2-splash-screen

Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/2 configs: stm32mp25: enable the LVDS panel of the STM32MP257F-EV1

The LVDS panel of the STM32MP257F-EV1 has a GPIO backlight. Without its driver the panel fails to probe, and so does the LVDS bridge:

stm32-display-lvds lvds@48060000: panel device error -19

Enable it, and raise the maximum framebuffer resolution to 1024x600, the resolution of the panel, from the default 640x480.

---

(no changes since v1)

 configs/stm32mp25_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/stm32mp25_defconfig +3 -0
index e55ca2e3f0f5..02e5efd1f48a 100644
@@ -95,8 +95,11 @@ CONFIG_DM_SPI=y
 CONFIG_STM32_OSPI=y
 # CONFIG_OPTEE_TA_AVB is not set
 CONFIG_VIDEO=y
+CONFIG_BACKLIGHT_GPIO=y
 CONFIG_VIDEO_STM32=y
 CONFIG_VIDEO_STM32_LVDS=y
+CONFIG_VIDEO_STM32_MAX_XRES=1024
+CONFIG_VIDEO_STM32_MAX_YRES=600
 CONFIG_WDT=y
 CONFIG_WDT_STM32MP=y
 CONFIG_WDT_ARM_SMC=y
Signature · 1 line
2.43.0
#2 lore raw

PATCH v2 2/2 board: stm32mp25: add splash screen with stmicroelectronics logo

In reply to Dario Binacchi

Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on STM32MP25 boards.

---

Changes in v2:
- Drop the redundant MAINTAINERS entry

 configs/stm32mp25_defconfig           |   7 +++++++
 include/configs/stm32mp25_st_common.h |   4 +++-
 tools/logos/stm32mp2.bmp              | Bin 0 -> 7802 bytes
 3 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 tools/logos/stm32mp2.bmp
configs/stm32mp25_defconfig +7 -0
index 02e5efd1f48a..79019d3101a3 100644
@@ -35,6 +35,7 @@ CONFIG_CMD_PWM=y
 # CONFIG_CMD_LOADB is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
+CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_RNG=y
@@ -95,11 +96,17 @@ CONFIG_DM_SPI=y
 CONFIG_STM32_OSPI=y
 # CONFIG_OPTEE_TA_AVB is not set
 CONFIG_VIDEO=y
+CONFIG_VIDEO_LOGO=y
 CONFIG_BACKLIGHT_GPIO=y
 CONFIG_VIDEO_STM32=y
 CONFIG_VIDEO_STM32_LVDS=y
 CONFIG_VIDEO_STM32_MAX_XRES=1024
 CONFIG_VIDEO_STM32_MAX_YRES=600
+CONFIG_SPLASH_SCREEN=y
+CONFIG_SPLASH_SCREEN_ALIGN=y
+CONFIG_BMP_16BPP=y
+CONFIG_BMP_24BPP=y
+CONFIG_BMP_32BPP=y
 CONFIG_WDT=y
 CONFIG_WDT_STM32MP=y
 CONFIG_WDT_ARM_SMC=y
include/configs/stm32mp25_st_common.h +3 -1
index 0b0267ae99b0..3a5b65c813ea 100644
@@ -25,7 +25,9 @@
 #define STM32MP_BOARD_EXTRA_ENV \
 	ST_STM32MP25_FWU_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/stm32mp25_common.h>
 
tools/logos/stm32mp2.bmp new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..03ae80c816472f1022923d749e9cdc8a326f6087
GIT binary patch
Signature · 1 line
2.43.0