Fork of reMarkable kernel https://github.com/reMarkable/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 faf50ef0de dev diff 3 months ago
Documentation touch: imported pt (Parade TrueTouch Gen5 Touchscreen Driver) 5 months ago
arch reMarkable2 patch to view console on serial port from remarkablewiki.com/tech/rm2_otg_pogo 3 months ago
block block: bio_check_eod() needs to consider partitions 3 years ago
certs Replace magic for trusting the secondary keyring with #define 3 years ago
crypto MLK-19826: crypto: ecdh - fix typo of P-192 b value 3 years ago
drivers brcmfmac: support read chipname via sysfs 3 months ago
firmware License cleanup: add SPDX GPL-2.0 license identifier to files with no license 4 years ago
fs block: add a poll_fn callback to struct request_queue 3 years ago
include pt: fb blanking configurable in devtree 5 months ago
init init: rename and re-order boot_cpu_state_init() 3 years ago
ipc ipc/sem.c: prevent queue.status tearing in semop 3 years ago
kernel PM: Don't sleep for 10 seconds after wakeup 11 months ago
lib scsi: klist: Make it safe to use klists in atomic context 3 years ago
mm block: add a poll_fn callback to struct request_queue 3 years ago
net brcmfmac: merge in latest driver from Cypress (including required wifi core module updates) 11 months ago
samples samples/bpf: Check the error of write() and read() 3 years ago
scripts dtc: fix issue caused by GCC 10.x defaulting to -fno-common 11 months ago
security Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name" 3 years ago
sound MLK-17817-2: ASoC: imx-ak4458: enable 16 channels in TDM mode 3 years ago
tools perf tools: Fix snprint warnings for gcc 8 3 years ago
usr initramfs: fix initramfs rebuilds w/ compression after disabling 4 years ago
virt KVM: arm/arm64: Fix vgic init race 3 years ago
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 5 years ago
.get_maintainer.ignore Add hch to .get_maintainer.ignore 6 years ago
.gitattributes .gitattributes: set git diff driver for C source code files 5 years ago
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper 4 years ago
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address 4 years ago
COPYING [PATCH] update FSF address in COPYING 16 years ago
CREDITS MAINTAINERS: update TPM driver infrastructure changes 4 years ago
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license 4 years ago
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 4 years ago
MAINTAINERS dt-bindings: Document mti,mips-cpc binding 4 years ago
Makefile Linux 4.14.78 3 years ago
README README: add a new README file, pointing to the Documentation/ 5 years ago
README.md dev diff 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 upstream reMarkable kernel from the manufacturer.

Build

Build thine kernel thusly:

git clone https://spacecruft.org/redonkable/remarkable-linux
cd remarkable-linux
# should already be on this branch, but check it out:
git checkout redonkable
ARCH=arm CROSS_COMPILE=arm-none-eabi- make zero-sugar_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
scp -p arch/arm/boot/zImage root@10.11.99.1:/boot/zImage-4.14.78
# DTB
scp -p arch/arm/boot/dts/zero-sugar.dtb  root@10.11.99.1:/boot/zero-sugar.dtb-4.14.78

Log in and set symlinks to new kernel seteup.

ssh root@10.11.99.1

cd /boot
mv zImage zImage.bak
ln -s zImage-4.14.78 zImage
mv zero-sugar.dtb zero-sugar.dtb.bak
ln -s zero-sugar.dtb-4.14.78 zero-sugar.dtb

cd /lib/modules
mv 4.14.78 4.14.78.bak
# Note, git tag may vary, something like:
ln -s 4.14.78-g2682167b2d00-dirty 4.14.78

Then power off, power back up.

See Also

Fork

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