Good afternoon! I have a rock pi 5b. I have a error with compiling kernel. Compilation is running on debian 11 5.10.0-23-amd64. Help me, please. to compile kernel
Error when compiling kernel
Looks like your cross compilation Toolchain isn’t setup, aka you don’t have the compiler for the rock 5s aarch64 platform or the make script can’t find it. There’s a step by step guide on the rock 5 b wiki, I suggest you go through the steps there
You need the dosfstools package:
dosfstools: /sbin/mkfs.vfat
Dosfstools is already installed. The error still exists
What does
which mkfs.vfat
Say?
May have messed up $PATH with this line:
export PATH="/usr/local/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:$PATH"
if it is not entered correctly.
echo $PATH
mkfs.vfat should be in $PATH