Re: [PATCH] ndfc driver

knakos
2008-12-24T06:58:29Z

Hi Sean,

Thanks for your comments.

On Tue, 23 Dec 2008 17:00:40 -0500, Sean MacLennan
<smaclennan@pikatech.com> wrote:
> I am not a DTS expert, I just use it ;) But are you sure the second
> value should be d0000000?

Same here :-) These values were used in the previous incarnation of the dts
file
with a 2.6.26 kernel so I "migrated" them to 2.6.28-rc8. During my numerous
experiments to get the driver working, I *think* I have tried out both <0 0
2000>
and <1 0 2000>, based on your provided template, and they yielded no good
results.
BTW, what I think the crash was all about when iomap()-ing to chip select
0,
was that addresses, in this instance, of "0d0000000" collided with the
kernel
somehow, as opposed to "1d0000000" or "2d0000000" which did not. Still,
this is
an un-educated guess :-)

> Are you using u-boot and, if so, what version? The ecc_code was
> changed to match u-boot. We are using a heavily modified 1.3.3.
>
> This may need to be a config option, since we cannot guarantee what
> version of u-boot they are running.

Yep, we're using u-boot.
OK, this makes sense and I would also like to point out that I was trying
to
mount partitions created with the previous ndfc driver & kernel.

Unfortunately, I won't have access to the board until next week and I
cannot
remember accurately the u-boot version. So, if you're patient, I'll run
your
suggested reg <...> tests and provide more info on this after Xmas :-)

Thanks again,
Kostas