Zepan / ilichee

荔枝板DIY直播室

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uImage 使用linux-sunxi编译后可得到uImage

chifen opened this issue · comments

需要准备uImage,script.bin,boot.scr三个文件

*_回想下这三个文件的作用?
uImage
使用linux-sunxi编译后可得到uImage
script.bin
使用下面命令将fex转为bin
fex2bin a13-lichee.fex script.bin
需要根据使用的摄像头型号修改对应的fex字段
boot.scr
使用下面命令将boot.cmd转为boot.scr
mkimage -C none -A arm -T script -d boot.cmd boot.scr > *_查看fex文件和boot.cmd文件,理解各字段含义

这里没有说怎么编译 ,这里看哪个资料

fex2bin这个工具,可以通过编译sunxi-tools得到,执行make 还有sudo make install;
mkimage这个工具,应该是编译u-boot-sunxi得到的,好像应该是在u-boot-sunxi/tools文件夹下,但我没得到,只找到了mkimage.c和mkimage.h这两个文件。