-
Notifications
You must be signed in to change notification settings - Fork 1
ADRV9371 Platform Build Linux & the Devicetree
skravats edited this page May 14, 2020
·
9 revisions
-
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 4.14 branch
$ git checkout altera_4.14
-
Set the defconfig
$ make socfpga_adi_defconfig
-
Build the kernel
$ make zImage
-
Build the device tree blob
$ make mitysom_a10s_devkit_gen2_adrv9371.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 4.14 branch
$ git checkout altera_4.14
-
Set the defconfig
$ make socfpga_adi_defconfig
-
Build the kernel
$ make zImage
-
Build the device tree blob
$ make mitysom_a10s_devkit_gen2_adrv9371.dtb
Return to Build the Example Design
Return to ADRV9371 Platform User Guide