Project

General

Profile

Linux Kernel

The following instructions are for compiling the Linux Kernel for the MitySOM-A5E outside of Yocto. These instructions are specifically to support the MitySOM-A5E as installed in the MitySOM-A5E DevKit Carrier board.

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 socfpga_mitysom_a5e_defconfig
device tree intel/socfpga_agilex5_mitysom_devkit.dts

Compile the kernel

Apply the defconfig

make socfpga_mitysom_a5e_defconfig

Kernel Image

make -j 48 Image

Device Tree

The following command will build the device tree for the MitySOM-A5E loaded into the MitySOM-A5E DevKit board.

make intel/socfpga_agilex5_mitysom_devkit.dtb

Modules

make modules
mkdir modules
make INSTALL_MOD_PATH=modules modules_install

Go to top
Add picture from clipboard (Maximum size: 1 GB)