Firefly开源社区
标题:
ROC-RK3308B-CC-PLUS+7寸屏使用QT固件内核报错
[打印本页]
作者:
qjmiao
时间:
2020-10-31 22:24
标题:
ROC-RK3308B-CC-PLUS+7寸屏使用QT固件内核报错
固件是ROC-RK3308B-CC-PLUS_ROOTFS-EXT2-Qt-rgb_7.0inch-20201010,内核报多个错误和调用栈。
===============================================
[ 11.192667] Freeing drm_logo memory: 616K
[ 11.312169] Unbalanced enable for IRQ 56
[ 11.312184] ------------[ cut here ]------------
[ 11.312188] WARNING: at kernel/irq/manage.c:513
[ 11.312193] Modules linked in:
[ 11.312194]
[ 11.312205] CPU: 2 PID: 623 Comm: QLauncher Not tainted 4.4.143 #209
[ 11.312208] Hardware name: Firefly ROC-RK3308B-CC-PLUS analog mic rgb_7.0inch board (DT)
[ 11.312214] task: ffffffc01e4f1580 task.stack: ffffffc01460c000
[ 11.312231] PC is at __enable_irq+0x38/0x60
[ 11.312236] LR is at __enable_irq+0x38/0x60
[ 11.312240] pc : [<ffffff80080d41c4>] lr : [<ffffff80080d41c4>] pstate: 800001c5
[ 11.312242] sp : ffffffc01460fb60
[ 11.312249] x29: ffffffc01460fb60 x28: ffffffc01e4f1580
[ 11.312254] x27: ffffff80086d2000 x26: 000000000000001d
[ 11.312260] x25: 000000000000011d x24: 0000000000000015
[ 11.312265] x23: ffffffc01460fce0 x22: ffffffc01ebb25a8
[ 11.312271] x21: 0000000000000009 x20: 0000000000000038
[ 11.312276] x19: ffffffc01eb4a600 x18: ffffff8008a52f38
[ 11.312282] x17: 0000007f91954ff8 x16: 00000000d744fcc9
[ 11.312287] x15: 0000000000000000 x14: 0000000000000038
[ 11.312292] x13: 000000000000000a x12: 00000000fffffff0
[ 11.312298] x11: ffffff8008a52b5a x10: ffffff80089b4000
[ 11.312304] x9 : 000000000000003c x8 : ffffff8008a5e9e0
[ 11.312309] x7 : 0000000000000000 x6 : 0000000000000004
[ 11.312314] x5 : 00ffffffffffffff x4 : 0000000000000000
[ 11.312320] x3 : 00000000000001c0 x2 : 00000000000003ab
[ 11.312326] x1 : ffffffc01e4f1580 x0 : 000000000000001c
[ 11.312329]
[ 11.312329] PC: 0xffffff80080d4144:
[ 11.312345] 4144 97fffb75 f9400bf3 a8c27bfd d65f03c0 a9be7bfd 910003fd f9000bf3 2a0003f3
[ 11.312359] 4164 97ffffd8 350000e0 2a1303e0 97fffb47 12001c00 f9400bf3 a8c27bfd d65f03c0
[ 11.312372] 4184 52800000 17fffffc a9bf7bfd aa0003e2 910003fd b9407801 340000c1 7100043f
[ 11.312385] 41a4 54000160 51000421 b9007801 14000006 b9402441 d0003be0 913a0c00 9400da51
[ 11.312398] 41c4 d4210000 a8c17bfd d65f03c0 b9407403 375fff03 b9407003 32160063 b9007003
[ 11.312411] 41e4 9400071e 17fffff8 a9bd7bfd 52800023 2a0303e2 910003fd a90153f3 9100a3a1
[ 11.312424] 4204 2a0003f4 97fff932 b40001a0 f9401c01 aa0003f3 b50001a1 2a1403e1 d0003be0
[ 11.312438] 4224 913a8c00 9400da37 d4210000 f94017a1 52800022 aa1303e0 97fff944 a94153f3
[ 11.312440]
[ 11.312440] LR: 0xffffff80080d4144:
[ 11.312453] 4144 97fffb75 f9400bf3 a8c27bfd d65f03c0 a9be7bfd 910003fd f9000bf3 2a0003f3
[ 11.312466] 4164 97ffffd8 350000e0 2a1303e0 97fffb47 12001c00 f9400bf3 a8c27bfd d65f03c0
[ 11.312480] 4184 52800000 17fffffc a9bf7bfd aa0003e2 910003fd b9407801 340000c1 7100043f
[ 11.312493] 41a4 54000160 51000421 b9007801 14000006 b9402441 d0003be0 913a0c00 9400da51
[ 11.312506] 41c4 d4210000 a8c17bfd d65f03c0 b9407403 375fff03 b9407003 32160063 b9007003
[ 11.312519] 41e4 9400071e 17fffff8 a9bd7bfd 52800023 2a0303e2 910003fd a90153f3 9100a3a1
[ 11.312532] 4204 2a0003f4 97fff932 b40001a0 f9401c01 aa0003f3 b50001a1 2a1403e1 d0003be0
[ 11.312545] 4224 913a8c00 9400da37 d4210000 f94017a1 52800022 aa1303e0 97fff944 a94153f3
[ 11.312548]
[ 11.312548] SP: 0xffffffc01460fae0:
[ 11.312561] fae0 1ebb25a8 ffffffc0 1460fce0 ffffffc0 00000015 00000000 0000011d 00000000
[ 11.312574] fb00 0000001d 00000000 086d2000 ffffff80 1e4f1580 ffffffc0 1460fb60 ffffffc0
[ 11.312588] fb20 080d41c4 ffffff80 1460fb60 ffffffc0 080d41c4 ffffff80 800001c5 00000000
[ 11.312601] fb40 00000000 00000000 fffffffa 00000000 00000000 00000080 1f800028 ffffffc0
[ 11.312614] fb60 1460fb70 ffffffc0 080d4250 ffffff80 1460fba0 ffffffc0 084838f8 ffffff80
[ 11.312627] fb80 1ebb2580 ffffffc0 0000000b 00000000 1460fce0 ffffffc0 00000140 00000000
[ 11.312640] fba0 1460fbd0 ffffffc0 08482cf8 ffffff80 1ebb2580 ffffffc0 00000000 00000000
[ 11.312653] fbc0 00000009 00000000 00000000 00000001 1460fc10 ffffffc0 080b1b34 ffffff80
[ 11.312657]
[ 11.312657] X1: 0xffffffc01e4f1500:
[ 11.312670] 1500 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312682] 1520 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312695] 1540 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312707] 1560 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
[ 11.312720] 1580 00000008 00000000 ffffffff ffffffff 00000001 00000000 00000000 00000000
[ 11.312733] 15a0 1460c000 ffffffc0 00000002 00404000 00000000 00000000 00000000 00000000
[ 11.312746] 15c0 00000001 00000002 00000031 00000000 fffb9703 00000000 1e565600 ffffffc0
[ 11.312759] 15e0 00000002 00000001 00000078 00000078 00000078 00000000 086d8220 ffffff80
[ 11.312766]
[ 11.312766] X8: 0xffffff8008a5e960:
[ 11.312779] e960 45445445 50555f56 70203a29 3a307032 6e696c20 7369206b 746f6e20 61657220
[ 11.312792] e980 00007964 9b228d6a 00000002 001d0030 c6000000 65657246 20676e69 5f6d7264
[ 11.312805] e9a0 6f676f6c 6d656d20 3a79726f 36313620 0000004b a24200cc 00000002 001c002c
[ 11.312818] e9c0 86000000 61626e55 636e616c 65206465 6c62616e 6f662065 52492072 36352051
[ 11.312832] e9e0 a2423ae7 00000002 00240034 86000000 2d2d2d2d 2d2d2d2d 2d2d2d2d 7563205b
[ 11.312845] ea00 65682074 5d206572 2d2d2d2d 2d2d2d2d 2d2d2d2d a2424bfe 00000002 00230034
[ 11.312858] ea20 86000000 4e524157 3a474e49 20746120 6e72656b 692f6c65 6d2f7172 67616e61
[ 11.312871] ea40 3a632e65 00333135 a2425e39 00000002 00120024 82000000 75646f4d 2073656c
[ 11.312874]
[ 11.312874] X10: 0xffffff80089b3f80:
[ 11.312887] 3f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312900] 3fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312913] 3fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312925] 3fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312937] 4000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312950] 4020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312963] 4040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312976] 4060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.312979]
[ 11.312979] X11: 0xffffff8008a52ada:
[ 11.312992] 2ad8 00000000 00000000 00000000 00000000 00000029 00000000 00000000 00000000
[ 11.313005] 2af8 1e4f1580 ffffffc0 a24e96ce 00000002 00000004 00000000 00000000 00000000
[ 11.313017] 2b18 00000000 00000000 000001c2 00000000 000099b4 00000006 00000000 00000000
[ 11.313030] 2b38 000001c2 00000000 00000006 00000000 000001c2 00000000 000099b4 00000000
[ 11.313044] 2b58 38356232 33323635 66660035 30386666 35613830 61646132 72000a3a 5b203a20
[ 11.313057] 2b78 6666663c 38666666 30383030 63313464 205d3e34 61747370 203a6574 30303038
[ 11.313070] 2b98 35633130 7261000a 44282064 000a2954 000a2931 090a3a73 36535509 3037352c
[ 11.313083] 2bb8 3438382c 5355202c 31312c36 37372c35 61202c36 5520646e 332c3653 362c3732
[ 11.313096] 2bd8 0a2e3532 3020000a 66666678 62666666 66666264 30303066 20202030 20202028
[ 11.313103]
[ 11.313103] X18: 0xffffff8008a52eb8:
[ 11.313117] 2eb8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313129] 2ed8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313141] 2ef8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313154] 2f18 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313167] 2f38 00000000 00000000 00000000 00000000 00000000 00000000 65726946 20796c66
[ 11.313180] 2f58 2d434f52 33334b52 2d423830 502d4343 2053554c 6c616e61 6d20676f 72206369
[ 11.313193] 2f78 375f6267 6e69302e 62206863 6472616f 54442820 00000029 00000000 00000000
[ 11.313206] 2f98 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313209]
[ 11.313209] X19: 0xffffffc01eb4a580:
[ 11.313222] a580 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313234] a5a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313246] a5c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313259] a5e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313271] a600 00402004 00000000 00000000 00000000 00000000 00000000 0000000f 00000000
[ 11.313285] a620 00100000 00000038 00000014 00000000 1eb4a600 ffffffc0 1eaffca0 ffffffc0
[ 11.313298] a640 0024d500 ffffffc0 00000000 00000000 1eaffc20 ffffffc0 0898d078 ffffff80
[ 11.313311] a660 080d5f14 ffffff80 1e52dc00 ffffffc0 00000504 00000020 00000000 00000000
[ 11.313315]
[ 11.313315] X22: 0xffffffc01ebb2528:
[ 11.313328] 2528 00000100 00000000 1ebb2530 ffffffc0 1ebb2530 ffffffc0 084830e8 ffffff80
[ 11.313341] 2548 1ebf3600 ffffffc0 08a16128 ffffff80 1e52d818 ffffffc0 00000000 00000038
[ 11.313354] 2568 00000014 00000008 00000001 00000001 00000001 00000000 08482c50 ffffff80
[ 11.313367] 2588 08a49738 ffffff80 00000000 00000000 0848348c ffffff80 0848385c ffffff80
[ 11.313380] 25a8 00000000 00000000 1ebb25b0 ffffffc0 1ebb25b0 ffffffc0 1e4f1580 ffffffc0
[ 11.313393] 25c8 00000000 00000000 00000400 00000258 00000000 00000000 00000000 00000000
[ 11.313405] 25e8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313419] 2608 00000000 00000000 0026cc60 ffffffc0 1f869c00 ffffffc0 1fadc8a0 ffffffc0
[ 11.313422]
[ 11.313422] X23: 0xffffffc01460fc60:
[ 11.313435] fc60 00000000 00000000 00000000 00000000 00004611 00000000 1e62e820 ffffffc0
[ 11.313448] fc80 00000000 00000000 00000000 00000000 1460fca0 ffffffc0 082404e4 ffffff80
[ 11.313461] fca0 1460fcb0 ffffffc0 08240a84 ffffff80 1460fcf0 ffffffc0 08241f70 ffffff80
[ 11.313474] fcc0 1e7d5800 ffffffc0 00000000 00000000 1460fcf0 ffffffc0 08241f54 00000000
[ 11.313488] fce0 1e7d5800 ffffffc0 1460fcdc ffffffc0 1460fe00 ffffffc0 0824264c ffffff80
[ 11.313501] fd00 00000004 00000000 00000000 00000000 1d6bc500 ffffffc0 1e62e820 ffffffc0
[ 11.313514] fd20 00000000 00000000 3e6b56fc 00000000 3e6b56fc 00000000 00000001 00000000
[ 11.313528] fd40 1460fd70 ffffffc0 0825d4cc ffffff80 00000000 00000000 1e74f400 ffffffc0
[ 11.313533]
[ 11.313533] X27: 0xffffff80086d1f80:
[ 11.313546] 1f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313560] 1fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313573] 1fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313585] 1fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313599] 2000 081785d0 ffffff80 08178f7c ffffff80 0817960c ffffff80 08179624 ffffff80
[ 11.313612] 2020 081797c8 ffffff80 0815da40 ffffff80 0815da5c ffffff80 0815da78 ffffff80
[ 11.313625] 2040 0815db14 ffffff80 0815db2c ffffff80 0815db44 ffffff80 0815dbb8 ffffff80
[ 11.313638] 2060 0815dbd0 ffffff80 0815dbe8 ffffff80 0815dc4c ffffff80 0815dc68 ffffff80
[ 11.313641]
[ 11.313641] X28: 0xffffffc01e4f1500:
[ 11.313654] 1500 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313666] 1520 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313678] 1540 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.313691] 1560 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
[ 11.313703] 1580 00000008 00000000 ffffffff ffffffff 00000001 00000000 00000000 00000000
[ 11.313716] 15a0 1460c000 ffffffc0 00000002 00404000 00000000 00000000 00000000 00000000
[ 11.313729] 15c0 00000001 00000002 00000031 00000000 fffb9703 00000000 1e565600 ffffffc0
[ 11.313742] 15e0 00000002 00000001 00000078 00000078 00000078 00000000 086d8220 ffffff80
[ 11.313745]
[ 11.313745] X29: 0xffffffc01460fae0:
[ 11.313758] fae0 1ebb25a8 ffffffc0 1460fce0 ffffffc0 00000015 00000000 0000011d 00000000
[ 11.313771] fb00 0000001d 00000000 086d2000 ffffff80 1e4f1580 ffffffc0 1460fb60 ffffffc0
[ 11.313784] fb20 080d41c4 ffffff80 1460fb60 ffffffc0 080d41c4 ffffff80 800001c5 00000000
[ 11.313797] fb40 00000000 00000000 fffffffa 00000000 00000000 00000080 1f800028 ffffffc0
[ 11.313810] fb60 1460fb70 ffffffc0 080d4250 ffffff80 1460fba0 ffffffc0 084838f8 ffffff80
[ 11.313823] fb80 1ebb2580 ffffffc0 0000000b 00000000 1460fce0 ffffffc0 00000140 00000000
[ 11.313836] fba0 1460fbd0 ffffffc0 08482cf8 ffffff80 1ebb2580 ffffffc0 00000000 00000000
[ 11.313849] fbc0 00000009 00000000 00000000 00000001 1460fc10 ffffffc0 080b1b34 ffffff80
[ 11.313850]
[ 11.313854] ---[ end trace 1ecaf8ad996f2f73 ]---
[ 11.313857] Call trace:
[ 11.313864] Exception stack(0xffffffc01460f990 to 0xffffffc01460fac0)
[ 11.313871] f980: ffffffc01eb4a600 0000008000000000
[ 11.313878] f9a0: ffffffc01460fb60 ffffff80080d41c4 ffffffc01460f9d0 ffffff80080cff64
[ 11.313885] f9c0: ffffff8008a52000 ffffff80089b5010 ffffffc01460f9f0 ffffff80080d16c8
[ 11.313891] f9e0: ffffff8008a52000 000000000000001c ffffffc01460fa90 ffffff80080d1930
[ 11.313898] fa00: ffffff80080d18fc ffffff8008852e83 0000000000000009 ffffffc01ebb25a8
[ 11.313904] fa20: ffffffc01460fce0 0000000000000015 000000000000001c ffffffc01e4f1580
[ 11.313911] fa40: 00000000000003ab 00000000000001c0 0000000000000000 00ffffffffffffff
[ 11.313917] fa60: 0000000000000004 0000000000000000 ffffff8008a5e9e0 000000000000003c
[ 11.313924] fa80: ffffff80089b4000 ffffff8008a52b5a 00000000fffffff0 000000000000000a
[ 11.313930] faa0: 0000000000000038 0000000000000000 00000000d744fcc9 0000007f91954ff8
[ 11.313941] [<ffffff80080d41c4>] __enable_irq+0x38/0x60
[ 11.313946] [<ffffff80080d4250>] enable_irq+0x64/0x68
[ 11.313958] [<ffffff80084838f8>] rk_ts_early_resume+0x9c/0xb0
[ 11.313966] [<ffffff8008482cf8>] fb_notifier_callback+0xa8/0xb8
[ 11.313976] [<ffffff80080b1b34>] notifier_call_chain+0x64/0x84
[ 11.313983] [<ffffff80080b1e64>] __blocking_notifier_call_chain+0x4c/0x78
[ 11.313989] [<ffffff80080b1ea4>] blocking_notifier_call_chain+0x14/0x1c
[ 11.314001] [<ffffff80082404e4>] fb_notifier_call_chain+0x1c/0x24
[ 11.314008] [<ffffff8008240a84>] fb_blank+0x68/0x8c
[ 11.314015] [<ffffff8008241f70>] do_fb_ioctl+0x4d4/0x56c
[ 11.314022] [<ffffff800824264c>] fb_ioctl+0x24/0x34
[ 11.314032] [<ffffff800814c640>] do_vfs_ioctl+0x8c/0x504
[ 11.314038] [<ffffff800814cafc>] SyS_ioctl+0x44/0x74
[ 11.314046] [<ffffff8008082ef0>] el0_svc_naked+0x24/0x28
作者:
zyk
时间:
2020-11-1 11:06
系统能否起来并正常操作
作者:
firefly_zhongw
时间:
2020-11-2 10:39
[ 11.312169] Unbalanced enable for IRQ 56
[ 11.312184] ------------[ cut here ]------------
[ 11.312188] WARNING: at kernel/irq/manage.c:513
复制代码
上述信息引起的警告并不影响TP的使用,如果想不打印上述警告,可以尝试做如下修改
diff --git a/kernel/drivers/input/touchscreen/gslx680_firefly.c b/kernel/drivers/input/touchscreen/gslx680_firefly.c
index f0a432c..0e170ac 100755
--- a/kernel/drivers/input/touchscreen/gslx680_firefly.c
+++ b/kernel/drivers/input/touchscreen/gslx680_firefly.c
@@ -938,6 +938,7 @@ static int rk_ts_early_resume(struct tp_device *tp_d)
#endif
input_sync(ts->input);
#endif
+ disable_irq_nosync(ts->irq);
enable_irq(ts->irq);
return 0;
复制代码
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1