您尚未登录。

楼主 # 2021-12-08 16:00:31

BinXiaozai
会员
注册时间: 2021-12-08
已发帖子: 6
积分: 6

索智S3-EVB上QT5 GUI LCD无显示

各位大佬,我再S3 ZETA LINUX下跑QT程序,一切都正常,就是LCD屏上不出画面(ZETA LINUX自带的MINIGUI程序可以的)。我使用fbset 查看, fb-test工具测试了也一样没任何显示。哪位大佬帮忙解决一下啊,感谢,感谢了

fbset:
mode "854x480-58"
	# D: 27.000 MHz, H: 30.000 kHz, V: 58.366 Hz
	geometry 854 480 854 960 32
	timings 37037 24 14 12 20 8 2
	accel false
	rgba 8/16,8/8,8/0,8/24
endmode

QT GUI的配置:

export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0:size=854x480

MINIGUI的环境配置:

######S3_Zeta_Linux######
export TZ="Asia/Shanghai"
export TERM="xterm"
export FRAMEBUFFER=/dev/fb0
export MG_DEFAULTMODE="854x480-32bpp"
export FB_SYNC=1

离线

楼主 #1 2021-12-08 16:42:30

BinXiaozai
会员
注册时间: 2021-12-08
已发帖子: 6
积分: 6

Re: 索智S3-EVB上QT5 GUI LCD无显示

求助各位大佬

DISP信息:

cat /sys/class/disp/disp/attr/sys
screen 0:
	lcd output	backlight(200)	fps:58.4	 480x 854
	under_flow:0    skip:197    irq:21319
   BUF    enable ch[0] lyr[0] z[0] prem[N] a[pixel 128] fmt[ 77] fb[ 368, 640; 368, 640; 368, 640] crop[   0,   0, 360, 640] frame[   0,   0, 480, 854] addr[45b19000,45b52800, 1433180] flags[0x       0] trd[0,0]
   BUF    enable ch[2] lyr[0] z[11] prem[N] a[pixel 255] fmt[  0] fb[ 480, 854; 480, 854; 480, 854] crop[   0,   0, 480, 854] frame[   0,   0, 480, 854] addr[45621000,       0,       0] flags[0x       0] trd[0,0]

环境:

# env
USER=root
TSLIB_TSDEVICE=/dev/input/event4
SHLVL=2
HOME=/root
PAGER=/bin/more 
PS1=# 
TSLIB_PLUGINDIR=/usr/lib/ts
FRAMEBUFFER=/dev/fb0
LOGNAME=root
ZETA_AUDIO_SAMPLERATE=8000
TERM=xterm
PATH=/bin:/sbin:/usr/bin:/usr/sbin
MG_DEFAULTMODE=854x480-32bpp
TSLIB_CONFFILE=/etc/ts.conf
SHELL=/bin/sh
V_MEMSIZE_LOCAL1=8338608
V_MEMSIZE_LOCAL2=8338608
FB_SYNC=1
V_MEMSIZE_LOCAL3=6291456
V_MEMSIZE_P2P1=2097152
V_MEMSIZE_P2P2=1048576
PWD=/root
V_MEMSIZE_P2P3=1048576
TZ=Asia/Shanghai
EDITOR=/bin/vi
# lsmod 
Module                  Size  Used by    Not tainted
ft6x36                  6801  0 
bcmdhd                615887  0 
uvcvideo               57814  0 
videobuf2_vmalloc       2032  0 
videobuf2_memops        1563  1 videobuf2_vmalloc
videobuf2_core         17592  0 
vfe_v4l2             1276171  1 
gc2023_mipi_2lane      82216  0 
vfe_subdev              4375  2 vfe_v4l2,gc2023_mipi_2lane
vfe_os                  3505  2 vfe_v4l2,vfe_subdev
cci                    19162  2 vfe_v4l2,gc2023_mipi_2lane
videobuf_dma_contig     3905  1 vfe_v4l2
videobuf_core          15369  2 vfe_v4l2,videobuf_dma_contig
# uname -a
Linux zeta 3.4.39 #1 Mon Dec 6 14:00:25 CST 2021 armv7l GNU/Linux

最近编辑记录 BinXiaozai (2021-12-08 16:45:57)

离线

楼主 #2 2021-12-08 16:47:24

BinXiaozai
会员
注册时间: 2021-12-08
已发帖子: 6
积分: 6

Re: 索智S3-EVB上QT5 GUI LCD无显示

