微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 6575mtk内核驱动调试出错

6575mtk内核驱动调试出错

时间:10-02 整理:3721RD 点击:
调试mtk6575 CAMERA驱动时,加了一些打印信息和寄存器参数,再编译就出现下面的debug信息。此前一直正常,而且把改的东西复原也一样。哪位dx知道是何原因不?该如何解?
12.056001] KDIMGsensorIOC_T_CHECK_IS_ALIVE
[   12.056847] [power/PMIC] [hwPowerOn] acquire powerId:8 index:0 mod_name: kd_camera_hw
[   12.064153] [Power/PMIC] [8] PMU LDO Enable
[   12.068551] [Power/PMIC] [hwPowerOn] acquire powerId:19 index:0 mokd_camera_hw
[   12.069537] [Power/PMIC] [19] PMU LDO Enable
[   12.078594] [Power/PMIC] [hwPowerOn] acquire powerId:7 index:0 mod_name: kd_camera_hw
[   12.079569] [Power/PMIC] [7] PMU LDO Enable
[   12.080390] [Power/PMIC] [hwPowerOn] acquire powerId:9 index:0 mod_name: kd_camera_hw
[   12.081364] [Power/PMIC] [9] PMU LDO Enable
[   12.128400] [Line= 126]
[   12.128404] [kdModulePowerOn]Profile = 71559
[   12.129331] I2C i2c-1: I2C_ACKERR
[   12.129734] i2c i2c-1: addr: 5d, transfer error
[   12.130302] i2c i2c-1: I2C structure:
[   12.130306] Mode_ch1 1
   12.130311] Op 1
