Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chifen opened this issue Oct 17, 2016 · 1 comment
Open

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

chifen opened this issue Oct 17, 2016 · 1 comment

Comments

@chifen
Copy link

chifen commented Oct 17, 2016

需要准备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文件,理解各字段含义

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

@Any012
Copy link

Any012 commented Dec 6, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants