From def31b1652b9dee1477b1243553a0998088b93b9 Mon Sep 17 00:00:00 2001 From: st s <s-gitlab@hilft.net> Date: Sat, 10 Apr 2021 22:15:17 +0200 Subject: [PATCH] samsung-zeroltexx: Fix firmware search path for FIMC-IS driver. --- .../03-fix-fimc-is-firmware-path.patch | 11 +++++++++++ device/testing/linux-samsung-zeroltexx/APKBUILD | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 device/testing/linux-samsung-zeroltexx/03-fix-fimc-is-firmware-path.patch diff --git a/device/testing/linux-samsung-zeroltexx/03-fix-fimc-is-firmware-path.patch b/device/testing/linux-samsung-zeroltexx/03-fix-fimc-is-firmware-path.patch new file mode 100644 index 00000000000..427b6479930 --- /dev/null +++ b/device/testing/linux-samsung-zeroltexx/03-fix-fimc-is-firmware-path.patch @@ -0,0 +1,11 @@ +--- a/drivers/media/platform/exynos/fimc-is/fimc-is-sec-define.h ++++ b/drivers/media/platform/exynos/fimc-is/fimc-is-sec-define.h +@@ -103,7 +103,7 @@ + #define FIMC_IS_2P2_SETF "setfile_2p2.bin" + #define FIMC_IS_COMPANION_MASTER_SETF "companion_master_setfile.bin" + #define FIMC_IS_COMPANION_MODE_SETF "companion_mode_setfile.bin" +-#define FIMC_IS_FW_PATH "/system/vendor/firmware/" ++#define FIMC_IS_FW_PATH "/lib/firmware/postmarketos/" + #define FIMC_IS_FW_DUMP_PATH "/data/" + + #define FIMC_IS_FW_BASE_MASK ((1 << 26) - 1) diff --git a/device/testing/linux-samsung-zeroltexx/APKBUILD b/device/testing/linux-samsung-zeroltexx/APKBUILD index 4d04fb0a7eb..949a4ccdebb 100644 --- a/device/testing/linux-samsung-zeroltexx/APKBUILD +++ b/device/testing/linux-samsung-zeroltexx/APKBUILD @@ -21,6 +21,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/Exynos7420/$_repository/archive/$_commit.tar.gz $_config 02-fix-wifi-firmware-path.patch + 03-fix-fimc-is-firmware-path.patch Makefile_fix_paths.patch gcc10-extern_YYLOC_global_declaration.patch " @@ -55,5 +56,6 @@ package() { sha512sums="1f8917dfaf01865cbc0385579cad1565dcb1ec4445bbeaf3e70d0bd8a6a572a457813c311f54360f54c79b373e621d280982f560cf01091d156c90efcc98067b linux-samsung-zeroltexx-31cf7c95814358c4cd76feacf2f29bebc057fefc.tar.gz 03ea06fb2cf3830fcd581fe0204e48e4b8193e90c66be91b7cd52731cf7280bfa359cca66e6667349fae470030ca0d5db0684fcf6d9438bafcf7b6509f264ca6 config-samsung-zeroltexx.aarch64 9afbb020311f0bf8043f021292d0f05041ff4e29003bf2114dfc31906869f44dbf15ff560170bc9e9baf62d7bb4ed73d58415212fecac6f1bdd6886783b0fcc1 02-fix-wifi-firmware-path.patch +c98a074f46376936493b74285632cf38818bdb9d5e7b70b5b291aa8774711a93f352cb569d856215ebc75a33f819a8ce6cd5ccbee506d0a81141938924cf45e3 03-fix-fimc-is-firmware-path.patch 00aac98cfbaa68bd30c41622b12f38106f6595e2d74ee5cdd05add56f03facb4db45deb43b5df997143b54497d621b9fc5bae7207898c70df0672ebb482c4b46 Makefile_fix_paths.patch 2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" -- GitLab