Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:custom_kernel [2011/05/05 17:44] – external edit 127.0.0.1wiki:custom_kernel [2019/04/14 11:48] (current) TomyTurbos
Line 1: Line 1:
 +=== Creating a Custom Kernel ===
 +
 Some users of TC will for various reasons need to use their own custom built kernel together with the rest of TC. As an example my main use of TC is in music production and in that domain a lot of the applications are performing optimal only with the support of a kernel that provides real-time characteristics. Since the standard TC kernel does not provide these characteristics I need to build a kernel that does. Luckily, there is a set of patches available, that once applied (and built) will provide you with a suitable kernel for these music production tasks. I do not intend to go into the details of "my" specific kernel but rather provide some info on building a custom kernel in general. Some users of TC will for various reasons need to use their own custom built kernel together with the rest of TC. As an example my main use of TC is in music production and in that domain a lot of the applications are performing optimal only with the support of a kernel that provides real-time characteristics. Since the standard TC kernel does not provide these characteristics I need to build a kernel that does. Luckily, there is a set of patches available, that once applied (and built) will provide you with a suitable kernel for these music production tasks. I do not intend to go into the details of "my" specific kernel but rather provide some info on building a custom kernel in general.
  
Line 5: Line 7:
 Standard Linux kernel sources are available at  Standard Linux kernel sources are available at 
  
-    http://www.kernel.org/pub/linux/kernel+https://www.kernel.org/
  
 The TC patches and other related files for the standard TC kernel are available at  The TC patches and other related files for the standard TC kernel are available at 
- +     
-    ftp://ftp.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/src+http://tinycorelinux.net/{version.x}/x86/release/src/kernel, where {version} equals 10.x for TC10, or 9.x for TC9, etc.
  
 The process to create a custom kernel could in short be described as: The process to create a custom kernel could in short be described as:
Line 17: Line 19:
   - Unpack the linux sources and cd into the top level directory of the source package   - Unpack the linux sources and cd into the top level directory of the source package
   - Apply the patches using (in most cases) "patch -p1 < patchfile" for each patch file   - Apply the patches using (in most cases) "patch -p1 < patchfile" for each patch file
 +  - NOTE: "patch -p1 < patchfile" is deprecated. Use "git am patchfile" per https://kernelnewbies.org/KernelBuild
   - Move the kernel config file from the standard TC kernel into the same directory and rename it to ".config"   - Move the kernel config file from the standard TC kernel into the same directory and rename it to ".config"
   - Do "make oldconfig" and answer all questions, in case you have no clue on the answer just provide the default ones (i.e. just hit Return)   - Do "make oldconfig" and answer all questions, in case you have no clue on the answer just provide the default ones (i.e. just hit Return)
Line 52: Line 55:
  
 ==== !Links ==== ==== !Links ====
-  * [[http://forum.tinycorelinux.net/index.php?topic=299.0|TinyCore From Scratch]] +  * [[http://forum.tinycorelinux.net/index.php?topic=299.0|Forum topic TinyCore From Scratch]] 
-  * [[http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tce/src/compiletc/compile_compiletc|Compile TinyCore]]+  * [[http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tce/src/compiletc/compile_compiletc|Compile TinyCore]] (binary file) 
 +  * [[http://forum.tinycorelinux.net/index.php/topic,541.0.html|Forum topic: Compiling kernel and modules]]
Print/export
QR Code
QR Code wiki:custom_kernel (generated for current page)