AD FMCDAQ2 Platform Build Linux & the Devicetree
NOTE: Please observe which version of the iWave™ Carrier Card you have by clicking here.
-
Source the environment
$ source ~/gcc-linaro/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/env.sh
-
Clone the git repo
$ git clone https://github.com/ArrowElectronics/linux.git
-
Change into the new repo
$ cd linux
-
Check out the Altera iwg24d branch
$ git checkout altera_iwg24d
-
Set the defconfig
$ make socfpga_adi_defconfig
-
Build the kernel
$ make zImage
-
Build the device tree blob
-
do the following to update the files in the working tree for the Legacy 1.1 or 2.0 carrier ...
$ make socfpga_arria10_iwg24d_daq2.dtb
-
or do the following to update the files in the working tree for the Custom 2.0 carrier ...
$ make socfpga_arria10_iwg24d_daq2_cc.dtb
-
Download the Linaro toolchain
-
Create a directory where the toolchain will be extracted
$ mkdir ~/gcc-linaro
-
Change into the new directory
$ cd ~/gcc-linaro
-
Extract the toolchain
$ tar xzf ~/Downloads/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi.tar.xz
-
Create a simple script in your favorite text editor to setup the build in environment.
Call it env.sh in ~/gcc-linaro/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi
-
Source the environment
$ source ~/gcc-linaro/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/env.sh
-
Clone the git repo
$ git clone https://github.com/ArrowElectronics/linux.git
-
Change into the new repo
$ cd linux
-
Check out the Altera iwg24d branch
$ git checkout altera_iwg24d
-
Set the defconfig
$ make socfpga_adi_defconfig
-
Build the kernel
$ make zImage
-
Build the device tree blob
-
do the following to update the files in the working tree for the Legacy 1.1 or 2.0 carrier ...
$ make socfpga_arria10_iwg24d_daq2.dtb
-
or do the following to update the files in the working tree for the Custom 2.0 carrier ...
$ make socfpga_arria10_iwg24d_daq2_cc.dtb
Return to Build the Example Design
Return to AD-FMCDAQ2 Platform User Guide