From owner-freebsd-arm@freebsd.org Mon Oct 2 16:11:42 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 92A69E0D6C7 for ; Mon, 2 Oct 2017 16:11:42 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1ADCA6D563; Mon, 2 Oct 2017 16:11:42 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id b127so6614077lfe.9; Mon, 02 Oct 2017 09:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BdmL75X1HtQp1bOnPrCeVTmiwE/ZD0X/FWA1adeh4rA=; b=b+jVPx31Zvh69xdsUjJAHPZRvw7IjXvbKklGu/KrGbaQR2fzUldebj0UX+vHe1hf6V 3S7haoNFgmXxMJqEKGUL8Fi+vZcXEyIYGoJTwfKAbrGzBxtFvrhGgOy80utxmUZuQvXM 06UsFm93wjDAZe4vCx5Aouc0fNbPQlvRTKnjxRKh2nGb22RNx8LARe0P1n4+6H1sXYyn CXbkqoi217/jjsuVIt8kJphsfIuCRmjs6gtlhMOr7QznXHYL6NhgG/XH1smq5HyPW//5 wD7w2qaYOSYqIRo5vZrbDozBs8J0dvJEMoQBDgkvrJ0zN3lWFqjAH4fOY2vGuQ2u3Fmv De4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BdmL75X1HtQp1bOnPrCeVTmiwE/ZD0X/FWA1adeh4rA=; b=jIZu+ugHIeOggIdtfQNAiSA9ngG734oFp7HLEAdZiUgBdeA3edPzzIWRA2s2AygHFv PuEjhPFypm8CRBtglFA2OD/Cvi3swmpJw8Kii2y3RFe2P6a3WLh7655RwxLR+AN4C8J9 xJvIsmfEqo70KYEPEKEytMqmS8JKYj2500mQ9hRI3+3WQmuVJTqKgvtVR+QZjVLpv/de yFhQe8UKg3/308u9UGh6WZ6FilQJehqpFpq6yZLSJ2Py62HPCvbqBxb2WIUbwtg1JjOs kE2OtXa8ZWIRzXp9WZATh0uaMThe7kItp03Pl3PEpzcsfx9OpiB53fjERFVX0mLOsZPP fslQ== X-Gm-Message-State: AHPjjUhv7tGDwMP3yTVgpR5xhkckTEk3U+dtMbBCkvn5mS2HsI/3LABK iKdbe0lA1UrPMCVa/FSAVwK7KisGDBX6j3AVNRprqg== X-Google-Smtp-Source: AOwi7QArd8bDYG1yzejmAuVhOhBJghxUMAEN/5emjJ9+oFfxuV8glThQxCbR9qTcEctRD0RLiAU/qpUgyXmT8abYEtU= X-Received: by 10.46.29.5 with SMTP id d5mr6966065ljd.97.1506960699964; Mon, 02 Oct 2017 09:11:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.14.2 with HTTP; Mon, 2 Oct 2017 09:11:39 -0700 (PDT) In-Reply-To: <1506954050.22078.55.camel@freebsd.org> References: <176dbdd5-1a32-06b2-7dd8-0647cc0fbe20@acm.org> <1506954050.22078.55.camel@freebsd.org> From: Russell Haley Date: Mon, 2 Oct 2017 09:11:39 -0700 Message-ID: Subject: Re: BeagleBone Crochet Build Problem To: Ian Lepore Cc: lausts@acm.org, freebsd-arm Content-Type: text/plain; charset="UTF-8" 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:11:42 -0000 On Mon, Oct 2, 2017 at 7:20 AM, 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. 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. https://github.com/freebsd/crochet/search?utf8=%E2%9C%93&q=%22%2Fusr%2Fsrc%2Fsys%2Fboot%2Ffdt%2Fdts%2F&type= The offending line? An interesting commit: https://github.com/freebsd/crochet/commit/cf14b342e312ba649dffa0ac4921118da8a1d214 Looks like someone is moving some of the kernel config files over to GENERIC. Is using GENERIC on arm something that is being encouraged by those 'in the know'? Russ > -- Ian > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"