Coder Social home page Coder Social logo

To adapt to armbian about bpi-router-linux HOT 4 CLOSED

muravjov avatar muravjov commented on June 2, 2024
To adapt to armbian

from bpi-router-linux.

Comments (4)

frank-w avatar frank-w commented on June 2, 2024

added options to https://github.com/frank-w/BPI-R2-4.14/commits/5.4-main

from bpi-router-linux.

muravjov avatar muravjov commented on June 2, 2024

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

from bpi-router-linux.

frank-w avatar frank-w commented on June 2, 2024

have added these 2, too

from bpi-router-linux.

muravjov avatar muravjov commented on June 2, 2024

Thanks, it works now

from bpi-router-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.