在线时间120 小时
UID2008616
注册时间2013-5-8
NXP金币23
该用户从未签到
金牌会员
 
- 积分
- 3275
- 最后登录
- 1970-1-1
|
发表于 2014-9-11 17:48:38
|
显示全部楼层
The default BSP will assign both HDMI and CLAA-WVGA LCD to IPU1 DI0, so only one of them can work at the same time. To enable the four display case, the similar modification was needed.
You can apply the attached patch to 3.10.17_1.0.0 kernel. Then use the followed uboot parameters to boot up from SD card:
setenv loadaddr 0x12000000
setenv fdt_addr 0x18000000
setenv fdt_high 0xffffffff
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:dev=lcd,CLAA-WVGA,if=RGB565 video=mxcfb3:dev=ldb,LDB-XGA,if=RGB666'
setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x3000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - ${fdt_addr}'
setenv bootcmd 'run bootcmd_mmc'
saveenv
run bootcmd
By the way, before using the four frame buffers, please unblank them first:
# echo 0 > /sys/class/graphics/fb0/blank
# echo 0 > /sys/class/graphics/fb2/blank
# echo 0 > /sys/class/graphics/fb4/blank
# echo 0 > /sys/class/graphics/fb5/blank
With the above uboot video mode setting, fb0 and fb1 are the two layer frame buffer for LVDS1 panel; fb2 and fb3 are the two layer frame buffer for HDMI display; fb4 is the one layer frame buffer for CLAA WVGA LCD; fb5 is the one layer frame buffer for LVDS0 panel. |
|