[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_rpi_selfbuild [2023/06/06 16:29 (UTC)] mozesslackwarearm:cstmz_kernel_rpi_selfbuild [2023/06/08 16:51 (UTC)] (current) mozes
Line 5: Line 5:
 ^  ^  ^ ^  ^  ^
 | Document | Describe how to self-build Slackware Kernel packages from the Raspberry Pi Kernel fork |  | Document | Describe how to self-build Slackware Kernel packages from the Raspberry Pi Kernel fork | 
-| Version | 1.01May 2023 |+| Version | 1.00June 2023 |
 | Author | Stuart Winter <mozes@slackware> | | Author | Stuart Winter <mozes@slackware> |
 | See Also |   * [[slackwarearm:cstmz_kernel|Customising the Slackware Kernel packages]] * [[slackwarearm:cstmz_kernel_rpi|Transitioning to RPi Kernel fork packages]] | | See Also |   * [[slackwarearm:cstmz_kernel|Customising the Slackware Kernel packages]] * [[slackwarearm:cstmz_kernel_rpi|Transitioning to RPi Kernel fork packages]] |
Line 45: Line 45:
  
 <code> <code>
-rsync \+rsync \
    --delete -Pavv \    --delete -Pavv \
    ftp.arm.slackware.com::slackwarearm/slackwareaarch64-current .    ftp.arm.slackware.com::slackwarearm/slackwareaarch64-current .
Line 66: Line 66:
 As **root**: As **root**:
 <code> <code>
-slackpkg update+slackpkg update
 </code> </code>
  
Line 76: Line 76:
 As **root**, install/upgrade the package: As **root**, install/upgrade the package:
 <code> <code>
-slackpkg install slackkit+slackpkg install slackkit
 </code> </code>
  
-== Ensure that the Kernel source package is up to date ==+== Install other dependencies ==
  
-As **root**install/upgrade the package:+This list isn't exhaustive but should cover it (if more dependencies are requiredplease drop mozes@slackware.com a mail with them and I'll update this doc!)
  
 <code> <code>
-slackpkg install kernel-source+slackpkg install eudev mdadm lvm2 device-tree-compiler rsync
 </code> </code>
  
-== Install other dependencies ==+==== Configure the Slackware ARM build system ====
  
-This list isn't exhaustive but should cover it (if more dependencies are required, please drop mozes@slackware.com a mail with them and I'll update this doc!)+<note tip>In this example the directory into which the Slackware AArch64 source tree was downloaded is ''/home/mozes/slackware'' - change this to what you noted down earlier</note> 
 + 
 +As **root**, you need to set up some symlinks to the location of your Slackware AArch64 source tree.
  
 <code> <code>
-$ slackpkg install eudev mdadm lvm2 device-tree-compiler rsync+# cd # return to root's home directory 
 +# ln -vfs /home/mozes/slackware/slackwareaarch64-current/slackware tgzstash 
 +# ln -vfs /home/mozes/slackware/slackwareaarch64-current 
 </code> </code>
  
Line 107: Line 111:
 Enter the directory in which the Slackware AArch64 source is stored.  In this document, it's here: Enter the directory in which the Slackware AArch64 source is stored.  In this document, it's here:
  
-<code>cd ~mozes/slackware/slackwareaarch64-current # the ~ expands to the user's home directory (/home in this case)</code>+<code>cd ~mozes/slackware/slackwareaarch64-current/source/# the ~ expands to the user's home directory (/home in this case)</code>
  
 == General settings == == General settings ==
Line 117: Line 121:
  
 <code> <code>
-root@bladswede:~/ac/source/k# ./build_altsrc_kernel.sh --help+# ./build_altsrc_kernel.sh --help
 </code> </code>
  
Line 132: Line 136:
 First, check what version of the Linux Kernel is available at the repository: First, check what version of the Linux Kernel is available at the repository:
  
-<code>./build_altsrc_kernel.sh -D</code>+<code>./build_altsrc_kernel.sh -D</code>
  
-<code>root@bladswede:~/ac/source/k# ./build_altsrc_kernel.sh -D+<code># ./build_altsrc_kernel.sh -D
  
 --------------------------- ---------------------------
Line 157: Line 161:
  
 <code> <code>
-root@bladswede:~/ac/source/k# ./build_altsrc_kernel.sh+# ./build_altsrc_kernel.sh
 </code> </code>
  
-After a few hours your Kernel will have been built, with the packages (by default) placed within ''/tmp/altkernelpkgs//pkg''.+=== Transitioning to the RPi Kernel fork Slackware packages === 
 + 
 +After a few hours your Kernel will have been built, with the packages (by default) placed within ''/tmp/altkernelpkgs/pkg''
 + 
 +You should read the [[slackwarearm:cstmz_kernel_rpi|this guide]] before transitioning to them, as there are a few caveats due to the configuration disparity between the default RPi Kernel config and the generic Slackware Kernel configuration.
  
-You should follow [[slackwarearm:cstmz_kernel_rpi|this guide]] to upgrade to them.  You just don't need to download them from the Slackware ARM repository, since you just built your own! 
  
  
  
 slackwarearm:cstmz_kernel_rpi_selfbuild ()