CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 6822|回复: 4

CT, Lubuntu 12.04 VGA显示

[复制链接]
发表于 2013-11-3 00:21:29 | 显示全部楼层 |阅读模式
如题,少了LUBUNTU的Img,默认使用HDMI显示,我没有高清线,想切换成VGA输出,要怎样做。

在/dev/下发现 fb0,fb1两个设备
写了个framebuffer驱动测试/dev/fb1,看起来应该是VGA的,但是接上显示器就是没有输出.不解。{:soso_e101:}
Fixed screen info:
        id:
        smem_start: 0x0
        smem_len: 6144000
        type: 0
        type_aux: 0
        visual: 2
        xpanstep: 1
        ypanstep: 1
        ywrapstep: 0
        line_length: 3200
        mmio_start: 0x0
        mmio_len: 0
        accel: 0

Variable screen info:
        xres: 800
        yres: 480
        xres_virtual: 800
        yres_virtual: 960
        yoffset: 0
        xoffset: 0
        bits_per_pixel: 32
        grayscale: 0
        red: offset: 16, length:  8, msb_right:  0
        green: offset:  8, length:  8, msb_right:  0
        blue: offset:  0, length:  8, msb_right:  0
        transp: offset: 24, length:  8, msb_right:  0
        nonstd: 0
        activate: 128
        height: 0
        width: 0
        accel_flags: 0x0
        pixclock: 0
        left_margin: 0
        right_margin: 0
        upper_margin: 0
        lower_margin: 0
        hsync_len: 0
        vsync_len: 0
        sync: 0
        vmode: 0


回复

使用道具 举报

发表于 2013-11-4 11:57:24 | 显示全部楼层
介绍一种方法:

参考下面的教程,
http://docs.cubieboard.org/tutorials/ct1/development/booting_from_usb_otg_port

1. 可以通过fex2bin/bin2fex把包里面的script.bin修改成VGA输出的
2. 通过usb启动进入系统,此时VGA上是有控制台终端的
3. 修改/dev/nanda上的script.bin文件,改成VGA输出即可。

如果中间遇到问题可以贴出来,我会告诉你怎么解决。

回复 支持 反对

使用道具 举报

发表于 2013-11-4 12:00:44 | 显示全部楼层
另一种方法是,通过串口线连接后,直接修改script.bin
参考http://linux-sunxi.org/Display
把screen0_output_type改成4即可。同时建议采用ct最新的固件
http://docs.cubieboard.org/tutor ... _installation_v1.00
回复 支持 反对

使用道具 举报

发表于 2013-11-4 12:01:43 | 显示全部楼层
ssh过去也可以,默认用户名和密码是linaro/linaro
回复 支持 反对

使用道具 举报

发表于 2013-11-5 12:35:13 | 显示全部楼层
有vga版的CT镜像下载,在“文档”里搜索vga
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-19 20:01 , Processed in 0.022921 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部