From 9b01f0062cd11c9c676e279182ba61524673adb8 Mon Sep 17 00:00:00 2001 From: Brandon Perez Date: Tue, 14 Jul 2015 10:56:38 -0400 Subject: [PATCH 1/6] This commit adds in parts of the "chosen" node into the device tree, which are not dynamic. The "chosen" node in a device tree is used to convey dynamic information to the kernel that is booting (Xen in our case). Normally, this can be set from the UBoot command line, but for some reason, the UBoot command parser freezes when it sees an argument like "<1>". Thus, we simply set these properties in the device tree. --- arch/arm/boot/dts/dra72-evm.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index c747dd6..e2d6170 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -15,6 +15,17 @@ model = "TI DRA722"; compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; + chosen { + modules { + #address-cells = <1>; + #size-cells = <1>; + module@0 { + compatible = "xen,linux-zimage", "xen,multiboot-module"; + reg = <0xa0000000 0xa00000>; + }; + }; + }; + aliases { display0 = &hdmi0; sound0 = &primary_sound; -- 1.7.9.5