Talk:Kernel-with-device-tree

From ArmadeusWiki
Revision as of 18:18, 17 September 2013 by JulienB (Talk | contribs) (New page: ==Old U-Boot== To enable device tree on old U-Boot, it's quite simple: * add "#define CONFIG_OF_LIBFDT" in the u-boot configuration file (include/configs/<board>.h). On armadeus SDK, thi...)

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

Old U-Boot

To enable device tree on old U-Boot, it's quite simple:

  • add "#define CONFIG_OF_LIBFDT" in the u-boot 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

Nothing else needs to be done, because the u-boot image is build by the armadeus SDK with the command "make".

NOTE: on u-boot 2012.04, the command bootm with device tree is broken. If you want to use it,

you need to fix it with the following patch: http://git.denx.de/?p=u-boot.git;a=commit;h=1723997610ace497252d6f9a44ec76c06951ae43

NOTE2: it's fixed on u-boot 2012.04.01 that's the current (since June 2012) release used on all the APF boards.