RE: MPC82xx -- DPRAM1

From: Rune Torgersen <hidden>
Date: 2004-11-16 14:58:18

Check the drivers/serial/cpm_uart stuff.
In older kernels (before the uart move, ie 2.6.7) the start of dpram was
taken by the initial SCC/SMC driver for initial console output before
the full CPM drivers were initialized. The addresses were hardcoded
because the driver was initialized before the dpalloc functions were
initailized.

There might be some left over from that. Look for anything getting set
to cpm2_immr->im_dprambase[0]

-----Original Message-----
From: linuxppc-embedded-bounces@ozlabs.org=20
[mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of=20
morten.banzon@axxessit.no
Sent: Tuesday, November 16, 2004 05:17
To: Mark Chambers
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC82xx -- DPRAM1
=20
=20
I am not sure if I understand you. The CPM must have been=20
told somehow=20
that there is something for its peripherals in this=20
particular region of=20
the dpram1 or no ? I wild guess could be that the bootloader=20
(in this case=20
u-boot) has configured this area of dpram1 behind the back of=20
the kernel.=20
I assume that is not the case. Would not that be rather ugly ?
=20
The mcc driver I am trying to get running on linux-2.6.9 is a=20
driver I=20
wrote for pSos a few years ago, and it is running fine on=20
that platform. Therefore, I am sure that there is nothing i=20
the processor or the cpm that=20
prevents me from putting mcc related parameters at offset zero in the=20
dpram1.
I am still trying to figure out what piece of code in the=20
kernel that I=20
have to manipulate to get this driver working.=20
=20
Thanks for any advise,
Morten
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help