最近调试项目时遇到一个奇怪的问题。

当linux 系统繁忙时(开机,关机或APP繁忙等情况),此时按下触摸屏后,

I2C总线就会报错,TP读数据失败,之后内存报错,重启。

root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# [ 199.777017] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
[ 200.847813] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x38)
[ 200.857621] 0x02502a00: 01011001 00000001 00007100 00010021
[ 200.864177] 0x02502a10: 000080c0 00010004 01100010 00000001
[ 200.870703] hy46xx_ts 2-0038: fhy46xx_i2c_Read: i2c read error.
[ 200.877463] hy46xx_ts 2-0038: hy46xx_read_Touchdata read touchdata failed.
[ 200.885383] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
[ 201.967821] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x38)
[ 201.977597] 0x02502a00: 01011001 00000001 00007100 00010021
[ 201.984129] 0x02502a10: 000080c0 00010004 01100010 00000001
[ 201.990648] hy46xx_ts 2-0038: fhy46xx_i2c_Read: i2c read error.
[ 201.997400] hy46xx_ts 2-0038: hy46xx_read_Touchdata read touchdata failed.
[ 202.005290] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
[ 203.087847] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x38)
[ 203.097632] 0x02502a00: 01011001 00000001 00007100 00010021
[ 203.104146] 0x02502a10: 000080c0 00010004 01100010 00000001
[ 203.110665] hy46xx_ts 2-0038: fhy46xx_i2c_Read: i2c read error.
[ 203.117391] hy46xx_ts 2-0038: hy46xx_read_Touchdata read touchdata failed.
[ 207.567486] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
[ 208.607814] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x38)
[ 208.617646] 0x02502a00: 01011001 00000001 00007100 00010021
[ 208.624170] 0x02502a10: 000080c0 00010004 01100010 00000001
[ 208.630683] hy46xx_ts 2-0038: fhy46xx_i2c_Read: i2c read error.
[ 208.637404] hy46xx_ts 2-0038: hy46xx_read_Touchdata read touchdata failed.
[ 208.645313] sunxi_i2c_drv_core_process()925 - [i2c2] Timeout when sending 9th SCL clk
[ 209.727807] i2c_sunxi_drv_complete()1077 - [i2c2] incomplete xfer(status: 0x1, dev addr: 0x38)
[ 209.737654] 0x02502a00: 01011001 00000001 00007100 00010021
[ 209.744190] 0x02502a10: 000080c0 00010004 01100010 00000001
[ 209.750683] hy46xx_ts 2-0038: fhy46xx_i2c_Read: i2c read error.
[ 209.757424] hy46xx_ts 2-0038: hy46xx_read_Touchdata read touchdata failed.
[ 221.624975] 8<--- cut here ---
[ 221.628575] Unable to handle kernel paging request at virtual address 8201cb00
[ 221.636783] pgd = 4d9c9bba
[ 221.640006] [8201cb00] *pgd=00000000
[ 221.644965] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 221.650935] Modules linked in: mt7601Uap(O) esp8089(O) xt_time xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG iptable_filter ipt_REJECT fuse disp [last unloaded: mt7601Uap]
[ 221.669992] CPU: 0 PID: 1822 Comm: APP Tainted: G O 5.4.61 #304
[ 221.678092] Hardware name: Generic DT based system
[ 221.683474] PC is at __kmalloc+0x130/0x194
[ 221.688070] LR is at slab_pre_alloc_hook+0x18/0x2c
[ 221.693444] pc : [<c01d0c74>] lr : [<c01ceea8>] psr: a00f0013
[ 221.700472] sp : c46e5d70 ip : e99b5807 fp : c2163a00
[ 221.706329] r10: 00009864 r9 : c46e5d70 r8 : c02434d8
[ 221.712189] r7 : 00000dc0 r6 : c46e4000 r5 : c7001e00 r4 : 8201cb00
[ 221.719510] r3 : 00000000 r2 : 06b73000 r1 : 00009864 r0 : c7001e00
[ 221.726829] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 221.734838] Control: 10c5387d Table: 4755806a DAC: 00000051
[ 221.741283] Process APP (pid: 1822, stack limit = 0xaac39cc5)
[ 221.747729] Stack: (0xc46e5d70 to 0xc46e6000)
[ 221.752617] 5d60: c42cb00c c6e1a708 06bf4962 c537fc40
[ 221.761796] 5d80: 90b73236 c46e5dd4 c42cb00c c02434d8 c42cb00c c6e1a708 c46e5e30 00000001
[ 221.770973] 5da0: c6e129c0 00000000 00000000 c026ca54 c46e5dd4 c6e129c0 c42cb000 00001000
[ 221.780150] 5dc0: 00000000 0000000c c2163a00 c42cbff8 00000064 c42cb014 00000002 6d8c1c09
[ 221.789328] 5de0: 00000018 00000000 c6e1a708 00000000 00000000 c2163a00 c6e1a708 c537fc60
[ 221.798505] 5e00: 00000000 c026d50c 00000000 00000000 c7508720 c02cc5c8 c0c05608 00000000
[ 221.807677] 5e20: 00000000 c01e14dc c71e4800 c0c05608 90b73236 06bf4962 00000004 c72c7894
[ 221.816857] 5e40: 00000000 00024800 00000000 c091c7aa 00000043 c7508ed8 000041ed c0c05608
[ 221.826032] 5e60: b02fe9a8 6d8c1c09 c0242d6c c46e5f68 c6e1a708 c2163a00 c537fc40 c6089400
[ 221.835209] 5e80: c6e1a708 00000000 00000000 c0242ee4 00000000 00000f65 000041ed 00000002
[ 221.844387] 5ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
[ 221.853565] 5ec0: 00001000 00000000 00000008 00000000 633112ff 35a4e903 6331138b 1017dfc6
[ 221.862743] 5ee0: 6331138b 6d8c1c09 00000f65 c2163a00 00000000 c6e1a708 00000001 c46e5f68
[ 221.871921] 5f00: c46e4000 000000d9 b02fefac c01e8bec c2163a00 c46e5f68 c2163900 00000000
[ 221.881099] 5f20: c4ba5ba8 00000000 c46e5f68 c46e4000 000000d9 c01e8bec c2163900 c46e5f68
[ 221.890276] 5f40: b1b00610 c0c05608 00008000 c2163900 c0101228 c46e4000 000000d9 c01e93ac
[ 221.899452] 5f60: c2163900 00000003 c01e8ef8 00000000 00000000 00000000 b1b00610 00000000
[ 221.908629] 5f80: 00008000 00000000 00000008 6d8c1c09 000c8930 b1b005f0 b1b005f4 b02ff930
[ 221.917807] 5fa0: 000000d9 c0101000 b1b005f0 b1b005f4 0000001b b1b00610 00008000 00000000
[ 221.926987] 5fc0: b1b005f0 b1b005f4 b02ff930 000000d9 b1b00610 00000000 000d2af8 b02fefac
[ 221.936165] 5fe0: 000f1324 b02fe9f0 b54c2878 b54c27d0 600f0010 0000001b 00000000 00000000
[ 221.945359] [<c01d0c74>] (__kmalloc) from [<c02434d8>] (ext4_htree_store_dirent+0x28/0xfc)
[ 221.954642] [<c02434d8>] (ext4_htree_store_dirent) from [<c026ca54>] (htree_dirblock_to_tree+0x1bc/0x214)
[ 221.965384] [<c026ca54>] (htree_dirblock_to_tree) from [<c026d50c>] (ext4_htree_fill_tree+0x104/0x2bc)
[ 221.975835] [<c026d50c>] (ext4_htree_fill_tree) from [<c0242ee4>] (ext4_readdir+0x200/0x790)
[ 221.985309] [<c0242ee4>] (ext4_readdir) from [<c01e8bec>] (iterate_dir+0x88/0x130)
[ 221.993807] Code: eb154c75 e1a00004 e8bd87f0 e5953014 (e7940003)
[ 222.000907] 8<--- cut here ---
[ 222.004350] Unable to handle kernel paging request at virtual address 8201cb00
[ 222.012573] pgd = 4d9c9bba
[ 222.015678] [8201cb00] *pgd=00000000
[ 222.019738] Internal error: Oops: 5 [#2] PREEMPT SMP ARM
[ 222.025697] Modules linked in: mt7601Uap(O) esp8089(O) xt_time xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG iptable_filter ipt_REJECT fuse disp [last unloaded: mt7601Uap]
[ 222.044748] CPU: 0 PID: 1822 Comm: APP Tainted: G D O 5.4.61 #304
[ 222.052848] Hardware name: Generic DT based system
[ 222.058247] PC is at kmem_cache_alloc+0xfc/0x160
[ 222.063427] LR is at slab_pre_alloc_hook+0x18/0x2c
[ 222.068799] pc : [<c01d0dd4>] lr : [<c01ceea8>] psr: a0000113
[ 222.075826] sp : c46e58c0 ip : 00000040 fp : 00000003
[ 222.081685] r10: 00009864 r9 : c46e58c0 r8 : c05b4428
[ 222.087544] r7 : 00000a20 r6 : c46e4000 r5 : c7001e00 r4 : 8201cb00
[ 222.094865] r3 : 00000000 r2 : 06b73000 r1 : 00009864 r0 : c7001e00
[ 222.102188] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 222.110192] Control: 10c5387d Table: 4755806a DAC: 00000051
[ 222.116640] Process APP (pid: 1822, stack limit = 0xaac39cc5)
[ 222.123082] Stack: (0xc46e58c0 to 0xc46e6000)
[ 222.127974] 58c0: c71a0910 c46e5998 c71a0680 c46e5994 c71e4780 c46e5a1c c46e59f8 c05b4428
[ 222.137151] 58e0: c71a0680 c71a0784 c71a0910 00000008 c46e59c0 c05e30b4 c46e59f8 c05b59a0
[ 222.146326] 5900: 00000001 c76c6dc0 c707d800 c707d780 c7384b00 c7384b80 c46e5998 c71a0680
[ 222.155504] 5920: c46e5994 c46e59c0 c46e59f8 0100007f c71a0680 c05e394c 00000047 00000008
[ 222.164682] 5940: c46e5998 c46e5994 00000040 c4532010 c5e07400 000000c0 c4532010 00000000
[ 222.173860] 5960: 00000003 c05e3d8c 000000c0 00000000 00000003 00000003 c46e59f8 c0c05608
[ 222.183037] 5980: c71a06f0 00000000 c5e0741c c0c05608 c68fc4c0 c71e4780 00000000 00000000
[ 222.192214] 59a0: 00000000 00000000 0100007f 00000000 c46e5a1c ffff0000 00000000 00000000
[ 222.201391] 59c0: 00000001 00000001 00000000 00010000 00000000 00000000 00000000 00000000
[ 222.210563] 59e0: 00000000 00000000 0100007f 0100007f 00000303 00000000 c5e07400 ffffffec
[ 222.219742] 5a00: 0000003f 00000303 00000000 c7036cc0 c5e07400 c6a65b28 00000008 6d8c1c09
[ 222.228920] 5a20: c09335da 00000000 00000000 00000000 00000000 0000ecd9 00000000 00000000
[ 222.238098] 5a40: c5e07400 c05dce20 00000035 00000001 00000000 c73eb160 c5e07400 6d8c1c09
[ 222.247274] 5a60: c09335da c5e07400 c4532024 00000000 00000000 00000011 c0c41ac0 c0c085e0
[ 222.256453] 5a80: 0000002b c05e0238 c5e0741c 00000001 00000000 c0c085e0 c5e07400 c4080a90
[ 222.265630] 5aa0: c5e07400 c4080a80 c46e5ad8 6d8c1c09 0100007f c057e3b4 0100007f 00000001
[ 222.274808] 5ac0: c0c05608 6d8c1c09 c05b1118 c5e07400 c0c45c7c c0c41ac0 00000000 c0c08190
[ 222.283983] 5ae0: 00000000 00000040 00000040 c05b100c c0c41ac0 c5e07400 00000011 c5e07400
[ 222.293164] 5b00: c0c41ac0 c7031000 00000001 c76b86c8 00000000 c05b1178 c0c05608 c05b1210
[ 222.302339] 5b20: c7031000 c054441c c5e07400 c5e07400 c0c086a0 6d8c1c09 c76b8770 c5e07400
[ 222.311517] 5b40: 00000001 c054460c c76b86c0 c76b8770 c0b456c0 06b73000 00000001 c46e5b7c
[ 222.320697] 5b60: c0c4aac9 c054559c 0000012c ffffe185 c0c05608 c0c02d00 c46e4000 c46e5b7c
[ 222.329871] 5b80: c46e5b7c c46e5b84 c46e5b84 6d8c1c09 c09335da c46e4000 40000003 00000008
[ 222.339051] 5ba0: c46e5bb8 00000003 c0c02080 c0c0208c 00000100 c0102ae4 00000000 c76b142c
[ 222.348222] 5bc0: 00400040 0000000a c0b44980 ffffe160 00000004 c0c02d00 00000000 c0b44980
[ 222.357400] 5be0: 00000003 00000000 c46e5c38 c090fcae c46e4000 c0c0abb0 00000005 c011da44
[ 222.366574] 5c00: 00000000 c010c5fc c8802000 c0c05960 c46e5c38 c8803000 c090fcae c036b854
[ 222.375755] 5c20: c010aa88 60000013 ffffffff c46e5c6c c090fcae c01021cc 00000000 c0c51428
[ 222.384931] 5c40: 00001080 60000013 c46e5d20 c0c5125c 0000000b c7387080 c090fcae ffffe000
[ 222.394108] 5c60: c0c0abb0 00000005 00000000 c46e5c88 c010aa54 c010aa88 60000013 ffffffff
[ 222.403285] 5c80: 00000051 bf000000 c46e4210 0000000b c090fc32 60000013 00000000 8201cb00
[ 222.412461] 5ca0: c46e5d20 00000005 c609da00 c609da00 00000005 c609da40 00000000 c010f498
[ 222.421639] 5cc0: c7387080 c010f1d8 8201cb00 00010000 c46e5d20 00000005 c0c0ad24 8201cb00
[ 222.430815] 5ce0: c46e5d20 c02434d8 c46e4000 00009864 c2163a00 c010f330 c6e129c0 5a827999
[ 222.439993] 5d00: 6ed9eba1 c024f498 5b6af68f c01d0c74 a00f0013 ffffffff c46e5d54 c0102138
[ 222.449166] 5d20: c7001e00 00009864 06b73000 00000000 8201cb00 c7001e00 c46e4000 00000dc0
[ 222.458346] 5d40: c02434d8 c46e5d70 00009864 c2163a00 e99b5807 c46e5d70 c01ceea8 c01d0c74
[ 222.467521] 5d60: a00f0013 ffffffff 00000051 bf000000 c42cb00c c6e1a708 06bf4962 c537fc40
[ 222.476699] 5d80: 90b73236 c46e5dd4 c42cb00c c02434d8 c42cb00c c6e1a708 c46e5e30 00000001
[ 222.485877] 5da0: c6e129c0 00000000 00000000 c026ca54 c46e5dd4 c6e129c0 c42cb000 00001000
[ 222.495054] 5dc0: 00000000 0000000c c2163a00 c42cbff8 00000064 c42cb014 00000002 6d8c1c09
[ 222.504232] 5de0: 00000018 00000000 c6e1a708 00000000 00000000 c2163a00 c6e1a708 c537fc60
[ 222.513409] 5e00: 00000000 c026d50c 00000000 00000000 c7508720 c02cc5c8 c0c05608 00000000
[ 222.522582] 5e20: 00000000 c01e14dc c71e4800 c0c05608 90b73236 06bf4962 00000004 c72c7894
[ 222.531757] 5e40: 00000000 00024800 00000000 c091c7aa 00000043 c7508ed8 000041ed c0c05608
[ 222.540932] 5e60: b02fe9a8 6d8c1c09 c0242d6c c46e5f68 c6e1a708 c2163a00 c537fc40 c6089400
[ 222.550110] 5e80: c6e1a708 00000000 00000000 c0242ee4 00000000 00000f65 000041ed 00000002
[ 222.559287] 5ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
[ 222.568465] 5ec0: 00001000 00000000 00000008 00000000 633112ff 35a4e903 6331138b 1017dfc6
[ 222.577643] 5ee0: 6331138b 6d8c1c09 00000f65 c2163a00 00000000 c6e1a708 00000001 c46e5f68
[ 222.586821] 5f00: c46e4000 000000d9 b02fefac c01e8bec c2163a00 c46e5f68 c2163900 00000000
[ 222.595998] 5f20: c4ba5ba8 00000000 c46e5f68 c46e4000 000000d9 c01e8bec c2163900 c46e5f68
[ 222.605174] 5f40: b1b00610 c0c05608 00008000 c2163900 c0101228 c46e4000 000000d9 c01e93ac
[ 222.614352] 5f60: c2163900 00000003 c01e8ef8 00000000 00000000 00000000 b1b00610 00000000
[ 222.623524] 5f80: 00008000 00000000 00000008 6d8c1c09 000c8930 b1b005f0 b1b005f4 b02ff930
[ 222.632702] 5fa0: 000000d9 c0101000 b1b005f0 b1b005f4 0000001b b1b00610 00008000 00000000
[ 222.641880] 5fc0: b1b005f0 b1b005f4 b02ff930 000000d9 b1b00610 00000000 000d2af8 b02fefac
[ 222.651059] 5fe0: 000f1324 b02fe9f0 b54c2878 b54c27d0 600f0010 0000001b 00000000 00000000
[ 222.660253] [<c01d0dd4>] (kmem_cache_alloc) from [<c05b4428>] (ip_setup_cork+0x11c/0x144)
[ 222.669437] [<c05b4428>] (ip_setup_cork) from [<c05b59a0>] (ip_append_data.part.11+0x44/0xac)
[ 222.679010] [<c05b59a0>] (ip_append_data.part.11) from [<c05e394c>] (icmp_push_reply+0x4c/0x124)
[ 222.688867] [<c05e394c>] (icmp_push_reply) from [<c05e3d8c>] (__icmp_send+0x330/0x3a8)
[ 222.697753] [<c05e3d8c>] (__icmp_send) from [<c05e0238>] (__udp4_lib_rcv+0x60c/0x6d0)
[ 222.706542] [<c05e0238>] (__udp4_lib_rcv) from [<c05b100c>] (ip_protocol_deliver_rcu+0xac/0x1b8)
[ 222.716405] [<c05b100c>] (ip_protocol_deliver_rcu) from [<c05b1178>] (ip_local_deliver_finish+0x60/0x6c)
[ 222.727052] [<c05b1178>] (ip_local_deliver_finish) from [<c054441c>] (__netif_receive_skb_one_core+0x4c/0x6c)
[ 222.738183] [<c054441c>] (__netif_receive_skb_one_core) from [<c054460c>] (process_backlog+0x98/0x13c)
[ 222.748629] [<c054460c>] (process_backlog) from [<c054559c>] (net_rx_action+0x11c/0x308)
[ 222.757712] [<c054559c>] (net_rx_action) from [<c0102ae4>] (__do_softirq+0x1fc/0x278)
[ 222.766503] [<c0102ae4>] (__do_softirq) from [<c011da44>] (irq_exit+0x78/0xd0)
[ 222.774620] [<c011da44>] (irq_exit) from [<c010c5fc>] (handle_IPI+0x80/0x168)
[ 222.782630] [<c010c5fc>] (handle_IPI) from [<c036b854>] (gic_handle_irq+0x70/0x78)
[ 222.791131] [<c036b854>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
[ 222.799525] Exception stack(0xc46e5c38 to 0xc46e5c80)
[ 222.805190] 5c20: 00000000 c0c51428
[ 222.814369] 5c40: 00001080 60000013 c46e5d20 c0c5125c 0000000b c7387080 c090fcae ffffe000
[ 222.823547] 5c60: c0c0abb0 00000005 00000000 c46e5c88 c010aa54 c010aa88 60000013 ffffffff
[ 222.832730] [<c01021cc>] (__irq_svc) from [<c010aa88>] (die+0x214/0x2f4)
[ 222.840256] [<c010aa88>] (die) from [<c010f498>] (__do_kernel_fault.part.0+0x60/0x88)
[ 222.849048] [<c010f498>] (__do_kernel_fault.part.0) from [<c010f1d8>] (do_page_fault+0x268/0x270)
[ 222.859014] [<c010f1d8>] (do_page_fault) from [<c010f330>] (do_DataAbort+0x38/0xb8)
[ 222.867605] [<c010f330>] (do_DataAbort) from [<c0102138>] (__dabt_svc+0x58/0x80)
[ 222.875901] Exception stack(0xc46e5d20 to 0xc46e5d68)
[ 222.881571] 5d20: c7001e00 00009864 06b73000 00000000 8201cb00 c7001e00 c46e4000 00000dc0
[ 222.890748] 5d40: c02434d8 c46e5d70 00009864 c2163a00 e99b5807 c46e5d70 c01ceea8 c01d0c74
[ 222.899921] 5d60: a00f0013 ffffffff
[ 222.903843] [<c0102138>] (__dabt_svc) from [<c01d0c74>] (__kmalloc+0x130/0x194)
[ 222.912052] [<c01d0c74>] (__kmalloc) from [<c02434d8>] (ext4_htree_store_dirent+0x28/0xfc)
[ 222.921332] [<c02434d8>] (ext4_htree_store_dirent) from [<c026ca54>] (htree_dirblock_to_tree+0x1bc/0x214)
[ 222.932073] [<c026ca54>] (htree_dirblock_to_tree) from [<c026d50c>] (ext4_htree_fill_tree+0x104/0x2bc)
[ 222.942524] [<c026d50c>] (ext4_htree_fill_tree) from [<c0242ee4>] (ext4_readdir+0x200/0x790)
[ 222.952000] [<c0242ee4>] (ext4_readdir) from [<c01e8bec>] (iterate_dir+0x88/0x130)
[ 222.960499] Code: eb154c1d e1a00004 e8bd87f0 e5953014 (e7940003)
[ 222.967497] ---[ end trace d24442ecf336d28e ]---
[ 222.972782] Kernel panic - not syncing: Fatal exception in interrupt
[ 222.979931] CPU1: stopping
[ 222.982980] CPU: 1 PID: 1319 Comm: logread Tainted: G D O 5.4.61 #304
[ 222.991469] Hardware name: Generic DT based system
[ 222.996863] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14)
[ 223.005558] [<c010a870>] (show_stack) from [<c0725220>] (dump_stack+0x7c/0x98)
[ 223.013667] [<c0725220>] (dump_stack) from [<c010c648>] (handle_IPI+0xcc/0x168)
[ 223.021874] [<c010c648>] (handle_IPI) from [<c036b854>] (gic_handle_irq+0x70/0x78)
[ 223.030373] [<c036b854>] (gic_handle_irq) from [<c01025b0>] (__irq_usr+0x50/0x80)
[ 223.038765] Exception stack(0xc4037fb0 to 0xc4037ff8)
[ 223.044432] 7fa0: 0000000a b6e287e8 00000000 000000ff
[ 223.053609] 7fc0: 00000000 ffff0000 00000000 0204c2c8 bebc0858 bebc0838 0045a12c 00000000
[ 223.062785] 7fe0: ffffffff bebc07b8 b6d92d58 b6d9305a 600e0430 ffffffff
[ 223.070213] Rebooting in 3 seconds..

  

