[<<][linux][>>][..]
Sun Nov 6 12:06:46 EST 2016

Add support for new board based on device tree config in forked tree

Example:

http://git.toradex.com/linux-toradex.git
tags/Colibri_VF_LinuxImageV2.6.1Beta1_20161001
7ecc29c26b343db3ac3b533d77845769d12950a2

checkout -b myboard

1. first verify build the orginal kernel for particular board

export ARCH=arm
export PATH=~/lib/gcc-linaro-5.2-2015.11-2-x86_64_arm-linux-gnueabihf/bin/:$PATH
export CROSS_COMPILE=arm-linux-gnueabihf-

make colibri_vf_defconfig
make


2. copy the original file, possibly inlining some of the included dtsi
files, and edit it to reflect hardware

cd linux-toradex/arch/arm/boot/dts
cp vf610-colibri-eval-v3.dts myboard.dts


3. build the dtb manually

make myboard.dtb

4. optionally, add it to config here:

linux-toradex/arch/arm/boot/dts/Makefile:
dtb-$(CONFIG_SOC_VF610) += \
	vf500-colibri-eval-v3.dtb \
	vf610-colibri-eval-v3.dtb \
	vf610m4-colibri.dtb \
	vf500-colibri-dual-eth.dtb \
	vf610-colibri-dual-eth.dtb \
	vf610-cosmic.dtb \
-	vf610-twr.dtb
+	vf610-twr.dtb \
        myboard.dtb



https://www.raspberrypi.org/documentation/configuration/device-tree.md
http://www.armadeus.org/wiki/index.php?title=Kernel-with-device-tree



[Reply][About]
[<<][linux][>>][..]