From owner-freebsd-arm@freebsd.org Mon Oct 2 14:20:54 2017 Return-Path: Delivered-To: freebsd-arm@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 15199E40768 for ; Mon, 2 Oct 2017 14:20:54 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 EE02A6A1B1 for ; Mon, 2 Oct 2017 14:20:53 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: e88494cb-a77c-11e7-a937-4f970e858fdb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id e88494cb-a77c-11e7-a937-4f970e858fdb; Mon, 02 Oct 2017 14:20:58 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v92EKop7003515; Mon, 2 Oct 2017 08:20:50 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1506954050.22078.55.camel@freebsd.org> Subject: Re: BeagleBone Crochet Build Problem From: Ian Lepore To: lausts@acm.org, freebsd-arm@freebsd.org Date: Mon, 02 Oct 2017 08:20:50 -0600 In-Reply-To: <176dbdd5-1a32-06b2-7dd8-0647cc0fbe20@acm.org> References: <176dbdd5-1a32-06b2-7dd8-0647cc0fbe20@acm.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 14:20:54 -0000 On Mon, 2017-10-02 at 09:42 -0400, Thomas Laus wrote: > I updated my build server today to r323984 and performed a 'git pull' > on > the Crochet files for my BeagleBone Black.  The build process stopped > because of a missing file: > > removed pre-existing mount directory; creating new one. > Installing U-Boot from: /usr/local/share/u-boot/u-boot-beaglebone > :327:10: fatal error: > '/usr/src/sys/boot/fdt/dts/beaglebone.dts' file >       not found > #include "/usr/src/sys/boot/fdt/dts/beaglebone.dts" >          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > Error: Expected /dts-v1/; version string > Error: Failed to find root node /. > Failed to parse tree. > Failed to mmap file: Invalid argument > > I looked in the directory that was referenced in the error and > confirmed > the missing file.  I also upgraded all of my packages today on my > build > server before starting the Crochet build for Beaglebone.  My U-Boot > Beaglebone is at version 2017.07.00.1 which (from portsnap) appears > to > be the most recent. > > Tom > I'm not a crochet user, so I can't address that directly, but the basic problem is that crochet shouldn't be trying to build the dtb file from the dts source at all anymore.  The dtb files needed for various beaglebone systems are all built now by sys/modules/dtb/am335x.  This happened when we switched to using vendor-supplied dts files some time ago.  The filenames also changed at that time, but the latest uboot packages should be looking for the new names. -- Ian