Tried the latest release milkvduos-emmc-v1.1.4 Image for EMMC using camera-test.sh script on dev board with Duo Module 01 but causes kernel panic.
camera-test.sh script output:
[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(0x0x3fdc92d000) size(291120)
stSnsrMode.u16Width 1920 stSnsrMode.u16Height 1080 25.000000 wdrMode 0 pstSnsObj 0x3fdd767860
[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.127/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
Kernel Log:
10:38:48.218 --> [root@milkv-duo]~#
10:39:24.910 --> [ 71.701357] Oops - illegal instruction [#1]
10:39:24.936 --> [ 71.705690] 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)
10:39:24.936 --> [ 71.736367] CPU: 0 PID: 0 Comm: swapper Tainted: GF O 5.10.4-tag- #1
10:39:24.936 --> [ 71.744190] epc: ffffffe000667f0c ra : ffffffe000667f0c sp : ffffffe000867f40
10:39:24.936 --> [
10:39:24.985 --> 71.751563] gp : ffffffe0008e9b58 tp : ffffffe00086c640 t0 : 0000000000000000
10:39:24.985 --> [ 71.759024] t1 : ffffffe000667bf8 t2 : 0000000000000000 s0 : 0000000000000000
10:39:24.985 --> [ 71.766486] s1 : ffffffe0008eb324 a0 : 0000000000000000 a1 : ffffffe000791598
10:39:24.985 --> [ 71.773947] a2 : ffffffe0008e9568 a3 : 0000000000000001 a4 : ffffffe000893600
10:39:24.985 --> [ 71.781408] a5 : 0000000000000000 a6 : 0000000000000002 a7 : ffffffe000874150
10:39:24.985 --> [ 71.788870] s2 : ffffffe0008eb038 s3 : ffffffe0008eb030 s4 : ffffffe00066d008
10:39:24.985 --> [ 71.796331]
10:39:25.033 --> s5 : 0000000094c16df0 s6 : 0000000000000000 s7 : 0000000000000000
10:39:25.033 --> [ 71.803793] s8 : 0000000094bae0b2 s9 : 0000000081b18a98 s10: 0000000000000000
10:39:25.033 --> [ 71.811254] s11: 0000000000000003 t3 : 0000000000000000 t4 : 7fffffffffffffff
10:39:25.033 --> [ 71.818714] t5 : 0000003fdc9646e4 t6 : 0000000000040000
10:39:25.033 --> [ 71.824205] status: 0000000200000100 badaddr: 00000000000060a2 cause: 0000000000000002
10:39:25.033 --> [ 71.832381] Call Trace:
10:39:25.033 --> [ 71.834930] [<ffffffe000667f0c>] rcu_eqs_enter.constprop.0+0x30/0x3e
10:39:25.033 --> [ 71.841503] [<ffffffe00
10:39:25.079 --> 066b9aa>] default_idle_call+0x1c/0x40
10:39:25.079 --> [ 71.847360] [<ffffffe000246aa2>] do_idle+0x7e/0x8c
10:39:25.079 --> [ 71.852318] [<ffffffe000246b70>] cpu_startup_entry+0x8/0xe
10:39:25.079 --> [ 71.857994] [<ffffffe000202934>] start_kernel+0x3ee/0x418
10:39:25.079 --> [ 71.863603] isp_err_chk:6283(): CSIBDG_A fifo overflow
10:39:25.079 --> [ 71.868964] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=58
10:39:25.079 --> [ 71.875575] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
10:39:25.079 --> [ 71.882120] cvi_img_device_run:437(): ****img(1) grp(0) start****
10:39:25.079 --> [ 71.888573] ---[ end trace 538a49986f2c54e5 ]---
10:39:25.079 --> [ 71.893391] Kernel panic - not syncing: Attempted to kill the idle task!
10:39:25.079 --> [ 71.900323] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
Has anyone else had issues with the GC2083 sensor on the MilkV Duo?
Thanks