VIM1S/VIM4: initialize video firmware symlink

This commit is contained in:
Gunjan Gupta 2024-05-12 13:13:57 +05:30
parent 8827b0db51
commit 83a288f5c2
2 changed files with 16 additions and 0 deletions

View File

@ -20,3 +20,11 @@ function post_family_tweaks_bsp__populate_etc_firmware() {
run_host_command_logged mkdir -p "${destination}"/etc/firmware/brcm
run_host_command_logged ln -sf /lib/firmware/brcm/BCM4345C5.hcd "${destination}"/etc/firmware/brcm/BCM4345C5.hcd
}
function vim1s_bsp_legacy_postinst_link_video_firmware() {
ln -sf video_ucode.bin.s4 /lib/firmware/video/video_ucode.bin
}
function post_family_tweaks_bsp__vim1s_link_video_firmware_on_install() {
postinst_functions+=(vim1s_bsp_legacy_postinst_link_video_firmware)
}

View File

@ -28,3 +28,11 @@ function post_family_tweaks_bsp__use_correct_bluetooth_firmware() {
run_host_command_logged mkdir -p "${destination}"/etc/firmware/brcm
run_host_command_logged ln -sf /lib/firmware/brcm/BCM4362A2-khadas-vim4.hcd "${destination}"/etc/firmware/brcm/BCM4362A2.hcd
}
function vim4_bsp_legacy_postinst_link_video_firmware() {
ln -sf video_ucode.bin.t7 /lib/firmware/video/video_ucode.bin
}
function post_family_tweaks_bsp__vim4_link_video_firmware_on_install() {
postinst_functions+=(vim4_bsp_legacy_postinst_link_video_firmware)
}