QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1167|回复: 2

想让内核支持Frame Buffer出现如下问题

[复制链接]
发表于 2005-11-10 20:59:18 | 显示全部楼层 |阅读模式
我用的是Red Hat. ,编译基于arm的2.4.18内核,编译工具是2.95.3。 make[2]: Entering directory `/home/lsj/linux-2.4.X/drivers/video'
make all_targets
make[3]: Entering directory `/home/lsj/linux-2.4.X/drivers/video'
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/home/lsj/linux-2.4.X/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -Uarm -nostdinc -iwithprefix include -DKBUILD_BASENAME=vgacon -c -o vgacon.o vgacon.c
vgacon.c: In function `write_vga':
vgacon.c:156: warning: cast to pointer from integer of different size
vgacon.c:157: warning: cast to pointer from integer of different size
vgacon.c: In function `vgacon_startup':
vgacon.c:283: `PCIMEM_BASE' undeclared (first use in this function)
vgacon.c:283: (Each undeclared identifier is reported only once
vgacon.c:283: for each function it appears in.)
vgacon.c: In function `vgacon_set_cursor_size':
vgacon.c:414: warning: cast to pointer from integer of different size
vgacon.c:415: warning: cast to pointer from integer of different size
vgacon.c:416: warning: cast to pointer from integer of different size
vgacon.c:417: warning: cast to pointer from integer of different size
vgacon.c:422: warning: cast to pointer from integer of different size
vgacon.c:423: warning: cast to pointer from integer of different size
vgacon.c:424: warning: cast to pointer from integer of different size
vgacon.c:425: warning: cast to pointer from integer of different size
vgacon.c: In function `vga_vesa_blank':
vgacon.c:533: warning: cast to pointer from integer of different size
vgacon.c:537: warning: cast to pointer from integer of different size
vgacon.c:538: warning: cast to pointer from integer of different size
vgacon.c:539: warning: cast to pointer from integer of different size
vgacon.c:540: warning: cast to pointer from integer of different size
vgacon.c:541: warning: cast to pointer from integer of different size
vgacon.c:542: warning: cast to pointer from integer of different size
vgacon.c:543: warning: cast to pointer from integer of different size
vgacon.c:544: warning: cast to pointer from integer of different size
vgacon.c:545: warning: cast to pointer from integer of different size
vgacon.c:546: warning: cast to pointer from integer of different size
vgacon.c:547: warning: cast to pointer from integer of different size
vgacon.c:548: warning: cast to pointer from integer of different size
vgacon.c:549: warning: cast to pointer from integer of different size
vgacon.c:550: warning: cast to pointer from integer of different size
vgacon.c:551: warning: cast to pointer from integer of different size
vgacon.c:552: warning: cast to pointer from integer of different size
vgacon.c:573: warning: cast to pointer from integer of different size
vgacon.c:574: warning: cast to pointer from integer of different size
vgacon.c:575: warning: cast to pointer from integer of different size
vgacon.c:576: warning: cast to pointer from integer of different size
vgacon.c:577: warning: cast to pointer from integer of different size
vgacon.c:578: warning: cast to pointer from integer of different size
vgacon.c:587: warning: cast to pointer from integer of different size
vgacon.c:588: warning: cast to pointer from integer of different size
vgacon.c:589: warning: cast to pointer from integer of different size
vgacon.c:590: warning: cast to pointer from integer of different size
vgacon.c:595: warning: cast to pointer from integer of different size
vgacon.c: In function `vga_vesa_unblank':
vgacon.c:605: warning: cast to pointer from integer of different size
vgacon.c:606: warning: cast to pointer from integer of different size
vgacon.c:607: warning: cast to pointer from integer of different size
vgacon.c:608: warning: cast to pointer from integer of different size
vgacon.c:609: warning: cast to pointer from integer of different size
vgacon.c:610: warning: cast to pointer from integer of different size
vgacon.c:611: warning: cast to pointer from integer of different size
vgacon.c:612: warning: cast to pointer from integer of different size
vgacon.c:613: warning: cast to pointer from integer of different size
vgacon.c:614: warning: cast to pointer from integer of different size
vgacon.c:615: warning: cast to pointer from integer of different size
vgacon.c:616: warning: cast to pointer from integer of different size
vgacon.c:617: warning: cast to pointer from integer of different size
vgacon.c:618: warning: cast to pointer from integer of different size
vgacon.c:619: warning: cast to pointer from integer of different size
vgacon.c:620: warning: cast to pointer from integer of different size
vgacon.c:626: warning: cast to pointer from integer of different size
vgacon.c: In function `vgacon_do_font_op':
vgacon.c:710: `PCIMEM_BASE' undeclared (first use in this function)
vgacon.c:823: warning: cast to pointer from integer of different size
vgacon.c:828: warning: cast to pointer from integer of different size
vgacon.c:704: warning: `charmap' might be used uninitialized in this function
vgacon.c: In funvgacon.c:863: warning: cast to pointer from integer of different size
vgacon.c:864: warning: cast to pointer from integer of different size
vgacon.c:865: warning: cast to pointer from integer of different size
vgacon.c:866: warning: cast to pointer from integer of different size
vgacon.c:876: warning: cast to pointer from integer of different size
vgacon.c:877: warning: cast to pointer from integer of different size
vgacon.c:878: warning: cast to pointer from integer of different size
vgacon.c:879: warning: cast to pointer from integer of different size
vgacon.c:880: warning: cast to pointer from integer of different size
vgacon.c:881: warning: cast to pointer from integer of different size
make[3]: *** [vgacon.o] Error 1
make[3]: Leaving directory `/home/lsj/linux-2.4.X/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/lsj/linux-2.4.X/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/home/lsj/linux-2.4.X/drivers'
make: *** [_dir_drivers] Error 2
ction `vgacon_adjust_height':
 楼主| 发表于 2005-11-10 21:01:16 | 显示全部楼层
去掉了内核中的VGA text console选项,又出现如下的问题
/usr/local/arm/2.95.3/bin/arm-linux-ld -p -X -T arch/arm/vmlinux.lds arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/mach-clps711x/clps711x.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/serial/serial.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/mtd/mtdlink.o drivers/video/video.o \
net/network.o \
arch/arm/lib/lib.a /usr/src/kernel/arm/linux-2.4.19/lib/lib.a \
--end-group \
-o vmlinux
drivers/char/char.o: In function `vt_ioctl':
drivers/char/char.o(.text+0xa524): undefined reference to `key_maps'
drivers/char/char.o(.text+0xa53: undefined reference to `keymap_count'
drivers/char/char.o(.text+0xa8dc): undefined reference to `key_maps'
drivers/char/char.o(.text+0xa8e0): undefined reference to `keymap_count'
drivers/char/char.o(.text+0xa8f4): undefined reference to `func_table'
drivers/char/char.o(.text+0xa8fc): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xa900): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xa904): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xacd0): undefined reference to `func_table'
drivers/char/char.o(.text+0xacd4): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xacd: undefined reference to `func_buf'
drivers/char/char.o(.text+0xacdc): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xace0): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xace4): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0xace: undefined reference to `accent_table'
drivers/char/char.o: In function `kbd_processkeycode':
drivers/char/char.o(.text+0x13c74): undefined reference to `key_maps'
drivers/char/char.o: In function `handle_diacr':
drivers/char/char.o(.text+0x143e0): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x143e4): undefined reference to `accent_table'
drivers/char/char.o: In function `do_fn':
drivers/char/char.o(.text+0x1443: undefined reference to `func_table'
drivers/char/char.o: In function `compute_shiftstate':
drivers/char/char.o(.text+0x147fc): undefined reference to `key_maps'
drivers/char/char.o: In function `do_slock':
drivers/char/char.o(.text+0x1497c): undefined reference to `key_maps'
make: *** [vmlinux] Error 1
回复

使用道具 举报

 楼主| 发表于 2005-11-10 21:03:01 | 显示全部楼层
在vt.c中包含了defkeymap.c总算是编过去了
但在skyeye中模拟时,又出现如下问题
我在内核中支持了Frame Buffer,在Skyeye上模拟时
(skyeye)run
starting program: /home/shutle/linux

能看到跳了一个回车,然后就不动了
我按了一下CTRL+C后,输出下面一行
LCDCON: will call ep7312_update_lcd() sim_info called
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 13:45 , Processed in 0.103162 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表