This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6467的framebuffer问题



板卡是SEED-DVS6467,嵌入式系统版本是montavista2.6.10,编译内核时已经添加了virtual frame buffer support,启动板卡是也有/dev/fb/0,运行播放视频程序也能正常出来视频,测试framebuffer时打开设备成功,但是报错failed to map framebuffer device to memory.于是打印framebuffer设备信息 

printf("The mem is :%d/n",finfo.smem_len);
 printf("The line_length is :%d/n",finfo.line_length);
 printf("The xres is :%d/n",vinfo.xres);
 printf("The yres is :%d/n",vinfo.yres);
 printf("bits_per_pixel is :%d/n",vinfo.bits_per_pixel);

分别是0,0,640,400,8.

设备的内存大小怎么会是0呢,因为不懂驱动部分的东西,所以也不了解这是什么意思。

以下是我的启动参数配置,是否需要修改这个?

setenv bootargs mem=120M console=ttyS0,115200n8 noinitrd rw ip=172.21.204.65:255.255.255.224:172.21.204.65 root=/dev/nfs nfsroot=172.21.204.67:/opt/nfs video=dm64xxfb:output=pal

求指导,万分感谢