# dmesg 
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.39 (bcf@xdevel) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 Mon Dec 6 14:00:25 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8i
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Initialized persistent memory from 41d20800-41d307ff
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c04c1bac, node_mem_map c055c000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    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: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 init=/init loglevel=8 partitions=boot@spinorp0:system@spinorp1:cfg@spinorp2:boot_logo@spinorp3:shutdown_logo@spinorp4:env@spinorp5:UDISK@spinorp6 mac_addr= uid=8882f574-3e53-45 kmemleak=on quiet boot_type=3 fb_base=0x41b00000 config_size=49152
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 78160k/78160k available, 52912k 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 : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc045a000   (4424 kB)
[    0.000000]       .init : 0xc045a000 - 0xc047e000   ( 144 kB)
[    0.000000]       .data : 0xc047e000 - 0xc04c2398   ( 273 kB)
[    0.000000]        .bss : 0xc04c23bc - 0xc055bca0   ( 615 kB)
[    0.000000] NR_IRQS:544
[    0.000000] 524 ahb1 set parent pll_periph0d2
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000111] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000129] pid_max: default: 32768 minimum: 301
[    0.000231] Mount-cache hash table entries: 512
[    0.000609] CPU: Testing write buffer coherency: ok
[    0.000779] Setting up static identity map for 0x4033a670 - 0x4033a6a4
[    0.001267] devtmpfs: initialized
[    0.002521] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.002630] pinctrl core: initialized pinctrl subsystem
[    0.002984] NET: Registered protocol family 16
[    0.003259] DMA: preallocated 128 KiB pool for atomic coherent allocations
[    0.003295] script_sysfs_init success
[    0.003318] sunxi_dump_init success
[    0.003862] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[    0.004643] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.004880] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[    0.005481] persistent_ram: error in header, 5
[    0.005492] persistent_ram: found existing buffer, size 1063, start 1063
[    0.006738] console [ram-1] enabled
[    0.006946] [sunxi-module]: [sunxi-module.0] probe success
[    0.007041] axp driver uning configuration failed(838)
[    0.007051] axp driver uning configuration failed(844)
[    0.007057] axp driver uning configuration failed(850)
[    0.007064] axp driver uning configuration failed(857)
[    0.007164] script config pll_isp to 480 Mhz
[    0.007186] Not Found clk pll_video in script 
[    0.007196] script config pll_ve to 480 Mhz
[    0.007209] Not Found clk pll_periph0 in script 
[    0.007215] Not Found clk pll_de in script 
[    0.007219] sunxi_default_clk_init
[    0.007224] try to set pll6ahb1 to 200000000
[    0.007232] Error not get clk pll6ahb1
[    0.007240] Error not get clk pll6ahb1try to set ahb1 to 200000000
[    0.007255] try to set apb1 to 100000000
[    0.007464] ===fe3o4==== sunxi_root_procfs_attach ret:0
[    0.010074] bio: create slab <bio-0> at 0
[    0.010268] pwm module init!
[    0.011517] SCSI subsystem initialized
[    0.011698] usbcore: registered new interface driver usbfs
[    0.011755] usbcore: registered new interface driver hub
[    0.011860] usbcore: registered new device driver usb
[    0.011957] twi_chan_cfg()341 - [twi0] has no twi_speed!
[    0.011966] twi_chan_cfg()352 - [twi0] has no twi_regulator.
[    0.011975] twi_chan_cfg()341 - [twi1] has no twi_speed!
[    0.011982] twi_chan_cfg()352 - [twi1] has no twi_regulator.
[    0.012426] axp20_board 0-0034: AXP (CHIP ID: 0x41) detected
[    0.012426] Linux video capture interface: v2.00
[    0.012426] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[    0.012426] axp pinctrl used,skip
[    0.012426] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.114 2015-6-2 10:21) Compiled in Dec  6 2021 at 14:00:11
[    0.012426] [mmc]: get mmc0's sdc_power failed
[    0.012426] [mmc]: get mmc1's sdc_power failed
[    0.012426] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2
[    0.012426] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.030333] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.040109] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.040736] cfg80211: Calling CRDA to update world regulatory domain
[    0.041126] Switching to clocksource arch_sys_counter
[    0.045707] NET: Registered protocol family 2
[    0.045901] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.046268] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.046331] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.046370] TCP: Hash tables configured (established 4096 bind 4096)
[    0.046377] TCP: reno registered
[    0.046387] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.046402] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.046632] NET: Registered protocol family 1
[    0.046790] Unpacking initramfs...
[    0.046803] Initramfs unpacking failed: compression method lzma not configured
[    0.047134] sunxi_reg_init enter
[    0.048307] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.048345] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.048495] msgmni has been set to 152
[    0.049083] io scheduler noop registered
[    0.049093] io scheduler deadline registered
[    0.049146] io scheduler cfq registered (default)
[    0.049399] [DISP]disp_module_init
[    0.049652] cmdline,disp=
[    0.049652] disp_init_rotation_sw
[    0.049652] @@@rot-degree=1, scn_size[854,480]
[    0.049652] disp_rot_sw_set_manager,1246
[    0.077175] rot_degree =1, w=854, h=480
[    0.124881] [LX45FWU4004 LCD INFO] LINE:0084-->LCD_open_flow:
[    0.124897] [LX45FWU4004 LCD INFO] LINE:0106-->LCD_power_on:
[    0.125361] [DISP]disp_module_init finish
[    0.125533] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.
[    0.125796] uart1: ttyS0 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[    0.125808] sw_uart_pm()890 - uart1 clk is already enable
[    0.125824] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.141315] console [ttyS0] enabled
[    0.142044] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    0.142470] spi spi0: master is unqueued, this is deprecated
[    0.142541] m25p_probe()969 - Use the Dual Mode Read.
[    0.148298] NorFlash ID: 0xc22018 - 0xc220
[    0.148312] m25p80 spi0.0: found mx25l12805d, expected at25df641
[    0.148325] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.149760] @@@[debug_jaosn]: Invalid partitions count: 4 8
[    0.150151] Creating 7 MTD partitions on "spi0.0":
[    0.150167] 0x000000000000-0x000000040000 : "uboot"
[    0.150853] 0x000000040000-0x0000002c0000 : "boot"
[    0.151370] 0x0000002c0000-0x000000e80000 : "system"
[    0.151850] 0x000000e80000-0x000000f00000 : "cfg"
[    0.152334] 0x000000f00000-0x000000f10000 : "boot_logo"
[    0.152853] 0x000000f10000-0x000000f20000 : "shutdown_logo"
[    0.153368] 0x000000f20000-0x000000f30000 : "env"
[    0.154911] Failed to alloc md5
[    0.158509] eth0: Use random mac address
[    0.158564] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.178646] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.178678] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    0.178769] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    0.190037] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    0.190474] hub 1-0:1.0: USB hub found
[    0.190495] hub 1-0:1.0: 1 port detected
[    0.190729] sunxi-ehci sunxi-ehci.1: remove, state 1
[    0.190744] usb usb1: USB disconnect, device number 1
[    0.474580] ####rm68172 LCD_panel_init,vcom is 4023
[    0.474590] [LX45FWU4004 LCD INFO] LINE:0302-->LCD_panel_init:
[    0.474644] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[    0.484727] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.494795] [LX45FWU4004 LCD INFO] LINE:0308-->LCD_panel_init:reset finish
[    0.505618] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.505643] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[    0.505677] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    0.564408] hub 1-0:1.0: USB hub found
[    0.564427] hub 1-0:1.0: 1 port detected
[    0.564625] sunxi-ohci sunxi-ohci.1: remove, state 1
[    0.564642] usb usb1: USB disconnect, device number 1
[    0.564935] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[    0.575003] Initializing USB Mass Storage driver...
[    0.575067] usbcore: registered new interface driver usb-storage
[    0.575075] USB Mass Storage support registered.
[    0.575236] file system registered
[    0.576001] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    0.576014] android_usb gadget: Number of LUNs=1
[    0.576022]  lun0: LUN: removable file: (no medium)
[    0.576241] android_usb gadget: android_usb ready
[    0.576331] sunxikbd_script_init: key para not found, used default para. 
[    0.584676] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    0.584782] sunxi cedar version 0.1 
[    0.584819] [cedar]: install start!!!
[    0.584957] [cedar]: install end!!!
[    0.591299] pmu_pekoff_time = 6000
[    0.591310] pmu_pekoff_en = 1
[    0.591315] pmu_peklong_time = 1500
[    0.591319] pmu_pekon_time = 1000
[    0.591324] pmu_pwrok_time = 64
[    0.591329] pmu_pwrnoe_time = 128
[    0.591333] pmu_hot_shutdown = 1
[    0.592162] POWER20_PEK_SET:2234-->0x9d
[    0.592582] POWER20_PEK_SET:2245-->0x9d
[    0.592999] POWER20_PEK_SET:2254-->0x9d
[    0.593417] POWER20_PEK_SET:2265-->0x9d
[    0.593836] POWER20_PEK_SET:2277-->0x9d
[    0.594254] POWER20_HOTOVER_CTL:2286-->0x2d
[    0.601680] step1 : gsensor_fetch_sysconfig_para
[    0.601697] step2 : gsensor_fetch_sysconfig_para
[    0.601703] step3 : gsensor_fetch_sysconfig_para
[    0.601709] step4 : mir3da_init
[    0.601744] i2c-core: driver [da380] using legacy suspend method
[    0.601752] i2c-core: driver [da380] using legacy resume method
[    0.601767]  richard mir3da_detect: mir3da_detect:bus[0] addr[0x27]
[    0.601777]  richard mir3da_detect: mir3da_detect:bus[1] addr[0x27]
[    0.887142] [MIR3DA] 'Find Mir3da gsensor!!
[    0.978270] ParkMonitor powerOn status is 0
[    0.999054] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    0.999218] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    0.999306] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    0.999316] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    0.999326] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    1.000714] sunxi_leds_fetch_sysconfig_para leds is not used in config
[    1.008143] =========script_get_err============
[    1.008330] usbcore: registered new interface driver usbhid
[    1.008343] usbhid: USB HID core driver
[    1.008766] ashmem: initialized
[    1.008848] logger: created 256K log 'log_main'
[    1.008919] logger: created 32K log 'log_events'
[    1.008995] logger: created 32K log 'log_radio'
[    1.009065] logger: created 32K log 'log_system'
[    1.015795] asoc: sndcodec <-> sunxi-codec mapping ok
[    1.016975] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    1.027727] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[    1.037680] [DAUDIO0] driver not init,just return.
[    1.037977] IPv4 over IPv4 tunneling driver
[    1.038538] TCP: cubic registered
[    1.038550] Initializing XFRM netlink socket
[    1.038575] NET: Registered protocol family 17
[    1.038793] ThumbEE CPU extension supported.
[    1.038816] Registering SWP/SWPB emulation handler
[    1.039203] [HDMI]ep952_module_init begin
[    1.039223] [ep952] hdmi_power: axp20_ldo4
[    1.039286] [DISP_I2C] hdmi_i2c_detect, get right i2c adapter, id=1
[    1.039368] [DISP_I2C] hdmi_i2c_probe
[    1.039427] hdmi_parse_config(): --- 117 ---- io_name:gpio_0, i:0
[    1.039438] hdmi_parse_config(): --- 117 ---- io_name:gpio_1, i:1
[    1.039513] hdmi_parse_config(): --- 117 ---- io_name:gpio_2, i:2
[    1.039525] hdmi_parse_config(): --- 117 ---- io_name:gpio_3, i:3
[    1.039535] hdmi_gpio_config(): --- 137 ---- gpio_id:2, bon:1
[    1.039675] ep952_thread:237
[    1.390020] [LX45FWU4004 LCD INFO] LINE:1923-->LCD_panel_init:
[    1.560016] [LX45FWU4004 LCD INFO] LINE:0122-->LCD_bl_open:
[    1.562451] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:59:44 UTC (3584)
[    1.563580] [rf_pm]: Did not config module_power0 in sys_config
[    1.563597] [rf_pm]: Did not config module_power1 in sys_config
[    1.563606] [rf_pm]: Did not config module_power2 in sys_config
[    1.563615] [rf_pm]: Did not config module_power3 in sys_config
[    1.563623] [rf_pm]: mod has no chip_en gpio
[    1.563631] [rf_pm]: regulator on.
[    1.563645] [rf_pm]: Get ap 32k clk out failed!
[    1.563658] [wifi_pm]: wl_reg_on:1024
[    1.563691] [rf_pm]: set gpio GPIO0 mulsel failed.
[    1.563912] [wifi_pm]: wifi gpio init is OK !!
[    1.564000] [rfkill]: init no bt used in configuration
[    1.564009] ALSA device list:
[    1.564016]   #0: audiocodec
[    1.570193] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.574417] devtmpfs: mounted
[    1.574710] Freeing init memory: 144K
[    1.574760] Failed to execute /init.  Attempting defaults...
[    2.498280] udevd[69]: starting version 3.2
[    2.592392] udevd[70]: starting eudev-3.2
[    3.370278] [VFE]cci probe start cci_sel = 0!
[    3.370325] [VFE]cci probe end cci_sel = 0!
[    3.370429] [VFE]cci_init end
[    3.642412] gmac0: probed
[    3.644008] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)
[    3.665447] [VFE]Welcome to Video Front End driver
[    3.667237] [VFE]pdev->id = 0
[    3.667251] [VFE]dev->mipi_sel = 0
[    3.667257] [VFE]dev->vip_sel = 0
[    3.667263] [VFE]dev->isp_sel = 0
[    3.673376] [VFE_WARN]vfe vpu clock is null
[    3.680413] [ISP] isp platform_id = 6!
[    3.680556] [VFE]vfe_init end
[    3.690068] [VFE]probe_work_handle start!
[    3.690087] [VFE]..........................vfe clk open!.......................
[    3.690422] [VFE]v4l2 subdev register input_num = 0
[    3.690433] [VFE]vfe sensor detect start! input_num = 0
[    3.690446] [VFE_WARN]NOT found this item:  gc2023_mipi_2lane, you can add this sensor in the sensor_list_t!
[    3.690458] [VFE]Sub device register "gc2023_mipi_2lane" i2c_addr = 0x6e start!
[    3.690471] [VFE]v4l2_device_register_subdev return 0
[    3.690480] [VFE]registered sensor subdev is OK!
[    3.690485] [VFE]Check sensor!
[    3.690491] [VFE]Sub device register "gc2023_mipi_2lane" is OK!
[    3.727359] [VFE]Check open /system/etc/hawkview/gc2023_mipi_2lane/isp_test_param.ini failed!
[    3.727372] Match isp cfg  start!
[    3.727386] [VFE_WARN]NOT found this item:  gc2023_mipi_2lane, you can add this ISP Config in the isp_cfg_array!
[    3.727396] [VFE]read ini start
[    3.727498] [VFE]Fetch ini file form "/system/etc/hawkview/gc2023_mipi_2lane/isp_test_param.ini"
[    3.728949] [vfe_warn]open file failed!
[    3.729338] [VFE_WARN]read ini info fail
[    3.733327] [VFE]V4L2 device registered as video0
[    3.734173] [VFE]..........................vfe clk close!.......................
[    3.734199] [VFE]probe_work_handle end!
[    3.822418] uvcvideo: Adding mapping Brightness to control 00000000-0000-0000-0000-000000000101/2.
[    3.822437] uvcvideo: Adding mapping Contrast to control 00000000-0000-0000-0000-000000000101/3.
[    3.822450] uvcvideo: Adding mapping Hue to control 00000000-0000-0000-0000-000000000101/6.
[    3.822462] uvcvideo: Adding mapping Saturation to control 00000000-0000-0000-0000-000000000101/7.
[    3.822474] uvcvideo: Adding mapping Sharpness to control 00000000-0000-0000-0000-000000000101/8.
[    3.822487] uvcvideo: Adding mapping Gamma to control 00000000-0000-0000-0000-000000000101/9.
[    3.822500] uvcvideo: Adding mapping Backlight Compensation to control 00000000-0000-0000-0000-000000000101/1.
[    3.822514] uvcvideo: Adding mapping Gain to control 00000000-0000-0000-0000-000000000101/4.
[    3.822527] uvcvideo: Adding mapping Power Line Frequency to control 00000000-0000-0000-0000-000000000101/5.
[    3.822541] uvcvideo: Adding mapping Hue, Auto to control 00000000-0000-0000-0000-000000000101/16.
[    3.822556] uvcvideo: Adding mapping Exposure, Auto to control 00000000-0000-0000-0000-000000000001/2.
[    3.822571] uvcvideo: Adding mapping Exposure, Auto Priority to control 00000000-0000-0000-0000-000000000001/3.
[    3.822586] uvcvideo: Adding mapping Exposure (Absolute) to control 00000000-0000-0000-0000-000000000001/4.
[    3.822600] uvcvideo: Adding mapping White Balance Temperature, Auto to control 00000000-0000-0000-0000-000000000101/11.
[    3.822615] uvcvideo: Adding mapping White Balance Temperature to control 00000000-0000-0000-0000-000000000101/10.
[    3.822630] uvcvideo: Adding mapping White Balance Component, Auto to control 00000000-0000-0000-0000-000000000101/13.
[    3.822644] uvcvideo: Adding mapping White Balance Blue Component to control 00000000-0000-0000-0000-000000000101/12.
[    3.822659] uvcvideo: Adding mapping White Balance Red Component to control 00000000-0000-0000-0000-000000000101/12.
[    3.822675] uvcvideo: Adding mapping Focus (absolute) to control 00000000-0000-0000-0000-000000000001/6.
[    3.822691] uvcvideo: Adding mapping Focus, Auto to control 00000000-0000-0000-0000-000000000001/8.
[    3.822707] uvcvideo: Adding mapping Zoom, Absolute to control 00000000-0000-0000-0000-000000000001/11.
[    3.822723] uvcvideo: Adding mapping Zoom, Continuous to control 00000000-0000-0000-0000-000000000001/12.
[    3.822740] uvcvideo: Adding mapping Privacy to control 00000000-0000-0000-0000-000000000001/17.
[    3.823707] usbcore: registered new interface driver uvcvideo
[    3.823723] USB Video Class driver (v1.0.8_SONiX_v2.6.36.04)
[    4.007523] dhd_module_init: in Dongle Host Driver, version 1.201.59.15 (r506368)
[    4.007534] Compiled in drivers/net/wireless/bcmdhd on Dec  6 2021 at 14:00:14
[    4.007552] ======== dhd_wlan_init_plat_data ========
[    4.007569] dhd_wlan_init_gpio: GPIO(WL_REG_ON) = -1
[    4.007577] dhd_wlan_init_gpio: GPIO(WL_HOST_WAKE) = 200
[    4.007729] dhd_wlan_init_gpio: host_oob_irq: 8
[    4.007738] dhd_wlan_init_gpio: host_oob_irq_flags=0x414
[    4.007746] dhd_wifi_platform_load: Enter
[    4.007771] Power-up adapter 'DHD generic adapter'
[    4.007877] wifi_platform_set_power = 1
[    4.007887] ======== PULL WL_REG_ON(-1) HIGH! ========
[    4.007896] [wifi_pm]: set wl_reg_on 1 !
[    4.320021] wifi_platform_bus_enumerate device present 1
[    4.320035] ======== Card detection to detect SDIO card! ========
[    4.320066] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.321588] [mmc]: sdc1 power_supply is null
[    4.340020] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.362334] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    4.363161] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO !!
[    4.363184] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.365667] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.367584] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !!
[    4.367603] *******************Try sdio*******************
[    4.367918] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.376924] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    4.378426] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    4.379927] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    4.382605] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    4.385864] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    4.466798] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.466922] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.467076] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    4.468284] mmc1: new high speed SDIO card at address 0001
[    4.473261] *******************sdio init ok*******************
[    4.489311] bcmsdh_register: register client driver
[    4.489397] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    4.489451] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    4.489461] bus num (host idx)=1, slot num (rca)=1
[    4.489469] found adapter info 'DHD generic adapter'
[    4.489507] sdioh_attach: set sd_f2_blocksize 128
[    4.489665] dhdsdio_probe : no mutex held. set lock
[    4.489770] F1 signature read @0x18000000=0x1541a9a6
[    4.491271] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[    4.491841] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    4.492513] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=1
[    4.493138] wl_create_event_handler(): thread:wl_event_handler:89 started
[    4.493161] tsk Enter, tsk = 0xc40012dc
[    4.493815] p2p0: P2P Interface Registered
[    4.495026] dhd_attach(): thread:dhd_watchdog_thread:8a started
[    4.495113] dhd_attach(): thread:dhd_dpc:8b started
[    4.495161] dhd_attach(): thread:dhd_rxf:8c started
[    4.495214] dhd_deferred_work_init: work queue initialized 
[    4.504017] Dongle Host Driver, version 1.201.59.15 (r506368)
[    4.504025] Compiled in drivers/net/wireless/bcmdhd on Dec  6 2021 at 14:00:14
[    4.504519] Register interface [wlan0]  MAC: c0:84:7d:03:98:60
[    4.504526] 
[    4.504538] dhd_prot_ioctl : bus is down. we have nothing to do
[    4.504599] bcmsdh_oob_intr_unregister: Enter
[    4.504607] bcmsdh_oob_intr_unregister: irq is not registered
[    4.504623] dhd_txglom_enable: enable 0
[    4.504632] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0, txglom_bucket_size=0
[    4.504643] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=-1
[    4.504653] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[    4.504663] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=1
[    4.504672] sdioh_set_mode: set txglom_mode to multi-desc
[    4.504680] dhd_bus_devreset:  WLAN OFF DONE
[    4.506003] wifi_platform_set_power = 0
[    4.506019] ======== PULL WL_REG_ON(-1) LOW! ========
[    4.506027] [wifi_pm]: set wl_reg_on 0 !
[    4.506939] dhdsdio_probe : the lock is released.
[    4.507049] dhd_module_init: Exit err=0
[    4.548632] [FTS INFO] LINE:0805-->ft6x36_ts_init:
[    4.548646] =====ctp_fetch_sysconfig_para=====. 
[    4.548661] ctp_fetch_sysconfig_para: ctp_power_ldo script_get_item err. 
[    4.556358] ctp_fetch_sysconfig_para: ctp_power_ldo_vol script_get_item err. 
[    4.564464] ctp_fetch_sysconfig_para: ctp_power_io script_get_item err. 
[    4.572001] ctp_irq gpio number is 43
[    4.576278] ***[ctp ft6x36]***info.ctp_used:1
[    4.576286] ***[ctp ft6x36]***info.twi_id:1
[    4.576292] ***[ctp ft6x36]***info.screen_max_x:854
[    4.576299] ***[ctp ft6x36]***info.screen_max_y:480
[    4.576306] ***[ctp ft6x36]***info.revert_x_flag:0
[    4.576313] ***[ctp ft6x36]***info.revert_y_flag:1
[    4.576320] ***[ctp ft6x36]***info.exchange_x_y_flag:1
[    4.576327] ***[ctp ft6x36]***info.irq_gpio_number:43
[    4.576334] ***[ctp ft6x36]***info.wakeup_gpio_number:42
[    4.576342] [FTS INFO] LINE:0829-->ft6x36_ts_init:ret:0
[    4.576352] ***[ctp ft6x36]******CTP*** ctp_wakeup:status:0,ms = 30
[    4.690137] i2c-core: driver [ft6x36] using legacy suspend method
[    4.690149] i2c-core: driver [ft6x36] using legacy resume method
[    4.691120] ***[ctp ft6x36]***addr:0x38, read_chip_value[1]:0x0 
[    4.691245] [FTS INFO] LINE:0621-->ft6x36_ts_probe:
[    4.691255] [FTS INFO] LINE:0628-->ft6x36_ts_probe:
[    4.691263] [FTS INFO] LINE:0635-->ft6x36_ts_probe:
[    4.691270] [FTS INFO] LINE:0637-->ft6x36_ts_probe:
[    4.691281] [FTS INFO] LINE:0648-->ft6x36_ts_probe:
[    4.695297] [FTS INFO] LINE:0724-->ft6x36_ts_probe:
[    4.695332] [FTS INFO] LINE:0832-->ft6x36_ts_init:ret:0
[    4.695341] [FTS INFO] LINE:0837-->ft6x36_ts_init:ret:0
[    4.696199] [FTS INFO] LINE:0482-->ft6x36_init_panel:
[    4.696575] [FTS INFO] LINE:0484-->ft6x36_init_panel:eRet:2, chid:L:0xa3, H:0x0, 0x0
[    4.710075] [ft6x36] ft6x36_set_reg client->addr: 0x38 reg:0x0 val:0x0
[    4.710380] [ft6x36] ft6x36_set_reg client->addr: 0x38 reg:0x80 val:0x20
[    4.710670] [ft6x36] ft6x36_set_reg client->addr: 0x38 reg:0x88 val:0xc
[    4.750082] ***[ctp ft6x36]***init panel succeed!
[    4.750310] [ft6x36] request irq success ft6x36_init_events
[    4.799372] android_usb: already disabled
[    4.816848] ep_matches, wrn: endpoint already claimed, ep(0xc04af30c, 0xc4db5680, ep1in-bulk)
[    4.816870] adb_bind_config
[    4.816880] ep_matches, wrn: endpoint already claimed, ep(0xc04af30c, 0xc4db5680, ep1in-bulk)
[    4.816891] ep_matches, wrn: endpoint already claimed, ep(0xc04af358, 0xc4db5680, ep1out-bulk)
[    4.816903] ep_matches, wrn: endpoint already claimed, ep(0xc04af30c, 0xc4db5680, ep1in-bulk)
[    4.816914] ep_matches, wrn: endpoint already claimed, ep(0xc04af358, 0xc4db5680, ep1out-bulk)
[    4.816925] ep_matches, wrn: endpoint already claimed, ep(0xc04af3a4, 0xc4de9a40, ep2in-bulk)
[    5.200481] adb_open
[    5.290114] android_usb gadget: high-speed config #1: android
[    6.356578] [DISP] ready enter pm_runtime_get_sync, device0
[    6.388980] [VFE]vfe_open
[    6.388999] [VFE]..........................vfe clk open!.......................
[    6.389418] [VFE]vfe_open ok
[    6.390475] [VFE_WARN]NOT found this item:  gc2023_mipi_2lane, you can add this sensor in the sensor_list_t!
[    6.390594] [VFE_WARN]Not find this sensor info, Set vfe core clk = 500000000, after Set vfe core clk = 480000000 
[    6.404010] [VFE]mclk on
[    6.527345] vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0vidioc_queryctrl!--- ret = 0
[    6.640219] PHY: gmac0-0:00 - Link is Up - 100/Full
[    6.649038] [VFE]V4L2_MBUS_CSI2,2 lane,bus1 channel,rx 1 channel
[    6.707143] [gc2023_mipi_2lane Raw]s_fmt set width = 1920, height = 1080
[    6.707201] [VFE]width_input = 1920, height_input = 1080, width = 1920, height = 1080
[    6.707214] [ISP] full_size width = 1920, height = 1080.
[    6.707228] [ISP] scale width = 640, height = 360
[    6.707240] [VFE]dev->buf_byte_size = 3846144, double_ch_flag = 1
[    6.707250] [VFE]Init isp ini configs from isp_cfg.
[    6.707513] [ISP] VIDEO_MODE!
[    6.773188] [VFE]put 1 frame into one buf to output!
[    6.773325] [VFE]buffer_setup, buffer count=5, size=3850240
[    6.897224] [ISP]: Set Scene, Scene ID is 0. 
[    6.897241] [ISP] VIDEO_MODE!
[    8.735982] dhd_open: Enter c406bc00
[    8.736002] 
[    8.736005] Dongle Host Driver, version 1.201.59.15 (r506368)
[    8.736010] Compiled in drivers/net/wireless/bcmdhd on Dec  6 2021 at 14:00:14
[    8.736021] wl_android_wifi_on in 1
[    8.736028] wl_android_wifi_on in 2: g_wifi_on=0
[    8.736037] wifi_platform_set_power = 1
[    8.736044] ======== PULL WL_REG_ON(-1) HIGH! ========
[    8.736052] [wifi_pm]: set wl_reg_on 1 !
[    9.052259] sdio_reset_comm():
[    9.052281] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    9.054677] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    9.055792] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[    9.057793] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[    9.121927] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    9.123970] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    9.125998] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    9.135727] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    9.140190] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    9.531479] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    9.531647] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    9.531824] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    9.531940] sdioh_start: set sd_f2_blocksize 128
[    9.532147] 
[    9.532151] 
[    9.532154] dhd_bus_devreset: == WLAN ON ==
[    9.532252] F1 signature read @0x18000000=0x1541a9a6
[    9.533725] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[    9.534289] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    9.534729] dhd_conf_read_others: ccode = CN
[    9.534750] dhd_conf_read_others: regrev = 0
[    9.534762] dhd_conf_read_pkt_filter: dhd_master_mode = 0
[    9.534785] dhd_conf_read_pkt_filter: pkt_filter_add[0][] = 120 0 0 12 0xFFFF000000000000000000FF00000000000000000000000000FF 0x0800000000000000000000110000000000000000000000000089
[    9.534803] dhd_conf_read_pkt_filter: pkt_filter_add[1][] = 121 0 0 0 0xFFFF 0x3333
[    9.534827] dhd_conf_read_nv_by_chip: nv_by_chip_count=2
[    9.534839] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=0, name=nvram_ap6212.txt
[    9.534851] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=1, name=nvram_ap6212a.txt
[    9.534880] Final fw_path=/etc/firmware/ap6212/fw_bcm43438a1_apsta.bin
[    9.534889] Final nv_path=/etc/firmware/ap6212/nvram_ap6212a.txt
[    9.534896] Final clm_path=/etc/firmware/ap6212/clm_bcmdhd.blob
[    9.534904] Final conf_path=/etc/firmware/ap6212/config.txt
[    9.534912] dhd_set_bus_params: set use_rxchain 0
[    9.534920] dhd_set_bus_params: set txglomsize 36
[    9.798024] NVRAM version: AP6212A_NVRAM_V1.0.1_20160606
[    9.798462] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[    9.869031] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[    9.869126] bcmsdh_oob_intr_register: Enter
[    9.869135] bcmsdh_oob_intr_register: HW_OOB enabled
[    9.869143] bcmsdh_oob_intr_register OOB irq=8 flags=0x4
[    9.869250] bcmsdh_oob_intr_register: enable_irq_wake
[    9.869262] bcmsdh_oob_intr_register: enable_irq_wake failed with -6
[    9.920370] dhd_conf_set_intiovar: set WLC_SET_BAND 142 0
[    9.921002] dhd_preinit_ioctls: Set tcpack_sup_mode 0
[    9.923503] dhd_apply_default_clm: Ignore clm file /etc/firmware/ap6212/clm_bcmdhd.blob
[    9.924884] Firmware up: op_mode=0x0002, MAC=c0:84:7d:03:98:60
[    9.924902] dhd_conf_set_country: set country CN, revision 0
[    9.952963] Country code: CN (CN/0)
[    9.953598] dhd_conf_set_intiovar: set roam_off 1
[    9.962290] dhd_conf_add_pkt_filter: 120 0 0 12 0xFFFF000000000000000000FF00000000000000000000000000FF 0x0800000000000000000000110000000000000000000000000089
[    9.962313] dhd_conf_add_pkt_filter: 121 0 0 0 0xFFFF 0x3333
[    9.962829] Firmware version = wl0: Oct  8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3
[    9.962851]   Driver: 1.201.59.15 (r506368)
[    9.962856]   Firmware: wl0: Oct  8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3 
[    9.963599]   clm = 7.11.15
[    9.963960] dhd_txglom_enable: enable 1
[    9.963971] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0, txglom_bucket_size=0
[    9.963982] dhd_conf_set_txglom_params: txglomsize=36, deferred_tx_len=36, bus_txglom=-1
[    9.963993] dhd_conf_set_txglom_params: tx_in_rx=1, txinrx_thres=-1, dhd_txminmax=1
[    9.964002] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=1
[    9.964011] sdioh_set_mode: set txglom_mode to multi-desc
[    9.964026] dhd_conf_get_disable_proptx: fw_proptx=1, disable_proptx=-1
[    9.966194] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
[    9.966709] dhd_wlfc_init: query wlfc_mode succeed, fw_caps=0x1c
[    9.967232] dhd_wlfc_init(): wlfc_mode=0x1c, ret=0
[    9.967515] dhd_conf_set_intiovar: set ampdu_hostreorder 1
[    9.968670] wl_android_wifi_on: Success
[   10.023695] dhd_wlfc_enable: ret=0
[   10.144115] dhd_open: Exit ret=0
[   10.543001] WRN:L1132(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   11.668544] adbd (217): /proc/217/oom_adj is deprecated, please use /proc/217/oom_score_adj instead.
[   12.198203] Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[   12.200575] netdev_ifidx(5), chan_type(1) target channel(9) 
[   12.218983] Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[   12.228946] Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[   12.808633] _dhd_wlfc_mac_entry_update():1684, entry(32)
[   20.640266] set usbcur 900 mA
[   20.640728] set usbvol 4200 mV
[  134.496006]  lun0: unable to open backing file:

