Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: xor on December 03, 2021, 07:40:40 PM

Title: [ sparring ] Are the linux drivers in the kernel !?
Post by: xor on December 03, 2021, 07:40:40 PM
[ sparring ] Are the linux drivers in the kernel !?

if they are never used, it will cause unnecessary space and resource consumption.

if this is so! Does TCL need to revise its kernel philosophy!?

Title: Re: [ sparring ] Are the linux drivers in the kernel !?
Post by: Juanito on December 03, 2021, 09:45:05 PM
See http://www.tinycorelinux.net/12.x/x86_64/release/src/kernel/config-5.10.3-tinycore64

"=y" compiled into the kernel
"=m" compiled as a module
Title: Re: [ sparring ] Are the linux drivers in the kernel !?
Post by: xor on December 03, 2021, 10:21:53 PM
options here
add driver to kernel
or
create a separate plugin file
in shape!?

So what should I do to not compile a non-existent hardware driver other than these 2 options!?
Title: Re: [ sparring ] Are the linux drivers in the kernel !?
Post by: Juanito on December 03, 2021, 10:58:15 PM
There are actually three options:

"=y"
"=m"
"is not set"

..nothing will be done if "is not set" is chosen.

Note also that the majority of the drivers compiled with "=m" are available in the extensions named *-5.10.3-tinycore64. There are a few drivers in the base contained in modules64.gz (corepure64.gz = rootfs64.gz + modules64.gz).
Title: Re: [ sparring ] Are the linux drivers in the kernel !?
Post by: xor on December 03, 2021, 11:44:00 PM
okay, I got it ; There is an option that remains hidden! :D

2nd question ; According to the previous comment section;

does this affect ram space consumption!?

will logically affect

there seems to be a 512 mb kernel dependency consumption in the middle!

If you really want to make TCL smaller, which way should you follow!?

Quote
FWUPD Linux Firmware Updater Prepares "Best Known Configuration" Feature
https://www.phoronix.com/forums/forum/hardware/general-hardware/1293412-fwupd-linux-firmware-updater-prepares-best-known-configuration-featurers
Title: Re: [ sparring ] Are the linux drivers in the kernel !?
Post by: Juanito on December 04, 2021, 12:28:17 AM
Kernel drivers compiled as modules and included in extensions will have a minimal effect on ram if and when a module is loaded.

Kernel drivers compiled into the kernel or compiled as modules and included in the base will have a bigger effect on ram as the init.rd modules64.gz and vmlinuz64 are loaded into ram at boot.

I’m not sure why you included the link to firmware?