linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: "Bryan O'Donoghue" <bodonoghue@codehermit.ie>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [v2] Add support for Analogue & Micro ASP837E board
Date: Thu, 26 Jun 2008 14:25:32 -0500	[thread overview]
Message-ID: <20080626192532.GA12692@loki.buserror.net> (raw)

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

                 reply	other threads:[~2008-06-26 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080626192532.GA12692@loki.buserror.net \
    --to=scottwood@freescale.com \
    --cc=bodonoghue@codehermit.ie \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).