aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2026-11-17 23:11:06 +0100
committerMalte Voos <git@mal.tc>2026-11-18 14:43:08 +0100
commit3266f5c6f33dd043a2c3aaed3c38eca0382e6c2f (patch)
treeecab393d1869071433554fa949bb7e57dcd4381b
parent2b423e82a420cafd406e32334fffa61ad0ef8555 (diff)
downloadreMder-main.tar.gz
reMder-main.zip
update firmware to 3.29.1.0HEADmain
auto reboot on kernel panic (e.g. xochitl crash -> init dead)
-rw-r--r--.gitignore3
-rw-r--r--README.md2
-rw-r--r--server.nix18
3 files changed, 18 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index d44c712..19274ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
result
-foo.*
+*.rmdoc
+*.pdf
diff --git a/README.md b/README.md
index 18af421..593eb54 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ interface's PDF rendering functionality to render your documents. As a result,
it should be able to render any reMarkable document, in particular those
created on newer firmware versions.
-Currently, reMder uses firmware version v3.27.1.0.
+Currently, reMder uses firmware version v3.29.1.0.
## Building
diff --git a/server.nix b/server.nix
index f4aeb82..ff60cf8 100644
--- a/server.nix
+++ b/server.nix
@@ -12,13 +12,13 @@
writeScript,
}:
let
- updateName = "remarkable-production-image-3.27.1.0-rm2-public";
+ updateName = "remarkable-production-image-3.29.1.0-rm2-public";
updateArchive = fetchurl {
url =
# TODO: this is not an official source. might be worth authenticating the updates
"https://remarkable-software.s3.us-east-2.amazonaws.com/${updateName}.swu";
- hash = "sha256-QPS2n/S1RqkXe0Tg8bAODnvcG5aUOYsAtPvKYwEYGsI=";
+ hash = "sha256-egr0Fz2QuuCt8MWp6U5+r16Gz3QeOL2+xON4gxXJ2m8=";
};
xochitlConfig = writeText "xochitl.conf" ''
@@ -73,6 +73,15 @@ let
LD_PRELOAD=/usr/lib/libfakefbdev.so exec xochitl --system
'';
+ # without systemd as PID 1, D-Bus has to launch timedated itself. xochitl
+ # crashes if it can't read the Timezone property from timedate1.
+ timedateDbusService = writeText "org.freedesktop.timedate1.service" ''
+ [D-BUS Service]
+ Name=org.freedesktop.timedate1
+ Exec=/lib/systemd/systemd-timedated
+ User=root
+ '';
+
doNothing = writeScript "do-nothing" ''
#!/bin/sh
'';
@@ -113,6 +122,8 @@ let
upload ${fakefbdev}/lib/libfakefbdev.so /usr/lib/libfakefbdev.so
chmod 0755 /usr/lib/libfakefbdev.so
+ upload ${timedateDbusService} /usr/share/dbus-1/system-services/org.freedesktop.timedate1.service
+
# prevent xochitl from changing root password
upload ${doNothing} /usr/sbin/usermod
chmod 0755 /usr/sbin/usermod
@@ -152,7 +163,8 @@ writeShellApplication {
-device virtio-blk-device,drive=hd \
-netdev user,net=10.11.99.0/27,host=10.11.99.2,dhcpstart=10.11.99.1,hostfwd=tcp::${toString sshPort}-:22,hostfwd=tcp::${toString httpPort}-:80,id=net \
-device virtio-net-device,netdev=net \
- -append "console=ttyAMA0 rootfstype=ext4 root=/dev/vda2 rw rootwait init=/sbin/init" \
+ -append "console=ttyAMA0 panic=-1 rootfstype=ext4 root=/dev/vda2 rw rootwait init=/sbin/init" \
+ -no-reboot \
-serial mon:stdio \
-nographic
'';