From a92c556b4758de0ee160f22f4341d5bc9d8f043e Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 25 Apr 2023 01:50:08 -0400 Subject: [PATCH] user/linux-rm: add missing epdc firmware --- user/linux-rm/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/user/linux-rm/APKBUILD b/user/linux-rm/APKBUILD index 2c977b3..dda118a 100644 --- a/user/linux-rm/APKBUILD +++ b/user/linux-rm/APKBUILD @@ -4,7 +4,7 @@ pkgname=linux-rm pkgver=5.4.70 _rmver=1.3.3 -pkgrel=4 +pkgrel=5 pkgdesc="Linux kernel with reMarkable patches" url=https://github.com/reMarkable/linux depends="initramfs-generator linux-firmware-brcm linux-firmware-cypress" @@ -16,6 +16,7 @@ options="!strip !check" builddir="$srcdir"/linux-RM1XX_${pkgver}_v$_rmver source=" https://github.com/reMarkable/linux/archive/refs/tags/RM1XX_${pkgver}_v$_rmver.tar.gz + https://raw.githubusercontent.com/ichaozi/RemarkableFramebuffer/0f37dc8c06d340dc1af52ff2d4d6d5789ccf14bb/kernel-mxc-epdc-fb-reference/epdc_ES103CS1.fw enable-automatic-partial-refreshing.patch config-changes-rm.armv7 config-changes-rm.armhf @@ -165,6 +166,9 @@ _package() { install -D -m644 include/config/kernel.release \ "$_outdir"/usr/share/kernel/$_flavor/kernel.release + + # install missing firmware + install -vDm644 "$srcdir"/epdc_ES103CS1.fw "$_outdir"/lib/firmware/imx/epdc/epdc_ES103CS1.fw } # main flavor installs in $pkgdir @@ -241,6 +245,7 @@ _dev() { sha512sums=" 80ab274ca3d30935d9913490662f17499c1ceedb438fe171554097d25ffc1cf85ee53f0c1642e94c0b833fdfb17636cd554bf685e4a6f5dac20cf122c1a25447 RM1XX_5.4.70_v1.3.3.tar.gz +ad4bd6f332319aceee7a1c7b71b49439e8217621214b6249c7e20198360d02ea442f31edfc8e1af1b85ed71e6f97c1cb7decf7b0885c9d0293361eef47f218b2 epdc_ES103CS1.fw 0f47278c5bfafb939e46224fbf16f9491e3cc560ac128dcf430a1f6cf9064fb1c5bf5db1a3076c35d30c004aec525a7d6616a647564f197bb29c57701c1db982 enable-automatic-partial-refreshing.patch 7f118de35f63960c0d9dc8d8ed56c4097006a3545d4672b618b1d430a7a9c018dbda4c2bfe900cd013c5f65766ddd62b1638ddfeb1bafde307f77d25891bd438 config-changes-rm.armv7 7f118de35f63960c0d9dc8d8ed56c4097006a3545d4672b618b1d430a7a9c018dbda4c2bfe900cd013c5f65766ddd62b1638ddfeb1bafde307f77d25891bd438 config-changes-rm.armhf