您尚未登录。

楼主 #1 2020-02-10 16:46:46

ArduinoTM
会员
注册时间: 2020-02-10
已发帖子: 4
积分: 4

淘到了一片A10广告机主板,有lvds接口,想编译一个基于主线内核的linux

目前可以使用Cubieboard的镜像点亮lcd屏(修改fex文件),但主线内核无法工作(不会写设备树驱动)
不知道各位大佬能不能帮忙看一下
以下为fex的lcd配置部分

[disp_init]
disp_init_enable = 1
disp_mode = 4
screen0_output_type = 1
screen0_output_mode = 0
screen1_output_type = 3
screen1_output_mode = 7
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
lcd0_bright = 197
lcd1_bright = 197
lcd0_screen_bright = 50
lcd0_screen_contrast = 50
lcd0_screen_saturation = 57
lcd0_screen_hue = 50
lcd1_screen_bright = 50
lcd1_screen_contrast = 50
lcd1_screen_saturation = 57
lcd1_screen_hue = 50

[lcd0_para]
lcd_used = 1
lcd_x = 1680
lcd_y = 1050
lcd_dclk_freq = 74
lcd_pwm_not_used = 0
lcd_pwm_ch = 1
lcd_pwm_freq = 30000
lcd_pwm_pol = 1
lcd_if = 3
lcd_hbp = 90
lcd_ht = 2100
lcd_vbp = 16
lcd_vt = 2260
lcd_hv_if = 0
lcd_hv_smode = 0
lcd_hv_s888_if = 0
lcd_hv_syuv_if = 0
lcd_hv_vspw = 0
lcd_hv_hspw = 0
lcd_lvds_ch = 1
lcd_lvds_mode = 0
lcd_lvds_bitwidth = 0
lcd_lvds_io_cross = 0
lcd_cpu_if = 0
lcd_frm = 0
lcd_io_cfg0 = 268435456
lcd_gamma_correction_en = 0
lcd_gamma_tbl_0 = 0x0
lcd_gamma_tbl_1 = 0x10101
lcd_gamma_tbl_255 = 0xffffff
lcd_bl_en_used = 1
lcd_bl_en = port:PH26<1><0><default><1>
lcd_power_used = 1
lcd_power = port:PH08<1><0><default><1>
lcd_pwm_used = 1
lcd_pwm = port:PI03<2><0><default><default>
lcd_gpio_0 =
lcd_gpio_1 =
lcd_gpio_2 =
lcd_gpio_3 =
lcdd0 = port:PD00<2><0><default><default>
lcdd1 = port:PD01<2><0><default><default>
lcdd2 = port:PD02<2><0><default><default>
lcdd3 = port:PD03<2><0><default><default>
lcdd4 = port:PD04<2><0><default><default>
lcdd5 = port:PD05<2><0><default><default>
lcdd6 = port:PD06<2><0><default><default>
lcdd7 = port:PD07<2><0><default><default>
lcdd8 = port:PD08<2><0><default><default>
lcdd9 = port:PD09<2><0><default><default>
lcdd10 = port:PD10<2><0><default><default>
lcdd11 = port:PD11<2><0><default><default>
lcdd12 = port:PD12<2><0><default><default>
lcdd13 = port:PD13<2><0><default><default>
lcdd14 = port:PD14<2><0><default><default>
lcdd15 = port:PD15<2><0><default><default>
lcdd16 = port:PD16<2><0><default><default>
lcdd17 = port:PD17<2><0><default><default>
lcdd18 = port:PD18<2><0><default><default>
lcdd19 = port:PD19<2><0><default><default>
lcdd20 = port:PD20<2><0><default><default>
lcdd21 = port:PD21<2><0><default><default>
lcdd22 = port:PD22<2><0><default><default>
lcdd23 = port:PD23<2><0><default><default>
lcdclk = port:PD24<2><0><default><default>
lcdde = port:PD25<2><0><default><default>
lcdhsync = port:PD26<2><0><default><default>
lcdvsync = port:PD27<2><0><default><default>

顺便问一下,u-boot中的lcd参数应该如何配置呢,感谢各位大佬

离线

楼主 #3 2020-02-10 17:22:04

ArduinoTM
会员
注册时间: 2020-02-10
已发帖子: 4
积分: 4

Re: 淘到了一片A10广告机主板,有lvds接口,想编译一个基于主线内核的linux

超级萌新 说:

bsp的uboot貌似不显示,从hdmi显示可以看下 sys_config.fex里面的注释。

目前bsp内核已经可以正常显示,u-boot还没有解决(有数据手册,但不知道具体参数如何填写),但我不知道如何将这部分配置转移到主线u-boot 参数和主线内核设备树当中去

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn