发现主线内核不支持gslx680触摸屏芯片,这个要怎么操作?
--- Touchscreens | |
| | < > Analog Devices AD7879-1/AD7889-1 touchscreen interface | |
| | < > Generic ADC based resistive touchscreen | |
| | < > Microchip AR1020/1021 i2c touchscreen | |
| | < > Atmel mXT I2C Touchscreen | |
| | < > AUO in-cell touchscreen using Pixcir ICs | |
| | < > BU21013 based touch panel controllers | |
| | < > Rohm BU21029 based touch panel controllers | |
| | < > chipone icn8318 touchscreen controller | |
| | < > cy8ctmg110 touchscreen | |
| | < > Cypress TTSP touchscreen | |
| | < > Cypress TrueTouch Gen4 Touchscreen Driver | |
| | < > Dynapro serial touchscreen | |
| | < > Hampshire serial touchscreen | |
| | < > EETI touchscreen panel support | |
| | < > EETI eGalax multi-touch panel support | |
| | < > EETI eGalax serial touchscreen | |
| | < > EETI EXC3000 multi-touch panel support | |
| | < > Fujitsu serial touchscreen | |
| | < > Goodix I2C touchscreen | |
| | < > HiDeep Touch IC | |
| | < > Ilitek ILI210X based touchscreen | |
| | < > Samsung S6SY761 Touchscreen driver | |
| | < > Gunze AHL-51S touchscreen | |
| | < > Elan eKTF2127 I2C touchscreen | |
| | < > Elan eKTH I2C touchscreen | |
| | < > Elo serial touchscreens | |
| | < > Wacom W8001 penabled serial touchscreen | |
| | < > Wacom Tablet support (I2C) | |
| | < > MAX11801 based touchscreens | |
| | < > MELFAS MCS-5000 touchscreen | |
| | < > MELFAS MMS114 touchscreen | |
| | < > MELFAS MIP4 Touchscreen | |
| | < > MicroTouch serial touchscreens | |
| | < > Freescale i.MX6UL touchscreen controller | |
| | < > iNexio serial touchscreens | |
| | < > ICS MicroClock MK712 touchscreen | |
| | < > Penmount serial touchscreen | |
| | < > EDT FocalTech FT5x06 I2C Touchscreen support | |
| | < > Touchright serial touchscreen | |
| | < > Touchwin serial touchscreen | |
| | < > PIXCIR I2C touchscreens | |
| | < > Weida HiTech I2C touchscreen | |
| | < > USB Touchscreen Driver | |
| | < > Sahara TouchIT-213 touchscreen | |
| | < > TSC-10/25/40 serial touchscreen support | |
| | < > TSC2004 based touchscreens | |
| | <*> TSC2007 based touchscreens | |
| | [ ] IIO interface for external ADC input and temperature | |
| | < > Raydium I2C Touchscreen | |
| | < > Silead I2C touchscreen | |
| | < > SiS 9200 family I2C touchscreen | |
| | < > Sitronix ST1232 touchscreen controllers | |
| | <*> Allwinner sun4i resistive touchscreen controller support | |
| | < > Semtech SX8654 touchscreen | |
| | < > TPS6507x based touchscreens
最近编辑记录 jkl (2020-10-22 10:18:52)
离线
移植通过,也生成了设备event1,但是貌似内核崩了,这是怎么回事?
[ 0.001340] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002668] CPU: Testing write buffer coherency: ok
[ 0.003442] /cpus/cpu@0 missing clock-frequency property
[ 0.003487] /cpus/cpu@1 missing clock-frequency property
[ 0.003522] /cpus/cpu@2 missing clock-frequency property
[ 0.003560] /cpus/cpu@3 missing clock-frequency property
[ 0.003590] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004690] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.005022] rcu: Hierarchical SRCU implementation.
[ 0.006477] smp: Bringing up secondary CPUs ...
[ 0.007977] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009644] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.011288] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.011474] smp: Brought up 1 node, 4 CPUs
[ 0.011524] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.011539] CPU: All CPU(s) started in HYP mode.
[ 0.011551] CPU: Virtualization extensions available.
[ 0.013306] devtmpfs: initialized
[ 0.026627] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.027048] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.027098] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.028862] pinctrl core: initialized pinctrl subsystem
[ 0.030936] NET: Registered protocol family 16
[ 0.033777] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.035878] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.035904] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.067325] SCSI subsystem initialized
[ 0.067784] usbcore: registered new interface driver usbfs
[ 0.067890] usbcore: registered new interface driver hub
[ 0.068056] usbcore: registered new device driver usb
[ 0.068488] pps_core: LinuxPPS API ver. 1 registered
[ 0.068506] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.068550] PTP clock support registered
[ 0.068995] Advanced Linux Sound Architecture Driver Initialized.
[ 0.070771] clocksource: Switched to clocksource arch_sys_counter
[ 0.072070] simple-framebuffer 47e2b000.framebuffer: framebuffer at 0x47e2b000, 0x1d4c00 bytes, mapped to 0x(ptrval)
[ 0.072104] simple-framebuffer 47e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[ 0.091621] Console: switching to colour frame buffer device 100x37
[ 0.108683] simple-framebuffer 47e2b000.framebuffer: fb0: simplefb registered!
[ 0.124641] NET: Registered protocol family 2
[ 0.125788] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.125846] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.125897] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.125950] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.126166] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.126249] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.126660] NET: Registered protocol family 1
[ 0.127828] RPC: Registered named UNIX socket transport module.
[ 0.127856] RPC: Registered udp transport module.
[ 0.127870] RPC: Registered tcp transport module.
[ 0.127883] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.131465] Initialise system trusted keyrings
[ 0.131912] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.147333] NFS: Registering the id_resolver key type
[ 0.147414] Key type id_resolver registered
[ 0.147430] Key type id_legacy registered
[ 0.147514] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.153806] Key type asymmetric registered
[ 0.153845] Asymmetric key parser 'x509' registered
[ 0.154003] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.154026] io scheduler noop registered
[ 0.154398] io scheduler cfq registered (default)
[ 0.156773] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.3
[ 0.159014] sun8i-a23-r-pinctrl 1f02c00.pinctrl: Reset controller missing
[ 0.165280] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.272721] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.277717] printk: console [ttyS0] disabled
[ 0.298071] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.979356] printk: console [ttyS0] enabled
[ 0.996267] libphy: Fixed MDIO Bus: probed
[ 1.000393] CAN device driver interface
[ 1.005988] usbcore: registered new interface driver r8152
[ 1.011629] usbcore: registered new interface driver cdc_ether
[ 1.017527] usbcore: registered new interface driver cdc_eem
[ 1.023313] usbcore: registered new interface driver dm9601
[ 1.028950] usbcore: registered new interface driver rndis_host
[ 1.035007] usbcore: registered new interface driver cdc_ncm
[ 1.040671] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.047225] ehci-platform: EHCI generic platform driver
[ 1.052878] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.058514] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.066963] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[ 1.100788] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.108518] hub 1-0:1.0: USB hub found
[ 1.112412] hub 1-0:1.0: 1 port detected
[ 1.117447] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.123727] ohci-platform: OHCI generic platform driver
[ 1.129377] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.136092] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.144278] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[ 1.216226] hub 2-0:1.0: USB hub found
[ 1.220067] hub 2-0:1.0: 1 port detected
[ 1.225312] usbcore: registered new interface driver cdc_wdm
[ 1.231210] usbcore: registered new interface driver usb-storage
[ 1.237867] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.248769] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 1.259243] ctp_fetch_sysconfig_para: ctp_power_io is invalid.
[ 1.265250] ctp_fetch_sysconfig_para: wakeup_gpio is invalid.
[ 1.271180] (NULL device *): deviceless supply none not found, using dummy regulator
[ 1.279007] ------------[ cut here ]------------
[ 1.283693] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.291719] invalid GPIO -2
[ 1.294517] Modules linked in:
[ 1.297593] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.20.0-dirty #77
[ 1.304118] Hardware name: Allwinner sun8i Family
[ 1.308877] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.316641] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.323884] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.330771] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.338266] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.346286] [<c03a5380>] (gpio_to_desc) from [<c03a91cc>] (gpio_request+0x10/0x40)
[ 1.353877] [<c03a91cc>] (gpio_request) from [<c05167c4>] (ctp_init_platform_resource+0x48/0xe8)
[ 1.362681] [<c05167c4>] (ctp_init_platform_resource) from [<c0a1eb9c>] (gsl_ts_init+0x5c/0x1e8)
[ 1.371481] [<c0a1eb9c>] (gsl_ts_init) from [<c01026dc>] (do_one_initcall+0x54/0x194)
[ 1.379326] [<c01026dc>] (do_one_initcall) from [<c0a00e28>] (kernel_init_freeable+0x144/0x1dc)
[ 1.388038] [<c0a00e28>] (kernel_init_freeable) from [<c069f640>] (kernel_init+0x8/0x114)
[ 1.396227] [<c069f640>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.403797] Exception stack(0xc782bfb0 to 0xc782bff8)
[ 1.408860] bfa0: 00000000 00000000 00000000 00000000
[ 1.417045] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.425226] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.432010] ---[ end trace a905e444147477ec ]---
[ 1.436634] ------------[ cut here ]------------
[ 1.441293] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.449293] invalid GPIO -2
[ 1.452118] Modules linked in:
[ 1.455190] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.20.0-dirty #77
[ 1.463103] Hardware name: Allwinner sun8i Family
[ 1.467828] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.475584] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.482820] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.489706] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.497201] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.505217] [<c03a5380>] (gpio_to_desc) from [<c05167d4>] (ctp_init_platform_resource+0x58/0xe8)
[ 1.514012] [<c05167d4>] (ctp_init_platform_resource) from [<c0a1eb9c>] (gsl_ts_init+0x5c/0x1e8)
[ 1.522807] [<c0a1eb9c>] (gsl_ts_init) from [<c01026dc>] (do_one_initcall+0x54/0x194)
[ 1.530648] [<c01026dc>] (do_one_initcall) from [<c0a00e28>] (kernel_init_freeable+0x144/0x1dc)
[ 1.539355] [<c0a00e28>] (kernel_init_freeable) from [<c069f640>] (kernel_init+0x8/0x114)
[ 1.547542] [<c069f640>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.555110] Exception stack(0xc782bfb0 to 0xc782bff8)
[ 1.560169] bfa0: 00000000 00000000 00000000 00000000
[ 1.568353] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.576534] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.583287] ---[ end trace a905e444147477ed ]---
[ 1.587909] ctp_get_system_config:fwname:gsl_t1_v2
[ 1.592732] fw_index = 12
[ 1.630768] ------------[ cut here ]------------
[ 1.635421] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.643474] invalid GPIO -2
[ 1.646272] Modules linked in:
[ 1.649343] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.20.0-dirty #77
[ 1.657255] Hardware name: Allwinner sun8i Family
[ 1.661982] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.669740] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.676977] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.683864] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.691359] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.699375] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 1.706783] [<c050f450>] (ctp_wakeup) from [<c0a1ecf0>] (gsl_ts_init+0x1b0/0x1e8)
[ 1.714278] [<c0a1ecf0>] (gsl_ts_init) from [<c01026dc>] (do_one_initcall+0x54/0x194)
[ 1.722119] [<c01026dc>] (do_one_initcall) from [<c0a00e28>] (kernel_init_freeable+0x144/0x1dc)
[ 1.730829] [<c0a00e28>] (kernel_init_freeable) from [<c069f640>] (kernel_init+0x8/0x114)
[ 1.739016] [<c069f640>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.746583] Exception stack(0xc782bfb0 to 0xc782bff8)
[ 1.751643] bfa0: 00000000 00000000 00000000 00000000
[ 1.759826] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.768007] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.774759] ---[ end trace a905e444147477ee ]---
[ 1.801319] rotary-encoder rotary@0: gray
[ 1.806551] input: rotary@0 as /devices/platform/rotary@0/input/input0
[ 1.814819] sun6i-rtc 1f00000.rtc: registered as rtc0
[ 1.819885] sun6i-rtc 1f00000.rtc: RTC enabled
[ 1.824793] i2c /dev entries driver
[ 1.829790] GSLX680 Enter gsl_ts_probe
[ 1.834072] [GSLX680] Enter gsl_ts_init_ts
[ 1.838751] input: gslX680 as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0040/input/input1
[ 1.847192] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1.858496] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 1.860823] ------------[ cut here ]------------
[ 1.869677] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.877718] invalid GPIO -2
[ 1.880519] Modules linked in:
[ 1.883617] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 1.891791] Hardware name: Allwinner sun8i Family
[ 1.896518] Workqueue: gslX680_init glsX680_init_events
[ 1.900802] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.901789] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.909422] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[ 1.916462] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.916491] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.916519] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.924263] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 1.930262] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.957812] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 1.965223] [<c050f450>] (ctp_wakeup) from [<c050fa9c>] (glsX680_init_events+0x18/0x6c)
[ 1.970820] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.973242] [<c050fa9c>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 1.973269] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 1.980898] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.2
[ 1.988918] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.010903] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 2.018128] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.023190] bfa0: 00000000 00000000 00000000 00000000
[ 2.030877] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[ 2.031374] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.031391] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.040588] usbcore: registered new interface driver usbhid
[ 2.046661] ---[ end trace a905e444147477ef ]---
[ 2.053192] usbhid: USB HID core driver
[ 2.075140] NET: Registered protocol family 17
[ 2.079640] can: controller area network core (rev 20170425 abi 9)
[ 2.086078] NET: Registered protocol family 29
[ 2.090537] can: raw protocol (rev 20170425)
[ 2.094871] can: broadcast manager protocol (rev 20170425 t)
[ 2.100574] can: netlink gateway (rev 20170425) max_hops=1
[ 2.106596] Key type dns_resolver registered
[ 2.111145] Registering SWP/SWPB emulation handler
[ 2.117326] Loading compiled-in X.509 certificates
[ 2.118122] hub 1-1:1.0: USB hub found
[ 2.126289] ------------[ cut here ]------------
[ 2.131154] WARNING: CPU: 0 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 2.138964] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 2.139162] invalid GPIO -2
[ 2.139179] Modules linked in:
[ 2.152380] CPU: 0 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 2.160561] Hardware name: Allwinner sun8i Family
[ 2.165303] Workqueue: gslX680_init glsX680_init_events
[ 2.170578] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 2.178344] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 2.185587] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 2.192475] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 2.199973] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 2.207990] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 2.215397] [<c050f498>] (ctp_wakeup) from [<c050f724>] (init_chip+0x30/0x120)
[ 2.222632] [<c050f724>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 2.230564] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 2.239274] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 2.247379] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.254790] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 2.262013] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.267076] bfa0: 00000000 00000000 00000000 00000000
[ 2.275260] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.283441] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.290224] ---[ end trace a905e444147477f1 ]---
[ 2.295019] hub 1-1:1.0: 4 ports detected
[ 2.301451] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
[ 2.305879] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.315006] input: keys as /devices/platform/keys/input/input2
[ 2.321163] mmc0: new high speed SDHC card at address aaaa
[ 2.323563] input: gpio_keys as /devices/platform/gpio_keys/input/input3
[ 2.328427] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[ 2.337275] vcc3v0: disabling
[ 2.341442] ALSA device list:
[ 2.344423] #0: sun8i-a33-audio
[ 2.354151] mmcblk0: p1 p2
[ 2.363439] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.370811] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.390782] ------------[ cut here ]------------
[ 2.395454] WARNING: CPU: 3 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 2.403486] invalid GPIO -2
[ 2.406141] mmc2: new DDR MMC card at address 0001
[ 2.406284] Modules linked in:
[ 2.406321] CPU: 3 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 2.412606] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[ 2.414147] Hardware name: Allwinner sun8i Family
[ 2.414195] Workqueue: gslX680_init glsX680_init_events
[ 2.423426] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[ 2.426926] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 2.426972] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 2.431714] random: fast init done
[ 2.436883] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 2.443612] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[ 2.450525] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 2.450552] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 2.450586] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 2.460000] mmcblk2: p1 p2
[ 2.461210] [<c050f450>] (ctp_wakeup) from [<c050f738>] (init_chip+0x44/0x120)
[ 2.461231] [<c050f738>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 2.461259] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 2.461297] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 2.503420] EXT4-fs (mmcblk0p2): recovery complete
[ 2.506970] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.523024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.523571] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 2.531788] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.536422] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.546345] devtmpfs: mounted
[ 2.551890] bfa0: 00000000 00000000 00000000 00000000
[ 2.551909] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.551929] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.596992] ---[ end trace a905e444147477f2 ]---
[ 2.604343] Freeing unused kernel memory: 1024K
[ 2.651195] Run /sbin/init as init process
[ 2.739712] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 2.800896] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[ 2.820881] ------------[ cut here ]------------
[ 2.825611] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
Starting syslogd: [ 2.833700] invalid GPIO -2
[ 2.838046] Modules linked in:
[ 2.841217] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
OK[ 2.849424] Hardware name: Allwinner sun8i Family
[ 2.854335] Workqueue: gslX680_init glsX680_init_events
[ 2.859617] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 2.867538] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
Starting klogd: [ 2.874837] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 2.883139] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
OK
[ 2.890691] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 2.899062] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
Running sysctl: [ 2.906512] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 2.915128] [<c050f4fc>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 2.922376] [<c050f7d8>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 2.930407] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 2.939213] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 2.947380] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.954824] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
OK
[ 2.962053] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.967452] bfa0: 00000000 00000000 00000000 00000000
[ 2.975664] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.983884] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Initializing random number generator... [ 2.990738] ---[ end trace a905e444147477f3 ]---
[ 3.017803] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: [ 3.050896] ------------[ cut here ]------------
[ 3.055622] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 3.063750] invalid GPIO -2
[ 3.066597] Modules linked in:
[ 3.069722] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 3.077930] Hardware name: Allwinner sun8i Family
[ 3.082712] Workqueue: gslX680_init glsX680_init_events
[ 3.088056] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 3.095857] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 3.103110] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 3.109999] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 3.117498] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 3.125519] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 3.132931] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 3.140165] [<c050f514>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 3.147400] [<c050f7d8>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 3.155334] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 3.164044] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 3.172152] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 3.179564] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 3.186788] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 3.191850] bfa0: 00000000 00000000 00000000 00000000
[ 3.200035] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.208217] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 3.214985] ---[ end trace a905e444147477f4 ]---
OK
[ 3.290940] usb 1-1.4: reset high-speed USB device number 3 using ehci-platform
[ 3.360762] =============gsl_load_fw start==============
Welcome to Buildroot
buildroot login: [ 3.407438] =============gsl_load_fw end==============
[ 3.440768] ------------[ cut here ]------------
[ 3.445431] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 3.453489] invalid GPIO -2
[ 3.456296] Modules linked in:
[ 3.459374] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 3.467548] Hardware name: Allwinner sun8i Family
[ 3.472274] Workqueue: gslX680_init glsX680_init_events
[ 3.477544] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 3.485311] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 3.492555] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 3.499443] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 3.506941] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 3.514957] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 3.522365] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 3.529598] [<c050f4fc>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 3.536831] [<c050f7f0>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 3.544763] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 3.553474] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 3.561578] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 3.568990] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 3.576213] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 3.581274] bfa0: 00000000 00000000 00000000 00000000
[ 3.583880] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[ 3.589457] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.589473] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 3.589597] ---[ end trace a905e444147477f5 ]---
[ 3.641959] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Random ether addr 8e:c3:97:63:2e:52
[ 3.652957] r8152 1-1.4:1.0 eth0: v1.09.9
[ 3.670770] ------------[ cut here ]------------
[ 3.675422] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 3.683484] invalid GPIO -2
[ 3.686290] Modules linked in:
[ 3.689362] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 3.697535] Hardware name: Allwinner sun8i Family
[ 3.702255] Workqueue: gslX680_init glsX680_init_events
[ 3.707518] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 3.715278] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 3.722517] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 3.729403] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 3.736898] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 3.744913] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 3.752320] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 3.759553] [<c050f514>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 3.766786] [<c050f7f0>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 3.774716] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 3.783427] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 3.791532] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 3.798941] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 3.806161] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 3.811223] bfa0: 00000000 00000000 00000000 00000000
[ 3.819407] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.827590] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 3.834318] ---[ end trace a905e444147477f6 ]---
[ 4.010889] gsl_ts_read set data address fail!
[ 4.015345] #########check mem read 0xb0 = 0 0 0 0 #########
[ 4.021056] ------------[ cut here ]------------
[ 4.025704] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.033732] invalid GPIO -2
[ 4.036545] Modules linked in:
[ 4.039615] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.047788] Hardware name: Allwinner sun8i Family
[ 4.052507] Workqueue: gslX680_init glsX680_init_events
[ 4.057760] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.065519] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.072756] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.079644] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.087140] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.095156] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 4.102562] [<c050f498>] (ctp_wakeup) from [<c050f724>] (init_chip+0x30/0x120)
[ 4.109794] [<c050f724>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.117289] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 4.125651] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 4.134360] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 4.142463] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 4.149871] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 4.157092] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 4.162153] bfa0: 00000000 00000000 00000000 00000000
[ 4.170337] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.178518] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 4.185253] ---[ end trace a905e444147477f7 ]---
[ 4.280758] ------------[ cut here ]------------
[ 4.285400] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.293454] invalid GPIO -2
[ 4.296253] Modules linked in:
[ 4.299325] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.307498] Hardware name: Allwinner sun8i Family
[ 4.312213] Workqueue: gslX680_init glsX680_init_events
[ 4.317461] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.325216] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.332453] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.339339] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.346834] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.354849] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 4.362254] [<c050f450>] (ctp_wakeup) from [<c050f738>] (init_chip+0x44/0x120)
[ 4.369487] [<c050f738>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.376981] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 4.385342] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 4.394051] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 4.402153] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 4.409561] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 4.416783] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 4.421843] bfa0: 00000000 00000000 00000000 00000000
[ 4.430028] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.438210] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 4.444944] ---[ end trace a905e444147477f8 ]---
[ 4.660752] ------------[ cut here ]------------
[ 4.665392] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.673433] invalid GPIO -2
[ 4.676238] Modules linked in:
[ 4.679308] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.687482] Hardware name: Allwinner sun8i Family
[ 4.692196] Workqueue: gslX680_init glsX680_init_events
[ 4.697445] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.705201] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.712438] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.719325] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.726822] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.734837] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 4.742243] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 4.749476] [<c050f4fc>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 4.756709] [<c050f7d8>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.764202] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 4.772563] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 4.781271] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 4.789373] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 4.796781] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 4.804002] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 4.809061] bfa0: 00000000 00000000 00000000 00000000
[ 4.817246] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.825428] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 4.832161] ---[ end trace a905e444147477f9 ]---
[ 4.890756] ------------[ cut here ]------------
[ 4.895393] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.903444] invalid GPIO -2
[ 4.906249] Modules linked in:
[ 4.909318] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.917490] Hardware name: Allwinner sun8i Family
[ 4.922204] Workqueue: gslX680_init glsX680_init_events
[ 4.927452] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.935208] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.942445] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.949332] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.956827] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.964841] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 4.972247] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 4.979480] [<c050f514>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 4.986713] [<c050f7d8>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.994207] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 5.002568] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 5.011275] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 5.019377] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 5.026785] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.034006] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 5.039066] bfa0: 00000000 00000000 00000000 00000000
[ 5.047252] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.055433] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.062175] ---[ end trace a905e444147477fa ]---
[ 5.210752] =============gsl_load_fw start==============
[ 5.257384] =============gsl_load_fw end==============
[ 5.290757] ------------[ cut here ]------------
[ 5.295399] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 5.303451] invalid GPIO -2
[ 5.306255] Modules linked in:
[ 5.309329] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 5.317501] Hardware name: Allwinner sun8i Family
[ 5.322216] Workqueue: gslX680_init glsX680_init_events
[ 5.327466] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 5.335224] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 5.342461] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 5.349347] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 5.356843] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 5.364857] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 5.372264] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 5.379496] [<c050f4fc>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 5.386730] [<c050f7f0>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 5.394224] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 5.402586] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 5.411295] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 5.419397] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 5.426805] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.434027] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 5.439087] bfa0: 00000000 00000000 00000000 00000000
[ 5.447273] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.455455] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.462189] ---[ end trace a905e444147477fb ]---
[ 5.520765] ------------[ cut here ]------------
[ 5.525402] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 5.533454] invalid GPIO -2
[ 5.536259] Modules linked in:
[ 5.539330] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 5.547502] Hardware name: Allwinner sun8i Family
[ 5.552216] Workqueue: gslX680_init glsX680_init_events
[ 5.557464] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 5.565220] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 5.572456] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 5.579343] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 5.586839] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 5.594853] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 5.602259] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 5.609491] [<c050f514>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 5.616724] [<c050f7f0>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 5.624220] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 5.632581] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 5.641289] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 5.649390] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 5.656798] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.664020] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 5.669079] bfa0: 00000000 00000000 00000000 00000000
[ 5.677263] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.685445] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.692178] ---[ end trace a905e444147477fc ]---
离线
下面是设备树的配置:
ctp{
compatible = "gslX680";
ctp_used = <1>;
ctp_name = "gsl_t1_v2";
ctp_twi_id = <0>;
ctp_twi_addr = <0x40>;
ctp_screen_max_x = <600>;
ctp_screen_max_y = <800>;
ctp_revert_x_flag = <0>;
ctp_revert_y_flag = <0>;
ctp_exchange_x_y_flag = <1>;
i2c-max-frequency = <100000>;
/*ctp_int_port = <&pio PE 10 0 6 1 1>;*/
/*ctp_wakeup = <&pio PE 9 0 1 1 1>;*/
/*interrupt-parent = <&pio>;*/
ctp_int_port = <&pio 6 10 IRQ_TYPE_LEVEL_LOW>; /*PG10*/
ctp_power_ldo = "none";
ctp_power_ldo_vol = <3300>;
/*ctp_power_io = <>;*/
reg=<0x40>;
};
离线
驱动就是这个了: drivers/input/touchscreen/silead.c
勾选 CONFIG_TOUCHSCREEN_SILEAD
配置设备树: "silead,gsl1680"
好的,我试一下,非常感谢!
离线
驱动就是这个了: drivers/input/touchscreen/silead.c
勾选 CONFIG_TOUCHSCREEN_SILEAD
配置设备树: "silead,gsl1680"
勾选了CONFIG_TOUCHSCREEN_SILEAD,并配置了设备树:
gsl1680: touchscreen@40 {
compatible = "silead,gsl1680";
reg = <0x40>;
interrupt-parent = <&pio>;
interrupts = <6 10 IRQ_TYPE_EDGE_FALLING>;//PG10
/*power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;*/
touchscreen-size-x = <600>;
touchscreen-size-y = <800>;
touchscreen-inverted-x;
touchscreen-swapped-x-y;
silead,max-fingers = <5>;
};
运行后一直出现:
silead_ts 0-0040: Chip ID read error -6
我在想,驱动是内核提供的应该不会出错,那就可能是设备树部分,0x40是i2c的设备地址,但是也没有涉及到chip_id呀,有点不明白,哪里出问题了。
最近编辑记录 jkl (2020-10-22 20:19:14)
离线
https://elixir.bootlin.com/linux/v5.9/source/drivers/input/touchscreen/silead.c#L339
就是读chip id 错误, 检查硬件有没有问题, 逻辑分析仪伺候一下.
你好,我更换了一个没有问题的芯片,但是依旧是读取chip id 错误:
drivers/input/touchscreen/silead.c 477 silead_ts_probe
[ 1.293810] drivers/input/touchscreen/silead.c 485 silead_ts_probe
[ 1.299996] drivers/input/touchscreen/silead.c 492 silead_ts_probe
[ 1.306213] drivers/input/touchscreen/silead.c 498 silead_ts_probe
[ 1.312418] drivers/input/touchscreen/silead.c 502 silead_ts_probe
[ 1.318634] silead_ts 0-0040: 0-0040 supply vddio not found, using dummy regulator
[ 1.326344] silead_ts 0-0040: Linked as a consumer to regulator.0
[ 1.332506] silead_ts 0-0040: 0-0040 supply avdd not found, using dummy regulator
[ 1.340111] drivers/input/touchscreen/silead.c 509 silead_ts_probe
[ 1.346306] drivers/input/touchscreen/silead.c 518 silead_ts_probe
[ 1.352518] drivers/input/touchscreen/silead.c 522 silead_ts_probe
[ 1.358776] drivers/input/touchscreen/silead.c 530 silead_ts_probe
[ 1.440182] drivers/input/touchscreen/silead.c silead_ts_get_id 343
[ 1.510064] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1.711876] hub 1-1:1.0: USB hub found
[ 1.715872] hub 1-1:1.0: 4 ports detected
[ 2.140059] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[ 2.610119] usb 1-1.4: reset high-speed USB device number 3 using ehci-platform
[ 2.903169] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[ 2.951245] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Random ether addr aa:88:99:10:32:06
[ 2.962124] r8152 1-1.4:1.0 eth0: v1.09.9
[ 3.530064] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 3.536611] drivers/input/touchscreen/silead.c silead_ts_get_id 346
[ 3.542911] error = -110
[ 3.545459] silead_ts 0-0040: Chip ID read error -110
[ 3.550819] silead_ts: probe of 0-0040 failed with error -110
[ 3.560700] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
离线
请问一下,现在一直打印出下面错误:
i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
看上面的英文意思就是说I2C总线被锁定了,这可能是什么导致了,有什么解决方法?感谢
离线