From: "Rune Torgersen" <runet@innovsys.com>
To: <morten.banzon@axxessit.no>
Cc: linuxppc-embedded@ozlabs.org
Subject: RE: MPC82xx -- DPRAM1
Date: Tue, 16 Nov 2004 08:58:10 -0600 [thread overview]
Message-ID: <DCEAAC0833DD314AB0B58112AD99B93B06DBBD@ismail.innsys.innovsys.com> (raw)
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
next reply other threads:[~2004-11-16 14:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-16 14:58 Rune Torgersen [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-19 14:25 MPC82xx -- DPRAM1 Rune Torgersen
2004-11-22 19:54 ` Dan Malek
2004-11-19 2:24 morten.banzon
2004-11-18 20:08 morten.banzon
2004-11-18 23:11 ` Dan Malek
2004-11-18 10:49 morten.banzon
2004-11-18 17:38 ` Wolfgang Denk
2004-11-17 16:22 morten.banzon
2004-11-17 12:11 morten.banzon
2004-11-16 15:07 morten.banzon
2004-11-16 11:16 morten.banzon
2004-11-16 11:02 morten.banzon
2004-11-15 16:10 morten.banzon
2004-11-16 0:18 ` Dan Malek
2004-11-16 8:51 ` Conor McLoughlin
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=DCEAAC0833DD314AB0B58112AD99B93B06DBBD@ismail.innsys.innovsys.com \
--to=runet@innovsys.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=morten.banzon@axxessit.no \
/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