f046cd5d1b
Basic support for the Kobo Libra H2O ebook reader. Waveform handling shares the same oddities as for the Kobo Clara HD, the existing waveform from eMMC is used. Preferred way to install is to export the eMMC as USB Mass storage, backing it up, and installing there. U-Boot is a more recent one than the factory u-boot, supporting easy access for buttons/LEDs. Pressing PageUp while powering on gives you the possibility to enable USB mass storage mode to restore your backup. Kernel is the near mainline kernel also used by the Kobo Clara HD. It lacks some devicetree additions which are planned for the next update, but basic things like buttons, usb, serial and wifi are supported.
38 lines
964 B
Text
38 lines
964 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-kobo-librah2o
|
|
pkgdesc="Kobo Libra H2O"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
kobo-epdc-extractor
|
|
linux-kobo-clara-mainline
|
|
postmarketos-base
|
|
u-boot-kobo-librah2o
|
|
u-boot-tools
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
deviceinfo
|
|
uboot-script.cmd
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
mkimage -A arm -O linux -T script -n postmarketOS \
|
|
-d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
|
install -Dm644 "$srcdir/boot.scr" "$pkgdir/boot/boot.scr"
|
|
}
|
|
|
|
sha512sums="
|
|
0365f6c88c15f9d99d00c28d45144bf0321a8484fbf44b491cbe1493643180f1fcd5192d42991073d771be17eae2ec0a8b6826018e9ffb68e530fad11f02b96c deviceinfo
|
|
778674f41c19c56ed8677f151175d22da53e94e03c48d900036287b17a37ba9816976138ad317ec220d807a6ff97ca1006c6ae73c39801929f23927e665f35df uboot-script.cmd
|
|
"
|