03-23-2020, 03:35 AM
(This post was last modified: 03-23-2020, 03:56 AM by Dendrocalamus64.)
Yup, according to this,
https://www.kernel.org/doc/html/latest/k...dules.html
one can prepare the kernel source tree for building external modules without actually having to build the kernel, with the make target modules_prepare.
Multiarch,
https://wiki.debian.org/Multiarch/HOWTO
only supports parallel versions of libraries, not applications, so I'd have to remove some amount of the armhf build environment. Don't know yet if a mix of armhf & arm64 would work for general purposes.
For cross-compiling the kernel, one needs binutils-aarch64-linux-gnu and gcc-aarch64-linux-gnu, and those are only available for x86 in the Debian repositories.
So, I used this Raspberry Pi Howto to build minimal versions of both from source:
https://www.tal.org/tutorials/raspberry-...bit-kernel
(It needed package 'texinfo' in addition to the dependencies in the howto)
Next is to clone MrFixit's kernel, identify the right commit to checkout that matches the running kernel (looks like 209da1a), and modules_prepare that. I'll continue the drama in my thread since it's starting to get off-topic for manjaro mainline.
https://www.kernel.org/doc/html/latest/k...dules.html
one can prepare the kernel source tree for building external modules without actually having to build the kernel, with the make target modules_prepare.
Multiarch,
https://wiki.debian.org/Multiarch/HOWTO
only supports parallel versions of libraries, not applications, so I'd have to remove some amount of the armhf build environment. Don't know yet if a mix of armhf & arm64 would work for general purposes.
For cross-compiling the kernel, one needs binutils-aarch64-linux-gnu and gcc-aarch64-linux-gnu, and those are only available for x86 in the Debian repositories.
So, I used this Raspberry Pi Howto to build minimal versions of both from source:
https://www.tal.org/tutorials/raspberry-...bit-kernel
(It needed package 'texinfo' in addition to the dependencies in the howto)
Next is to clone MrFixit's kernel, identify the right commit to checkout that matches the running kernel (looks like 209da1a), and modules_prepare that. I'll continue the drama in my thread since it's starting to get off-topic for manjaro mainline.