From 45fffd0c2da8fd0f5603344cab13c48cb90dbab2 Mon Sep 17 00:00:00 2001 From: 916BGAI <916772719@qq.com> Date: Thu, 17 Oct 2024 13:37:32 +0800 Subject: [PATCH 1/2] add -latomic to linker flags for scene_auto sample --- middleware/v2/sample/scene_auto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/v2/sample/scene_auto/Makefile b/middleware/v2/sample/scene_auto/Makefile index fb785d0025..eb7b3394cd 100644 --- a/middleware/v2/sample/scene_auto/Makefile +++ b/middleware/v2/sample/scene_auto/Makefile @@ -34,7 +34,7 @@ LIBS += -lnanomsg endif EXTRA_CFLAGS = $(INCS) $(DEFS) -EXTRA_LDFLAGS = $(LIBS) -lpthread -lm -lini +EXTRA_LDFLAGS = $(LIBS) -lpthread -lm -lini -latomic .PHONY : clean all all: $(TARGET) From fab2c7e9ec826fc0869313d332e748324db85fd8 Mon Sep 17 00:00:00 2001 From: 916BGAI <916772719@qq.com> Date: Fri, 18 Oct 2024 11:30:23 +0800 Subject: [PATCH 2/2] fix lct024bsi20 mipi porch --- u-boot-2021.10/include/cvitek/cvi_panels/dsi_d240si31.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/u-boot-2021.10/include/cvitek/cvi_panels/dsi_d240si31.h b/u-boot-2021.10/include/cvitek/cvi_panels/dsi_d240si31.h index c17efede8a..44a9700ac5 100755 --- a/u-boot-2021.10/include/cvitek/cvi_panels/dsi_d240si31.h +++ b/u-boot-2021.10/include/cvitek/cvi_panels/dsi_d240si31.h @@ -22,13 +22,13 @@ #define D240SI31_VACT 640 #define D240SI31_VSA 10 -#define D240SI31_VBP 12 -#define D240SI31_VFP 3 +#define D240SI31_VBP 30 +#define D240SI31_VFP 30 #define D240SI31_HACT 480 #define D240SI31_HSA 48 -#define D240SI31_HBP 64 -#define D240SI31_HFP 16 +#define D240SI31_HBP 30 +#define D240SI31_HFP 30 #define DXQ_PIXEL_CLK(x) ((x##_VACT + x##_VSA + x##_VBP + x##_VFP) \ * (x##_HACT + x##_HSA + x##_HBP + x##_HFP) * 60 / 1000)