Failing to apply overlay vim4n-imx415

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 22.04

Which version of system do you use? Khadas official images, self built images, or others?

Latest official image for kernel 5.15 (server) on OOWO

Please describe your issue below:

Following New VIM4 MIPI camera usage [Khadas Docs], I enabled imx415 on a VIM4N. The board then does not find the overlay (see log below), and fails booting. Any idea?

The same board+camera works fine with the [older] test image for 5.15.

Post a console log of your issue below:

[excerpt from u-boot]

Retrieving file: /dtb/amlogic/kvim4n.dtb
158197 bytes read in 3 ms (50.3 MiB/s)
Retrieving file: /dtb/amlogic/kvim4n.dtb.overlay.env
26 bytes read in 2 ms (12.7 KiB/s)
fdt_overlay_helper: /dtb/amlogic/kvim4n.dtb.overlay.env
 /dtb/amlogic/kvim4n.dtb.overlays: vim4n-imx415
Retrieving file: /dtb/amlogic/kvim4n.dtb.overlays/vim4n-imx415.dtbo
787 bytes read in 2 ms (383.8 KiB/s)
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
Failed to apply overlay vim4n-imx415, skipping

Hello @jeguzzi

Can you reinstall the system then follow the steps below to upgrade your system and try again?

sudo apt update 
sudo apt full-upgrade 
sudo reboot

Thanks, I could only test it today and it solved the issue :+1:.

1 Like