board/stm32f769-disco: speed up U-Boot bootup
PATCH 1/1 board/stm32f769-disco: speed up U-Boot bootup
Updating the framebuffer takes quite a long time on this slow platform. The added patch allow to avoid the following cyclic warning:
cyclic function video_init took too long: 7280us vs 5000us max
Signed-off-by Dario Binacchi <[email protected]>
--- ...9-disco-Set-CYCLIC_MAX_CPU_TIME_US-t.patch | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 board/stmicroelectronics/stm32f769-disco/patches/uboot/0001-configs-stm32f769-disco-Set-CYCLIC_MAX_CPU_TIME_US-t.patch
board/stmicroelectronics/stm32f769-disco/patches/uboot/0001-configs-stm32f769-disco-Set-CYCLIC_MAX_CPU_TIME_US-t.patch new file +48 -0
@@ -0,0 +1,48 @@ +From c1bb2b62b00a68ff710d8c5635f68c83a4b8c1c8 Mon Sep 17 00:00:00 2001 +From: Patrice Chotard <[email protected]> +Date: Wed, 11 Dec 2024 09:09:35 +0100 +Subject: [PATCH] configs: stm32f769-disco: Set CYCLIC_MAX_CPU_TIME_US to 8000 + for stm32f769-disco + +Updating the framebuffer takes quite a long time on this slow patform, +set CYCLIC_MAX_CPU_TIME_US to 8000 for stm32f769-disco to avoid +following cyclic warning: + +"cyclic function video_init took too long: 7280us vs 5000us max" + +Signed-off-by: Patrice Chotard <[email protected]> +Reviewed-by: Patrick Delaunay <[email protected]> +Upstream: https://gitlab.com/u-boot/u-boot/-/commit/c1bb2b62b00a68ff710d8c5635f68c83a4b8c1c8 +Signed-off-by: Dario Binacchi <[email protected]> +--- + configs/stm32f769-disco_defconfig | 1 + + configs/stm32f769-disco_spl_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig +index 1e09c224fc0d..5be221afd2fa 100644 +--- a/configs/stm32f769-disco_defconfig ++++ b/configs/stm32f769-disco_defconfig +@@ -21,6 +21,7 @@ CONFIG_USE_BOOTARGS=y + CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" + CONFIG_SYS_PBSIZE=1050 + # CONFIG_DISPLAY_CPUINFO is not set ++CONFIG_CYCLIC_MAX_CPU_TIME_US=8000 + CONFIG_SYS_PROMPT="U-Boot > " + CONFIG_CMD_GPT=y + CONFIG_CMD_MMC=y +diff --git a/configs/stm32f769-disco_spl_defconfig b/configs/stm32f769-disco_spl_defconfig +index 787571dba0cf..7d4bda440685 100644 +--- a/configs/stm32f769-disco_spl_defconfig ++++ b/configs/stm32f769-disco_spl_defconfig +@@ -30,6 +30,7 @@ CONFIG_USE_BOOTARGS=y + CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" + CONFIG_SYS_PBSIZE=1050 + # CONFIG_DISPLAY_CPUINFO is not set ++CONFIG_CYCLIC_MAX_CPU_TIME_US=8000 + CONFIG_SPL_PAD_TO=0x9000 + CONFIG_SPL_NO_BSS_LIMIT=y + CONFIG_SPL_BOARD_INIT=y +-- +2.43.0 +
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot