From owner-svn-src-head@FreeBSD.ORG Sat Mar 2 05:11:28 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EE096B7F; Sat, 2 Mar 2013 05:11:28 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id BD50AA34; Sat, 2 Mar 2013 05:11:28 +0000 (UTC) Received: from mxin2-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MJ000NNZP2V0T30@smtp3.clear.net.nz>; Sat, 02 Mar 2013 18:11:20 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO bender) ([202.0.48.19]) by smtpin2.paradise.net.nz with ESMTP; Sat, 02 Mar 2013 18:11:20 +1300 Date: Sat, 02 Mar 2013 18:11:22 +1300 From: Andrew Turner Subject: Re: svn commit: r247609 - head/sys/arm/conf In-reply-to: To: Tim Kientzle Message-id: <20130302181122.0e5fe477@bender> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit References: <201303020323.r223NFPS011936@svn.freebsd.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2013 05:11:29 -0000 On Fri, 1 Mar 2013 19:32:17 -0800 Tim Kientzle 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