Date: Sat, 02 Mar 2013 18:11:22 +1300 From: Andrew Turner <andrew@fubar.geek.nz> To: Tim Kientzle <tim@kientzle.com> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r247609 - head/sys/arm/conf Message-ID: <20130302181122.0e5fe477@bender> In-Reply-To: <F6F7E2D9-AB68-4D7E-BEF8-F3A011DF6A86@kientzle.com> References: <201303020323.r223NFPS011936@svn.freebsd.org> <F6F7E2D9-AB68-4D7E-BEF8-F3A011DF6A86@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Mar 2013 19:32:17 -0800 Tim Kientzle <tim@kientzle.com> wrote: > > On Mar 1, 2013, at 7:23 PM, Andrew Turner wrote: > > > Author: andrew > > Date: Sat Mar 2 03:23:14 2013 > > New Revision: 247609 > > URL: http://svnweb.freebsd.org/changeset/base/247609 > > > > Log: > > Build the Raspberry Pi dtb file when building the kernel so we can > > copy it to the boot partition for U-Boot. > > > > Modified: > > head/sys/arm/conf/RPI-B > > > > Modified: head/sys/arm/conf/RPI-B > > ============================================================================== > > --- head/sys/arm/conf/RPI-B Sat Mar 2 02:19:04 2013 > > (r247608) +++ head/sys/arm/conf/RPI-B Sat Mar 2 03:23:14 > > 2013 (r247609) @@ -117,4 +117,4 @@ options FDT > > # Note: DTB is normally loaded and modified by RPi boot loader, > > then # handed to kernel via U-Boot and ubldr. > > #options FDT_DTB_STATIC > > -#makeoptions FDT_DTS_FILE=bcm2835-rpi-b.dts > > +makeoptions FDT_DTS_FILE=bcm2835-rpi-b.dts > > FWIW, I personally find it easier to just run dtc to > compile the DTS file as required. I know at least one user has been caught out by this, and I was as an old version of the dtb was where I was expecting the new one to be. When we move to a GENERIC kernel for armv6 I would not expect FDT_DTS_FILE to be set, but for a single board kernel config it can help as the user doesn't have to search around for dtc in the case it's not installed on the build host. Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130302181122.0e5fe477>