Platfrom: amlogic S928X
OS:Android 11
kernel:5.4.210
需求:
实现logo替换更新
实现方法:
替换步骤:
1>挂载分区,mount-o rw,remount /mnt/vendor/odm _ext
2>删除/mnt/vendor/odm_ext/logo files目录下的bump.bmp
3>串口下执行:
cat logo.img > /dev/block/logo
sync
reboot
Uboot模式下调试:
1>查看logo.img的logo
if imgread pic logo bootup $loadaddr;then osd open; osd clear; bmp display $bootup_offset; bmp scale;vout output ${outputmode};fi;
2>查看ext4上的logo
if imgread pic logo bootup $loadaddr;then osd open; osd clear;run load_bmp_logo;bmp display $bootup_offset; bmp scale;vout output ${outputmode};fi;
或者 run load_bmp_logo
3>进入uboot查看ext4文件系统对应的分区
ext4ls mmc 1:f /logo_files