@willok 发表一个回复就是LV2了
A
awwwwa 发布的最佳帖子
-
R128-S2 驱动 1024x600 RGB 显示屏 并运行 LVGL
由于屏幕较大首先精简系统内存,关闭DSP核心,并将 RV 核心移到 HSPSRAM 上提高带宽。配置 LV_COLOR_DEPTH 16 提高帧率降低内存占用
patch 如下,增加了新方案r128-devkit-rgb:161ca91b-f759-4108-8bfc-85114394da0c-r128-devkit-rgb.tar.gz
编译打包即可
700ms启动 LVGL:
-
回复: 搭建开发环境,出现问了了,总是报fatal: cannot obtain manifest https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git
- 执行命令设置全局保存密码
git config --global credential.helper store
- 执行命令输入密码
git clone https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git
- 使用repo拉取sdk
repo init -u https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git -b master -m tina-v853-open.xml
由于repo更新,目前不支持通过repo输入密码,请先使用git命令输入保存密码
awwwwa 发布的最新帖子
-
回复: All available flash: 0. default 1. nor Choice [default]: 0 INFO: Prepare toolchain ... ERROR: Prepare toolchain error!
请使用
source build/envsetup.sh
lunch -
回复: V3s的USB启动问题
@jeff123a BSP引脚在V3s QFP封装并未引出,他是一个独立的引脚,在BGA封装的V3上硬件叫做 UBOOT 脚,位于 T9 球,并不是SPI_MISO引脚
-
回复: v821解码输出用AW_MPI_VDEC_SetRotate旋转90°,AW_ION_IOC_NEW_ALLOC出错,解码旋转不能用这个函数吗?
AW_ION_IOC_NEW_ALLOC 内存不够了,需要增加ion内存,修改设备树 size_pool相关节点
https://docs.aw-ol.com/docs/soc/v821/software/sdk_sys_conf#预留内存 -
回复: V821驱动8080 8bit接口TFT屏,画面割裂。
试一下加上刷cache的接口
diff --git a/drivers/video/sunxi/disp2/disp/dev_disp.c b/drivers/video/sunxi/disp2/disp/dev_disp.c index 8ddbd28..c084de0 100644 --- a/drivers/video/sunxi/disp2/disp/dev_disp.c +++ b/drivers/video/sunxi/disp2/disp/dev_disp.c @@ -3158,6 +3158,11 @@ static int disp_mem_request(int sel, u32 size) #endif } +void disp_flush_cache(dma_addr_t addr, u32 len) +{ + dma_sync_single_for_device(g_disp_drv.dev, addr, len, DMA_TO_DEVICE); +} + static int disp_mem_release(int sel) { if (sel >= DISP_MEM_NUM || sel < 0) { diff --git a/drivers/video/sunxi/disp2/disp/dev_disp.h b/drivers/video/sunxi/disp2/disp/dev_disp.h index 6478db3..cdd250f 100644 --- a/drivers/video/sunxi/disp2/disp/dev_disp.h +++ b/drivers/video/sunxi/disp2/disp/dev_disp.h @@ -327,6 +327,7 @@ int disp_resume(struct device *dev); s32 disp_create_heap(u32 pHeapHead, u32 pHeapHeadPhy, u32 nHeapSize); void *disp_malloc(u32 num_bytes, void *phy_addr); void disp_free(void *virt_addr, void *phys_addr, u32 num_bytes); +void disp_flush_cache(dma_addr_t addr, u32 len); extern s32 disp_register_sync_proc(void (*proc) (u32)); extern s32 disp_unregister_sync_proc(void (*proc) (u32)); diff --git a/drivers/video/sunxi/disp2/disp/fb_platform.c b/drivers/video/sunxi/disp2/disp/fb_platform.c index 7e95e74..c935ecc 100644 --- a/drivers/video/sunxi/disp2/disp/fb_platform.c +++ b/drivers/video/sunxi/disp2/disp/fb_platform.c @@ -341,6 +341,8 @@ int platform_update_fb_output(void *hw_info, const struct fb_var_screeninfo *var struct disp_manager *mgr; mutex_lock(&info->lock); info->config.info.fb.crop.y = ((long long)var->yoffset) << 32; + + disp_flush_cache(info->dma_mem.device_addr,info->size); #if IS_ENABLED(CONFIG_AW_DISP2_FB_HW_ROTATION_SUPPORT) if (info->fb_rot) fb_g2d_rot_apply(info->fb_rot, &info->config, var->yoffset);
-
回复: E907配置问题:menuconfig里找不到SUNXI remote processor support,E907编译不过
SUNXI remote processor support是kernel_menuconfig