From owner-freebsd-toolchain@freebsd.org Thu Jun 29 03:52:21 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18B8DD90B08 for ; Thu, 29 Jun 2017 03:52:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-15.reflexion.net [208.70.210.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1AF073B1D for ; Thu, 29 Jun 2017 03:52:19 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 10794 invoked from network); 29 Jun 2017 03:52:18 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 29 Jun 2017 03:52:18 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Wed, 28 Jun 2017 23:52:18 -0400 (EDT) Received: (qmail 19926 invoked from network); 29 Jun 2017 03:52:18 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Jun 2017 03:52:18 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id D7686EC8A8B; Wed, 28 Jun 2017 20:52:17 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: /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) From: Mark Millard In-Reply-To: <746945FA-AFCD-40FE-AF7E-875B89EC1B4A@dsl-only.net> Date: Wed, 28 Jun 2017 20:52:17 -0700 Cc: freebsd-arm , FreeBSD Toolchain , FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: <51D64AB6-5E0A-4210-B3B1-CB236F1C9B39@dsl-only.net> References: <746945FA-AFCD-40FE-AF7E-875B89EC1B4A@dsl-only.net> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2017 03:52:21 -0000 On 2017-Jun-28, at 7:44 PM, Mark Millard wrote: > Is the below a BSDL vs. GPL DTS issue? >=20 > In my attempt to build sysutils/u-boot-pine64 I got: >=20 > OBJCOPY u-boot.srec > OBJCOPY u-boot-nodtb.bin > start=3D$(aarch64-none-elf-nm u-boot | grep __rel_dyn_start | cut -f 1 = -d ' '); end=3D$(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' >=20 >=20 >=20 > Looking at the gic part of the source. . . >=20 > # more = /usr/obj/portswork/usr/ports/sysutils/u-boot-pine64/work/u-boot-2016.05/ar= ch/arm/dts/a64.dtsi > . . . > gic: interrupt-controller@{ > compatible =3D "arm,gic-400"; > interrupt-controller; > #interrupt-cells =3D <3>; > #address-cells =3D <0>; >=20 > reg =3D <0x01C81000 0x1000>, > <0x01C82000 0x2000>, > <0x01C84000 0x2000>, > <0x01C86000 0x2000>; > interrupts =3D (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; > }; >=20 >=20 >=20 > I'll be trying 3 other u-boot-*'s so I may have more to > report later. The other 3 that I tried worked fine: Installation of sysutils/u-boot-rpi2 (u-boot-rpi2-2015.04) Installation of sysutils/u-boot-rpi3 (u-boot-rpi3-2017.01) Installation of sysutils/u-boot-sinovoip-bpi-m3 = (u-boot-sinovoip-bpi-m3-2016.05) So this may be unique to a64.dtsi and its lack of hexadecimal digits after the "@" in what I quoted. Still, sysutils/u-boot-pine64 used to build. So it may be a BSDL vs. GPL DTS issue as far as the handling of the notation goes. =3D=3D=3D Mark Millard markmi at dsl-only.net