@yuzukitsuru 在 D1 LicheeRV Dock 移植RTL8723DS驱动 中说:
Kernel modules ->
Wireless Drivers ->
<*> kmod-net-rtl8723ds........................... RTL8723DS support (staging)
这里有两个kmod-net-rtl8723ds选项,是正常的吗?
@yuzukitsuru 在 D1 LicheeRV Dock 移植RTL8723DS驱动 中说:
Kernel modules ->
Wireless Drivers ->
<*> kmod-net-rtl8723ds........................... RTL8723DS support (staging)
这里有两个kmod-net-rtl8723ds选项,是正常的吗?
输出如下:
root@TinaLinux:/# softap_up 123 123123123
***************************
Start hostapd test!
***************************
wpa2-psk!
Start to set softap!
Message is: OK
Set softap finished!
Start to start softap!
SoftAP started successfullyHaving catch sig_chld!
Message is: OK
Start softap finished!
Having catch sig_chld!
Having catch sig_chld!
Having catch sig_chld!
Having catch sig_chld!
Having catch sig_chld!
Having catch sig_chld!
iptables v1.4.21: Couldn't load target `MASQUERADE':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
Having catch sig_chld!
enable data forward failed!
请各位大佬看看这是哪里出了问题呢?万分谢谢
找到原因了,手册上讲的屏幕支持DE+Sync和纯Sync模式,如果要使用纯Sync,建议直接将DE接低电平。原本我的连线中屏幕DE是和芯片DE连到一块的,这次我把DE直接接地,显示就正常了
屏幕型号为LQ035NC111,分辨率为320*240,带SPI但是应该无需初始化。按照手册填写好设备树、移植好屏幕后,分别使用echo 8 > /sys/class/disp/disp/attr/colorbar和echo 1 > /sys/class/disp/disp/attr/colorbar命令测试屏幕显示,屏幕如下:
使用DE截图命令:
echo 路径/bmp 文件名 > /sys/class/disp/disp/attr/capture_dump
得到的截图图像如下,说明经过 DE 处理之后图像并不存在问题:
屏幕手册中时序方面的信息如下:
设备树配置:
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "default_lcd";
lcd_if = <0>;
lcd_hv_if = <0>;
lcd_width = <70>;
lcd_height = <52>;
lcd_x = <320>;
lcd_y = <240>;
lcd_dclk_freq = <6>;
lcd_hbp = <68>;
lcd_ht = <408>;
lcd_hspw = <30>;
lcd_vbp = <18>;
lcd_vt = <262>;
lcd_vspw = <3>;
lcd_backlight = <255>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <7>;
lcd_pwm_freq = <1000000>;
lcd_pwm_pol = <0>;
lcd_bright_curve_en = <0>;
lcd_frm = <1>;
lcd_io_phase = <0x0000>;
lcd_gamma_en = <0>;
lcd_cmap_en = <0>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_rb_swap = <0>;
lcd_power = "vcc-lcd";
lcd_pin_power = "vcc-pd";
lcd_gpio_0 = <&pio PG 13 GPIO_ACTIVE_HIGH>;
lcd_gpio_1 = <&pio PE 16 GPIO_ACTIVE_HIGH>;
lcd_gpio_2 = <&pio PE 12 GPIO_ACTIVE_HIGH>;
lcd_gpio_3 = <&pio PE 15 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&rgb18_pins_a>;
pinctrl-1 = <&rgb18_pins_b>;
};
这个屏幕调试了好几天了,接线也反复排查了好几遍确认没有问题,实在是搞不明白为什么显示异常了,请各位帮忙分析看看到底是哪里出了问题呢?万分感谢!