How to setting the kernel&Could the RevPieCore3 using the normal RaspbianOS(Non-KUNBUS OS)?

Topics about the Software of Revolution Pi
Post Reply
hartingwada
Posts: 18
Joined: 01 Jun 2020, 10:22
Answers: 0

How to setting the kernel&Could the RevPieCore3 using the normal RaspbianOS(Non-KUNBUS OS)?

Post by hartingwada »

1.How to setting the kernel
We use the OS of KUNBUS2020-06-25-revpi-stretch now.
But we want to enable the CONFIG_MEMCG and Memory cgroup.
We tried to change the kernel by our self,
But KUNBUS OS is in imgfile already so we couldn't change the kernel.Could you tell me how to setting ?

2.Could the RevPieCore3 using the normal RaspbianOS(Non-KUNBUS OS)?
If the question 1 is possible to setting.
We think that it is also possible to solve if we reboot CONFIG_MEMCGとMemory cgroup before setting the kernel.
When we did it we are fearing that we cannot using the interface.
User avatar
dirk
KUNBUS
Posts: 1947
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: How to setting the kernel&Could the RevPieCore3 using the normal RaspbianOS(Non-KUNBUS OS)?

Post by dirk »

Hi hartingwada, 1) you can use the GitHub repository kernelbakery. Have a look at the readme and your kernel may be ready quick and easy.
2) The device tree overlays are then missing for the hardware and kernel adaptations, piControl driver, etc. Well yes maybe you don't need the kernel-fixes and drivers but I don't think you'll be happy with it.
hartingwada
Posts: 18
Joined: 01 Jun 2020, 10:22
Answers: 0

Re: How to setting the kernel&Could the RevPieCore3 using the normal RaspbianOS(Non-KUNBUS OS)?

Post by hartingwada »

Hi Dirk

Thank you for your reply.
About question 2.
We read the link you send( kernelbakery).
But We could not find how to enable the Memory cgroup and CONFIG_MEMCG.
Could you give more advice how to enable?

Best Regards,
Jo Wada
User avatar
dirk
KUNBUS
Posts: 1947
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: How to setting the kernel&Could the RevPieCore3 using the normal RaspbianOS(Non-KUNBUS OS)?

Post by dirk »

Hi Jo Wada, gladfully the CONFIG_MEMCG is active by our defaults. You can verify the configuration with:

Code: Select all

pi@RevPi40302:~ $ zgrep CONFIG_MEMCG /proc/config.gz
CONFIG_MEMCG=y
# CONFIG_MEMCG_SWAP is not set
CONFIG_MEMCG_KMEM=y
Post Reply