导航

    全志在线开发者论坛

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

    feelsighLV 5

    @qq354813374

    1169
    积分
    0
    声望
    10
    资料浏览
    24
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录
    网站 feelsight.cn

    qq354813374 取消关注 关注

    qq354813374 发布的最新帖子

    • 全志的F133通道和图层是什么关系?

      全志的F133通道和图层是什么关系?
      一个通道可以处理多个图层,那我用两个通道处理多个图层是不是这两个通道可以自动融合到一起?

      发布在 RTOS
      Q
      feelsigh
    • 回复: F133-A 驱动SST7789有没有人成功过

      @whycanservice
      按照你说的方式进行配置,现在WR有时钟信号,CS也有信号但是不对,RS也有但是也不对
      420aed24-32eb-47e4-96cd-61c18e6ba3a6-image.png

      发布在 RTOS
      Q
      feelsigh
    • F133-A 驱动SST7789有没有人成功过

      sys_config_nor.fex文件中已修改为SST7789_CPU驱动

      [lcd0]
      lcd_used            = <1>;
      
      lcd_driver_name     = "st7789v_cpu";
      
      lcd_backlight       = <150>;
      
      lcd_if              = <1>;
      lcd_x               = <240>;
      lcd_y               = <320>;
      lcd_width           = <108>;
      lcd_height          = <64>;
      lcd_dclk_freq       = <18>;
      
      lcd_pwm_used        = <1>;
      lcd_pwm_ch          = <6>;
      lcd_pwm_freq        = <50000>;
      lcd_pwm_pol         = <1>;
      lcd_pwm_max_limit   = <100>;
      
      lcd_hbp             = <60>;
      lcd_ht              = <298>;
      lcd_hspw            = <30>;
      lcd_vbp             = <340>;
      lcd_vt              = <336>;
      lcd_vspw            = <2>;
      
      lcd_frm             = <1>;
      lcd_io_phase        = <0x0000>;
      lcd_hv_clk_phase    = <0>;
      lcd_hv_sync_polarity= <0>;
      lcd_hv_data_polarity = <1>;
      lcd_gamma_en        = <0>;
      lcd_bright_curve_en = <0>;
      lcd_cmap_en         = <0>;
      
      lcdgamma4iep        = <22>;
      lcd_cpu_mode        = <1>;
      lcd_cpu_te          = <1>;
      lcd_cpu_if	    = <8>;
      lcd_hv_if	    	= <0>;
      lcd_hv_srgb_seq	    = <0>;
      lcd_rb_swap			= <0>;
      
      lcd_gpio_0 = <&pio PG 2 1 0 3 0>;
      lcd_gpio_1 = <&pio PD 21 1 0 3 0>;
      
      pinctrl-0 = <&rgb8_pins_a>;
      pinctrl-1 = <&rgb8_pins_b>;
      

      其中rgb8_pins_a 和 rgb8_pins_b 在所有文件中均未搜索到 不知道在哪调用的

      0181433c-bb57-40a3-82fd-bab0d0e1d2f2-image.png

      make menuconfig中已经打开SST7789_CPU驱动
      43568f3d-7c54-424d-b633-3beeb46cf61f-image.png

      编译报错
      b7616507-d3e5-4590-b0d6-5b9b5f72288a-image.png
      修改SST7789_CPU驱动 kmalloc 改为 malloc 后编译不报错

      /*static int bootup_flag = 0;*/
      static void LCD_panel_init(u32 sel)
      {
      	struct disp_panel_para *info =
      	    //kmalloc(sizeof(struct disp_panel_para), GFP_KERNEL);
             malloc(sizeof(struct disp_panel_para));
      
      	DBG_INFO("\n");
      	bsp_disp_get_panel_info(sel, info);
      	lcd_panel_st7789v_init(sel, info);
      
      	disp_sys_free(info);
      	return;
      }
      

      编译打包运行报错

      ===============================================================================================================
      |                  /'\_/`\       (_ )  _                      ( )( )     /' _`\    /' _`\
      |                  |     |   __   | | (_)  ___  ______  _   _ | || |     | ( ) |   | ( ) |
      |                  | (_) | /'__`\ | | | |/',__)(______)( ) ( )| || |_    | | | |   | | | |
      |                  | | | |(  ___/ | | | |\__, \        | \_/ |(__ ,__) _ | (_) | _ | (_) |
      |                  (_) (_)`\____)(___)(_)(____/        `\___/'   (_)  (_)`\___/'(_)`\___/'
      |version : V3.9.0                                                                                             |
      |commitid: bea46cdf307086132c4a8de26837731de1388ce5                                                           |
      |sunxiver: 40000                                                                                              |
      |timever : Thu, 13 Jul 2023 12:51:20 +0800                                                                    |
      |compiler: gcc version 8.4.0 (T-HEAD RISCV Tools V1.10.2 B20201104)                                           |
      |optimal : -Os -g -gdwarf-2 -gstrict-dwarf                                                                    |
      |linker  : GNU ld (GNU Binutils) 2.32                                                                         |
      |newlibc : 3.0.0                                                                                              |
      |author  : cq                                                                                                 |
      ===============================================================================================================
      
      [DBG]: [__mount_parts:0299]:                                classname=DMS
      [DBG]: [__mount_parts:0300]:                                devname=dms01
      [DBG]: [__mount_parts:0327]:                                find last lun.
      [DBG]: [__mount_parts:0357]:                                nPart = 1.
      [DBG]: [__mount_parts:0486]:                                dmsPart: "DMS\dms010" is linked to symbel "B".
      [ERR]: [esFSYS_pread:0331]:                                 fs fatal err
      [ERR]: [esFSYS_pread:0331]:                                 fs fatal err
      [ERR]: [esFSYS_pread:0331]:                                 fs fatal err
      [ERR]: [esFSYS_pread:0331]:                                 fs fatal err
      mount errno: -19!
      [DBG]: [esFSYS_mntfs:0333]:                                 melis_devfs,mount on B.
      [DBG]: [kservice_maintask:0845]:                            partition [B] plug in..
      [DBG]: [__mount_parts:0299]:                                classname=DISK
      [DBG]: [__mount_parts:0300]:                                devname=RAMDISK
      [DBG]: [__mount_parts:0327]:                                find last lun.
      [DBG]: [__mount_parts:0357]:                                nPart = 1.
      [DBG]: [__mount_parts:0486]:                                rawpart: "DISK\RAMDISK0" is linked to symbel "C".
      [ERR]: [esFSYS_mntfs:0314]:                                 identify the filesystem failure.
      [ERR]: [__mount_parts:0541]:                                mount C failure.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x0000000040032ef8.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x0000000040033110.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x00000000400331c8.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x00000000400392ca.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x00000000400393f2.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004008bbd6.
      dfs already init.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004008e3fa.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004008ee7c.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x0000000040031384.
      flash : 1
      sip : 0
      hal_spi_hw_config()2025 [spi0] clock_frequency = 50000000HZ
      hal_spi_init()2215 [spi0] DMA xfer enable
      nor_scan
      flash : 1
      sip : 0
      hal_spi_hw_config()2025 [spi0] clock_frequency = 50000000HZ
      hal_spi_init()2215 [spi0] DMA xfer enable
      nor_factory_init
      nor flash init ok
      scheduler startup
      [DBG]: [__mount_parts:0299]:                                classname=DISK
      [DBG]: [__mount_parts:0300]:                                devname=ROOTFS
      [DBG]: [__mount_parts:0327]:                                find last lun.
      [DBG]: [__mount_parts:0357]:                                nPart = 1.
      [DBG]: [__mount_parts:0486]:                                rawpart: "DISK\ROOTFS0" is linked to symbel "D".
      [DBG]: [esFSYS_mntfs:0333]:                                 minfs,mount on D.
      [DBG]: [kservice_maintask:0845]:                            partition [D] plug in..
      [DBG]: [melis_udisk_part_check:0557]:                       melis_udisk_part_check 557 copy udisk_buff
      
      [DBG]: [__mount_parts:0299]:                                classname=DISK
      [DBG]: [__mount_parts:0300]:                                devname=UDISK
      [DBG]: [__mount_parts:0327]:                                find last lun.
      [DBG]: [check_msdos_partition:0640]:
      [DBG]: [__mount_parts:0357]:                                nPart = 1.
      [DBG]: [__mount_parts:0486]:                                rawpart: "DISK\UDISK0" is linked to symbel "E".
      [DBG]: [esFSYS_mntfs:0333]:                                 fat,mount on E.
      [DBG]: [kservice_maintask:0845]:                            partition [E] plug in..
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004003a348.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004003a414.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004003a8d6.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004003ab40.
      [ERR]: [hal_ths_init:0094]:                                 0x2009404, 0x2009400, 0x2009430, 0x2009408
      
      key name:thermal_sensor key size:64 key offset:20
      
      thermal_sensor:
      f2 00 99 89 0e b0 e1 01
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x00000000400311b2.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x00000000400331d8.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x000000004003458e.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x00000000400399ae.
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x0000000040039e68.
      the cir_master_init success
      [WRN]: [do_initcall_level:0096]:                            initcall: 0x0000000040065296.
      Warning: clk pll-audio0 should not be changed, please recheck whether the operation is correct
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\mod\slib.mod.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 216, addr = 00000000e8700000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 8440, addr = 00000000e87000d8.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 568, addr = 00000000e87021d0.
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\mod\display.mod.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 10432, addr = 00000000e9a00000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 5032, addr = 00000000e9a028c0.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 1872, addr = 00000000e9a03c68.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 6264, addr = 00000000e9a043b8.
      [WRN]: [Mod_Display_MInit:1092]:                            ...Mod_Display_MInit
      [WRN]: [Mod_Display_MOpen:1105]:                            ....Mod_Display_MOpen  mp.used = 0
      [WRN]: [Mod_Display_MOpen:1115]:                            ....Mod_Display_MOpen   mod_disp_mp.mid = fa  (__mp *)&mod_disp_mp = e9a05818
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\mod\mixture.mod.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 16216, addr = 00000000e9b00000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 3572, addr = 00000000e9b03f58.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 20, addr = 00000000e9b04d4c.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 1056, addr = 00000000e9b04d60.
      [WRN]: [LoadDataFromFile:0163]:                             fileLen=14891
      
      [WRN]: [open_ram_bmp:0250]:                                 base=0x40dd0000, size=0x3a2b
      
      [WRN]: [open_ram_bmp:0279]:                                 bg pic is compress...
      [WRN]: [Parse_Pic_BMP_ByRam:0159]:                          bmp:(32, 640, 480, 2560)
      
      [WRN]: [close_bmp:0227]:                                    esMEMS_Pfree: g_pbmp_buf=40dd4000, g_bmp_size=1228854 ,Psize = 1201
      [DBG]: [layer_request:0691]:                                layer_request MOD_DISP_LAYER_WORK_MODE_SCALER
      [DBG]: [layer_request:0739]:                                requested: ch:0, id:0  disp_mgr[0].req_layer_cnt = 1
      [ERR]: [open_lcd_backlight:0627]:                           get backlight err,default to 100
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\mod\charset.mod.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 32, addr = 00000000e4400000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 1544, addr = 00000000e4400020.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 222016, addr = 00000000e4400628.
      msh />enter app_entry
      Execute startup script begin..............
               install mod para num [2]: insmod d:\mod\orange.mod
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\mod\orange.mod.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 4184, addr = 00000000e1800000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 181108, addr = 00000000e1801058.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 82956, addr = 00000000e182d3cc.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 1392, addr = 00000000e18417d8.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 280384, addr = 00000000e1841d48.
      [WRN]: [GUI_Init:0080]:                                     GUI_Init gui get scn    w = 0    h = 0
      Mod:d:\mod\orange.mod Installed!, mod id=120
               install mod para num [2]: insmod d:\apps\desktop.mod
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\apps\desktop.mod.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 3112, addr = 00000000e1f00000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 103212, addr = 00000000e1f00c28.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 35492, addr = 00000000e1f19f54.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 2192, addr = 00000000e1f229f8.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 5888, addr = 00000000e1f23288.
      [DBG]: [DESKTOP_MOpen:0091]:                                DESKTOP_MOpen.
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\apps\init.axf.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 552, addr = 00000000e1700000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 52936, addr = 00000000e1700228.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 14248, addr = 00000000e170d0f0.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 5912, addr = 00000000e1710898.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 3304, addr = 00000000e1711fb0.
      Mod:d:\apps\desktop.mod Installed!, mod id=127
      ...............Execute startup script end
      [DBG]: [msg_srv_init_key_channel:0163]:                     emit_ctr.h_keyGraber=0x40d62180
      [DBG]: [msg_srv_init_key_channel:0174]:                     LdevID=0
      [DBG]: [application_init_process:0856]:                     &           application_init_process enter!             &
      [WRN]: [power_open:0329]:                                   power_timer start
      [DBG]: [application_init_process:0874]:                     application_init_process 874 before live_init
      [DBG]: [live_init:0054]:                                    ~~~~~~~~~~~~~~before dsk_set_isn_charset~~~~~~~~~~~
      [WRN]: [audio_play_init:0413]:                              [PLAY]audio_play_init,dev:0000000040125ef0
      
      [WRN]: [audio_play_open:0575]:                              [PLAY]audio_play_open,dev:0000000040125ef0,0
      
      [DBG]: [alsa_open_pcm:0316]:                                alsa open pcm! card:[audiocodec], pcmFlag:[1](0-cap;1-play)
      [DBG]: [application_init_process:0882]:                     application_init_process 882 before gscene_bgd_init
      [DBG]: [gscene_bgd_is_file_exist:0633]:                     file is exist:d:\apps\bg_default0.bgd
      [DBG]: [gscene_bgd_init:0143]:                              bgd_com->screen_size.width = 0  bgd_com->screen_size.height = 0  ftype = 1
      [DBG]: [application_init_process:0907]:                     try to open /dev/hwsc failed!
      [DBG]: [application_init_process:0911]:                     application_init_process 911 before init_mainwin_create
      [WRN]: [init_mainwin_create:3361]:                          before GUI_ManWinCreate
      [WRN]: [init_mainwin_cb:2405]:                              Init_reg_para->poweroff:0
      [WRN]: [init_mainwin_cb:2406]:                              init_ctr->autooff_timeout:0
      [WRN]: [init_mainwin_cb:2407]:                              Init_reg_para->close_screen:0
      [WRN]: [init_mainwin_cb:2408]:                              init_ctr->closescn_timeout:0
      [WRN]: [init_dialog_uipara:0044]:                           ======get display size:width=0,height=0
      
      [WRN]: [init_dialog_uipara:0163]:                           ===========800 X 480 dialog uipara
      
      [DBG]: [__hbar_layer_create:0107]:                          hbar fb 800 46 gui_dir=0
      [DBG]: [__hbar_layer_create:0108]:                          hbar src 0 0 800 46
      [DBG]: [__hbar_layer_create:0109]:                          hbar scn 0 0 800 46
      [WRN]: [sunxi_keyboard_thread:0501]:                        filter invalid event packet!
      [WRN]: [key_msg_cb:0976]:                                   +++++++++++++++++ GUI_MSG_KEY_DOWN
      [WRN]: [GUI_WinGetMsgQueue:2559]:                           h_win empty!
      [WRN]: [GUI_PostMessage:2212]:                              get windows msgqueue failed!
      [WRN]: [dsk_power_get_voltage_level:0153]:                  info.rest_vol=-1
      [WRN]: [dsk_get_charge_state:0412]:                         in charge
      [DBG]: [reset_headbar_data:0287]:                           xxxxxx para->data.volume = 30
      [DBG]: [reset_headbar_data:0291]:                           xxxxxx bright = 0
      [DBG]: [init_mainwin_cb:2449]:                              try to open /dev/hwsc failed!
      [WRN]: [init_mainwin_create:3363]:                          after GUI_ManWinCreate
      [WRN]: [GUI_SetActiveManWin:0111]:                          active main win from no active to init.
      [WRN]: [GUI_SetActiveManWin:0122]:                          before GUI_WinLock
      [WRN]: [GUI_SetActiveManWin:0134]:                          before GUI_WinSetFocusChild
      [DBG]: [application_init_process:0917]:                     application_init_process 917 before _process_init
      [DBG]: [applet_info_manager_load_dir:0320]:                 find dir file d:\apps\desktop\app_root.desktop!
      [DBG]: [applet_info_manager_load_file:0280]:                filename = d:\apps\desktop\app_root.desktop len=124
      [WRN]: [activity_set_load_para:0666]:                       activity_set_load_para
      [WRN]: [activity_set_load_para:0682]:                       app_name=root
      [WRN]: [activity_set_load_para:0687]:                       src_name=
      [DBG]: [__activity_load_common:0408]:                       load application application://app_root.
      [DBG]: [LDR_LoadFile:0261]:                                 filepath = d:\apps\app_root.axf.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 419628, addr = 00000000e9200000.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 128708, addr = 00000000e926672c.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 84056, addr = 00000000e9285df0.
      [WRN]: [MODS_LoadSectionData:0129]:                         size 14700, addr = 00000000e929a648.
      [WRN]: [__activity_mainwin_create:0110]:                    create_info.hParent=40ebd1f8
      [WRN]: [__activity_create:0139]:                            thiz->win=40ebd738
      [DBG]: [app_home_create:0688]:                              ********  enter multi screen home application  **************
      [DBG]: [gscene_bgd_is_file_exist:0633]:                     file is exist:d:\apps\bg_default0.bgd
      [DBG]: [get_fb_from_file:0423]:                             filename=d:\apps\bg_default0.bgd
      [DBG]: [get_fb_from_file:0465]:                             bg pic is compress...
      [DBG]: [get_fb_from_file:0468]:                             compress_buf=413ef000
      =====================================================================================================
                                               EXC_LOAD_PAGE_FAULT
      =====================================================================================================
      thread: initprocess, entry: 0x00000000e1701d48, stack_base: 0x0000000041046000,stack_size: 0x00010000.
       x0:0x0000000000000000   ra:0x00000000e170b506   sp:0x0000000041055360   gp:0x0000000040111864
       tp:0x000000004020e340   t0:0x0000000000000001   t1:0x00000000400a6ec8   t2:0x0000000041509644
       s0:0x8181818181818000   s1:0x00081818181416d5   a0:0x8181818181818181   a1:0x0000000000000466
       a2:0x0000000000000001   a3:0x0000000000000008   a4:0x0000000000000001   a5:0x0000000000000000
       a6:0x0000000000000320   a7:0x0000000010000201   s2:0x0000000040124af0   s3:0x0000000000119454
       s5:0x0000000040124ae0   s5:0x8181818181818181   s6:0x0000000040143000   s7:0x00000000e170d1b0
       s8:0x00000000e170d800   s9:0x000000000005dc00  s10:0x0000000040ef5740  s11:0x0000000000000001
       t3:0x0000000000119454   t4:0x0000000000000004   t5:0x0000000000000008   t6:0x000000000000001f
      
      other:
      sepc    :0x000000004002fec8
      scause  :0x000000000000000d
      stval   :0x00000060a0648b54
      sstatus :0x0000000200004120
      sscratch:0x0000000000000000
      
      -------backtrace-----------
      backtrace : 0X4002FEC8
      backtrace : 0XE170B502
      backtrace : 0XE1709A36
      backtrace : 0XE1708414
      backtrace : 0XE1708508
      ---------------------------
      
          -----------------------------------------------TSK Usage Report----------------------------------------------------------
              name     errno    entry       stat   prio     tcb     slice stacksize      stkfree  lt    si   so       stack_range
           initbkhdle   -2   0xe170521c    running   24   0x4020ea78   15     2048        1592    15  0000 0000  [0x40dbd800-0x40dbe000]
        headbar_fresh    0   0xe17038f4    suspend   24   0x4020e898   15     8192        7560    15  0000 0000  [0x41312000-0x41314000]
           0xE1F0D710    0   0xe1f0d710    suspend   24   0x4020e6b8   15    16384       15536    15  0000 0000  [0x40efd000-0x40f01000]
         appmsg2emitq    0   0xe1f0f6d4    suspend    9   0x4020e4d8   20     4096        3464    20  0000 0000  [0x41043000-0x41044000]
          initprocess    0   0xe1701d48    running   24   0x4020e2f8   15    65536       59184    05  0000 0000  [0x41046000-0x41056000]
         emitq2orange   -2   0xe1f1101c    running   24   0x4020e118   15     4096        2688    11  0000 0000  [0x41042000-0x41043000]
             OrangTmr    0   0xe1812e5e    suspend    9   0x4020df38   20     4096        3544    20  0000 0000  [0x40eb7000-0x40eb8000]
               tshell    0   0x4009061e    suspend   20   0x4020dd58   10    16384       12768    08  0000 0000  [0x40e19000-0x40e1d000]
             kb_input    0   0x40098c80    suspend    3   0x4020db78   10     4096        2248    09  0000 0000  [0x40e0f000-0x40e10000]
           0x40039AFE    0   0x40039afe    running   24   0x4020d7b8   15     4096        3248    08  0000 0000  [0x4026a000-0x4026b000]
                disp2    0   0x4002f41c    suspend   15   0x4020d5d8   10     8192        7872    10  0000 0000  [0x402ad000-0x402af000]
            kmsg2appq    0   0x4009d6d2    suspend    6   0x4020d3f8   10     4096        3360    07  0000 0000  [0x40269000-0x4026a000]
             mnt_task    0   0x400c7826    suspend    7   0x4020d218   10    16384       15936    10  0000 0000  [0x40219000-0x4021d000]
                tidle    0   0x4002bbae    running   31   0x4011e030   32     8192        7488    23  0000 0000  [0x4011e228-0x40120228]
                timer    0   0x4002f298    suspend    8   0x40120900   10    16384       16016    10  0000 0000  [0x40120ad8-0x40124ad8]
          -------------------------------------------------------------------------------------------------------------------------
      
          memory info:
              Total  0x03ebd000
              Used   0x011fb680
              Max    0x01200a80
          ------------------------------------------------memory information-------------------------------------------------------
      
      dump stack memory:
      0x0000000041055360: 0xe170d800 0x00000000 0x0005dc00 0x00000000
      0x0000000041055370: 0x414aa854 0x00000000 0x00000000 0x00000000
      0x0000000041055380: 0x40253260 0x00000000 0x00119454 0x00000000
      0x0000000041055390: 0x00000010 0x00000000 0x000000ff 0x00000000
      0x00000000410553a0: 0x413ef000 0x00000000 0xe170b506 0x00000000
      0x00000000410553b0: 0x00000010 0x00000000 0xe1709a3a 0x00000000
      0x00000000410553c0: 0xe170d800 0x00000000 0x413ef000 0x00000000
      0x00000000410553d0: 0xe170d1b0 0x00000000 0xe170b4ec 0x00000000
      0x00000000410553e0: 0x410554e0 0x00000000 0x0005dc00 0x00000000
      0x00000000410553f0: 0x0005dc00 0x00000000 0x413d1000 0x00000000
      0x0000000041055400: 0x40ef57a4 0x00000000 0x00000001 0x00000000
      0x0000000041055410: 0x00000002 0x00000000 0x00000001 0x00000000
      0x0000000041055420: 0x00000320 0x00000000 0x000001e0 0x00000000
      0x0000000041055430: 0x00010001 0x00000000 0x00000320 0x000001e0
      0x0000000041055440: 0x413ef054 0x00000000 0x4144cc54 0x00000000
      0x0000000041055450: 0x414aa854 0x00000000 0x00000001 0x00000000
      0x0000000041055460: 0x00ff0110 0x00000000 0x00000000 0x00000000
      0x0000000041055470: 0x00000000 0x00000000 0x00000002 0x00000000
      0x0000000041055480: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000
      0x0000000041055490: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000
      0x00000000410554a0: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000
      0x00000000410554b0: 0xdeadbeef 0x00000000 0xe1800000 0x00000000
      0x00000000410554c0: 0x40ebd738 0x00000000 0x402b1178 0x00000000
      0x00000000410554d0: 0x41055740 0x00000000 0x40ef5738 0x00000000
      0x00000000410554e0: 0xe1712828 0x00000000 0xe1708418 0x00000000
      0x00000000410554f0: 0x00000000 0x00000000 0x41055518 0x00000000
      0x0000000041055500: 0x00000008 0x00000000 0xdeadbeef 0x00000000
      0x0000000041055510: 0xdeadbeef 0x00000000 0x00e1f000 0x00000000
      0x0000000041055520: 0x0000000a 0x00000000 0xe170850c 0x00000000
      0x0000000041055530: 0x41055740 0x00000000 0x0000000a 0x00000000
      0x0000000041055540: 0xe1700000 0x00000000 0xe9236fb0 0x00000000
      0x0000000041055550: 0xe9266fd8 0x00000000 0xe9266fc8 0x00000000
      
      dump epc memory:
      0x000000004002fec8: 0x449b478b 0x8b8d4709 0x04e79463 0x818f90ef
      0x000000004002fed8: 0x449b478b 0x000f5717 0xc3470713 0x7c27b58b
      0x000000004002fee8: 0x578b8b8d 0x631c449b 0x00c59693 0x8f95e42e
      0x000000004002fef8: 0x80efe31c 0x65a2ff9f 0x64068556 0x74e260a6
      0x000000004002ff08: 0x79a27942 0x6ae27a02 0x61616b42 0xf2cff06f
      0x000000004002ff18: 0x18078b63 0xfd1f80ef 0x478b89aa 0xb78b449b
      0x000000004002ff28: 0x979b7c27 0x8c1d00c7 0x57b74018 0x879351ab
      0x000000004002ff38: 0x0e631ab7 0x061300f7 0x05975a90 0x8593000a
      0x000000004002ff48: 0x05175365 0x0513000a 0xd0ef6b65 0x781cd79f
      0x000000004002ff58: 0x000f5717 0xbb870713 0x00fab023 0x5054631c
      0x000000004002ff68: 0x03543823 0xe31c8f95 0x871b405c 0xc0580017
      0x000000004002ff78: 0x5418eb99 0x000f5797 0xb9c78793 0x66e7c68b
      0x000000004002ff88: 0xd40be814 0x404c66e7 0x5a634450 0x505402b6
      0x000000004002ff98: 0x05178756 0x0513000a 0xd0ef4ee5 0x2423bf3f
      0x000000004002ffa8: 0x445c0004 0x6406c05c 0x74e260a6 0x7a027942
      0x000000004002ffb8: 0x6b426ae2 0x79a2854e 0x806f6161 0x441cf31f
      0x000000004002ffc8: 0xc41c37fd 0x8e639fad 0x061300c7 0x05975f30
      0x000000004002ffd8: 0x8593000a 0x05174a25 0x0513000a 0xd0ef5125
      0x000000004002ffe8: 0x4058ce5f 0x10e3445c 0x681cfcf7 0x000f5497
      0x000000004002fff8: 0xb2448493 0x541ce791 0x66f4c78b 0xfa8785e3
      0x0000000040030008: 0xcf89441c 0x5ff00613 0x000a0597 0x46858593
      0x0000000040030018: 0x000a0517 0x4a850513 0xcabfd0ef 0x970b541c
      0x0000000040030028: 0xc78b06f4 0x986366f4 0x681c0687 0xe31c4589
      0x0000000040030038: 0xc01c57fd 0x000f5797 0xd2478793 0x000f5717
      0x0000000040030048: 0xd1470713 0x63104394 0x851be300 0xe8100016
      0x0000000040030058: 0xdae3c388 0xc394f4a5 0x000a3783 0x3703e310
      0x0000000040030068: 0x07b30009 0x83b140f4 0x04f7178b 0x000f5717
      0x0000000040030078: 0xcf470713 0x47014314 0x02d74363 0x80ef854e
      0x0000000040030088: 0x5797e6df 0x8793000f 0x438cce27 0x85226785
      0x0000000040030098: 0x02f5c5bb 0x8713b59d 0x6b9c0107 0xd00bb769
      0x00000000400300a8: 0x070544e7 0x60a6bfd1 0x74e26406 0x79a27942
      0x00000000400300b8: 0x6ae27a02 0x61616b42 0x80828082 0x5797cd09
      

      从打印的日志情况看,应该是还没有进行液晶初始化

      其中ST7789_CPU 驱动文件中 LCD_cfg_panel_info 函数内容被注释掉了,我打开和关闭没一点反应

      e9f31459-ff4c-4926-8676-610c3fce3aa4-image.png
      示波器量液晶数据引脚、时钟引脚、CS引脚始终没有波形
      cd7f60ae-a75e-4bd8-b34e-e9929cddd835-image.png
      ec141718-2c41-4617-ab5d-e36a2b9a3556-image.png

      全志开发太难了,怎么配置如何配置的资料真实寥寥无几,几句话直接概括,问代理商的技术说他们也没有整过SST7789的液晶

      发布在 RTOS
      Q
      feelsigh
    • 回复: F133-A SST7789和SST7789_CPU这两个驱动有什么区别?

      @whycan 感谢晕哥解答
      7ca3d255-4905-4ee9-ba97-646c3f86a8b5-image.png
      ST7789_CPU里面这个 lcd_gpio_0 lcd_gpio_1这俩是啥?

      7016ac81-4c1d-4e0c-a1d3-6e8d5ec41b80-image.png
      这个都已经被关掉了,这驱动能用么?

      我配置成ST7789V_CPU结果报错了
      b7025f61-0120-4752-8eed-2273dfd35761-image.png

      发布在 RTOS
      Q
      feelsigh
    • F133-A SST7789和SST7789_CPU这两个驱动有什么区别?

      2c33ddd5-c7d3-48b4-bc3d-e45b10ed5b7c-image.png

      发布在 RTOS
      Q
      feelsigh
    • F133 melis-v4.0 修改液晶驱动为ST7789后编译不过

      3ac1a304-b08d-4765-a5e0-6527d626b08b-image.png
      是什么问题呢?哪里配置不对?

      发布在 MR Series
      Q
      feelsigh
    • 回复: Tina f1c100s SPI NOR模式运行到Starting kernel ... 停止

      解决了,默认选中的是UART1 选成UART0就可以了
      Kernel low-level debugging port (Kernel low-level debugging messages viasunXi UART0)

      发布在 Linux
      Q
      feelsigh
    • f1c200s LCD错误 Err01: Violate "lcd_hbp > lcd_hspw"

      [ 0.000000] Booting Linux on physical CPU 0x0
      [ 0.000000] Initializing cgroup subsys cpuset
      [ 0.000000] Initializing cgroup subsys cpuacct
      [ 0.000000] Linux version 3.10.65 (cq@cq) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #33 Fri Nov 18 13:05:52 UTC 2022
      [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
      [ 0.000000] CPU: VIVT data cache, VIVT instruction cache
      [ 0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
      [ 0.000000] bootconsole [earlycon0] enabled
      [ 0.000000] cma: CMA: failed to reserve 32 MiB
      [ 0.000000] Memory policy: ECC disabled, Data cache writeback
      [ 0.000000] On node 0 totalpages: 8192
      [ 0.000000] free_area_init_node: node 0, pgdat c055d36c, node_mem_map c058b000
      [ 0.000000] Normal zone: 64 pages used for memmap
      [ 0.000000] Normal zone: 0 pages reserved
      [ 0.000000] Normal zone: 8192 pages, LIFO batch:0
      [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      [ 0.000000] pcpu-alloc: [0] 0
      [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
      [ 0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock4 init=/pseudo_init rdinit=/rdinit partitions=bootlogo@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:rootfs_data@mtdblock5:misc@mtdblock6:private@mtdblock7:UDISK@mtdblock8 cma=32M fb_base=0x81f00000 androidboot.serialno=<NULL> boot_type=3
      [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
      [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
      [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
      [ 0.000000] Memory: 32MB = 32MB total
      [ 0.000000] Memory: 26656k/26656k available, 6112k reserved, 0K highmem
      [ 0.000000] Virtual kernel memory layout:
      [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
      [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
      [ 0.000000] vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
      [ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
      [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
      [ 0.000000] .text : 0xc0008000 - 0xc0453f84 (4400 kB)
      [ 0.000000] .init : 0xc0454000 - 0xc0472390 ( 121 kB)
      [ 0.000000] .data : 0xc0474000 - 0xc055dc88 ( 936 kB)
      [ 0.000000] .bss : 0xc055dc88 - 0xc058aba0 ( 180 kB)
      [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      [ 0.000000] NR_IRQS:256
      [ 0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
      [ 0.000000] pll_cpu-set_default_rate=552000000 success!
      [ 0.000000] pll_video-set_default_rate=297000000 success!
      [ 0.000000] pll_ddr-set_default_rate=312000000 success!
      [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
      [ 0.000000] Console: colour dummy device 80x30
      [ 0.005328] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
      [ 0.075252] pid_max: default: 32768 minimum: 301
      [ 0.080430] Mount-cache hash table entries: 512
      [ 0.086412] CPU: Testing write buffer coherency: ok
      [ 0.092201] Setting up static identity map for 0xc0350938 - 0xc0350990
      [ 0.101472] devtmpfs: initialized
      [ 0.107009] pinctrl core: initialized pinctrl subsystem
      [ 0.112862] NET: Registered protocol family 16
      [ 0.118049] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
      [ 0.126087] dump_class_init,844, success
      [ 0.134952] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
      [ 0.160666] bio: create slab <bio-0> at 0
      [ 0.166174] pwm module init!
      [ 0.170971] SCSI subsystem initialized
      [ 0.175297] usbcore: registered new interface driver usbfs
      [ 0.181095] usbcore: registered new interface driver hub
      [ 0.186986] usbcore: registered new device driver usb
      [ 0.194568] gpio=0,mul_sel=0,pull=0,drv_level=0,data=0
      [ 0.200039] twi_start()387 - [i2c0] START can't sendout!
      [ 0.205837] twi_start()387 - [i2c0] START can't sendout!
      [ 0.211543] twi_start()387 - [i2c0] START can't sendout!
      [ 0.217166] pcf857x 0-0020: retry commucation.7
      [ 0.221984] twi_start()387 - [i2c0] START can't sendout!
      [ 0.227715] twi_start()387 - [i2c0] START can't sendout!
      [ 0.233436] twi_start()387 - [i2c0] START can't sendout!
      [ 0.239026] pcf857x 0-0020: retry commucation.6
      [ 0.243860] twi_start()387 - [i2c0] START can't sendout!
      [ 0.249562] twi_start()387 - [i2c0] START can't sendout!
      [ 0.255282] twi_start()387 - [i2c0] START can't sendout!
      [ 0.260869] pcf857x 0-0020: retry commucation.5
      [ 0.265703] twi_start()387 - [i2c0] START can't sendout!
      [ 0.271405] twi_start()387 - [i2c0] START can't sendout!
      [ 0.277125] twi_start()387 - [i2c0] START can't sendout!
      [ 0.282729] pcf857x 0-0020: retry commucation.4
      [ 0.287541] twi_start()387 - [i2c0] START can't sendout!
      [ 0.293262] twi_start()387 - [i2c0] START can't sendout!
      [ 0.298964] twi_start()387 - [i2c0] START can't sendout!
      [ 0.304567] pcf857x 0-0020: retry commucation.3
      [ 0.309380] twi_start()387 - [i2c0] START can't sendout!
      [ 0.315101] twi_start()387 - [i2c0] START can't sendout!
      [ 0.320802] twi_start()387 - [i2c0] START can't sendout!
      [ 0.326406] pcf857x 0-0020: retry commucation.2
      [ 0.331219] twi_start()387 - [i2c0] START can't sendout!
      [ 0.336942] twi_start()387 - [i2c0] START can't sendout!
      [ 0.342662] twi_start()387 - [i2c0] START can't sendout!
      [ 0.348249] pcf857x 0-0020: retry commucation.1
      [ 0.353080] twi_start()387 - [i2c0] START can't sendout!
      [ 0.358782] twi_start()387 - [i2c0] START can't sendout!
      [ 0.364500] twi_start()387 - [i2c0] START can't sendout!
      [ 0.370117] pcf857x: probe of 0-0020 failed with error -121
      [ 0.379799] Linux video capture interface: v2.00
      [ 0.385201] Advanced Linux Sound Architecture Driver Initialized.
      [ 0.393397] cfg80211: Calling CRDA to update world regulatory domain
      [ 0.400818] Switching to clocksource sun3i high-res couter
      [ 0.425986] get det_vbus is fail, 84
      [ 0.431475] NET: Registered protocol family 2
      [ 0.438146] TCP established hash table entries: 512 (order: 0, 4096 bytes)
      [ 0.445258] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
      [ 0.451920] TCP: Hash tables configured (established 512 bind 512)
      [ 0.458476] TCP: reno registered
      [ 0.461874] UDP hash table entries: 256 (order: 0, 4096 bytes)
      [ 0.467989] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
      [ 0.475074] NET: Registered protocol family 1
      [ 0.493134] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [ 0.499830] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
      [ 0.506270] msgmni has been set to 52
      [ 0.513372] io scheduler noop registered
      [ 0.517665] io scheduler cfq registered (default)
      [ 0.522539] [pm]aw_pm_init!
      [ 0.525812] [pm]valid
      [ 0.528305] [pm]valid
      [ 0.531050] [DISP]disp_module_init
      [ 0.586703] pll_freq=297000000HZ, lcd_dclk_freq=29000000HZ, clk_div=10
      [ 0.594086] *******************************
      [ 0.598511] ***
      [ 0.600385] *** LCD Panel Parameter Check
      [ 0.604541] ***
      [ 0.606407] *** by guozhenjie
      [ 0.610601] ***
      [ 0.612471] ********************************
      [ 0.616922] ***
      [ 0.618790] *** Interface:
      [ 0.621361] *** Parallel HV Panel
      [ 0.625086] *** Lcd Frm to RGB666
      [ 0.628579] ***
      [ 0.630448] *** Timing:
      [ 0.633022] *** lcd_x: 800
      [ 0.636298] *** lcd_y: 480
      [ 0.639607] *** lcd_ht: 1056
      [ 0.642972] *** lcd_hbp: 16
      [ 0.646160] *** lcd_vt: 525
      [ 0.649465] *** lcd_vbp: 10
      [ 0.652654] *** lcd_hspw: 30
      [ 0.655842] *** lcd_vspw: 13
      [ 0.659058] *** lcd_frame_frq: 52Hz
      [ 0.662773] ***
      [ 0.664640] *** Err01: Violate "lcd_hbp > lcd_hspw"
      [ 0.669702] *** Err02: Violate "lcd_vbp > lcd_vspw"
      [ 0.674738] ***
      [ 2.675139] *** Try new parameters,you can make it pass!
      [ 2.680648] *** LCD Panel Parameter Check End
      [ 2.685158] *******************************
      [ 2.689638] num_screens=1
      [ 2.692398] screen_id=0
      [ 2.694973] para->mclk[MOD_CLK_LCD1CH0]=0xc180c300
      [ 2.699990] para->mclk[MOD_CLK_LCD1CH1]=0xc180c400
      [ 2.704943] disp tv init
      [ 2.707652] tcon_clk=0xc180c300, tcon_clk_parent=0x0
      [ 2.712784] tcon_clk=0xc180c300, tcon_clk_parent=0xc18043c0
      [ 2.718565] tve_clk=0xc180c400, tve_clk_parent=0xc18043c0
      [ 2.724132] disp al tv init
      [ 2.729858] fetch script datadisp.screen2_output_type fail
      [ 2.735835] fetch script datadisp.screen2_output_mode fail
      [ 2.744240] fetch script datadisp.fb2_format fail
      [ 2.749508] fetch script datadisp.fb2_scaler_mode_enable fail
      [ 2.755744] fetch script datadisp.fb2_width fail
      [ 2.760910] fetch script datadisp.fb2_height fail
      [ 2.765812] disp_malloc fail, size=0x2ee000
      [ 2.770216] disp_malloc fail!
      [ 2.773652] Unable to handle kernel paging request at virtual address 0005dfc0
      [ 2.781211] pgd = c0004000
      [ 2.784058] [0005dfc0] *pgd=00000000
      [ 2.787858] Internal error: Oops: 805 [#1] ARM
      [ 2.792460] Modules linked in:
      [ 2.795672] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.65 #33
      [ 2.801778] task: c1832000 ti: c1834000 task.ti: c1834000
      [ 2.807371] PC is at memcpy+0x244/0x330
      [ 2.811359] LR is at 0xadc8ff9e
      [ 2.814648] pc : [<c0125564>] lr : [<adc8ff9e>] psr: 20000013
      [ 2.814648] sp : c1835c40 ip : ff9eaec8 fp : c1835d7c
      [ 2.826473] r10: 000000ef r9 : ff9dacc8 r8 : ff99a8c7
      [ 2.831868] r7 : ff97a6c6 r6 : ff96a5c7 r5 : ff94a2c4 r4 : ff93a2c4
      [ 2.838583] r3 : ff9ca7c2 r2 : 00000460 r1 : c2854b58 r0 : 0005dfc0
      [ 2.845300] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
      [ 2.852807] Control: 0005317f Table: 80004000 DAC: 00000017

      发布在 Linux
      Q
      feelsigh
    • 回复: Tina f1c100s SPI NOR模式运行到Starting kernel ... 停止

      @yixiuge 在 Tina f1c100s SPI NOR模式运行到Starting kernel ... 停止 中说:

      @qq354813374

      05ae7d33-35a7-4bf1-9346-5893d522f90e-image.png
      我这是代理商给的SDK

      发布在 Linux
      Q
      feelsigh
    • 回复: D1S烧录用PhoenixSuit烧录固件

      @q2022 你用1.19的试试 论坛里面有下载地址

      发布在 MR Series
      Q
      feelsigh