导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. ggy321
    G
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 488
    • 主题 2
    • 帖子 7
    • 最佳 0
    • 群组 0

    ggy321LV 3

    @ggy321

    488
    积分
    0
    声望
    2
    资料浏览
    7
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    ggy321 取消关注 关注

    ggy321 发布的最新帖子

    • d1s + st7701s RGB颜色异常

      板子上麻雀d1s,显示屏是st7701s,spi+RGB控制的,显示彩条和色阶都没有问题微信图片_20240103130024.jpg 微信图片_20240103130019.jpg
      显示图片和lvgl演示就很怪
      微信图片_20240103130011.jpg 微信图片_20240103130028.jpg

      屏幕是18bitRGB,disp设置如下

      &disp {
      	disp_init_enable         = <1>;
      	disp_mode                = <0>;
      
      	screen0_output_type      = <1>;
      	screen0_output_mode      = <4>;
      
      	screen1_output_type      = <3>;
      	screen1_output_mode      = <4>;
      	
      	screen1_output_format    = <0>;
      	screen1_output_bits      = <0>;
      	screen1_output_eotf      = <4>;
      	screen1_output_cs        = <257>;
      	screen1_output_dvi_hdmi  = <2>;
      	screen1_output_range     = <2>;
      	screen1_output_scan      = <0>;
      	screen1_output_aspect_ratio = <8>;
      	dev0_output_type         = <1>;
      	dev0_output_mode         = <4>;
      	dev0_screen_id           = <0>;
      	dev0_do_hpd              = <0>;
      
      	dev1_output_type         = <4>;
      	dev1_output_mode         = <10>;
      	dev1_screen_id           = <1>;
      	dev1_do_hpd              = <1>;
      
      	def_output_dev           = <0>;
      	hdmi_mode_check          = <1>;
      	disp_rotation_used		 = <1>;
      	degree0					 = <0>;
      	fb0_format               = <0>;
      	fb0_buffer_num           = <1>;	
      	/*fb0_width                = <800>;*/
      	/*fb0_height               = <480>;*/  /*read from lcd*/
      	fb1_format               = <0>;
      	fb1_width                = <0>;
      	fb1_height               = <0>;
      	chn_cfg_mode             = <1>;
      
      	disp_para_zone           = <1>;
      	/*VCC-LCD*/
      /*	dc1sw-supply = <&reg_dc1sw>;*/
      	/*VCC-DSI*/
      /*	eldo3-supply = <&reg_eldo3>;*/
      	/*VCC-PD*/
      /*	dcdc1-supply = <&reg_dcdc1>;*/
      };
      

      lcd设置如下:

      &lcd0 {
      	lcd_used            = <1>;
      	lcd_driver_name     = "st7701s_3spi";
      
      	lcd_backlight       = <100>;
      
      	lcd_if          	= <0>;
      	lcd_hv_if       	= <0>;
      
      	lcd_width       	= <65>;
      	lcd_height      	= <130>;
      	lcd_x           	= <480>;
      	lcd_y           	= <960>;
      	lcd_dclk_freq   	= <30>;
      
      	lcd_hbp         	= <15>;
      	lcd_ht          	= <512>;
      	lcd_hspw        	= <2>;
      	lcd_vbp         	= <17>;
      	lcd_vt          	= <996>;
      	lcd_vspw        	= <2>;
      
      	lcd_pwm_used        = <1>;
      	lcd_pwm_ch          = <7>;
      	lcd_pwm_freq        = <1000>;
      	lcd_pwm_pol         = <0>;
      	lcd_pwm_max_limit   = <255>;
      
      	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>;
      
      	deu_mode            = <0>;
      	lcdgamma4iep        = <22>;
      	smart_color         = <90>;
      
      	lcd_gpio_0 = <&pio PE 8 GPIO_ACTIVE_HIGH>;   // RST
      	lcd_gpio_1 = <&pio PE 9 GPIO_ACTIVE_HIGH>;   // CS
      	lcd_gpio_2 = <&pio PE 7 GPIO_ACTIVE_HIGH>;   // SDA
      	lcd_gpio_3 = <&pio PE 6 GPIO_ACTIVE_HIGH>;   // SCK
      	pinctrl-0 = <&rgb18_pins_a>;
      	pinctrl-1 = <&rgb18_pins_b>;
      };
      

      屏幕的初始化代码和屏参都是卖家提供,rgb抖动开0、1、2都不正常,请大佬指点是哪里的问题!感谢!

      发布在 MR Series
      G
      ggy321
    • 回复: 芒果派 MQ Pro,MQ 的板级配置文件

      @tevet 时好时坏的😰 又不行了 ,dmesg如下

      root@TinaLinux:/# dmesg
      RTL871X: _rtw_pwr_wakeup call ips_leave....
      RTL871X: ==>ips_leave cnts:5
      RTL871X: ===>  rtw_ips_pwr_up..............
      RTL871X: ===> ips_netdrv_open.........
      RTL871X: FW does not exist before power on!!
      RTL871X: SetHwReg8188F: hci_sus_state=1
      RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1
      RTL871X: SetHwReg8188F: hci_sus_state=2
      RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
      RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
      RTL871X: PowerOnCheck: 0x1B8 test Pass.
      RTL871X: Power on ok!
      RTL871X: rtl8188f_FirmwareDownload(wlan0) tmp_ps=3
      RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
      RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
      RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
      RTL871X: rtl8188f_FirmwareDownload by IO write!
      RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050505
      RTL871X: _8051Reset8188: Finish
      RTL871X: _FWFreeToGo: Polling FW ready OK! (100, 20ms), REG_MCUFWDL:0x000505c6
      RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
      RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 220ms
      RTL871X:  <=== rtl8188f_FirmwareDownload()
      RTL871X: HalDetectPwrDownMode(): PDN=0
      RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
      RTL871X: #### hw_var_set_opmode() -4815 iface_type(0) mode = 2 ####
      RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:2
      RTL871X: kfree gain_offset 0x55:0x82060
      RTL871X:  after :0x8a060
      RTL871X: <===  rtw_ips_pwr_up.............. in 710ms
      RTL871X: nolinked power save leave
      RTL871X: ==> ips_leave.....LED(0x01028282)...
      RTL871X: survey done event(0) band:0 for wlan0
      RTL871X: rtw_indicate_scan_done(wlan0)
      RTL871X: ==>rtw_ps_processor .fw_state(8)
      RTL871X: ==>ips_enter cnts:6
      RTL871X: nolinked power save enter
      RTL871X: ===> rtw_ips_pwr_down...................
      RTL871X: ====> rtw_ips_dev_unload...
      RTL871X: SetHwReg8188F: bMacPwrCtrlOn=0
      RTL871X: SetHwReg8188F: hci_sus_state=3
      RTL871X: SetHwReg8188F: hci_sus_state=0
      RTL871X: <=== rtw_ips_pwr_down..................... in 10ms
      RTL871X: cfg80211_rtw_scan(wlan0)
      RTL871X: _rtw_pwr_wakeup call ips_leave....
      RTL871X: ==>ips_leave cnts:6
      RTL871X: ===>  rtw_ips_pwr_up..............
      RTL871X: ===> ips_netdrv_open.........
      RTL871X: FW does not exist before power on!!
      RTL871X: SetHwReg8188F: hci_sus_state=1
      RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1
      RTL871X: SetHwReg8188F: hci_sus_state=2
      RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
      RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
      RTL871X: PowerOnCheck: 0x1B8 test Pass.
      RTL871X: Power on ok!
      RTL871X: rtl8188f_FirmwareDownload(wlan0) tmp_ps=3
      RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
      RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
      RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
      RTL871X: rtl8188f_FirmwareDownload by IO write!
      RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050505
      RTL871X: _8051Reset8188: Finish
      RTL871X: _FWFreeToGo: Polling FW ready OK! (107, 10ms), REG_MCUFWDL:0x000505c6
      RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
      RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 220ms
      RTL871X:  <=== rtl8188f_FirmwareDownload()
      RTL871X: HalDetectPwrDownMode(): PDN=0
      RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
      RTL871X: #### hw_var_set_opmode() -4815 iface_type(0) mode = 2 ####
      RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:2
      RTL871X: kfree gain_offset 0x55:0x82060
      RTL871X:  after :0x8a060
      RTL871X: <===  rtw_ips_pwr_up.............. in 760ms
      RTL871X: nolinked power save leave
      RTL871X: ==> ips_leave.....LED(0x01028282)...
      RTL871X: survey done event(0) band:0 for wlan0
      RTL871X: rtw_indicate_scan_done(wlan0)
      RTL871X: ==>rtw_ps_processor .fw_state(8)
      RTL871X: ==>ips_enter cnts:7
      RTL871X: nolinked power save enter
      RTL871X: ===> rtw_ips_pwr_down...................
      RTL871X: ====> rtw_ips_dev_unload...
      RTL871X: SetHwReg8188F: bMacPwrCtrlOn=0
      RTL871X: SetHwReg8188F: hci_sus_state=3
      RTL871X: SetHwReg8188F: hci_sus_state=0
      RTL871X: <=== rtw_ips_pwr_down..................... in 10ms
      RTL871X: cfg80211_rtw_scan(wlan0)
      RTL871X: _rtw_pwr_wakeup call ips_leave....
      RTL871X: ==>ips_leave cnts:7
      RTL871X: ===>  rtw_ips_pwr_up..............
      RTL871X: ===> ips_netdrv_open.........
      RTL871X: FW does not exist before power on!!
      RTL871X: SetHwReg8188F: hci_sus_state=1
      RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1
      RTL871X: SetHwReg8188F: hci_sus_state=2
      RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
      RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
      RTL871X: PowerOnCheck: 0x1B8 test Pass.
      RTL871X: Power on ok!
      RTL871X: rtl8188f_FirmwareDownload(wlan0) tmp_ps=3
      RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
      RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
      RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
      RTL871X: rtl8188f_FirmwareDownload by IO write!
      RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050505
      RTL871X: _8051Reset8188: Finish
      RTL871X: _FWFreeToGo: Polling FW ready OK! (100, 20ms), REG_MCUFWDL:0x000505c6
      RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
      RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 230ms
      RTL871X:  <=== rtl8188f_FirmwareDownload()
      RTL871X: HalDetectPwrDownMode(): PDN=0
      RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
      RTL871X: #### hw_var_set_opmode() -4815 iface_type(0) mode = 2 ####
      RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:2
      RTL871X: kfree gain_offset 0x55:0x82060
      RTL871X:  after :0x8a060
      RTL871X: <===  rtw_ips_pwr_up.............. in 720ms
      RTL871X: nolinked power save leave
      RTL871X: ==> ips_leave.....LED(0x01028282)...
      
      
      发布在 MR Series
      G
      ggy321
    • 回复: 芒果派 MQ Pro,MQ 的板级配置文件

      @yuzukitsuru感谢大佬分享,我为麻雀编译了tina,用的最新的tina-d1-h,从git上clone了最新的补丁,编译打包正常,第一次开机时可以正常搜索到wific55baf47-f0a7-45de-a59d-a9154f2a71bb-image.png
      也可以正常连接,ping通83b715ee-622e-4812-b1ea-ca21f08216f2-image.png
      断电再次开机,就搜索不到任何wifi了,也连接不上了d6104abf-4f1f-4556-b722-a8a2b035eb65-image.png
      7807a09c-bf5b-4737-ad56-cb5f4e28406d-image.png
      一头雾水😵 麻烦大佬给看一下

      发布在 MR Series
      G
      ggy321
    • 回复: 麻雀 d1s spi tft 开坑

      @soso90 https://bbs.aw-ol.com/topic/1256/芒果派-mq-pro-mq-的板级配置文件
      可以看一下这个,我还没到这一步

      发布在 MR Series
      G
      ggy321
    • 回复: 麻雀 d1s spi tft 开坑

      @soso90 感谢大佬,我是挂载不了根目录,查了一下是sd的引脚冲突了😂

      发布在 MR Series
      G
      ggy321
    • 回复: 麻雀 d1s spi tft 开坑

      @soso90 大佬这个报错怎么解决的?我一路跟您走来报了一模一样的错误😵

      发布在 MR Series
      G
      ggy321