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.

Update the Kernel with provided Virtual Machine or Linux host.

  1. 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
    
  2. Add the following line to add driver support for the AXI SPI ENGINE

    • CONFIG_SPI_AXI_SPI_ENGINE=y
  3. Add the following line to add a driver to support the AD40xx series of precision converters

    • CONFIG_AD400X=y
  4. Save /home/soceds/datastorm_daq/linux/arch/arm/configs/socfpga_tei0022_arrow_ghrd_defconfig

  5. Set the defconfig

     $ cd ~/datastorm_daq/linux
    
     $ make socfpga_tei0022_arrow_ghrd_defconfig 
    
  6. Build the kernel

     $ make zImage  
    



⚠️ **GitHub.com Fallback** ⚠️