WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: linux-headers, where are them?  (Read 2282 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
linux-headers, where are them?
« on: August 30, 2016, 04:11:44 AM »
Hi
?
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: linux-headers, where are them?
« Reply #1 on: August 30, 2016, 05:07:07 AM »
The kernel is built on standard core with the same kernel version Core uses.  If this is to build a kernel module, that needs to be done on Core and the module uploaded to the pre-built section.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: linux-headers, where are them?
« Reply #2 on: August 31, 2016, 12:37:58 AM »
why? And in core what should I download?
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: linux-headers, where are them?
« Reply #3 on: August 31, 2016, 09:35:43 AM »
Use the Core version that shares the kernel version being dealt with.  By being built on Core, each dCore that uses 3.16.6-tinycore can share kernel module packages.  If each dCore version was used to build it's own kernel, that means there would be no sharing of kernel module packages across them though they used the same kernel, say 3.16.6-tinycore.  As the kernel modules need to be built with the same version of GCC as the main kernel image.  This way is much more efficient.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: linux-headers, where are them?
« Reply #4 on: August 31, 2016, 09:43:10 AM »
Hi
I still don't understand why do I have to use core and not dCore.
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: linux-headers, where are them?
« Reply #5 on: August 31, 2016, 10:08:04 AM »
Each dCore port will normally have a different version of GCC, therefore making it necessary to have a separate kernel build and set of module packages for each one if the kernel was built on dCore.