ChinaUnix.net
相关文章推荐:

make Image zImage uImage

内核编译(make)之后会生成两个文件,一个image,一个zimage,其中image为内核映像文件,而zimage为内核的一种映像压缩文件,image大约为4M,而zimage不到2M。

那么uimage又是什么的?它是uboot专用的映像文件,它是在zimage之前加上一个长度为64字节的“头”,说明这个内核的版本、加载位置、生成时间、...

by jerry20000 - 移动操作系统 - 2011-12-23 03:35:27 阅读(919) 回复(0)

相关讨论

转:http://www.cublog.cn/u3/111247/showart_2250036.html


 一、vmlinuz

vmlinuz是可引导的、压缩的内核。“vm”代表“Virtual Memory”。Linux 支持虚拟内存,不像老的操作系统比如DOS有640KB内存的限制。Linux能够使用硬盘空间作为虚拟内存,因此得名“vm”。
vmlinuz的建立有两种方式。一是编译内核时通过“m...

by yuweixian4230 - 移动操作系统 - 2011-12-20 09:44:09 阅读(763) 回复(0)

编译内核后使其直接生成uimage,要观察生成过程,使用了如下命令编译: make O=/tmp/test V=1 uimage > make.log 编译后在/tmp/test下生成了vmlinux $ ls -sh vmlinux 2.5M vmlinux -------生成的vmlinux 为 2.5M $ ls -sh arch/arm/boot/ 总用量 3.6M 4.0K compressed 1.8M image 908K uimage 908K zimage -------生成的uimage与zimage差不多大小,猜想内核编译时生成的 ...

by changyongID - Linux文档专区 - 2010-01-15 18:49:38 阅读(2659) 回复(0)

E=usb -c -o usb.o usb.c In file included from usb.c:187: unusual_devs.h:310: `UX_FL_MODE_XLATE' undeclared here (not in a function) unusual_devs.h:310: initializer element is not constant unusual_devs.h:310: (near initialization for `us_unusual_dev_list[30].flags') make[4]: *** [usb.o] Error 1 make[4]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/usb/storage' make[3]: *** [first_rule] Error...

by 飞天二狭 - Linux论坛 - 2004-09-12 20:55:55 阅读(1126) 回复(4)

E=usb -c -o usb.o usb.c In file included from usb.c:187: unusual_devs.h:310: `UX_FL_MODE_XLATE' undeclared here (not in a function) unusual_devs.h:310: initializer element is not constant unusual_devs.h:310: (near initialization for `us_unusual_dev_list[30].flags') make[4]: *** [usb.o] Error 1 make[4]: Leaving directory `/usr/src/linux-2.4.18-3/drivers/usb/storage' make[3]: *** [first_rule] Error...

by 飞天二狭 - Linux系统管理 - 2004-09-12 20:55:55 阅读(919) 回复(4)

各位大侠:小弟初学linux不久,现在学习驱动的开发。有个问题请教下:我内核版本的binutils已经是最新版本了,为什么在make uimage时报错: 2.6 kernels no longer build correctly with old versions of binutils please upgrade your binutils to 2.12.1 or newer 但是我在输入ld -v时显示是2.18的版本了,这是为什么啊?谢谢了

by doublehead - 内核源码 - 2011-03-04 17:05:48 阅读(2021) 回复(0)

在网上查了一下uimage和zimage的区别,但是说的不清楚,特来这里求问,

by luozhao1984 - 驱动开发 - 2009-11-25 10:13:38 阅读(8322) 回复(2)

http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=embedded&Number=700811&Search=true&Forum=embedded&Words=uboot%C6%F4%B6%AFzimage&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=allposts&Main=700811 我找了一块龙珠系列mx9328的板子和一个windriver ice,于是想把上面跑起来linux,不过内核启动遇到一些,调试了1个星期,有点收获,准备记录下来,先把之前不明白的zimage和uimage差异写出来。 做个记号 1....

by dqwjack - Linux文档专区 - 2013-04-24 08:43:41 阅读(1641) 回复(1)

各位大侠:小弟初学linux不久,现在学习驱动的开发。有个问题请教下:我内核版本的binutils已经是最新版本了,为什么在make uimage时报错: 2.6 kernels no longer build correctly with old versions of binutils please upgrade your binutils to 2.12.1 or newer 但是我在输入ld -v时显示是2.18的版本了,这是为什么啊?谢谢了

by doublehead - 内核源码 - 2011-03-08 13:26:35 阅读(3114) 回复(2)

powerpc kernel 2.6.28.1 当make uimage时, 对应于uimage的流程是怎样的? 我在顶层makefile里没有找到uimage对应的操作; 然后在arch/powerpc/makefile里看到: BOOT_TARGETS = zimage zimage.initrd uimage zimage% dtbimage% treeimage.% cuimage.% simpleimage.% PHONY += $(BOOT_TARGETS) 接着在arch/powerpc/boot/makefile里看到: image-$(CONFIG_DEFAULT_Uimage) += uimage $(obj)/uimage: vmlinux $(wra...

by wilos - 嵌入式开发 - 2009-07-03 13:34:27 阅读(4429) 回复(0)

u-boot只能识别uimage格式的内核。如果使用u-boot来启动Linux的话就需要生成uimage。在linux 2.6以上的内核中,可以用make uimage去直接生成它,但是linux 2.4或者更早的linux的话,你就要自己手动去生成它。 现在我使用的是linux-2.6-22。在使用make uimage到最后一步时出现如下提示: No jigdo file or MD5 file specified! mkimage [OPTIONS] Options: -f Specify an input MD5 file. MD5s must be in jigdo's ...

by zzly_c - Linux文档专区 - 2008-12-16 17:02:41 阅读(1127) 回复(0)