Browse Source

OTA升级完、启动的时候,会先出现2秒左右的花屏界面,是因为bootloader代码里面有一张图片设置分辨率不对,将其删除后问题解决
bootloader修改后要单独编译。然后再编译一次工程

mohliy 2 months ago
parent
commit
3e49cf321d

+ 1 - 1
bootloader/application/ota_app/src/ota_recovery/recovery_main.c

@@ -291,7 +291,7 @@ int recovery_main(void)
 
 #ifdef CONFIG_DISPLAY
 	display_init();
-	display_pic(ota_img, 52, 52, 0x3b3b3b);
+	//display_pic(ota_img, 52, 52, 0x3b3b3b);
 #endif
 
 	int need_run = ota_upgrade_is_in_progress(g_ota);

+ 1 - 1
bootloader/application/recovery/src/ota_recovery/recovery_main.c

@@ -291,7 +291,7 @@ int recovery_main(void)
 
 #ifdef CONFIG_DISPLAY
 	display_init();
-	display_pic(ota_img, 52, 52, 0x3b3b3b);
+	//display_pic(ota_img, 52, 52, 0x3b3b3b);
 #endif
 
 	int need_run = ota_upgrade_is_in_progress(g_ota);

+ 40 - 0
bootloader/drivers/serial/Kconfig.acts

@@ -125,3 +125,43 @@ config UART_ACTS_PORT_1_PRIORITY
 	help
 	  Port 1 device driver initialization priority.
 
+# ---------- Port 2 ----------
+
+menuconfig UART_ACTS_PORT_2
+	bool "Enable Actions SoC UART Port 2"
+	default n
+	depends on UART_ACTS
+	help
+	  This tells the driver to configure the UART port at boot, depending on
+	  the additional configure options below.
+
+config UART_ACTS_PORT_2_NAME
+	string "Port 2 Device Name"
+	default "UART_2"
+	depends on UART_ACTS_PORT_2
+	help
+	  This is the device name for UART, and is included in the device
+	  struct. 
+
+config UART_ACTS_PORT_2_BAUD_RATE
+	int "Port 2 Baud Rate"
+	default 115200
+	depends on UART_ACTS_PORT_2
+	help
+	  The baud rate for UART port to be set to at boot.
+
+	  Leave at 0 to skip initialization.
+
+config UART_ACTS_PORT_2_IRQ_PRIORITY
+	int "Port 2 Interrupt Priority"
+	default 1
+	depends on UART_ACTS_PORT_2
+	help
+	  Port 2 Interrupt Priority
+
+config UART_ACTS_PORT_2_PRIORITY
+	int "Port 2 Init priority"
+	default 20
+	depends on UART_ACTS_PORT_2
+	help
+	  Port 2 device driver initialization priority.

+ 1 - 1
thirdparty/lib/aem/config/aem_project.h

@@ -4,7 +4,7 @@
 #pragma warning(error : 4013)
 #endif
 #define AEM_VERSION "BL_Develop_NOR"
-#define BUILD_TIME "202501081102"
+#define BUILD_TIME "202501141416"
 #define AEM_GUI_FWK_LIB_VER "2.0.0.0"
 #define APP_DOWNLOAD_URL "https://customer.com"
 #define AEM_APP_TRANS_ANIMATION 1

BIN
zephyr/boards/arm/ats3085s4_dev_watch_ext_nor/recovery.bin