Closed muravjov closed 4 years ago
added options to https://github.com/frank-w/BPI-R2-4.14/commits/5.4-main
Two more options are required for zram to function without errors:
$ diff -Naur .config.old .config
--- .config.old 2020-03-01 18:15:26.031627017 +0300
+++ .config 2020-03-03 17:23:45.004036296 +0300
@@ -674,8 +674,8 @@
# CONFIG_CMA is not set
CONFIG_ZSWAP=y
CONFIG_ZPOOL=y
-# CONFIG_ZBUD is not set
-# CONFIG_Z3FOLD is not set
+CONFIG_ZBUD=y
+CONFIG_Z3FOLD=y
CONFIG_ZSMALLOC=y
# CONFIG_PGTABLE_MAPPING is not set
# CONFIG_ZSMALLOC_STAT is not set
Without them I got weird kernel log
zswap: pool creation failed
I believe it is enough for zram
have added these 2, too
Thanks, it works now
I ported Armbian for BPI R64 so that kernels built in your repository are compatible to install to it.
Now the kernel used is from latest r64 build : https://github.com/muravjov/armbian-build/blob/banana-pi-r64/lib/distributions.sh#L202
I tested it, it works well, see http://forum.banana-pi.org/t/bpi-r64-armbian/10741.
But it turns out that armbian uses kernel features zram + swap (to avoid writing constantly logs to SD card).
It would be nice if you append to r64 config https://github.com/frank-w/BPI-R2-4.14/blob/5.4-main/arch/arm64/configs/mt7622_bpi-r64_defconfig those changes (with make menuconfig):