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 5 months ago
Documentation This is the 5.4.94 stable release 10 months ago
LICENSES LICENSES: Rename other to deprecated 3 years ago
arch ARM: imx_v6_v7_defconfig: Update to work for rM2 10 months ago
block This is the 5.4.91 stable release 11 months ago
certs PKCS#7: Refactor verify_pkcs7_signature() 2 years ago
crypto This is the 5.4.89 stable release 11 months ago
drivers Remove old do_gettimeofday call 9 months ago
fs fs: fix lazytime expiration handling in __writeback_single_inode() 10 months ago
include rM2: mfd: Copy the rM2 bd7181x driver 10 months ago
init exec: Transform exec_update_mutex into a rw_semaphore 11 months ago
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2 years ago
kernel tracing: Fix race in trace_open and buffer resize call 10 months ago
lib This is the 5.4.91 stable release 11 months ago
mm Revert "mm/slub: fix a memory leak in sysfs_slab_add()" 10 months ago
net This is the 5.4.93 stable release 10 months ago
samples samples: bpf: Fix lwt_len_hist reusing previous BPF map 11 months ago
scripts depmod: handle the case of /sbin/depmod without /sbin in PATH 11 months ago
security This is the 5.4.91 stable release 11 months ago
sound This is the 5.4.93 stable release 10 months ago
tools This is the 5.4.94 stable release 10 months ago
usr initramfs: restore default compression behavior 2 years ago
virt This is the 5.4.89 stable release 11 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 Opt out of scripts/get_maintainer.pl 3 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 3 years ago
MAINTAINERS This is the 5.4.67 stable release 1 year ago
Makefile Linux 5.4.94 10 months ago
README Drop all 00-INDEX files from Documentation/ 3 years ago
README.md kern ver 5 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: