Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2017 09:11:39 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        lausts@acm.org, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: BeagleBone Crochet Build Problem
Message-ID:  <CABx9NuS9XAfWNHM1fAFKV8byhWyv=jXS_W%2BNO3Y6s-CtEQdp6A@mail.gmail.com>
In-Reply-To: <1506954050.22078.55.camel@freebsd.org>
References:  <176dbdd5-1a32-06b2-7dd8-0647cc0fbe20@acm.org> <1506954050.22078.55.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 2, 2017 at 7:20 AM, Ian Lepore <ian@freebsd.org> 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
>> <built-in>: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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuS9XAfWNHM1fAFKV8byhWyv=jXS_W%2BNO3Y6s-CtEQdp6A>