Kernel-with-device-tree

From ArmadeusWiki
Revision as of 18:03, 16 June 2012 by PhilippeR (Talk | contribs) (New page: =use device tree= To use device tree on arm both bootloader (u-boot) and kernel should be compiled with the support of device tree. ==u-boot== To enable device tree on u-boot, it's qui...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

use device tree

To use device tree on arm both bootloader (u-boot) and kernel should be compiled with the support of device tree.

u-boot

To enable device tree on u-boot, it's quite simple, just add "#define CONFIG_OF_LIBFDT" in your configuration file (include/configs/<board>.h).

On armadeus SDK, this file is in this directory: buildroot/target/device/armadeus/<board>/<board>-u-boot-<version>.h

For example, for u-boot 2012.04 on apf27, it's: buildroot/target/device/armadeus/apf27/apf27-u-boot-2012.04.h

kernel