Genio 520 EVK Random Reboots (Yocto Scarthgap)

Hello,

We built Yocto Scarthgap using:

  • DISTRO: rity-demo

  • MACHINE: genio-520-evk

  • Build: bitbake rity-demo-image -fk

We have an application that performs continuous screen monitoring and recording using WCAP.
It saves the recording as .wcap files and later converts them to MP4 using GStreamer (H.264 encoder).
The application also uses ydotool to trigger WCAP start/stop.

The issue is that the Genio 520 EVK suddenly struck and reboots unexpectedly.
This happens sometimes while recording, but it can also reboot even when running other applications or when the board is simply idle. The board just restarts instantly.

Could you please help us understand why the EVK might reboot like this?

Thanks.

Hi,

To help us better diagnose your issue, could you please provide the following information if possible?

  • Which version of IoT Yocto are you currently using?
  • The kernel dmesg output captured right before the system becomes unresponsive or reboots unexpectedly.

Thank you for your cooperation!

Hello,

We are using IoT Yocto version 6.6 on the Genio 520 EVK.

As requested, we have collected the kernel log before the unexpected reboot.
Please find the attached dmesg log (log.txt) for your analysis.


Hi,

Thank you for your response. Please find the requested information below.

-–

**IoT Yocto Version:** 6.6
**DISTRO:** rity-demo
**MACHINE:** genio-520-evk
**Build:** bitbake rity-demo-image -fk

-–

The dmesg log spans approximately 15 minutes (~362s to ~1293s). The board rebooted abruptly after the last logged entry with no visible kernel panic or explicit reboot trigger in the log.

-–

### 1. Mali GPU Soft-Reset Failures (25 occurrences)

These begin almost immediately after ydotoold registers and persist throughout the entire session up to the final log entry:

```
[ 363.671419] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 364.889403] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 380.247738] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 387.261151] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 388.942176] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 390.359489] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 393.957745] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 407.300860] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 413.498109] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 414.151420] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 453.826505] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 467.420304] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 475.932669] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 513.980113] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 555.460484] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 704.852976] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 844.416925] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 850.697776] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 873.584158] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 907.285963] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 928.655585] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 1207.750247] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 1288.944313] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 1291.743519] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 1293.040456] mali 13000000.gpu: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
```

-–

### 2. ydotoold Virtual Device Events (WCAP trigger – 3 cycles)

```
[ 361.844910] input: ydotoold virtual device as /devices/virtual/input/input5
[ 830.806140] input: ydotoold virtual device as /devices/virtual/input/input6
[ 1206.233050] input: ydotoold virtual device as /devices/virtual/input/input7
```

-–

### 3. Video Encoder Buffer Overflow – venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768 (6029 occurrences)

Buffers hit the codec max limit and are not released between sessions. First 5 and last 5 samples:

```
[ 438.788713] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 438.808376] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 438.827160] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 438.846190] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 438.864659] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
… (6029 total occurrences from ~438s to ~1024s)
[ 1024.779311] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 1024.797767] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 1024.816144] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 1024.834716] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
[ 1024.849322] set venc_vb_mmap_bufs error, venc_vb_mmap_num_buffers:768 >= CODEC_MAX_BUFFER:768
```

-–

### 4. SLBC Address Errors + slbc_request returning 0 (5 occurrences)

```
[ 423.366397] slbc_addr error 0x0
[ 423.366409] slbc_request 0
[ 483.488887] slbc_addr error 0x0
[ 483.488905] slbc_request 0
[ 543.794061] slbc_addr error 0x0
[ 543.794075] slbc_request 0
[ 952.221032] slbc_addr error 0x0
[ 952.221048] slbc_request 0
[ 1058.258802] slbc_addr error 0x0
[ 1058.258819] slbc_request 0
```

-–

### 5. Video Encoder Open / Start Streaming / Stop Events

