linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [v2] Add support for Analogue & Micro ASP837E board
@ 2008-06-26 19:25 Scott Wood
  0 siblings, 0 replies; only message in thread
From: Scott Wood @ 2008-06-26 19:25 UTC (permalink / raw)
  To: Bryan O'Donoghue; +Cc: linuxppc-dev

On Thu, May 08, 2008 at 10:47:00PM +1000, Bryan O'Donoghue wrote:
> Greetings.
> 
> Attached is a patchset to support the  ASP8347E.

Sorry for the late reply...

> http://www.analogue-micro.com/ASP8347.html. Due to the fact that the board
> shipped with a root filesystem that requires devfs, you have to run a
> different rootfs with all current kernels. I've been using the 8xx root fs
> from the ELDK via NFS, for this.

8xx has a different cache block size (affecting dcbz, etc); I recommend
using a 6xx toolchain. You'll have floating point that way, as well.

> +	dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
> +	dt_fixup_mac_addresses(bd.bi_enetaddr);
> +	dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq);
> +

timebase on 6xx is busfreq / 4, not busfreq / 16.

> +	node = finddevice("/soc/cpm/brg");
> +	if (node) {
> +		printf("BRG clock-frequency <- 0x%x (%dMHz)\r\n",
> +		       bd.bi_busfreq, MHZ(bd.bi_busfreq));
> +		setprop(node, "clock-frequency",  &bd.bi_busfreq, 4);
> +	}
> +
> +}

This doesn't exist at all on 834x, and is named differently on 832x/836x.

-Scott

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-26 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 19:25 [v2] Add support for Analogue & Micro ASP837E board Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).