[   12.130314] Trans_len 1
[   12.130317] Trans_num 1
[   12.130320] Trans_auxlen 0
[   12.130323] Data_size ffff
[   12.130326] Irq_stat 3
[   12.130328] Trans_stop 1
[   12.130331] Trans_comp 1
[   12.130334] Trans_error 2
[   1-1: I2C register:
[   12.134095] SLAVE_ADDR ba
[   12.134098] INTR_MASK f8
[   12.134100] INTR_STAT 0
[   12.134103] CONTROL 28
[   12.134106] TRANSFER_LEN 1
[   1SAC_LEN 1
[   12.134112] DELAY_LEN 2
[   12.134115] TIMING 1028
[   12.134117] START 0
[   12.134120] FIFO_STAT 1101
[   12.134123] IO_CONFIG 0
[   12.134126] HS 102
[ DEBUGSTAT 40
[   12.147375] i2c i2c-1: Power register:
[   12.147380] CG 5ebf5783
[   12.148140] i2c i2c-1: [MT6575_i2c_start_xfer] SOFTRESET mt6575-i2c:base(f1013000)
[   12.149090] [Line= 208]
[   12.149094] [CAMERA SENSOR] I2C send failed!, Addr = 0x80
[   12.151550] i2c i2c-1: I2C_ACKERR
[   12.151957] i2c i2c-1: addr: 5d, transfer error
[   12.152524] i2c i2c-1: I2C structure:
[   12.152528] Mode_ch1 1
[   12.152531] St_rs 0
[   12.152534] Op 1
[   12.152536] Trans_len 1
[   12.152539] Trans_num 1
[   12.152542] Trans_auxlen 0
[   12.152545] Data_size ffff
[   12.152548] Irq_sta 12.152550] Trans_stop 1
[   12.152553] Trans_comp 1
[   12.152556] Trans_error 2
[   12.156314] i2c i2c-1: I2C register:
[   12.156318] SLAVE_ADDR ba
[   12.156320] INTR_MAK f8
[   12.156323] INTR_STAT 0
[   12.156326] CONTROL 28
[   12.156329] TRANSFER_LEN 1
[   12.156332] TRANSAC_LEN 1
[   12.156335] DELAY_LEN 2
[   12.156337] TIMING 1028
[   12.156340] START 0
[   12.156343] FIFO_STAT 1101
[   12.156346] IO_CONFIG 0
[   12.156348] HS 102
[   12.156351] DEBUGSTAT 40
[   12.177375] i2c i2c-1: Power register:
[   12.177380] CG 5ebf5783
[   12.178140] i2c i2c-1: [mt6575_i2c_start_xfer] SOFTRESET mt6575-i2c:base(f1013000)
[   12.1798]
[   12.179094] [CAMERA SENSOR] I2C send failed!, Addr = 0x81
[   12.180094] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   12.181094] pgd = dc6f4000
[   12.181430] [00000000] *pgd=1ab28831, *pte=00000000, *ppte=00000000
[   12.182303] Internal error: Oops: 17 [#1] PREEMPT
[   12.182878] Modules linked in: wla1e4000 (P) cfg80211 bf1ba000  mtk_fm_priv bf1b4000 (P) MT6620_fm_drv bf18c000  mtk_stp_bt bf17f000  mtk_stp_gps bf172000  mtk_stp_UART bf169000 (P) mtk_stp_wmt bf108000 (P) mtk_hif_sdio bf0ff000  devinfo bf0fb000 (P) sec bf0da000 (P) mt6575_vcodec_kernel_driver bf0cf000 (P) mt6575_m4u bf0ab000 (P) ccmni bf0a2000 (P) ccci bf075000 (P) ccci_plat bf04e000 (P) mtk_drvb bf049000 (P) mtklfb bf041000  pvrsrvkm bf00d000  alps_core bf009000 (12.188291] CPU: 0    Tainted: P             (3.0.13 #55)
[   12.188967] PC is at vsnprintf+0x58/0x42c
[   12.189461] LR is at vscnprintf+0x14/0x2c
[   12.189962]   lr : [<c024d748>]    psr: 80000193
[   12.189967] sp : d9d13c80  ip : d9d13cc8  fp : d9d13cc4
[   12.191391] r10: c06d4eb4  r9 : d9d13c90  r8 : c06d4a00
[   12.1920  r6 : d9d13da4  r5 : 00000000  r4 : c06d4ab4
[   12.192856] r3 : d9d13da4  r2 : 00000400  r1 : c06d4ab4  r0 : c06d4ab4
[   12.193671] Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   12.194570] Control: 10c53c7d  Table: 1dcf4059  DAC: 00000  12.195285]
[   12.195287] PC: 0xc024d25c:
[   12.195815] d25c  e50b3018 ebf93475 e51b3018 e2200001 e31000ff 1affffe2 eaffff75 c061305c
[   12.196835] d27c  c0613004 c0688654 e100d e92ddff0 e24cb004 e24dd01c e3510000 e3a04000
[   12.197854] d29c  e50b103c e1a05002 e50b0038 e1a06003 e50b4034 e50b4030 ba0000ef e51b1038
[   12.198874] d2bc  e24b9034 e51b203c e51b4038 e091a002 21a03001 23e0a000 21e03003 250b303c
[   12.199893] d2dc  e5d53000 e3530000 0a000029 e1a00005 e1a01009 ebfffa75 e55b3034 e1a08000
[   12.200913] d2fc  e0857000 e3530011 979ff103 ea00009d c024d550 c024d538 c024d520 c024d474
[   12.201932] d31c  c024d444 c024d3e4 c024d3d4 c024d3b8 c024d584 c024d584 c024d584 c024d584
[   12.202954d584 c024d584 c024d584 c024d584 c024d354 e55b3031 e353006c
[   12.203972]
[   12.203974] LR: 0xc024d6c8:
[   12.204503] d6c8  e3e01102 e1a0300c e59b2004 e50bc014 ebfffee9 e24bd00c e89da800 e1a0c00d
[   12.205522] d6e8  e92dd800 e24cb004 e1a03002 e1a02001 e0 e89da800 e1a0c00d
[   12.206542] d708  e92d000c e92dd800 e24cb00c e24dd008 e28bc008 e59b2004 e1a0300c e50bc010
[   12.207561] d728  ebfffed5 e24bd00c e89da800 e1a0c00d ecb004 e1a04001 ebfffece
[   12.208581] d748  e1540000 889da830 e3540000 01a00004 12440001 e89da830 e1a0c00d e92d000c
[   12.209600] d768  e92dd800 e24cb00c e24dd008 e28bc008 e5e1a0300c e50bc010 ebffffea
[   12.210620] d788  e24bd00c e89da800 e1a0c00d e92ddff0 e24e24dd02c e3510000 e3a04000
[   12.211639] d7a8  e50b1044 e1a05002 e50b0040 e50b4034 e50b4030 ba0000e2 e51b1040 e1a0a003
[   12.212660]
[   12.212662] SP: 0xd9d13c00:
[   12.213191] 3c00  0003f7f7 c0696f34 0000003e 0000005a d9d13c44 d9d13c20 ffffffff d9d13c6c
[   12.214210] 3c20  d9d13da4 00000000 d9d13cc4 d9d13c38 c04e876c c00395e4 c06d4ab4 c06d4ab4
[   12.215230] 3c40  00000400 d9d13da4 c06d4ab4 00000000 d9d13da4 00000000 c06d4a00 d9d13c90
[   12.216249] 3c60  c06d4eb4 d9d13cc4 d9d13cc8 d9d13c80 c024d748 c024d2dc 80000193 ffffffff
[   12.217269] 3c80  c0696f34 00000060 00000400 c06d4ab4 00000000 00000000 c06d4ab4 00000400
[   12.218288] 3ca0  c06d4ab4 c0696f34 00000000 c06d4a00 d9d13da4 c06d4ab4 d9[   12.219308] 3cc0  c024d748 c024d290 00000400 c06d4ab4 d9d13d84 d9d13ce0 c0   12.220327] 3ce0  00205d34 c04e7f58 d9d13d04 d9d13cf8 c030f9bc 60000113 0008
[   12.221347]
[   12.221350] IP: 0xd9d13c48:
[   12.221879] 3c48  c06d4ab4d13da4 00000000 c06d4a00 d9d13c90 c06d4eb4 d9d13cc4
[   12.222898] 3c68  d9d13cc8 d9d13c80 c024d748 c024d2dc 80000193 ffffffff c0696f34 00000060
[   12.223917] 3c88  00000400 b4 00000000 00000000 c06d4ab4 00000400 c06d4ab4 c0696f34
[   12.224937] 3ca8  00000000 c06d4a00 d9d13da4 c06d4ab4 d9d13cdc d9d13cc8 c024d748 c024d290
[   12.225956] 3cc8  00000400 c06d4ab4 d9d13d84 d9d13ce0 c008fddc c024d740 00205d34 c04e7f58
[   12.226976] 3ce8  d9d13d04 d9d13cf8 c030f9bc 60000113 00000000 d9d13d08 c030faec c06d4a00
[   12.227995] 3d08  00000004 00000001 00000000 00000001 c0823308 00000001 d9d13d9f d9d13d9c
[   12.229015] 3d28  c082332c 0000001c d9d13d54 d9d13d40 c04e5ac8 c008fd40 c06d0001 d9d13d5c
[   12.230035]
[   12.230038] FP: 0xd9d13c44:
[   12.230566] 3c44  d9d13da4 c06d4ab4 0000000d4a00 d9d13c90 c06d4eb4
[   12.231586] 3c64  d9d13cc4 d9d13cc8 d9d13c80 c024d748 c024d2dc 80000193 ffffffff c0696f34
[   12.232605] 3c84  00000060 00000400 c06d4ab40 c06d4ab4 00000400 c06d4ab4
[   12.233625] 3ca4  c0696f34 00000000 c06d4a004 d9d13cdc d9d13cc8 c024d748
[   12.234644] 3cc4  c024d290 00000400 c06d4ab413ce0 c008fddc c024d740 00205d34
[   12.235664] 3ce4  c04e7f58 d9d13d04 d9d13cf8 000113 00000000 d9d13d08 c030faec
[   12.236683] 3d04  c06d4a00 00000004 00000001 00000001 c0823308 00000001 d9d13d9f
[   12.237703] 3d24  d9d13d9c c082332c 0000001c dd13d40 c04e5ac8 c008fd40 c06d0001
[   12.238723]
[   12.238725] R0: 0xc06d4a34:
12.239254] 4a34  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  12.240273] 4a54  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.241293] 4a74  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.242312] 4a94  00000002 00000000 00000000 c06b4ff4 00000000 00000000 00000000 ffff8f90
[   12.243332] 4ab4  34626134 33313632 34640032 3a343361 5420000a 656c6261 6431203a 30346663
[   12.244352] 4ad4  20203935 3a434144 30303020 31303030 4d000a35 65532020 6e656d67 73752074
[   12.245371] 4af4  000a7265 69202030 203a2070 31643964 38636333316439
[   12.246391] 4b14  0a346363 4e454c00 440a3120 59414c45 4e454c5f 0312047
[   12.247411]
[   12.247413] R1: 0xc06d4a34:
[   12.247942] 4a34  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.248961] 4a50000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.249981] 4a700000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.251000] 4a9400000000 00000000 c06b4ff4 00000000 00000000 00000000 ffff8f90
[   12.252020] 4ab426134 33313632 34640032 3a343361 5420000a 656c6261 6431203a 30346663
[   12.253039] 4ad4  20203935 3a434144 30303020 31303030 4d000a35 65532020 6e656d67 73752074
[   12.254059] 4af4 000a7265 69202030 203a2070 31643964 38636333 70662020 64203a20 33316439
[   12.255079] 4b14  0a346363 4e454c00 440a3120 59414c45 4e454c5f 540a3220 4e494d49 30312047
[   12.256099]
[   12.256101] R3: 0xd9d13d24:
[   12.256630] 3d24  d9d13d9c c082332c 0000001c d9d13d54 d9d13d40 c04e5ac8 c008fd40 c06d0001
[   12.257649] 3d44  d9d13d5c d9d13d8c d9d13d68 00000004 c04e5a90 c0655534 00000000 d9d13ecc
[   12.258668] 3d64  00000000 c0823308 c0823334 c082332c 0000001c d9d13d9c d9d13d88 c04e5ac8
[   12.259688] 3d84  c008fd40 c03c6fd8 d9d13da4 d9d13dc4 d9d13db0 c03c70d0 c04e5a90 00000000
[   12.260708] 3da4  d9d12000 00000001 00000000 d9d13ecc 00000000 d9d13de4 d9d13dc8 c03c7240
[   12.261727] 3dc4  c03c709c 0000691e 00000000 00000000 c0823308 d9d13efc d9d13de8 c03c5e30
[   12.262747] 3de4  c03c7100 4effa28051 d9d13e28 fffffdee d9d13edc 00000003
[   12.263766] 3e04  00000000 00000000 c034bad0 d9d13ecc d9d13e20 c012a0e8 c034bADC 00000000
[   12.264786]
[   12.264788] R4: 0x[   12.265317] 4a34  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.266337] 4a54  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.267356] 4a74  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000
[   12.268376] 4a94  00000002 00000000 00000000 c06b4ff4 00000000 00000000 00000000 ffff8f90
[   12.269395] 4ab4  34626134 33313632 34640032 3a343361 5420000a 656c6261 6431203a 30346663
[   12.270415] 4ad4  20203935 3a434144 30303020 31303030 4d000a35 65532020 6e656d67 73752074
[   12.271434] 4af4  000a7265 69202030 203a2070 31643964 38636333 70662020 64203a20 33316439
[   12.272454] 4b14  0a346363 4e454c00 440a3120 59414c45 4e454c5f 540a3220 4e494d49 30312047
[   12.273474]
[   12.273477] R6: 0xd9d13d24:
[   12c c082332c 0000001c d9d13d54 d9d13d40 c04e5ac8 c008fd40 c06d0001
[   12.275024] 3d44  d9d13d5c d9d13d8c d9d13d68 00000004 c04e5a90 c0655534 00000000 d9d13ecc
[   12.000000 c0823308 c0823334 c082332c 0000001c d9d13d9c d9d13d88 c04e5ac8
[   12. c008fd40 c03c6fd8 d9d13da4 d9d13dc4 d9d13db0 c03c70d0 c04e5a90 00000000
[   12.9d12000 00000001 00000000 d9d13ecc 00000000 d9d13de4 d9d13dc8 c03c7240
[   12.24  c03c709c 0000691e 00000000 00000000 c0823308 d9d13efc d9d13de8 c03c5e30
[   12.280122] 3de4  c03c7100 4effa28b 1293df9c 00000051 d9d13e28 fffffdee d9d13edc 00000003
[   12.28e04  00000000 00000000 c034bad0 d9d13ecc d9d13e20 c012a0e8 c034badc 00000000
[   12.282]
[   12.282164] R8: 0xc06d4980:
[   12.282693] 4980  00000000 00000000 00000000 0000000 00000000 00000000 00000000 00000000
[   12.283712] 49a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.284732] 49c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.285751] 49e0  00000000 00000000 00000000 00000000 00000000 00000000 c069e528 00000000
[   12.286771] 4a00  00010000 00041fac 00031fb5 00041fbe 00000000 4d797474 00000054 00000000
[   12.287790] 4a20  c0bf110f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.288810] 4a40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.289830] 4a60  00000000000 00000000 00000000 00000000 00000000 00000000
[   12.290850]
[   12.290852] R9: 0xd9d13c10:
[   12.291380] 3c10  d9d13c44 d9d13c20 ffffffff d9d13c6c d9d13da4 0000009d13c38
[   12.292400] 3c30  c04e876c c00395e4 c06d4ab4 c06d4ab4 00000400 d9d13da4 c06d4ab4 00000000
[   12.293420] 3c50  d9d13da4 00000000 c06d4a00 d9d13c90 c06d4eb4 d9d13cc4 d9d13cc8 d9d13c80
[   12.294439] 3c70  c024d748 c024d2dc 80000193 ffffffff c0696f34 0000006400 c06d4ab4
[   12.295458] 3c90  00000000 00000000 c06d4ab4 00000400 c06d4ab4 c0696f34 00000000 c06d4a00
[   12.296478] 3cb0  d9d13da4 c06d4ab4 d9d13cdc d9d13cc8 c024d748 c024d290 00000400 c06d4ab4
[   12.297498] 3cd0  d9d13d84 d9d13ce0 c008fddc c024d740 00205d34 c04e7f58 d9d13d04 d9d13cf8
[   12.298517] 3cf0  c030f9bc 60000113 00000000 d9d13d08 c030faec c06d4a00 00000004 00000001
[   12.299537]
[   12.299540] R10: 0xc06d4e34:
[   12.300079] 4e34  205d3537 3a303172 36306320 62653464 72202034 203a2039 39613964 30396333
[   12.301099] 4e54  38722020 63203a20 34643630 0a303061 5b3e343c 31202020 37352e31 36323638
[   12.302118] 4e74  3772205d 30203a20 30303030 20303030 20367220 3964203a 64333961 20203461
[   12.303138] 4e94  3a203572 30303020 30303030 72202030 203a2034 64363063 34626134 00343] 4eb4  00000000 00000000 20313130 66393739 33303166 30616520 39303030 3063277] 4ed4  35643432 63203035 64343230 20383335 34323063 30323564 32306320 3734646196] 4ef4  343c0a34 20205b3e 2e323120 39313032 205d3233 63313364 30632020 34643432
[   12.307216] 4f14  63203434 64343230 20346533 34323063 34643364 32306320 62336434 306320.308238] Process mediaserver (pid: 97, stack limit = 0xd9d122f0)
[   12.309019] Stacd9d13c80 to 0xd9d14000)
[   12.309565] 3c80: c0696f34 00000060 00000400 c06d4ab4 00000000000000 c06d4ab4 00000400
[   12.310584] 3ca0: c06d4ab4 c0696f34 00000000 c06d4a00 d9d13dad4ab4 d9d13cdc d9d13cc8
[   12.311604] 3cc0: c024d748 c024d290 00000400 c06d4ab4 d9d13d84 d9d13ce0 c008fddc c024d740
[   12.312623] 3ce0: 00205d34 c04e7f58 d9d13d04 d9d13cf8 c030f9bc 60000113 00000000 d9d13d08
[   12.313643] 3d00: c030faec c06d4a00 00000004 00000001 00000000 00000001 c0823308 00000001
[   12.314662] 3d20: d9d13d9f d9d13d9c c082332c 0000001c d9d13d54 d9d13d40 c04e5ac8 c008fd40
[   12.315681] 3d40: c06d0001 d9d13d5c d9d13d8c d9d13d68 00000004 c04e5a90 c0655534 00000000
[   12.316701] 3d60: d9d13ecc 00000000 c0823308 c0823334 c082332c 0000001c d9d13d9c d9d13d88
[   12.317720] 3d80: c04e5ac8 c008fd40 c03c6fd8 d9d13da4 d9d13dc4 d9d13db0 c03c70d0 c04e5a90
[   12.318740] 3da0: 00000000 d9d1200000000 d9d13ecc 00000000 d9d13de4 d9d13dc8
[   12.319759] 3dc0: c03c7240 c03c709c 0000691e 00000000 00000000 c0823308 d9d13efc d9d13de8
[   12.320779] 3de0: c03c5e30 c03c7100 4effa28b 1293df9c 00000051 d9d13e28 fffffdee d9d13edc
[   12.321798] 3e00: 00000003 00000000 c034bad0 d9d13ecc d9d13e20 c012a0e8 c034badc
[   12.322817] 3e20: 00000000 00000000 c0758658 00000001 00000000 00000000 d9d13e5c d9d13e48
[   12.323838] 3e40: c00b44cc c04eab8000000 00000000 d9d13ecc d9d13e60 c0162a70 c00b44a0
[   12.324857] 3e60: 00000000 00000000000000 dda0e300 0000002b 00000000 0000002b 00000001
[   12.325877] 3e80: 00000000 dda0e300 d9c24d48 00000001 00000003 00000000 00000000 00000000
[   12.326896] 3ea0: d9d13edc d9c24d48 0000002b 00000000 dccf7308 00000002 d9d13f70 0000002b
[   12.327916] 3ec0: d9d13f4c d9d13ed0 00000000 00000000 00000000 0000001c d9c25be0 dccff4e8
[   12.328935] 3ee0: 0000001c c003f5a4 d9d12000 00000000 d9d13f7c d9d13f00 c013bef8 c03c5a94
[   12.3d9c25be0 d9d13f34 d96fc000 d9c25be0 0000001c 00000020 d9d13edc
[   12.330 00000003 bec9a528 00000003 00000092 00000000 00000000 00000000
[   12.331994] 3f40: d9d13f6c d9c24d40 d9d13f84 d9c25be0 d9d13f7c d9c25be0 0000001c 0000691e
[   12.333001c c003f5a4 d9d12000 00000000 d9d13fa4 d9d13f80 c013c474 c013be7c
[   12.334033] 3f80: d9d12000 00000001 404dd534 00000001 bec9a998 00000036 00000000 d9d13fa8
[   12.335c003f420 c013c440 404dd534 00000001 0000001c 0000691e 0000001c bec9a974
[   12.3360: 404dd534 00000001 bec9a998 00000036 00000001 404b66c0 404b6eb0 00000000
[   12.3370: 404dce64 bec9a958 400fdec1 400e2700 80000010 0000001c 00000000 00000000
[   12.33810acktrace:
[   12.338419] [<c024d284>] (vsnprintf+0x0/0x42c) fROM [<c024d748>] (vscnprintf+0x14/0x2c)
[   12.339415] [<c024d734>] (vscnprintf+0x0/0x2c) from [<c008fddc>] (vprintk+0xa8/0x4d4)
[   12.340385]  r5:c06d4ab4 r4:00000400
[   12.340834] [<c008fd34>] (vprintk+0x0/0x4d4) from [<c04e5ac8>] (printk+0x48/0x54)
[   12.341769] [<c04e5a80>] (printk+0x0/0x54) from [<c03c70d0>] (TVP5150GetSensorID+0x40/0x64)
[   12.342803]  r3:00000000 r2:00000001 r1:d9d12000 r0:00000000
[   12.343514] [<c03c7090>] (TVP5150GetSensorID+0x0/0x64) from [<c03c7240>] (TVP5150FeatureControl+0x14c/0x1c0)
[   12.344734]  r5:00000000 r4:d9d13ecc
[   12.345184] [<c03c70f4>] (TVP5150FeatureControl+0x0/0x1c0) from [<c03c5e30>] (CA8/0x1014)
[   12.346393]  r7:c0823308 r6:00000000 r5:00000000 r4:0000691e
[03c5a88>] (CAMERA_HW_Ioctl+0x0/0x1014) from [<c013bef8>] (do_vfs_ioctl+0x88/0x5c4)
[   12.348209] [<c013be70>] (do_vfs_ioctl+0x0/0x5c4) from [<c013c474>] (sys_ioctl+0x40/0.349230] [<c013c434>] (sys_ioctl+0x0/0x68) from [<c003f420>] (ret_fast_syscall+0x0/0X30)
[   12.350266]  r7:00000036 r6:bec9a998 r5:00000001 r4:404dd534
[   12.350973] Code: 21 23e0a000 21e03003 250b303c (e5d53000)
[   12.351780] ---[ end trace 7f9ec4dcd34c--
[   12.352346] Kernel panic - not syncing: Fatal exception
[   12.353000] [aee/ipanc] emmc_ipanic_write: buf c0815bf0, off 512, len 4096
[   12.353862] in card_dump_func_writeunc!
[   12.363769] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 4608, len 4096
[   12.364635] in card_dump_func_write func!
[   12.374291] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 8704, len 4096
[   12.375156] in card_dump_func_write func!
[   12.384773] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 12800, len 4096
[   12.385649] in card_dump_func_w[   12.395062] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 16896, len 3584nc_write func!
[   12.404454] in card_dump_func_write func!
[   12.406154] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 20992, len 4096
[   12.407029] in card_dump_func_write func!
[   12.416704] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 25088, len 4096
[   12.417595] in card_dump_func_write func!
[   12.427194] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 29184, len 4096
[   12.428074] in card_dump_func_write func!
[   12.437476] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 33280, len 4096
[   12.438352] in card_dump_func_write func!
[   12.475655] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 37376, len 4096
[   12.476531] in card_dump_func_write func!
[   12.486210] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 41472, len 40 card_dump_func_write func!
[   12.496726] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 45568, len 4096
[   12.497617] in card_dump_func_write func!
[   12.507027] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 49664, len 409nc_write func!
[   12.517632] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 53760, len 4096
[   12.518508] in card_dump_func_write func!
[   12.528175] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 57856, len 4096
[   12.529051] in card_dump_func_write func!
[   12.538659] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 61952, len 4096
[   12.539536] in card_dump_func_writ[   12.548954] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 66048, len 4096
[ func!
[   12.559551] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 70144, len 4096
[   12.560427] in card_dump_func_write func!
[   12.570090] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 74240, len 4096
[   12.570966] in card_dump_func_write func!
[   12.580582] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 78336, len 4096
[   12.581457] in card_dump_func_write func!
[   12.590873] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 82432, len 4096
[   12.c!
[   12.601445] [aee/ipanic] pc/lr/sp 0x400e2700/0x400fdec1/0xbec9a958
[   12.606221] [aee/ipanic] Dump stack range (0xbec9a958:0xbec9b000)
[   12.606999] [aee/panic] copy_from_user ret(0x00000000),len:6a8
[   12.622958] [aee/ipanic] end dump native stack:
[   12.623604] [aee/ipanic] emmc00, off 86528, len 4096
[   12.624479] in card_dump_func_write func!
[   12.634155] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 90624, len 4096
[   12.63503in card_dump_func_write func!
[   12.644641] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 94720, len 4096
[   12.645517] in card_dump_func_write func!
[   12.654918] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 98816, len 4096
[   12.655794] in e func!
[   12.676989] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 102912, len 40nc_write func!
[   12.687547] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 107008, len 1024
[   12.688434] in card_dump_func_write func!
[   12.691209] in card_dump_func_write func!
[   12.692915] [aee/ipanic] ipanic_write_userspace: count 21557, strlen(NativeInfo):21557n card_dump_func_write func!
[   12.703553] in card_dump_func_write func!
[   12.712971] in card_dump_func_write func!
[   12.722628] in card_dump_func_write func!
[   12.732235] in card_dump_func_write func!
[   12.741765] in card_dump_func_write func!
[   12.751170] in card_dump_func_write func!
[   12.760824] in card_dump_func_write func!
[   12.770428] in card_dump_func_write func!
[   12.779973] in card_dump_func_write func!
[   12.789385] in card_dump_func_write func!
[   12.799043] in card_dump_func_write func!
[   12.808642] in card_dump_func_write func!
[   12.818174] in card_dump_func_write func!
[   12.827580] in card_dump_func_write func!
[   12.848554] in card_dump_func_write func!
[   12.858167] in card_dump_func_write func!
[   12.867679] in card_dump_func_write func!
[   12.877096] in card_dump_func_write func!
[   12.886776] in card_dump_func_write func!
[   12.896383] in card_dump_func_write func!
[   12.905921] in card_dump_func_write func!
[   12.915326] in card_dump_func_write func!
[   12.924990] in card_dump_func_write func!
[   12.934602] in card_dump_func_write func!
[   12.944136] in card_dump_func_write func!
[   12.953536] in card_dump_func_write func!
[   12.963183] in card_dump_func_write func!
[   12.972792] in card_dump_func_write func!
[   12.982334] in card_dump_func_write func!
[   13.003194] in card_dump_func_write func!
[   13.013029] in card_dump_func_write func!
[   13.022641] [aee/ipanic] ipanic_write_android_buf: dump droid log type 1, count 131072
[   13.023621] in card_dump_func_write func!
[   13.033167] in card_dump_func_write func!
[   13.042616] in card_dump_func_write func!
[   13.052281] [aee/ipanic] ipanic_write_android_buf: dump droid log type 3, count 12288
[   13.053250] in card_dump_func_write func!
[   13.062860] in card_dump_func_write func!
[   13.072399] [aee/ipanic] ipanic_write_android_buf: dump droid log type 4, count 8192
[   13.073353] [aee/ipanic] emmc_ipanic_write: buf dca52000, off 0, len 512
[   13.074186] in card_dump_func_write func!
[   13.075779] [aee/ipanic] aee-ipanic: Panic dump sucessfully written to emmc (detail len: 15998, console len: 65536)
[   13.077068] [aee/ipanic] android log : 0x1a800, 0X20000, 0x0, 0x0, 00, 0x2000
[   13.078215] Rebooting in 5 seconds..

你这个是IIC不通引起的。
你这个IIC上挂了几个器件?
有没有器件地址相同的?
还有有没有可能其中有一个器件开机时没有上电?
引起将IIC拉低的情况?

使用mtk6575标准imgsensor的IIC1,现在只是去掉2个摄像头,挂了一个i2c设备,设备上电是正常的。2根i2c数据线波形正常

你现在将CAM取下来,还是会重启?

取了还是一样的

你是在哪里加了LOG?

问题解决了。改的驱动文件自动被没改的覆盖了

你是不是改到OUT目录下去了?

就是改到out目录下了,没有搞明白mtk的目录架构是这样的。谢谢你了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top