Linux Kernel¶
The following instructions are for compiling the Linux Kernel for the MitySBC-Agilex5 outside of Yocto.
Prerequisites¶
Need to have the GCC-ARM-11.2 toolchain. The toolchain can be downloaded and sourced via the following:
wget https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz tar xf gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz rm -f gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz export PATH=`pwd`/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu/bin:$PATH export ARCH=arm64 export CROSS_COMPILE=aarch64-none-linux-gnu-
Obtaining the Linux Kernel source¶
Description | Repository | Branch |
Linux Kernel | git://support.criticallink.com/home/git/linux-socfpga.git | socfpga-6.1.68-lts |
The kernel source can be fetched using git:
git clone -b socfpga-6.1.68-lts git://support.criticallink.com/home/git/linux-socfpga.git cd linux-socfpga
defconfig | mitysbc_agilex5_defconfig |
device tree | intel/socfpga_agilex5_mitysbc.dts |
Compile the kernel¶
Apply the defconfig¶
make mitysbc_agilex5_defconfig
Kernel Image¶
make -j 48 Image
Device Tree¶
make intel/socfpga_agilex5_mitysbc.dtb
Modules¶
make modules mkdir modules make INSTALL_MOD_PATH=modules modules_install
Go to top