-
Notifications
You must be signed in to change notification settings - Fork 1
TEI0022 Build Linux & the Devicetree
-
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.19 branch
$ git checkout altera_4.19
-
Set the defconfig
$ make socfpga_tei0022_arrow_ghrd_defconfig
-
Build the kernel
$ make zImage
-
Build the device tree blob
$ make socfpga_cyclone5_tei0022_arrow_ghrd.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_tei0022_ghrd_defconfig
-
Build the kernel
$ make zImage
-
Build the device tree blob
$ make socfpga_cyclone5_tei0022_ghrd.dtb
Next - Build uboot
Back to Create Top Level
Back to Build the GHRD
Please click Here to purchase platform boards
Arrow Data Storm DAQ Development Platform
Introduction
Developer Starter Guides
Additional Developer Docs
AD40xx Platform User Guide
AD7768 Platform User Guide
AD7768-1 Platform User Guide
AD7606B Platform User Guide
AD738x Platform User Guide
AD469x Platform User Guide
AD463x Platform User Guide
ADRV9001/2 Platform User Guide