Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: jls on August 30, 2016, 07:11:44 AM

Title: linux-headers, where are them?
Post by: jls on August 30, 2016, 07:11:44 AM
Hi
?
Title: Re: linux-headers, where are them?
Post by: Jason W on August 30, 2016, 08: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.
Title: Re: linux-headers, where are them?
Post by: jls on August 31, 2016, 03:37:58 AM
why? And in core what should I download?
Title: Re: linux-headers, where are them?
Post by: Jason W on August 31, 2016, 12:35:43 PM
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.
Title: Re: linux-headers, where are them?
Post by: jls on August 31, 2016, 12:43:10 PM
Hi
I still don't understand why do I have to use core and not dCore.
Title: Re: linux-headers, where are them?
Post by: Jason W on August 31, 2016, 01:08:04 PM
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.