Skip to content

Commit

Permalink
add zram support
Browse files Browse the repository at this point in the history
  • Loading branch information
elecboy committed Sep 9, 2023
1 parent d4b9e69 commit cb21bb0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes-kernel/linux/linux-yocto_6.1.%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SRC_URI += "file://0001-add-qihua-s922x-core-board-support.patch \
file://add-i2c-char-device.cfg \
file://add-wifi-rtl8723bs.cfg \
file://add-brcm-debug.cfg \
file://add-zram.cfg \
"

COMPATIBLE_MACHINE:append:meson-gx = "|meson64all"
Expand Down
8 changes: 8 additions & 0 deletions recipes-kernel/linux/meson-gx/add-zram.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CONFIG_ZRAM=m
CONFIG_ZRAM_DEF_COMP_ZSTD=y

CONFIG_CRYPTO_LZO=m
CONFIG_CRYPTO_842=m
CONFIG_CRYPTO_LZ4=m
CONFIG_CRYPTO_LZ4HC=m
CONFIG_CRYPTO_ZSTD=m

0 comments on commit cb21bb0

Please sign in to comment.