1
0
Fork 0
Fork of alistair23 Linux kernel for reMarkable from https://github.com/alistair23/linux
 
 
 
 
 
 
Go to file
jebba 880648b300 kern ver 2021-06-26 20:42:55 -06:00
Documentation This is the 5.4.94 stable release 2021-01-31 22:03:08 +00:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
arch ARM: imx_v6_v7_defconfig: Update to work for rM2 2021-02-11 17:44:38 -08:00
block This is the 5.4.91 stable release 2021-01-19 22:02:36 +00:00
certs PKCS#7: Refactor verify_pkcs7_signature() 2019-08-05 18:40:18 -04:00
crypto This is the 5.4.89 stable release 2021-01-12 21:35:46 +00:00
drivers Remove old do_gettimeofday call 2021-03-16 17:05:02 -04:00
fs fs: fix lazytime expiration handling in __writeback_single_inode() 2021-01-30 13:54:11 +01:00
include rM2: mfd: Copy the rM2 bd7181x driver 2021-02-07 14:28:26 -08:00
init exec: Transform exec_update_mutex into a rw_semaphore 2021-01-09 13:44:55 +01:00
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2020-05-20 08:20:16 +02:00
kernel tracing: Fix race in trace_open and buffer resize call 2021-01-30 13:54:10 +01:00
lib This is the 5.4.91 stable release 2021-01-19 22:02:36 +00:00
mm Revert "mm/slub: fix a memory leak in sysfs_slab_add()" 2021-01-30 13:54:09 +01:00
net This is the 5.4.93 stable release 2021-01-28 09:00:22 +00:00
samples samples: bpf: Fix lwt_len_hist reusing previous BPF map 2020-12-30 11:51:12 +01:00
scripts depmod: handle the case of /sbin/depmod without /sbin in PATH 2021-01-12 20:16:10 +01:00
security This is the 5.4.91 stable release 2021-01-19 22:02:36 +00:00
sound This is the 5.4.93 stable release 2021-01-28 09:00:22 +00:00
tools This is the 5.4.94 stable release 2021-01-31 22:03:08 +00:00
usr initramfs: restore default compression behavior 2020-04-08 09:08:38 +02:00
virt This is the 5.4.89 stable release 2021-01-12 21:35:46 +00:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore Modules updates for v5.4 2019-09-22 10:34:46 -07:00
.mailmap ARM: SoC fixes 2019-11-10 13:41:59 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2019-08-21 21:03:58 +09:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS This is the 5.4.67 stable release 2020-09-26 20:54:42 +00:00
Makefile Linux 5.4.94 2021-01-30 13:54:11 +01:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
README.md kern ver 2021-06-26 20:42:55 -06:00

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: