WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: custom kernel  (Read 2945 times)

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
custom kernel
« on: June 13, 2014, 09:11:46 AM »
A quick question to anyone familiar with kernel compiling.  So I'm interested in creating a replacement kernel for TC.  I want to keep this as simple as possible so I figured I'd use the exact same version of the one currently being used in TC.  I wanted to make my simple modifications (e.g. removing/replacing the TC boot graphic), enable the ability for the kernel to accept modules (.ko files), but not actually include any in the compile process to keep the compilation to a minimum.  My question is, if I do this will I still be able to use all the kernel modules found in the repo?

Thanks,
Dave

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: custom kernel
« Reply #1 on: June 13, 2014, 09:44:22 AM »
It depends what options you change. Modules are already enabled?
The only barriers that can stop you are the ones you create yourself.

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: custom kernel
« Reply #2 on: June 13, 2014, 10:46:26 AM »
Thanks for the quick reply curaga.  I just want to do something simple as a test like changing the included graphic from TC's to my own, enable the use of external modules, and then compile with something like 'make allnoconfig ...'.

Thanks,
Dave

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: custom kernel
« Reply #3 on: June 13, 2014, 11:34:53 AM »
As you have already been told,  modules are already supported.
http://wiki.tinycorelinux.net/wiki:custom_kernel

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: custom kernel
« Reply #4 on: June 13, 2014, 04:25:40 PM »
Thanks for the reply gerald_clark.  I think you're misunderstanding what I'm saying.  I'm not asking if modules are already supported, I'm asking if I can create a barebones kernel (same version that's currently being used) with module support and still be able to use the existing kernel modules in the repo (without having to recompile them with the kernel).

Thanks,
Dave

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: custom kernel
« Reply #5 on: June 13, 2014, 04:32:00 PM »
Only if you compile the same version kernel and don't change any config settings that would affect the loading of the modules you intend to use.

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: custom kernel
« Reply #6 on: June 14, 2014, 05:28:06 PM »
Ok, so in this example I should pull down the kernel config TC used along with the same source version, leave everything alone with the exception of the graphic change (in this example), and run 'make' and 'make install' - leaving out the 'make modules' step?

Thanks,
Dave

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: custom kernel
« Reply #7 on: June 15, 2014, 05:11:57 AM »
Yes, except no "make install".
The only barriers that can stop you are the ones you create yourself.

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: custom kernel
« Reply #8 on: June 16, 2014, 08:56:27 AM »
Awesome, I'll give it a try!  Thanks for the info guys!

Dave