svn commit: r247609 - head/sys/arm/conf

Andrew Turner andrew at fubar.geek.nz
Sat Mar 2 05:11:29 UTC 2013


On Fri, 1 Mar 2013 19:32:17 -0800
Tim Kientzle <tim at 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


More information about the svn-src-all mailing list