/usr/ports -r444615 (e.g.) & head -r320458 (e.g.): sysutils/u-boot-pine64 build fails for arch/arm/dts/pine64_plus.dtb source handling error (gic in a64.dtsi)

Mark Millard markmi at dsl-only.net
Thu Jun 29 02:44:40 UTC 2017


Is the below a BSDL vs. GPL DTS issue?

In my attempt to build sysutils/u-boot-pine64 I got:

  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
start=$(aarch64-none-elf-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-none-elf-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x4a000000 $start $end
  SYM     u-boot.sym
  DTC     arch/arm/dts/pine64_plus.dtb
Error at arch/arm/dts/.pine64_plus.dtb.dts.tmp:533:27: Expected unit address
 gic: interrupt-controller@{
                           ^
Error at arch/arm/dts/.pine64_plus.dtb.dts.tmp:533:27: Failed to find root node /.
 gic: interrupt-controller@{
                           ^
Failed to parse tree.
gmake[3]: *** [scripts/Makefile.lib:299: arch/arm/dts/pine64_plus.dtb] Error 1
gmake[2]: *** [dts/Makefile:36: arch-dtbs] Error 2
gmake[1]: *** [Makefile:821: dts/dt.dtb] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/usr/obj/portswork/usr/ports/sysutils/u-boot-pine64/work/u-boot-2016.05'



Looking at the gic part of the source. . .

# more /usr/obj/portswork/usr/ports/sysutils/u-boot-pine64/work/u-boot-2016.05/arch/arm/dts/a64.dtsi
. . .
        gic: interrupt-controller@{
                compatible = "arm,gic-400";
                interrupt-controller;
                #interrupt-cells = <3>;
                #address-cells = <0>;

                reg = <0x01C81000 0x1000>,
                      <0x01C82000 0x2000>,
                      <0x01C84000 0x2000>,
                      <0x01C86000 0x2000>;
                interrupts = <GIC_PPI 9
                      (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
        };



I'll be trying 3 other u-boot-*'s so I may have more to
report later.

===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-arm mailing list