Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5390

Raspberry Pi OS • Re: Build directory missing for rpi kernel 6.1.21-v8+

$
0
0
I'm facing the same issue: how can I compile a module for the 64-bit kernel used in the 32-bit RPI OS?
If you require an out of tree kernel module to be built, then the recommendations would be:
Use a 64-bit OS so you can build 64-bit kernel module natively.
Add arm_64bit=0 to config.txt to use the 32-bit kernel and you can build 32-bit kernel module natively.
Use a different machine to cross compile the 64-bit kernel module (e.g. an x86 Ubuntu machine).

Statistics: Posted by dom — Thu Feb 08, 2024 11:55 am



Viewing all articles
Browse latest Browse all 5390

Trending Articles