```
[ 423.207671] [MTK_V4L2] level=0 fops_vcodec_open(),184: 17020000.venc encoder [2][1]
[ 423.208784] [MTK_V4L2] level=0 fops_vcodec_release(),226: [2][1] encoder
[ 423.338393] [MTK_V4L2] level=0 fops_vcodec_open(),184: 17020000.venc encoder [4][1]
[ 423.455052] [MTK_V4L2] level=0 vb2ops_venc_start_streaming(),2844: fmt 0x6, P/L 0/0, w/h 1920/1200, buf 1920/1200, fps/bps 30/4000000(1), gop 0, ip# 0 opr 0 async 1 grid size 0/0 b#0, slbc 0 maxqp -1 minqp -1
[ 460.080772] [MTK_V4L2] level=0 fops_vcodec_release(),226: [4][1] encoder
[ 483.418138] [MTK_V4L2] level=0 fops_vcodec_open(),184: 17020000.venc encoder [6][1]
[ 483.599328] [MTK_V4L2] level=0 vb2ops_venc_start_streaming(),2844: fmt 0x6, P/L 0/0, w/h 1920/1200, buf 1920/1200, fps/bps 30/4000000(1), gop 0, ip# 0 opr 0 async 1 grid size 0/0 b#0, slbc 0 maxqp -1 minqp -1
[ 520.828604] [MTK_V4L2] level=0 fops_vcodec_release(),226: [6][1] encoder
[ 543.715716] [MTK_V4L2] level=0 fops_vcodec_open(),184: 17020000.venc encoder [8][1]
[ 543.920394] [MTK_V4L2] level=0 vb2ops_venc_start_streaming(),2844: fmt 0x6, P/L 0/0, w/h 1920/1200, buf 1920/1200, fps/bps 30/4000000(1), gop 0, ip# 0 opr 0 async 1 grid size 0/0 b#0, slbc 0 maxqp -1 minqp -1
[ 579.103243] [MTK_V4L2] level=0 fops_vcodec_release(),226: [8][1] encoder
[ 952.154483] [MTK_V4L2] level=0 fops_vcodec_open(),184: 17020000.venc encoder [11][1]
[ 952.356014] [MTK_V4L2] level=0 vb2ops_venc_start_streaming(),2844: fmt 0x6, P/L 0/0, w/h 1920/1200, buf 1920/1200, fps/bps 30/4000000(1), gop 0, ip# 0 opr 0 async 1 grid size 0/0 b#0, slbc 0 maxqp -1 minqp -1
[ 1024.889320] [MTK_V4L2] level=0 fops_vcodec_release(),226: [11][1] encoder
[ 1058.226379] [MTK_V4L2] level=0 fops_vcodec_open(),184: 17020000.venc encoder [13][1]
[ 1058.360581] [MTK_V4L2] level=0 vb2ops_venc_start_streaming(),2844: fmt 0x6, P/L 0/0, w/h 1920/1200, buf 1920/1200, fps/bps 30/4000000(1), gop 0, ip# 0 opr 0 async 1 grid size 0/0 b#0, slbc 0 maxqp -1 minqp -1
[ 1144.986666] [MTK_V4L2] level=0 fops_vcodec_release(),226: [13][1] encoder
```

-–

### 6. VCU Open / Release (venc_srv)

```
[ 423.366742] [VCU] mtk_vcu_open name: venc_srv pid 499 tgid 478 open_cnt 2
[ 460.083014] [VCU] mtk_vcu_release name: venc_srv pid 478 open_cnt 2
[ 483.489269] [VCU] mtk_vcu_open name: venc_srv pid 499 tgid 478 open_cnt 2
[ 520.834197] [VCU] mtk_vcu_release name: venc_srv pid 478 open_cnt 2
[ 543.794476] [VCU] mtk_vcu_open name: venc_srv pid 499 tgid 478 open_cnt 2
[ 579.105013] [VCU] mtk_vcu_release name: venc_srv pid 478 open_cnt 2
[ 952.221567] [VCU] mtk_vcu_open name: venc_srv pid 499 tgid 478 open_cnt 2
[ 1024.891613] [VCU] mtk_vcu_release name: venc_srv pid 478 open_cnt 2
[ 1058.259194] [VCU] mtk_vcu_open name: venc_srv pid 499 tgid 478 open_cnt 2
[ 1144.992308] [VCU] mtk_vcu_release name: venc_srv pid 478 open_cnt 2
```

-–

Please let us know if you need any additional information or further logs to help diagnose this issue.

Thank you!

Hi,
We are awaiting your guidance to proceed with debugging this reboot issue. Please let us know whether the logs and details shared above are sufficient, or if additional technical information is required.

Thanks,
Thejashwini N

Hi @Thejashwini_N ,

Could you please try the Yocto V25.1.1 release?

We have included some fixes for the GPU driver:

  • [AUTO00842071][Genio 720] System unstable when looping glmark2 benchmarks

Thanks.

Hi,

Thanks for the update and for sharing the information.

I have tried the Yocto v25.1.1 release and checked the behavior. The reboot issue appears to be resolved as of now. I will continue to monitor the system behavior and will get back to you if I observe anything noteworthy.

Thanks again.

Best regards,
Thejashwini N

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.