Skip to content

AD469x Platform Build Linux & the Devicetree

d-samal edited this page Oct 28, 2021 · 3 revisions
  1. Source the environment

     $ source ~/gcc-linaro/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/env.sh  
    
  2. Clone the git repo

     $ cd ~/ad469x
     $ git clone https://github.com/ArrowElectronics/linux.git 
    
  3. Change into the new repo

     $ cd linux  
    
  4. Check out the Altera 4.19 branch

     $ git checkout altera_4.19 
    
  5. Build the defconfig

     $ make socfpga_tei0022_adi_defconfig  
    
  6. Build the kernel

     $ make zImage  
    
  7. Review the device tree source file

NOTE: Device tree source for AD469x is compatible with both AD4695 and AD4696. The current DTS configuration builds automatically for AD4696 and hence no change is required. To build for AD4695 instead, follow the steps below.

  • Open device tree source file for AD469x

      $ gedit arch/arm/boot/dts/socfpga_cyclone5_tei0022_02_axi_hdmi_ad469x.dts
    

  • Modify the compatible string as shown below in file opened.

     For AD4695, modify the string highlighted below to "adi,ad4695" and save the file.
    


  1. Build the device tree blob

     $ make socfpga_cyclone5_tei0022_02_axi_hdmi_ad469x.dtb 
    


Next - Update the SD Card

Return to Build the Example Design
Return to AD469x Platform User Guide

Clone this wiki locally