Achill Gilgenast
2025-12-29 20:29:06 +01:00
committed by The Friendly Merge Bot
parent 3dbf62377e
commit 51cf7aa48b
5 changed files with 0 additions and 105 deletions
@@ -1,26 +0,0 @@
From 8b356782713c54e65a4c950b5486967f28f28a87 Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca.weiss@fairphone.com>
Date: Mon, 28 Jul 2025 13:40:48 +0200
Subject: [PATCH 2/2] storage: Add modem_study into partition_table
The partition /boot/modem_study needs to be served on the Milos/SM7635
Fairphone (Gen. 6) smartphone.
---
storage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/storage.c b/storage.c
index 140c6bf..001464d 100644
--- a/storage.c
+++ b/storage.c
@@ -41,6 +41,7 @@ static const struct partition partition_table[] = {
{ "/boot/modem_fs2", "modem_fs2", "modemst2" },
{ "/boot/modem_fsc", "modem_fsc", "fsc" },
{ "/boot/modem_fsg", "modem_fsg", "fsg" },
+ { "/boot/modem_study", "modem_study", "study" },
{ "/boot/modem_tunning", "modem_tunning", "tunning" },
{ "/boot/modem_tng", "modem_tng", "tunning" },
{}
--
2.50.1
-38
View File
@@ -1,38 +0,0 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=rmtfs
pkgver=1.1.1
pkgrel=2
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
url="https://github.com/linux-msm/rmtfs"
arch="all"
license="BSD-3-Clause"
makedepends="eudev-dev qrtr-dev"
subpackages="$pkgname-doc $pkgname-openrc $pkgname-systemd $pkgname-udev"
source="
https://github.com/linux-msm/rmtfs/archive/v$pkgver/rmtfs-v$pkgver.tar.gz
rmtfs.confd
rmtfs.initd
udev.rules
0002-storage-Add-modem_study-into-partition_table.patch
"
options="!check"
build() {
make rmtfs
}
package() {
DESTDIR="$pkgdir" make prefix=/usr install
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/65-$pkgname.rules"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
15b8dd0e0b2105e331feb7632c44e213566b1feb42c5bef7fe342e96a948fc6fe1e16c767fb67d726a771088a04f4b17c8fd813c469bf6c289beb2b9d11627d8 rmtfs-v1.1.1.tar.gz
f27225e88be7906b0987bfc6fff4f2d5fe1be835d6df4299b7f240a9bf48f4d8cc635353e845d61c291e7857b059933cc567e39b03c7c655e3205bbcbacae3d3 rmtfs.confd
3b8f9f1d620ec0779cdb75f07bb55343563f38905291b46f278b20350cb6b3099f924b01e54c1dde4101e814ed7dab941f665fc5e89989787d4483d18ac8da23 rmtfs.initd
cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules
60cf74936db55f26559d81a61a7ed1fb27e89a6c8650bb0f43fbb789ba208f52bd9bd3359c52ce4c9a98bc3014c7ce231e8f468b9856eb43449d8561e4f72b44 0002-storage-Add-modem_study-into-partition_table.patch
"
-5
View File
@@ -1,5 +0,0 @@
# Path to read EFS files. If unset it will be read from partitions
#rmtfs_files_path="/var/lib/rmtfs"
# Avoid writing to storage
rmtfs_avoid_writing="true"
-35
View File
@@ -1,35 +0,0 @@
#!/sbin/openrc-run
supervisor=supervise-daemon
name="RMTFS"
description="Qualcomm remote file system service"
command="/usr/bin/rmtfs"
command_args=""
if [ -z "$rmtfs_files_path" ]; then
command_args="$command_args -P"
else
command_args="$command_args -o $rmtfs_files_path"
fi
if [ "$rmtfs_avoid_writing" = "true" ]; then
command_args="$command_args -r"
fi
# https://github.com/andersson/rmtfs/commit/dfb8f3ed1c8fbde621cd08aaf9e7724a4c55cbd1
respawn_delay=1
# Downstream hacks: use libqipcrtr4msmipc.so
if [ -f /usr/lib/preload/libqipcrtr4msmipc.so ]; then
export LD_PRELOAD=/usr/lib/preload/libqipcrtr4msmipc.so
else
# -s: enable sync for the mss rproc instance (works only on mainline)
# Basically: start/stop modem remoteproc together with rmtfs
command_args="$command_args -s"
fi
depend() {
before networkmanager ofono modemmanager
after udev-settle
use qrtr-ns
}
-1
View File
@@ -1 +0,0 @@
SUBSYSTEM=="uio", ATTR{name}=="rmtfs", SYMLINK+="qcom_rmtfs_uio1"