Modify the Linux Devicetree - ArrowElectronics/data-storm-daq GitHub Wiki

Modify and build the Device Tree

  1. Edit the /home/soceds/datastorm_daqlinux/arch/arm/boot/dts/socfpga_cyclone5_tei0022_03_arrow_ghrd.dts device tree.

     $ gedit /home/soceds/datastorm_daq/linux/arch/arm/boot/dts/socfpga_cyclone5_tei0022_03_arrow_ghrd.dts
    

Search for the keywords uncomment. Remove the comments around those sections of code to enable them to be added to the tree. The reader will notice that the additional text enables a spi_engine source clock, the axi_spi_engine and an rx-dma used to transmit converter samples. Save the file once the modifications have been made.

  1. Build the modified device tree blob

     $ make socfpga_cyclone5_tei0022_03_arrow_ghrd.dtb 
    



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