离线

#3 2021-12-08 17:35:31

varzhou
会员
注册时间: 2020-07-14
已发帖子: 108
积分: 2

Re: 索智S3-EVB上QT5 GUI LCD无显示

索智建议避开,这货就是小作坊耍大爷风格,真他妹的不要脸

离线

#4 2021-12-08 18:23:33

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 索智S3-EVB上QT5 GUI LCD无显示

cat /dev/urandom > /dev/fb0

看看屏幕有没有雪花?





离线

楼主 #5 2021-12-08 18:28:24

BinXiaozai
会员
注册时间: 2021-12-08
已发帖子: 6
积分: 6

Re: 索智S3-EVB上QT5 GUI LCD无显示

直接操作/dev/fb0没有反应。但是我确认了minigui也是使用的FB
不知道哪儿需要配置一下。。。大佬来拯救一下,搞两天了

离线

楼主 #6 2021-12-09 14:33:09

BinXiaozai
会员
注册时间: 2021-12-08
已发帖子: 6
积分: 6

Re: 索智S3-EVB上QT5 GUI LCD无显示

期待大佬来帮忙解答一下

离线

#7 2021-12-09 14:35:22

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 索智S3-EVB上QT5 GUI LCD无显示

BinXiaozai 说:

期待大佬来帮忙解答一下

