Build from source
A build runs on a Linux computer. It needs these host tools: clang 23, make, fakeroot, dtc, rsync, xz, zstd, cpio, depmod, mkfs.erofs and qemu-arm-static.
Inputs
Section titled “Inputs”Put each one in build/ of your checkout:
| Input | Where |
|---|---|
| Linux 7.3.6 source from kernel.org | build/downloads/linux/linux-7.3.6.tar.xz |
| Buildroot 2025.02.18 | build/buildroot-2025.02.18 |
The arm-kindlehf-linux-gnueabihf sysroot from KOReader’s koreader/kokindle image (GCC, glibc 2.20), with clang 23 as its compiler |
build/c23-toolchain-v2/arm-kindlehf-linux-gnueabihf |
Buildroot downloads the rest into build/downloads on the first build.
scripts/release.sh my1This builds the Linux kernel, the Buildroot system and the images into build/kindle-paperwhite-4/release/my1.
scripts/install.sh my1 # on a connected Kindle, as a trialscripts/package.sh my1 # the owner's ZIPThe simulator runs a release on your computer.
ereaderOS is an independent, free and open source project. It is not affiliated with, endorsed by or sponsored by Amazon or any device maker. Kindle is a trademark of Amazon.com, Inc. or its affiliates; device names only say which hardware is supported. ereaderOS contains no Amazon apps or proprietary firmware and does not remove copy protection from books. Installing it may affect your warranty and is at your own risk. Legal and licenses