在RK平台,logo是直接打包的img里面的,客制化修改比较麻烦,我们可以把logo放在自定义分区里面,在uboot阶段加载到内存地址里面。
1.提高logo图片大小限制上限:
diff --git a/include/configs/rk3576_common.h b/include/configs/rk3576_common.h index 425ebc0..cfb46a6 100644 --- a/include/configs/rk3576_common.h +++ b/include/configs/rk3576_common.h @@ -30,7 +30,7 @@ #undef CONFIG_SPL_RELOC_TEXT_BASE #define CONFIG_SPL_RELOC_TEXT_BASE 0x43d00000 -#define CONFIG_SYS_MALLOC_LEN (32 << 20) +#define CONFIG_SYS_MALLOC_LEN (32 << 22) #define CONFIG_SYS_CBSIZE 1024 #ifdef CONFIG_SUPPORT_USBPLUG diff --git a/include/video_rockchip.h b/include/video_rockchip.h index 6006362..df2