AD7606B Platform Build Linux & the Devicetree - ArrowElectronics/data-storm-daq GitHub Wiki
-
Source the environment
$ source ~/gcc-linaro/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/env.sh -
Clone the git repo
$ cd ~/ad7606b $ git clone https://github.com/ArrowElectronics/linux.git -
Change into the new repo
$ cd linux -
Check out the Altera 4.19 branch
$ git checkout altera_4.19 -
Edit the defconfig to build either serial or parallel interface drivers
$ vi linux/arch/arm/config/socfpga_tei0022_adi_defconfig
- Uncomment CONFIG_AD7606_IFACE_SPI=y as shown below to build for AD7606B Serial Interface drivers
- Uncomment CONFIG_AD7606_IFACE_PARALLEL=y as shown below to build for AD7606B Parallel Interface drivers
-
Build the defconfig
$ make socfpga_tei0022_adi_defconfig -
Build the kernel
$ make zImage -
Build the device tree blob
$ make socfpga_cyclone5_tei0022_02_axi_hdmi_ad7606b.dtb
Return to Build the Example Design
Return to AD7606B Platform User Guide