找了很长时间终于找到原因:

设备树中去掉dma 配置后正常,暂时怀疑可能是dma 和其他地方配置冲突导致的。

&twi2 {
clock-frequency = <200000>; pinctrl-0 = <&twi2_pins_a>;
pinctrl-1 = <&twi2_pins_b>;
pinctrl-names = "default", "sleep";
// twi_drv_used = <1>;
// dmas = <&dma 45>, <&dma 45>;
// dma-names = "tx", "rx";
status = "okay";

  

全志R528 系统繁忙时触摸屏I2C报错问题。的更多相关文章

  1. Centos系统创建用户oracle后,用该用户登陆系统,页面加载报错GConf error

    Linux 的 GConf error 解决办法 问题: Centos系统创建用户oracle后,用该用户登陆系统,页面加载报错,导致重新进入Centos系统后出现: GConf error:Fail ...

  2. soamanager发布的Webservice服务,调用时出现http500报错

    最近再给薪酬那边发布ws服务时出现了报错,调用方反馈了errorCode:BEA-380002.在使用XMLspy工具去调用这个WSDL时候,则反馈http500的错误消息.如下图: 遇到这种问题我通 ...

  3. 当子查询内存在ORDER BY 字句时查询会报错

    问题:当子查询内存在ORDER BY 字句时查询会报错 SQL: SELECT * FROM ( SELECT * FROM USER ORDER BY USER_CORD ) S. 解决办法:在子查 ...

  4. 连接远程MySQL数据库项目启动时,不报错但是卡住不继续启动的,

    连接远程MySQL数据库项目启动时,不报错但是卡住不继续启动的, 2018-03-12 17:08:52.532DEBUG[localhost-startStop-1]o.s.beans.factor ...

  5. 关于使用CodeFirst,修改类或上下文时操作数据库报错解决方法

    在操作已经创建好的数据库时,若是添加新的实体类或者修改原有数据库上下文,会报如下错误: The model backing the 'StudentDbContext' context has cha ...

  6. nuget包管理nuget服务器发布包时出现请求报错 406 (Not Acceptable)

    在window服务器上部署nuget服务器时,发布包时出现请求报错 406 (Not Acceptable) 验证用户名.密码正确的情况下,还是出现上面错误.后面跟踪服务器日志,发现window\te ...

  7. Jenkins安装时Web页面报错提示离线安装

    先跳过所有. 方法1 先看它的提示:”参考离线Jenkins安装文档“发现链接点不开,我还以为是被墙了呢,FQ以后还是打不开.看来这个参考文档是没有用滴.点击配置HTTP代理跳出如下界面:安装Jenk ...

  8. python3写入文件时编码问题报错

    在字符串写入文件时,有时会因编码问题导致无法写入,可在open方法中指定encoding参数 chfile = open(filename, 'w', encoding='utf-8') 这样可解决大 ...

  9. Django_重装系统后无法使用 sqlite 数据库报错:com.intellij.execution.ExecutionException: Exception in thread "main" java.lang.ClassNotFoundException: org.sqlite.JDBC

     重装系统后无法使用 sqlite 数据库报错 报错 : com.intellij.execution.ExecutionException: Exception in thread "ma ...

  10. oracle-function-into时为null报错

    oracle-function-into时为null报错 create or replace function P_ADD_CUSTOMER_FOR_CSS_heyt_test(i_cust_name ...

随机推荐

  1. 通过齐博fun函数实现调用每周赚取的积分排行使用

    下面代码保存到fun函数目录即可 <?php namespace app\common\fun; use think\db; class Jfrank { /** * @param string ...

  2. day03-2-拓展

    满汉楼03 5.拓展_多表查询 前面都是对单表进行操作 思考一个问题:如果多表查询怎么处理?例如,查看账单时,希望现实菜品名称 查询的结果从上图变为下图: 方案一 由多张表组合查询的的结果,我们仍然可 ...

  3. offset新探索:双管齐下,加速大数据量查询

    摘要:随着offset的增加,查询的时长也会越来越长.当offset达到百万级别的时候查询时长通常是业务所不能容忍的. 本文分享自华为云社区<offset新探索:双管齐下,加速大数据量查询> ...

  4. RegExp正则表达式的匹配

    JavaScript RegExp 对象 RegExp 对象 正则表达式是描述字符模式的对象. 正则表达式用于对字符串模式匹配及检索替换,是对字符串执行模式匹配的强大工具. 语法 var patt=n ...

  5. Kubernetes核心技术-Controller

    Kubernetes核心技术-Controller 内容 什么是Controller Pod和Controller的关系 Deployment控制器应用场景Deployment控制器应用 yaml文件 ...

  6. sqlserver数据库还原

    这里是从A服务器备份的数据库文件,还原到本地B电脑的数据库.因数据库版本相同,故而未曾出现其他版本问题 1.有个bak的备份文件 2.在B电脑新建一个数据库test. 3.设置test数据库的访问限制 ...

  7. python安装/环境变量配置/多版本共存

    Python学习之路Day02: 一.今日学习内容概括: 计算机五大组成部分详解 计算机三大核心硬件 操作系统 编程与编程语言 编程语言的发展 编程语言分类 python解释器 Python Pyth ...

  8. vue 中使用 this 更新数据的一次大坑

    情景说明: 之前用 vue 做数据绑定更新时,发现一个莫名奇妙的问题. 我在 vue 实例中声明了一个数组属性如 books: [],在异步请求的回调函数中使用 this.books = res.da ...

  9. day23 JDBC(Java Database Connection)连接 与 通配符与插入返回主键

    JDBC配置connector的jar包 1.项目下新建lib文件夹 2.将mysql-connector-java-版本号.jar复制到lib目录下 3.右键项目名,选择Properties选项 4 ...

  10. 2.2:常用的Python数据类型、字符串、dtype

    一.内置数据类型 1.整型 2.浮点型 3.字符串 4.复数 5.布尔类型bool 6.None类型 二.字符串 1.从键盘输入数据 s = input() 2.用eval去引号求值 eval(&qu ...