grep 应用程序目录里面的ioctl,fb0等关键字。





离线

#8 2021-12-09 20:41:04

tigger
Moderator
注册时间: 2021-06-18
已发帖子: 172
积分: 111

Re: 索智S3-EVB上QT5 GUI LCD无显示

BinXiaozai 说:

直接操作/dev/fb0没有反应。但是我确认了minigui也是使用的FB
不知道哪儿需要配置一下。。。大佬来拯救一下,搞两天了

我的也是索智SDK,
cat /dev/urandom > /dev/fb0

有雪花,


collidingmice -platform linuxfb

有小老鼠碰撞,


但是 fb-test 和 fbv *.bmp 都没显示。

感觉任督二脉没打开。

离线

#9 2021-12-12 12:41:20

memory
会员
注册时间: 2021-08-11
已发帖子: 446
积分: 422

Re: 索智S3-EVB上QT5 GUI LCD无显示

2021-12-12_123528.png

是因为 全志SDK默认Framebuffer格式是 RGBA,有Alpha通道,这个通道要赋值才行。

离线

#10 2021-12-12 13:35:26

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 索智S3-EVB上QT5 GUI LCD无显示

QQ图片20211027153310.png

颜色排布结构





全志D1哪吒开发板 frambuffer 测试
https://bbs.aw-ol.com/topic/521/share/2





