Building modules on Slackware-current on PI 4 with 64-bit kernel.
Hello,
I use slackware a bunch and also use ZFS. I'm trying to build a mini slackware machine on my Pi4 that I can send ZFS file systems to for backup reasons. In order to use zfs, I really need a 64-bit kernel. I installed SARPi kernel/modules/hacks on my Pi using the slackware-arm current userspace, then upgraded these packages to get a 64-bit kernel: kernel-modules-sarpi64-5.2.8-armv8-1_slackcurrent_19Aug19_sp64 kernel_sarpi64-5.2.8-armv8-1_slackcurrent_19Aug19_sp64 sarpi64-boot-firmware-armv8-1_slackcurrent_19Aug19_sp64 sarpi64-hacks-4.0-armv8-1_slackcurrent_19Aug19_sp64 That worked fine, and now I have a 64-bit kernel and 32-bit userspace. I was able to build the ZFS userspace just fine with 32-bit binaries, which shouldn't be a problem, but I can't build the 64-bit kernel modules as I'm missing the kernel-source and kernel-header packages. I looked all over for a sarpi64 kernel source and kernel headers package, but it doesn't look like one is available. Any thoughts on where to find this, or how to get a 64-bit kernel on a pi with a build environment? Thanks, schu |
Quote:
SARPi64 kernel source can be found on kernel.org - or Raspberry Pi GitHub repository if you prefer. All the information you need to build it is included on the website - even the build scripts are available. It's all experimental work and testing that I played around with and decided to share, in the event that someone may find it useful or helpful. |
SARPi kernel source code
Quote:
Once downloaded, install the package: Code:
root@slackbox:~# installpkg sarpi-kernel-source*.txz All future SARPi updates will correlate with any new kernel source package(s) as they will be built from the same source code to keep everything in-line and simple. Enjoy! :cool: |
All times are GMT -5. The time now is 09:02 PM. |