把mkimage文件copy到系统/usr/local/bin目录下
之后在linux中运行如下命令:
make distclean
make menuconfig ARCH=arm 设置arm system type为S3C64XX
make uImage ARCH=arm CROSS_COMPILE=arm-linux-
(事先交叉工具链已经设置并安装好,linux版本为2.6.29)
编译到最后出现如下错误:
drivers/video/console/vgacon.c: In function 'vgacon_startup':
drivers/video/console/vgacon.c:510: error: 'PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:510: error: (Each undeclared identifier is reported only once
drivers/video/console/vgacon.c:510: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
drivers/video/console/vgacon.c:1068: error: 'PCIMEM_BASE' undeclared (first use in this function)
make[3]: *** [drivers/video/console/vgacon.o] 错误 1
make[2]: *** [drivers/video/console] 错误 2
make[1]: *** [drivers/video] 错误 2
make: *** [drivers] 错误 2
[root@localhost linux-2.6.29]#
希望给位大神解答,会加分哈
我看网上说是vga的问题,把相应的配置想取消就可以,我想知道是什么原因导致的,而且网上说如果把vga配置想取消会导致移植后驱动有问题哦,怎么回事呢。
关于linux make uImage 的问题
答案:2 悬赏:70
解决时间 2021-12-29 03:06
- 提问者网友:野性
- 2021-12-28 02:24
最佳答案
- 二级知识专家网友:承载所有颓废
- 2021-12-28 03:10
根据信息的大概意思是关于vga的支持问题,在这里我直接把关于vga的配置选项去掉不选
Device Drivers
---->Graphics support
----->Console display driver support
----->VGA text Console(这个选项不选就能解决此问题)
Device Drivers
---->Graphics support
----->Console display driver support
----->VGA text Console(这个选项不选就能解决此问题)
全部回答
- 1楼网友:承载所有颓废
- 2021-12-28 03:17
make 用来执行makefile 脚本,make uimage 用来生成内核镜像, 之所以是uimage是用来匹配uboot(一种bootloader)
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