WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: compiled kernel + moduels way bigger than piCore version  (Read 2116 times)

Offline Twist

  • Newbie
  • *
  • Posts: 41
compiled kernel + moduels way bigger than piCore version
« on: October 29, 2018, 01:50:38 PM »
I'm tinkering with the 10.x beta on a 3B+
One thing I'm trying to do is compile kernel 4.19 + its modules. I'm using a debian based machine to cross compile (loosely following this info and combining it with the wiki info)

On the 10.x beta running Pi3B+ I've done:
Code: [Select]
sudo modprobe configsAnd gunzip the /proc/config.gz to then on the build machine use that config as a starting point (renamed to .config and make oldconfig). I've just entered my way through all the default answers to new config options.

When I then
Code: [Select]
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbsThen after make install (using INSTALL_MOD_PATH=/sometemppath) I end up with a tree about 50MB worth of kernel modules, whereas the piCore 10.x size is only a few MB...

Any pointers how to approach this?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: compiled kernel + moduels way bigger than piCore version
« Reply #1 on: October 30, 2018, 03:58:51 AM »
Only a subset of modules is included. For x86, see our sorter script.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: compiled kernel + moduels way bigger than piCore version
« Reply #2 on: October 30, 2018, 07:49:32 AM »
Hi Twist
Only a subset of modules is included. For x86, see our sorter script.
More info is here:
http://forum.tinycorelinux.net/index.php/topic,19961.msg123996.html#msg123996