From 1cef7a0e18cdde1cdff726cfc9d4c333bcbe7244 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Mon, 2 Aug 2021 16:46:10 +0200 Subject: [PATCH] Revert "g12: init-files: ueventd: Provide additional firmware directories" This reverts commit 7ac4ab266c2777c7aeb2838bbfae794a49a0961d. without this revert: [ 5.962641@3]- Try to load video/h264_enc.bin ... [ 5.966496@3]- firmware_codec firmware_vdec: Direct firmware load for video/h264_enc.bin failed with error -2 [ 5.976168@3]- Error : -2 can't load the video/h264_enc.bin. [ 5.981819@3]- get data from fsys fail. [ 5.985616@3]- invaild file type. [ 5.989361@3]- Try to load video/video_ucode.bin ... [ 5.993980@3]- firmware_codec firmware_vdec: Direct firmware load for video/video_ucode.bin failed with error -2 [ 6.004101@3]- Error : -2 can't load the video/video_ucode.bin. [ 6.009971@3]- get data from fsys fail. [ 6.013797@3]- invaild file type. [ 6.019731@1]- Registered frame rate driver success. with this revert: [ 5.977339@2]- Try to load video/h264_enc.bin ... [ 5.982556@2]- load firmware size : 76288, Name : video/h264_enc.bin. [ 5.988188@2]- Try to load video/video_ucode.bin ... [ 6.003037@2]- load firmware size : 1459200, Name : video/video_ucode.bin. [ 6.012527@2]- Registered frame rate driver success. Change-Id: I1ffba87da44b391861fe16e0e295cd5a709cd913 --- init-files/init.amlogic.media.rc | 1 + init-files/ueventd.rc | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/init-files/init.amlogic.media.rc b/init-files/init.amlogic.media.rc index b146150..b25e95d 100644 --- a/init-files/init.amlogic.media.rc +++ b/init-files/init.amlogic.media.rc @@ -13,6 +13,7 @@ on boot on fs insmod /vendor/lib/modules/media_clock.ko + write /sys/module/firmware_class/parameters/path "/vendor/lib/firmware/" insmod /vendor/lib/modules/firmware.ko insmod /vendor/lib/modules/video_framerate_adapter.ko insmod /vendor/lib/modules/decoder_common.ko diff --git a/init-files/ueventd.rc b/init-files/ueventd.rc index 911fe03..fc88671 100644 --- a/init-files/ueventd.rc +++ b/init-files/ueventd.rc @@ -1,9 +1,3 @@ -## Firmware directories -# - -# Additional firmware locations -firmware_directories /vendor/lib/firmware - ## /dev/ devices # -- 2.20.1