DTC failure on /memreserve/ if moved after /include/

Stephen Warren swarren at nvidia.com
Tue May 3 04:54:06 EST 2011


The following from tegra-harmony.dts compiles fine:

    /dts-v1/;

    /memreserve/ 0x1c000000 0x04000000;
    /include/ "tegra250.dts"

    / {

However, if I re-order this as follows:

    /dts-v1/;
    /include/ "tegra250.dts"

    /memreserve/ 0x1c000000 0x04000000;

    / {

Then dtc fails:

      DTC     arch/arm/boot/tegra-harmony.dtb
    DTC: dts->dtb  on file "arch/arm/boot/dts/tegra-harmony.dts"
    Error: arch/arm/boot/dts/tegra-harmony.dts:4.1-13 syntax error
    FATAL ERROR: Unable to parse input tree
    make[1]: *** [arch/arm/boot/tegra-harmony.dtb] Error 1

Is this a dtc bug, or does the DTS syntax actually disallow this?

Thanks.

-- 
nvpublic



More information about the devicetree-discuss mailing list