制作 img 烧写镜像 注意:boot 内核与文件系统一起编译。 步骤一:首先需要修改 lichee\tools\pack\chips\sun8iw11p1\configs\OK40i\sys_config1024x600.fex文件, 如果想默认 HDMI 输出, 则改成
[boot_disp]
output_disp = 0
output_type = 3
output_mode = 10 然后保存后退出。 步骤二:配置 # cd /root/workspace/allwinner/A40i/bsp/lichee/ #./build.sh config Welcome to mkscript setup progress All available chips: 0. sun8iw11p1 Choice: 0 All available platforms: 0. android 1. dragonboard 2. linux 3. camdroid Choice: 2 All available kernel: 0. linux-3.10 Choice: 0 All available boards: 0. OKA40i_C 1. OKT3_C 2. a40i-p3 Choice: 0 All available buildroot: 0. buildroot 1. buildroot-201611 Choice: 1 select buildroot-201611 All available float: 0. gnueabi 1. gnueabihf Choice: 1 select gnueabihf All available qt version: 0. 5.9.0 Choice: 0 select 5.9.0 create misc_config gnueabihf All available lcd resolutions: 0. 480x272 1. 800x480 2. 800x600 3. 1024x600 4. 1024x600mipi 5. 1280x800 6. 800x480_v1 7. 800x600_v1 8. 1024x600_v1 9. 1024x600mipi_v1 10. 1280x800_v1 Choice: 3 步骤三:root@ubuntu:~/workspace/allwinner/A40i/bsp/lichee# vi .buildconfig 1 export LICHEE_CHIP=sun8iw11p1 步骤四:编译#./build.sh 步骤五:打包#./build.sh pack 这时pack目录下打包生成的镜像实际的分辨率就是1080P的。 |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-22 17:24
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.