All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.linuxppc.dev@gmail.com>
To: Martyn Welch <martyn.welch@gefanuc.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH v3 1/2] powerpc: Board support for GE Fanuc SBC610
Date: Wed, 03 Sep 2008 19:26:35 -0400	[thread overview]
Message-ID: <48BF1D2B.7000408@gmail.com> (raw)
In-Reply-To: <20080901093529.3a4371f7.martyn.welch@gefanuc.com>

Martyn Welch wrote:
> On Fri, 29 Aug 2008 07:04:18 -0500
> Kumar Gala <galak@kernel.crashing.org> wrote:
> 
>> On Aug 26, 2008, at 8:13 AM, Martyn Welch wrote:
>>
>>> +
>>> +		PowerPC,8641@0 {
>>> +			device_type = "cpu";
>>> +			reg = <0x00000000>;
>>> +			d-cache-line-size = <32>;	// 32 bytes
>>> +			i-cache-line-size = <32>;	// 32 bytes
>>> +			d-cache-size = <32768>;		// L1, 32K
>>> +			i-cache-size = <32768>;		// L1, 32K
>>> +			timebase-frequency = <0>;	// From uboot
>>> +			bus-frequency = <0>;		// From uboot
>>> +			clock-frequency = <0>;		// From uboot
>> you can remove these since u-boot will set them.
>>
> 
> Ok.

Only if you update your u-boot version.

>>> +		};
>>> +		PowerPC,8641@1 {
>>> +			device_type = "cpu";
>>> +			reg = <0x00000001>;
>>> +			d-cache-line-size = <32>;	// 32 bytes
>>> +			i-cache-line-size = <32>;	// 32 bytes
>>> +			d-cache-size = <32768>;		// L1, 32K
>>> +			i-cache-size = <32768>;		// L1, 32K
>>> +			timebase-frequency = <0>;	// From uboot
>>> +			bus-frequency = <0>;		// From uboot
>>> +			clock-frequency = <0>;		// From uboot
>> you can remove these since u-boot will set them.

Ditto.

> Will do.
> 
>>> +		};
>>> +	};
>>> +
>>> +	memory {
>>> +		device_type = "memory";
>>> +		reg = <0x00000000 0x40000000>;	// set by u-boot
>> if the comment is zero just set it to <0 0>;
>>
> 
> So "reg = <0x0 0x40000000>;" ?
> 
>>> +	};
>>> +
>> what u-boot version are you using/shipping with these boards?
> 
> U-boot 1.2.0

1.2.0 predates the libfdt support.  You probably don't have any fdt 
support in your u-boot (if you do, it is old and crude and probably 
doesn't any of the fixups that Kumar refers to).

I would strongly recommend you upgrade to the tip o' the tree or at 
least the latest release (1.3.4).  FDT support will be *much* better - 
we now has generic utility routines that fix up lots of stuff for you 
rather than the crufty by-hand fixups (if any) from the 1.2.0 timeframe.

>> Wondering if other props (like cache info, is set by u-boot for you).

Probably none unless Martyn upgrades.

>> - k
> 
> Martyn

HTH,
gvb

  reply	other threads:[~2008-09-03 23:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26 13:13 [PATCH v3 0/2] powerpc: Board support for GE Fanuc SBC610 Martyn Welch
2008-08-26 13:13 ` [PATCH v3 1/2] " Martyn Welch
2008-08-29 12:04   ` Kumar Gala
2008-09-01  8:35     ` Martyn Welch
2008-09-03 23:26       ` Jerry Van Baren [this message]
2008-09-04 15:41         ` Martyn Welch
2008-08-26 13:13 ` [PATCH v3 2/2] powerpc: Default configuration " Martyn Welch

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=48BF1D2B.7000408@gmail.com \
    --to=gvb.linuxppc.dev@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=martyn.welch@gefanuc.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.