Modify the Linux Kernel - ArrowElectronics/data-storm-daq GitHub Wiki
It is assumed that the reader has previously built the Linux Kernel for the GSRD and that the build environment has been sourced appropriately.
-
Edit /home/soceds/datastorm_daq/linux/arch/arm/configs/socfpga_tei0022_arrow_ghrd_defconfig
$ gedit /home/soceds/datastorm_daq/linux/arch/arm/configs/socfpga_tei0022_arrow_ghrd_defconfig
-
Add the following line to add driver support for the AXI SPI ENGINE
- CONFIG_SPI_AXI_SPI_ENGINE=y
-
Add the following line to add a driver to support the AD40xx series of precision converters
- CONFIG_AD400X=y
-
Save /home/soceds/datastorm_daq/linux/arch/arm/configs/socfpga_tei0022_arrow_ghrd_defconfig
-
Set the defconfig
$ cd ~/datastorm_daq/linux $ make socfpga_tei0022_arrow_ghrd_defconfig
-
Build the kernel
$ make zImage