After loading Duo S emmc FW 1.1.3 on Duo Module 01 eval board, I installed the GC2083 camera module and ran camera-test.sh. The test script finds the camera and it seems like things are initializing ok until a kernel panic occurs.
Has anyone experienced this?
I have included the full dump below including output from camera-test.sh:
[root@milkv-duo]~# camera-test.sh
[SAMPLE_COMM_SNS_ParseIni]-1950: Parse /mnt/data/sensor_cfg.ini
[parse_source_devnum]-1605: devNum = 1
[parse_sensor_name]-1686: sensor = GCORE_GC2083_MIPI_2M_30FPS_10BIT
[parse_sensor_busid]-1714: bus_id = 3
[parse_sensor_i2caddr]-1725: sns_i2c_addr = 37
[parse_sensor_mipidev]-1736: mipi_dev = 0
[parse_sensor_laneid]-1747: Lane_id = 2, 0, 1, -1, -1
[parse_sensor_pnswap]-1758: pn_swap = 0, 0, 0, 0, 0
MMF Version:7e0cc6a08-musl_riscv64
Create VBPool[0], size: (3110400 * 3) = 9331200 bytes
Create VBPool[1], size: (3110400 * 3) = 9331200 bytes
Create VBPool[2], size: (2764800 * 1) = 2764800 bytes
Total memory of VB pool: 21427200 bytes
Initialize SYS and VB
Initialize VI
ISP Vipipe(0) Allocate pa(0x96871000) va(0x0x3fc349f000) size(291120)
stSnsrMode.u16Width 1920 stSnsrMode.u16Height 1080 25.000000 wdrMode 0 pstSnsObj 0x3fc42d9860
[SAMPLE_COMM_VI_StartMIPI]-483: sensor 0 stDevAttr.devno 0
awbInit ver 6.8@2021500
0 R:1400 B:3100 CT:2850
1 R:1500 B:2500 CT:3900
2 R:2300 B:1600 CT:6500
Golden 1024 1024 1024
WB Quadratic:0
isWdr:0
ViPipe:0,===GC2083 1080P 30fps 10bit LINE Init OK!===
cvi_bin_isp message
gerritId: 36403 commitId: c69c5863e
md5: cab880835a2ad5184de5ed7762404b84
sensorNum 1
sensorName0 2083
PQBIN message
gerritId: 80171 commitId: 5c9d8fc5d
md5: ba5a510e093ad42db6788e6c2d13169e
sensorNum 3
sensorName0 2053
author: wanqiang.he desc: 思博慧CV1812H_GC2083_RGB_mode_V1.0.0
createTime: 2023-08-04 16:48:08version: V1.1
tool Version: v3.0.5.24 mode:
sensorName(0) mismatch, mwSns:2083 != pqBinSns:2053
[SAMPLE_COMM_ISP_Thread]-95: ISP Dev 0 running!
Initialize VPSS
---------VPSS[0]---------
Input size: (1920x1080)
Input format: (19)
VPSS physical device number: 1
Src Frame Rate: -1
Dst Frame Rate: -1
--------CHN[0]-------
Output size: (1920x1080)
Depth: 1
Do normalization: 0
Src Frame Rate: -1
Dst Frame Rate: -1
----------------------
--------CHN[1]-------
Output size: (1920x1080)
Depth: 1
Do normalization: 0
Src Frame Rate: -1
Dst Frame Rate: -1
----------------------
Bind VI with VPSS Grp(0), Chn(0)
Attach VBPool(0) to VPSS Grp(0) Chn(0)
Attach VBPool(1) to VPSS Grp(0) Chn(1)
Initialize VENC
venc codec: h264
venc frame size: 1920x1080
Initialize RTSP
rtsp://192.168.1.119/h264
prio:0
version: 1.4.0
scrfd768432 Build at 2023-12-25 01:21:44 For platform cv181x
Max SharedMem size:1658880
anchor:-8,-8,8,8
anchor:-16,-16,16,16
bbox:bbox_8_Conv_dequant
landmark:kps_8_Conv_dequant
score:score_8_Sigmoid_dequant
anchor:-32,-32,32,32
anchor:-64,-64,64,64
bbox:bbox_16_Conv_dequant
landmark:kps_16_Conv_dequant
score:score_16_Sigmoid_dequant
anchor:-128,-128,128,128
anchor:-256,-256,256,256
bbox:bbox_32_Conv_dequant
landmark:kps_32_Conv_dequant
score:score_32_Sigmoid_dequant
Enter TDL thread
Enter encoder thread
0 R:1165 B:3087 CT:2688
1 R:1464 B:2327 CT:3937
2 R:1974 B:1613 CT:7225
Golden 1464 1024 2327
wdrLEOnly:1
[ 151.918116] Unable to handle kernel paging request at virtual address ffffffff8002223d
[ 151.926415] Oops [#1]
[ 151.928769] Modules linked in: cv181x_pwm(FO) aic8800_fdrv(F) aic8800_bsp(F) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181x_tpu(FO) cv181x_clock_cooling(FO) cv181x_rgn(FO) cv181x_mipi_tx(FO) cv181x_vo(FO) cv181x_dwa(FO) cv181x_vpss(FO) cv181x_vi(FO) snsr_i2c(FO) cvi_mipi_rx(FO) cv181x_base(FO) cv181x_sys(FO)
[ 151.959446] CPU: 0 PID: 0 Comm: swapper Tainted: GF O 5.10.4-tag- #1
[ 151.967269] epc: ffffffe00024f298 ra : ffffffe00024f294 sp : ffffffe000867ae0
[ 151.974641] gp : ffffffe0008e9b58 tp : ffffffe00086c640 t0 : ffffffe00087c498
[ 151.982103] t1 : 0000003300000000 t2 : c426e6b00000003f s0 : 0000000000000034
[ 151.989565] s1 : ffffffffffffffff a0 : 0000000000000001 a1 : ffffffe00088cbb0
[ 151.997026] a2 : 0000000000000010 a3 : 0000000000000000 a4 : 03ffffff80021b19
[ 152.004488] a5 : 0000000000000002 a6 : ffffffffffffffea a7 : 0000000000000034
[ 152.011949] s2 : 0000000000000002 s3 : 0000000000000000 s4 : 0000000000000000
[ 152.019411] s5 : 0000000000000000 s6 : ffffffdf809ab808 s7 : ffffffe000867b68
[ 152.026872] s8 : 0000000000000101 s9 : ffffffe0008f3c80 s10: 0000000000000001
[ 152.034333] s11: ffffffe0007915f0 t3 : 0000000000000038 t4 : c33f567800000000
[ 152.041794] t5 : 000000190000003f t6 : ffffffe000867958
[ 152.047284] status: 0000000200000120 badaddr: ffffffff8002223d cause: 000000000000000d
[ 152.055460] Call Trace:
[ 152.058010] [] wake_up_klogd+0x18/0x78
[ 152.063507] [] vprintk_emit+0x11e/0x16a
[ 152.069101] [] printk+0x28/0x40
[ 152.074111] [] isp_pre_trig+0xf0/0x1ba [cv181x_vi]
[ 152.080826] [] _post_hw_enque+0x864/0x898 [cv181x_vi]
[ 152.087686] [] tasklet_action_common.constprop.0+0x4e/0x74
[ 152.094977] [] __do_softirq+0x10c/0x1ec
[ 152.100564] [] __irq_exit_rcu+0x5a/0x96
[ 152.106148] [] irq_exit+0x4/0x14
[ 152.111113] [] __handle_domain_irq+0x4c/0x6e
[ 152.117146] [] arch_cpu_idle+0x4/0xa
[ 152.122462] [] ret_from_syscall_rejected+0x8/0xc
[ 152.128851] [] arch_cpu_idle+0x4/0xa
[ 152.134165] [] default_idle_call+0x24/0x40
[ 152.140021] [] netdev_alert+0x2c/0x4a
[ 152.145429] [] default_idle_call+0x1c/0x40
[ 152.151285] [] do_idle+0x7e/0x8c
[ 152.156242] [] cpu_startup_entry+0x8/0xe
[ 152.161917] [] start_kernel+0x3ee/0x418
[ 152.167528] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=247
[ 152.174268] —[ end trace d7a6a51c2326db59 ]—
[ 152.179048] Kernel panic - not syncing: Fatal exception in interrupt
[ 152.185618] —[ end Kernel panic - not syncing: Fatal exception in interrupt ]—