pmaports/device/testing/u-boot-kobo-clara2e/u-boot-kobo-clara2e.post-upgrade
Andreas Kemnade e0382da4f7
kobo-clara2e: new device (MR 5202)
For now, limited support without graphics. Graphics
support would need messing and detecting board variants.

especially since Rev B seems to need a vcom setting per batch.

[ci:skip-build]: already built successfully in CI
2024-06-05 23:03:05 +02:00

6 lines
183 B
Bash

#!/bin/sh
DEV=`mount | sed -n -E 's:.*(/dev/mmcblk[0-9])p[0-9] on /boot .*:\1:p'`
if [ -n "$DEV" ] ; then
dd if=/usr/share/u-boot/kobo-clara2e/u-boot.imx bs=512 seek=2 of="$DEV"
fi