离线

#11 2022-01-21 22:24:25

Vivian
会员
注册时间: 2019-11-27
已发帖子: 10
积分: 10

Re: 索智S3-EVB上QT5 GUI LCD无显示

这是因为索智那个S3开发板,屏是物理竖屏,但是系统做了旋转。S3 SDK旋转屏幕后,每次刷了FB之后还需要送FBIO_CACHE_SYNC去通知底层更新。默认情况下,QT是没有FBIO_CACHE_SYNC操作的。因此无显示。解决方法有两种:
1)以物理方向显示,BSP把disp rotation关掉。
2)保持现有BSP状态,qt的fbcon实现里面加上FBIO_CACHE_SYNC相关的逻辑。

离线

#12 2023-02-18 06:39:04

cube
会员
注册时间: 2021-03-11
已发帖子: 288
积分: 202.5

Re: 索智S3-EVB上QT5 GUI LCD无显示

memory 说:

https://whycan.com/files/members/7106/2021-12-12_123528.png

是因为 全志SDK默认Framebuffer格式是 RGBA,有Alpha通道,这个通道要赋值才行。

修改 output/build/fb-test-app-rosetta-1.1.0/fb-test.c

        }else if (fb_info->var.bits_per_pixel== 32){
                unsigned char *p;
                p = (unsigned char *)fbmem + fb_info->fix.line_length *y + 4*x;
                *p++ = color;
                *p++ = color >> 8;
                *p++ = color >> 16;
                *p = 0xFF;



output/build/fbv-1.0b/fb_display.c

void* convertRGB2FB(int fh, unsigned char *rgbbuff, unsigned long count, int bpp, int *cpp)
{

加上:  0xFF000000

        case 32:
            *cpp = 4;
            i_fbbuff = (unsigned int *) malloc(count * sizeof(unsigned int));
            for(i = 0; i < count ; i++)
                i_fbbuff[i] = ((rgbbuff[i*3] << 16) & 0xFF0000) |
                            ((rgbbuff[i*3+1] << 8) & 0xFF00) |
                            (rgbbuff[i*3+2] & 0xFF) |
                            0xFF000000;
            fbbuff = (void *) i_fbbuff;
            break;

离线

页脚

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

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