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.
 
 
 
 
 
jebba 880648b300 kern ver 3 months ago
Documentation This is the 5.4.94 stable release 8 months ago
LICENSES LICENSES: Rename other to deprecated 2 years ago
arch ARM: imx_v6_v7_defconfig: Update to work for rM2 7 months ago
block This is the 5.4.91 stable release 8 months ago
certs PKCS#7: Refactor verify_pkcs7_signature() 2 years ago
crypto This is the 5.4.89 stable release 8 months ago
drivers Remove old do_gettimeofday call 6 months ago
fs fs: fix lazytime expiration handling in __writeback_single_inode() 8 months ago
include rM2: mfd: Copy the rM2 bd7181x driver 7 months ago
init exec: Transform exec_update_mutex into a rw_semaphore 8 months ago
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 1 year ago
kernel tracing: Fix race in trace_open and buffer resize call 8 months ago
lib This is the 5.4.91 stable release 8 months ago
mm Revert "mm/slub: fix a memory leak in sysfs_slab_add()" 8 months ago
net This is the 5.4.93 stable release 8 months ago
samples samples: bpf: Fix lwt_len_hist reusing previous BPF map 9 months ago
scripts depmod: handle the case of /sbin/depmod without /sbin in PATH 8 months ago
security This is the 5.4.91 stable release 8 months ago
sound This is the 5.4.93 stable release 8 months ago
tools This is the 5.4.94 stable release 8 months ago
usr initramfs: restore default compression behavior 1 year ago
virt This is the 5.4.89 stable release 8 months ago
.clang-format clang-format: Update with the latest for_each macro list 2 years ago
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 5 years ago
.get_maintainer.ignore habanalabs: improve a couple of error messages 2 years ago
.gitattributes .gitattributes: set git diff driver for C source code files 5 years ago
.gitignore Modules updates for v5.4 2 years ago
.mailmap ARM: SoC fixes 2 years ago
COPYING COPYING: use the new text with points to the license files 4 years ago
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2 years ago
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2 years ago
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2 years ago
MAINTAINERS This is the 5.4.67 stable release 12 months ago
Makefile Linux 5.4.94 8 months ago
README Drop all 00-INDEX files from Documentation/ 3 years ago
README.md kern ver 3 months 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

Fork

This is a fork of the alistair23 reMarkable Linux kernel from this repository: