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.

dm365分辨率修改问题



原本代码的lcd显示分辨率是800*480,现在我将其改成1024*600,启动参数为setenv bootargs 'console=ttyS0,115200n8 rw mem=83M video=davincifb:vid0=off:vid1=off:osd0=1024x600x32,4050K:osd1=0x0x8 dm365_imp.oper_mode=0 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=1024x600 root=/dev/nfs rw nfsroot=192.168.77.25:/home/yanggt/rootnfs/rootfs_all ip=192.168.77.26:192.168.77.25:192.168.77.1:255.255.255.0:sfv100:eth0:off'

并且在vpbe_encoder.c和davinci_platform.c里做了相应修改,vpbe_encoder.c增加了代码

{ //15
.name = VID_ENC_STD_1024x600,
.std = 1,
.if_type = VID_ENC_IF_PRGB,
.interlaced = 0,
.xres = 1024,
.yres = 600,
.fps = {50, 1},
.left_margin = 160,
.right_margin = 161,
.upper_margin = 20,
.lower_margin = 144,
.hsync_len = 1,
.vsync_len = 1,
.flags = 0},

编译好内核以后,mode检测到是1024的分辨率了,但是在视频初始化的时候,分辨率有变回了800*480,从打印信息里看是在mode_store函数里变化了,但是mode_store函数的参数不知道从哪里调用的,望高手指点迷津,更改lcd分辨率,还需要更改其他哪些文件参数?

谢谢!!!!!