WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [ sparring ] Are the linux drivers in the kernel !?  (Read 2213 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
[ sparring ] Are the linux drivers in the kernel !?
« on: December 03, 2021, 10: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!?

« Last Edit: December 03, 2021, 10:54:17 PM by xor »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: [ sparring ] Are the linux drivers in the kernel !?
« Reply #1 on: December 04, 2021, 12:45:05 AM »
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

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: [ sparring ] Are the linux drivers in the kernel !?
« Reply #2 on: December 04, 2021, 01:21:53 AM »
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!?
« Last Edit: December 04, 2021, 01:52:14 AM by Juanito »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: [ sparring ] Are the linux drivers in the kernel !?
« Reply #3 on: December 04, 2021, 01:58:15 AM »
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).

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: [ sparring ] Are the linux drivers in the kernel !?
« Reply #4 on: December 04, 2021, 02:44:00 AM »
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
« Last Edit: December 04, 2021, 03:22:08 AM by Juanito »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: [ sparring ] Are the linux drivers in the kernel !?
« Reply #5 on: December 04, 2021, 03: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?