[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slackwarearm:cstmz_kernel [2023/05/05 13:46 (UTC)] mozesslackwarearm:cstmz_kernel [2023/06/06 16:36 (UTC)] (current) mozes
Line 5: Line 5:
 ^  ^  ^ ^  ^  ^
 | Document | Describe how to customise the Slackware AArch64 Kernel packages |  | Document | Describe how to customise the Slackware AArch64 Kernel packages | 
-| Version | 1.01May 2023 |+| Version | 1.02June 2023 |
 | Author | Stuart Winter <mozes@slackware> | | Author | Stuart Winter <mozes@slackware> |
 | References | [[http://ftp.arm.slackware.com/slackwarearm/slackwareaarch64-current/source/README_SOURCE.txt|Slackware ARM source tree README]] | | References | [[http://ftp.arm.slackware.com/slackwarearm/slackwareaarch64-current/source/README_SOURCE.txt|Slackware ARM source tree README]] |
 +| See also | [[cstmz_kernel_rpi_selfbuild|Raspberry Pi Kernel fork self build]] |
  
 ==== Caveats / Warnings ==== ==== Caveats / Warnings ====
Line 28: Line 29:
  
 //You should consider using the Raspberry Pi Kernel fork as an **experimentation** rather than a suggestion or endorsement.// //You should consider using the Raspberry Pi Kernel fork as an **experimentation** rather than a suggestion or endorsement.//
 +
 +=== Raspberry Pi & alternate Kernel Fork: automated build system ===
 +
 +
 +To simplify building the Raspberry Pi Kernel fork, you should follow [[cstmz_kernel_rpi_selfbuild|this guide]].
 +
 +You can also use this guide to help get started using the script for building Slackware packages from alternate source repositories, which helps when Hardware Model vendors have yet to upstream their changes to the mainline Linux Kernel.
  
 ===== Introduction ===== ===== Introduction =====
Line 273: Line 281:
  
 == Build the Kernel packages == == Build the Kernel packages ==
 +
 +<note warning>The ''kernel.SlackBuild'' Kernel build system replaces /lib/modules/<Kernel version you're building> If the Kernel version number you're building is identical to the version of the running Kernel (use ''uname -r'' to check), you **must** reinstall the ''a/kernel-modules'' package belonging to your running Kernel.  If not your machine will most likely fail to boot properly, with the Kernel complaining about magic numbers being out of alignment when loading a variety of Kernel modules.</note>
  
 For the standard/mainline Slackware Kernel source: For the standard/mainline Slackware Kernel source:
Line 390: Line 400:
  
 <code> <code>
-$ cd /tmp/testpkgs+$ cd /tmp/testpkgs/a
 $ upgradepkg hwm-bw-raspberrypi-*.t?z $ upgradepkg hwm-bw-raspberrypi-*.t?z
 </code> </code>
  
-<note important>Only the ''Kernel'' ''hwm-bw-raspberrypi'' build scripts support the ''--pkgstoreoverride'' command line operator.  To adjust the output directory for other packages, you should edit their ''arm/build'' scripts.</note>+<note important>Only the ''source/k'' and ''source/a/hwm-bw-raspberrypi'' build scripts support the ''--pkgstoreoverride'' command line operator.  To adjust the output directory for other packages, you should edit their ''arm/build'' scripts.</note>
 slackwarearm:cstmz_kernel ()