On Fri, 1 Mar 2013 19:32:17 -0800
Tim Kientzle <t...@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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to