From owner-freebsd-arm@freebsd.org Mon Oct 2 16:24:10 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 3828EE0DCF5 for ; Mon, 2 Oct 2017 16:24:10 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FE706DEC3; Mon, 2 Oct 2017 16:24:08 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 065e5633; Mon, 2 Oct 2017 18:23:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=FCYAEBBZ39U/LsZIyfWuT/s2454=; b=IEyu2YgMU6IAc71uDbcaRqaF+8oO 6pLF5kf7GBpzq8YXCy7XzPHPIOHpOWI9maIp1aWE39Kohy0vxBjf/OlkngaJZjSz ZS1v3Z8aumjjki3KKdV4qGhXKwFf7uHLtLPTrk2jPcWR4w0hefQwCDbcCxfrP+Ra G3tVcVwLi2srFE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=EJudDThS6UWR7JDdnm/68vxq7c9Cr1Il//9uyU2ZpGOhxk55suhzjLTG Ems5ZsrevnbuzLhqtw2uxwn9q5U8WLAbGE4sluzMUby9U0xJsPOQI/T6eE47peMF ucfaKuD3I5vz4BRP/hhf1YnQeZ9/PZ5qAuPE3LDRDQdMZnwKxh0= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id e3f6f371 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 2 Oct 2017 18:23:59 +0200 (CEST) Date: Mon, 2 Oct 2017 18:23:55 +0200 From: Emmanuel Vadot To: Ian Lepore Cc: lausts@acm.org, freebsd-arm@freebsd.org Subject: Re: BeagleBone Crochet Build Problem Message-Id: <20171002182355.d6f9a252fcfe48ce2ce2b808@bidouilliste.com> In-Reply-To: <1506954050.22078.55.camel@freebsd.org> References: <176dbdd5-1a32-06b2-7dd8-0647cc0fbe20@acm.org> <1506954050.22078.55.camel@freebsd.org> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 16:24:10 -0000 On Mon, 02 Oct 2017 08:20:50 -0600 Ian Lepore wrote: > 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.=A0=A0The build process stopp= ed > > because of a missing file: > >=20 > > 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 > > =A0=A0=A0=A0=A0=A0not found > > #include "/usr/src/sys/boot/fdt/dts/beaglebone.dts" > > =A0=A0=A0=A0=A0=A0=A0=A0=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > 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 > >=20 > > I looked in the directory that was referenced in the error and > > confirmed > > the missing file.=A0=A0I also upgraded all of my packages today on my > > build > > server before starting the Crochet build for Beaglebone.=A0=A0My U-Boot > > Beaglebone is at version 2017.07.00.1 which (from portsnap) appears > > to > > be the most recent. > >=20 > > Tom > >=20 >=20 > 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. =A0The dtb files needed for various > beaglebone systems are all built now by sys/modules/dtb/am335x. =A0This > happened when we switched to using vendor-supplied dts files some time > ago. =A0The filenames also changed at that time, but the latest uboot > packages should be looking for the new names. >=20 > -- Ian Yes, also the modules install links for compatibility with older u-boot that still have our custom dtb name in it. --=20 Emmanuel Vadot