From 3266f5c6f33dd043a2c3aaed3c38eca0382e6c2f Mon Sep 17 00:00:00 2001 From: Malte Voos Date: Tue, 17 Nov 2026 23:11:06 +0100 Subject: update firmware to 3.29.1.0 auto reboot on kernel panic (e.g. xochitl crash -> init dead) --- .gitignore | 3 ++- README.md | 2 +- server.nix | 18 +++++++++++++++--- 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 ''; -- cgit v1.3.1