hommar
Posts: 132
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Please, add several parametrs to default kernel

Thu May 11, 2017 9:07 am

Because default kernel use other systems, good idea add several parametrs:

Code: Select all

$ make bcm2709_defconfig
$ echo "CONFIG_ZSWAP=y
CONFIG_ZPOOL=y
CONFIG_Z3FOLD=y
CONFIG_OVERLAY_FS=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_CRYPTO_LZ4HC=m" >> .config
$ make oldconfig
or

Code: Select all

$ diff .config.new .config.orig
560,561c560,561
< CONFIG_ZSWAP=y
< CONFIG_ZPOOL=y
---
> # CONFIG_ZSWAP is not set
> # CONFIG_ZPOOL is not set
563d562
< CONFIG_Z3FOLD=y
5220c5219
< CONFIG_OVERLAY_FS=y
---
> CONFIG_OVERLAY_FS=m
5300c5299
< CONFIG_SQUASHFS=y
---
> CONFIG_SQUASHFS=m
5308c5307
< CONFIG_SQUASHFS_LZ4=y
---
> # CONFIG_SQUASHFS_LZ4 is not set
5769c5768
< CONFIG_CRYPTO_LZO=y
---
> CONFIG_CRYPTO_LZO=m
5772c5771
< CONFIG_CRYPTO_LZ4HC=m
---
> # CONFIG_CRYPTO_LZ4HC is not set
5841d5839
< CONFIG_LZ4HC_COMPRESS=m
  1. build-in overlayfs need for boot RO rootfs w/o initramfs
  2. build-in squashfs need for boot w/o initramfs
  3. lz4hc is very fast for squashfs (squashfs_lz4 include lz4hc)
  4. zswap is very good idea for raspberry ;)

DirkS
Posts: 8097
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Please, add several parametrs to default kernel

Thu May 11, 2017 5:13 pm

You should create an issue on github: https://github.com/raspberrypi/linux/issues

hommar
Posts: 132
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Please, add several parametrs to default kernel

Thu May 11, 2017 10:01 pm

Thx

Return to “Linux Kernel”

Who is online

Users browsing this forum: No registered users and 1 guest