Fork of alistair23 Linux kernel for reMarkable from https://github.com/alistair23/linux
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
1 year ago | |
---|---|---|
Documentation | 1 year ago | |
LICENSES | 3 years ago | |
arch | 1 year ago | |
block | 1 year ago | |
certs | 3 years ago | |
crypto | 1 year ago | |
drivers | 1 year ago | |
fs | 1 year ago | |
include | 1 year ago | |
init | 1 year ago | |
ipc | 2 years ago | |
kernel | 1 year ago | |
lib | 1 year ago | |
mm | 1 year ago | |
net | 1 year ago | |
samples | 2 years ago | |
scripts | 1 year ago | |
security | 1 year ago | |
sound | 1 year ago | |
tools | 1 year ago | |
usr | 2 years ago | |
virt | 1 year ago | |
.clang-format | 3 years ago | |
.cocciconfig | ||
.get_maintainer.ignore | 3 years ago | |
.gitattributes | ||
.gitignore | 3 years ago | |
.mailmap | 3 years ago | |
COPYING | 4 years ago | |
CREDITS | 3 years ago | |
Kbuild | 3 years ago | |
Kconfig | 3 years ago | |
MAINTAINERS | 2 years ago | |
Makefile | 1 year ago | |
README | 4 years ago | |
README.md | 1 year ago |
README.md
Unofficial reMarkable Linux Kernel
UNDER DEVELOPMENT
This kernel is for the reMarkable2 epaper tablet.
Differences
This is a small fork of the alistair23 reMarkable kernel.
Build
Build thine kernel thusly:
git clone https://spacecruft.org/redonkable/alistair23-linux
cd alistair23-linux
# should already be on this branch, but check it out:
git checkout redonkable
# XXX confirm which defconfig is best
ARCH=arm CROSS_COMPILE=arm-none-eabi- make imx_v6_v7_defconfig
ARCH=arm CROSS_COMPILE=arm-none-eabi- make -j`nproc`
ARCH=arm CROSS_COMPILE=arm-none-eabi- make modules_install INSTALL_MOD_PATH=./tmp
rm -rf tmp/lib/modules/*/build tmp/lib/modules/*/source
Install files thusly. Symlink them later, or change fw_env
variables.
# Kernel modules
scp -pr tmp/lib/modules/* root@10.11.99.1:/lib/modules/
# Kernel
# XXX Update kernel version number
scp -p arch/arm/boot/zImage root@10.11.99.1:/boot/zImage-5.4.94
# DTB
# XXX Update kernel version number
# XXX Update dtb name
scp -p arch/arm/boot/dts/imx7d-remarkable2.dtb root@10.11.99.1:/boot/imx7d-remarkable2.dtb-5.4.94
Log in and set symlinks to new kernel seteup.
ssh root@10.11.99.1
cd /boot
mv zImage zImage.bak
# XXX Update kernel version number
ln -s zImage-5.4.94 zImage
mv zero-sugar.dtb zero-sugar.dtb.bak
# XXX Update kernel version number
# XXX which dtb gets read, by uboot or kernel?
ln -s imx7d-remarkable2.dtb-5.4.94 zero-sugar.dtb
ln -s imx7d-remarkable2.dtb-5.4.94 imx7d-remarkable2.dtb
cd /lib/modules
# XXX Update kernel version number
mv 5.4.94 5.4.94.bak
# Note, git tag may vary, something like:
# XXX Update kernel version number
ln -s 5.4.94-XXX 5.4.94
Then power off, power back up.
See Also
- https://remarkablewiki.com/tech/rm2_otg_pogo
- https://remarkablewiki.com/tech/kernel
- https://remarkablewiki.com/tech/updatingkernel
- https://remarkablewiki.com/tech/filesystem
- https://github.com/ddvk/remarkable2-recovery
Fork
This is a fork of the alistair23 reMarkable Linux kernel from this repository: