教程不错,学习了。
uart debug配置搞了很久。
hubbell 发布的最佳帖子
hubbell 发布的最新帖子
-
回复: T113-S3 MIPI + LVDS 可以实现吗
@hubbell 试过也不行, PD20脚硬件使用4.7k电阻上拉到3.3V,进linux 还是低电平。
#define panel_reset(sel, val) sunxi_lcd_gpio_set_value(sel, 0, val) code_textstatic void lcd_power_on(u32 sel) { sunxi_lcd_power_enable(sel, 0); sunxi_lcd_delay_ms(10); sunxi_lcd_power_enable(sel, 1); sunxi_lcd_delay_ms(10); sunxi_lcd_pin_cfg(sel, 1); sunxi_lcd_delay_ms(50); panel_reset(sel, 1); sunxi_lcd_delay_ms(100); panel_reset(sel, 0); sunxi_lcd_delay_ms(100); panel_reset(sel, 1); sunxi_lcd_delay_ms(100); } // 1280x800 MIPI LCD &lcd0 { lcd_used = <1>; lcd_driver_name = "he0801a068"; lcd_backlight = <100>; lcd_if = <4>; lcd_x = <800>; lcd_y = <1280>; lcd_width = <52>; lcd_height = <52>; lcd_dclk_freq = <72>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_hbp = <40>; lcd_ht = <900>; lcd_hspw = <20>; lcd_vbp = <24>; lcd_vt = <1330>; lcd_vspw = <4>; lcd_dsi_lane = <4>; lcd_dsi_if = <0>; lcd_dsi_format = <0>; lcd_dsi_te = <0>; lcd_frm = <0>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>; //reset pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>; //lcd_reset = <&pio PD 20 1 0 3 1>; //reset };
-
回复: T113-S3 MIPI + LVDS 可以实现吗
能共享一下调MIPI DSI的经验吗?我也是用T113调试,uboot都可以显示logo,到linux kernel就不能显示了,查看了一下,lcd_reset 复位脚位低了,使用lcd_reset =<&pio PD 20 GPIO_ACTIVE_HIGH>, 进入linux后PD20他还是低电平,没有找到为什么?
-
回复: ERROR:build buildroot Failed
@a937983423 系统是win10 带的ubuntu 18.04 LTS
安装时有些 软件包没有安装成功
sudo apt-get install ncurse //更新使用后面的命令 sudo apt-get install libncurses5-devsudo apt-get install libncurses5-dev:i386 //not install
sudo apt-get install libx11-dev:i386 //not install
sudo apt-get install libreadline6-dev:i386 //not install
sudo apt-get install libgl1-mesa-glx:i386 //not install
sudo apt-get install mingw32 //not install
sudo apt-get install zlib1g-dev:i386 //not install -
ERROR:build buildroot Failed
第一次编译T113代码,选择
0 .linux
2.longan
0.linux-5.4
0.t113
2.evb1_auto_nand
0.default
0.gnueabi./build.sh
编译时出错在
fs/tar/tar.mk:16: recipe for target '/mnt/f/allwinner/t113/out/t113/evb1_auto_nand/longan/buildroot/images/rootfs.tar' failed
make: *** [/mnt/f/allwinner/t113/out/t113/evb1_auto_nand/longan/buildroot/images/rootfs.tar] Error 1
make: Leaving directory '/mnt/f/allwinner/t113/buildroot/buildroot-201902'
ERROR: build buildroot Failed
INFO: mkbr failed
请问各位大神怎样解决这个问题,查看文档找不出问题,卡了。