Re: svn commit: r244899 - head/sys/mips/beri

2013-01-04 Thread Andrew Turner
On Fri, 04 Jan 2013 12:10:54 -0500 Nathan Whitehorn wrote: > On 01/02/13 16:02, Andrew Turner wrote: > > The patch looks good. From my reading of [1] the compatible value > > should be something like "mips,mips4k" as it's value is of the form > > ",". > > > > I have been thinking the best way of

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-04 Thread Nathan Whitehorn
On 01/02/13 16:02, Andrew Turner wrote: > On Wed, 2 Jan 2013 11:01:27 + > "Robert N. M. Watson" wrote: > >> On 1 Jan 2013, at 22:08, Andrew Turner wrote: >> On a semi-related note: the current obstacle to moving more devices over to using FDT on BERI is that our FDT implementation ap

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-03 Thread Robert N. M. Watson
On 2 Jan 2013, at 21:02, Andrew Turner wrote: >> This seemed to do the trick; what do you think of the attached? This >> isn't a board-specific change, so I dropped it into the common >> fdt_mips.c code. On the other hand, this left it a bit open as to >> what the right compatible= line to use wa

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-02 Thread Andrew Turner
On Wed, 2 Jan 2013 11:01:27 + "Robert N. M. Watson" wrote: > > On 1 Jan 2013, at 22:08, Andrew Turner wrote: > > >> On a semi-related note: the current obstacle to moving more devices > >> over to using FDT on BERI is that our FDT implementation appears to > >> require a PIC to be configure

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-02 Thread Robert N. M. Watson
On 1 Jan 2013, at 22:08, Andrew Turner wrote: >> On a semi-related note: the current obstacle to moving more devices >> over to using FDT on BERI is that our FDT implementation appears to >> require a PIC to be configured. We're not actually using a PIC on >> BERI currently. It works fine attache

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-01 Thread Andrew Turner
On Tue, 1 Jan 2013 20:56:15 + "Robert N. M. Watson" wrote: > > On 1 Jan 2013, at 19:17, Andrew Turner wrote: > > > This looks like it is too late in the boot process. If you are using > > FDT you will need to use the FDT uart which is initialised in > > cninit. > > On a semi-related note: t

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-01 Thread Robert N. M. Watson
On 1 Jan 2013, at 19:17, Andrew Turner wrote: > This looks like it is too late in the boot process. If you are using > FDT you will need to use the FDT uart which is initialised in cninit. On a semi-related note: the current obstacle to moving more devices over to using FDT on BERI is that our

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-01 Thread Robert N. M. Watson
On 1 Jan 2013, at 19:17, Andrew Turner wrote: >> @@ -76,6 +85,17 @@ mips_init(void) >> { >> int i; >> >> +#ifdef FDT >> +#ifndef FDT_DTB_STATIC >> +#error "mips_init with FDT requires FDT_DTB_STATIC" >> +#endif >> + >> +if (OF_install(OFW_FDT, 0) == FALSE) >> +while (1)

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-01 Thread Robert N. M. Watson
Hi Garrett: Thanks for the report -- I didn't realise tinderbox was now building all kernels, or I would have merged my fix from P4 more quickly. The patch you've attached isn't quite the right one -- BERI supports both FDT and non-FDT kernels, so we shouldn't build the Openfirmware headers in

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-01 Thread Andrew Turner
On Mon, 31 Dec 2012 11:06:38 + (UTC) Robert Watson wrote: > Author: rwatson > Date: Mon Dec 31 11:06:37 2012 > New Revision: 244899 > URL: http://svnweb.freebsd.org/changeset/base/244899 > > Log: > If FDT is compiled into a FreeBSD/beri kernel, initialise > OpenFirmware. > Sponsored by:

Re: svn commit: r244899 - head/sys/mips/beri

2013-01-01 Thread Garrett Cooper
On Mon, Dec 31, 2012 at 3:06 AM, Robert Watson wrote: > Author: rwatson > Date: Mon Dec 31 11:06:37 2012 > New Revision: 244899 > URL: http://svnweb.freebsd.org/changeset/base/244899 > > Log: > If FDT is compiled into a FreeBSD/beri kernel, initialise OpenFirmware. > > Sponsored by: DARPA, AFR

svn commit: r244899 - head/sys/mips/beri

2012-12-31 Thread Robert Watson
Author: rwatson Date: Mon Dec 31 11:06:37 2012 New Revision: 244899 URL: http://svnweb.freebsd.org/changeset/base/244899 Log: If FDT is compiled into a FreeBSD/beri kernel, initialise OpenFirmware. Sponsored by: DARPA, AFRL Modified: head/sys/mips/beri/beri_machdep.c Modified: head/sys/