Thanks @numbqq@ivan.li
I used that one Armbian 24.2.1 bookworm
I needed to add some packages by myself optee-userspace_0.5-202311_arm64.deband optee-video-firmware_0.4-202311_arm64.deb from https://dl.khadas.com/repos/vim4-5.15/pool/main/o/.
The firmware /lib/firmware/video/video_ucode.bin is provided by the armbian-firmware package.
Itβs ok with this one https://github.com/numbqq/fenix/blob/master/archives/hwpacks/video-firmware/Amlogic/VIM4/video/video_ucode.bin
/usr/bin/tee_preload_fw video_ucode.bin
fw_path = video_ucode.bin
MM-module-name:Video firmware CA,Version:1.0.5-g3604ffd(build:958)
tee preload video fw ok
[74669.200349] [TEE] E/TA: MM-module-name:Video firmware TA,Version:1.0.5-g3604ffd(build:958)
[74673.296468] [TEE] E/TA: fw_check_pack_version:292 the package has 15 fws totally.
[74673.296498] [TEE] E/TA: fw_check_pack_version:309 The TA ver is v1.0
[74673.296509] [TEE] E/TA: fw_check_pack_version:310 The fw ver is v0.4
[74673.296518] [TEE] E/TA: fw_data_insert:389 the fw with 332 KB will be loaded.
[74673.296527] [TEE] M/TA: TEE_Video_Load_FW success