yaffs2根文件系统的制作安装(附:出现的问题[drivers/video/console/vgacon.o] error 1)
——————————————————
(一)根文件系统的安装问答
——————————————————
1.首先要编译成一个文件 系统
2.是不是我那个内核有问题?重做一个试试看(反正当成生成内核 映像 的复习)。
3.yaffs2文件系统的制作
问4:解压缩后,什么也不出来了。
答:
——————————————————
(二)出现的问题
[drivers/video/console/vgacon.o] error 1
[drivers/video/console] Error 2
[drivers/video]Error 2
——————————————————
drivers/video/console/vgacon.c: In function 'vgacon_startup':...
当我们都配置好以后执行make uImage时,出现了以下的错误信息,根据信息的大概意思是关于vga的支持问题,在这里我直接把关于vga的配置选项去掉不选
Device Drivers
---->Graphics support
----->Console display driver support
----->VGA text Console(这个选项不选就能解决此问题)
CC drivers/video/console/dummycon.o
CC drivers/video/console/vgacon.o
drivers/video/console/vgacon.c: In function 'vgacon_startup':
drivers/video/console/vgacon.c:489: error: 'PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:489: error: (Each undeclared identifier is reported only once
drivers/video/console/vgacon.c:489: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
drivers/video/console/vgacon.c:1047: 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.22.6]#
——————————————————————————————————————————————
出现的问题[drivers/video/console/vgacon.o] error 1
drivers/video/console/vgacon.o:987:warning:comparison is always true due to limited range of data type
make[3]:***[drivers/video/console/vgacon.o] error 1
make[2]:***[drivers/video/console2] error 2
make[1]:***[drivers/video1] error 2
make:***[drivers] error 2
解决办法:
在make menuconfig 时
Graphics support ->
console display driver support->
vga text console(不选这个)