主题 : 请问Image和zImage有什么区别吗 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 21439
精华: 0
发帖: 14
金钱: 80 两
威望: 16 点
综合积分: 28 分
注册时间: 2010-05-16
最后登录: 2010-12-31
楼主  发表于: 2010-06-21 13:58

 请问Image和zImage有什么区别吗

如题
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-06-21 16:06
arch/arm/boot/Image(我假设你说的Image指的是这个)是由vmlinux通过objcopy -O binary而来;
arch/arm/boot/zImage是由arch/arm/boot/compressed/vmlinux通过objcopy -O binary而来

关于这些东西的最好的解释是去看kernel的Makefile,找出它们是如何生成的。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 19031
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
综合积分: 28 分
注册时间: 2010-04-15
最后登录: 2014-06-06
2楼  发表于: 2010-06-22 19:33
zImage是Image的压缩版