* Memory mapping the PHY on CR826
@ 2005-05-23 13:59 Alex Zeffertt
2005-05-23 20:43 ` [Linux-ATM-General] " Koen Peeters
2005-05-24 9:00 ` Clemens Koller
0 siblings, 2 replies; 5+ messages in thread
From: Alex Zeffertt @ 2005-05-23 13:59 UTC (permalink / raw)
To: linuxppc-embedded, linux-atm-general@lists.sourceforge.net
Hi all,
Does anyone here have *any* code for memory mapping the PM5350 ATM phy
on the Microsys CR826 board?
I've just purchased this board from Microsys and I'm trying to get the
atm8260 ATM device driver to work on it - unfortunately I cannot seem to
memory map the phy. My current settings are:
memctl->memc_or8 = 0xe0400ef4; // base 0xe0400000; default timings
memctl->memc_br8 = 0xffff8821; // min banksize; 8bit port; GPCM local;
// bank valid
Has anybody done this already?
TIA,
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Linux-ATM-General] Memory mapping the PHY on CR826
2005-05-23 13:59 Memory mapping the PHY on CR826 Alex Zeffertt
@ 2005-05-23 20:43 ` Koen Peeters
2005-05-24 8:46 ` Alex Zeffertt
2005-05-24 9:00 ` Clemens Koller
1 sibling, 1 reply; 5+ messages in thread
From: Koen Peeters @ 2005-05-23 20:43 UTC (permalink / raw)
To: Alex Zeffertt; +Cc: linux-atm-general@lists.sourceforge.net, linuxppc-embedded
Hi Alex,
I have got the Microsys board but I believe
you sort of mixed up the 2 registers :
try :
memctl->memc_br8 = 0xe0400821; // base 0xe0400000; default timings;
// bank valid; 8bit port; GPCM local;
memctl->memc_or8 = 0xffff8820; // min banksize; addressline config
Please verify the or8 setting with the actual board configuration.
Alex Zeffertt wrote:
> Hi all,
>
> Does anyone here have *any* code for memory mapping the PM5350 ATM phy
> on the Microsys CR826 board?
>
> I've just purchased this board from Microsys and I'm trying to get the
> atm8260 ATM device driver to work on it - unfortunately I cannot seem to
> memory map the phy. My current settings are:
>
>
> memctl->memc_or8 = 0xe0400ef4; // base 0xe0400000; default timings
> memctl->memc_br8 = 0xffff8821; // min banksize; 8bit port; GPCM local;
> // bank valid
>
> Has anybody done this already?
>
> TIA,
>
> Alex
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Linux-atm-general mailing list
> Linux-atm-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-atm-general
--
-------------------------------------------------
Koen Peeters
Cellink bvba
Catherinalaan 37, 3110 Rotselaar, Belgium
web : http://www.cellink.net/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Linux-ATM-General] Memory mapping the PHY on CR826
2005-05-23 20:43 ` [Linux-ATM-General] " Koen Peeters
@ 2005-05-24 8:46 ` Alex Zeffertt
0 siblings, 0 replies; 5+ messages in thread
From: Alex Zeffertt @ 2005-05-24 8:46 UTC (permalink / raw)
To: Koen Peeters; +Cc: linux-atm-general, linuxppc-embedded
Hi Koen,
Well spotted! Unfortunately this is not the problem. I got the base
address and mask the wrong way round in my email but they are the right
way round in my code. Oops.
I tried your OR8 settings but they didn't work either. I think there
may be a problem with the addressing on the CR826 board as the PM5350
address line 0 doesn't seem to go anywhere on the schematics!
Alex
On Mon, 23 May 2005 22:43:29 +0200
Koen Peeters <atm@cellink.net> wrote:
> Hi Alex,
>
> I have got the Microsys board but I believe
> you sort of mixed up the 2 registers :
>
> try :
>
> memctl->memc_br8 = 0xe0400821; // base 0xe0400000; default
> timings;
> // bank valid; 8bit port; GPCM
> local;
> memctl->memc_or8 = 0xffff8820; // min banksize; addressline config
>
> Please verify the or8 setting with the actual board configuration.
>
>
> Alex Zeffertt wrote:
> > Hi all,
> >
> > Does anyone here have *any* code for memory mapping the PM5350 ATM
> > phy on the Microsys CR826 board?
> >
> > I've just purchased this board from Microsys and I'm trying to get
> > the atm8260 ATM device driver to work on it - unfortunately I cannot
> > seem to memory map the phy. My current settings are:
> >
> >
> > memctl->memc_or8 = 0xe0400ef4; // base 0xe0400000; default timings
> > memctl->memc_br8 = 0xffff8821; // min banksize; 8bit port; GPCM
> > local;
> > // bank valid
> >
> > Has anybody done this already?
> >
> > TIA,
> >
> > Alex
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> > _______________________________________________
> > Linux-atm-general mailing list
> > Linux-atm-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/linux-atm-general
>
>
> --
> -------------------------------------------------
> Koen Peeters
> Cellink bvba
> Catherinalaan 37, 3110 Rotselaar, Belgium
> web : http://www.cellink.net/
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Linux-atm-general mailing list
> Linux-atm-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-atm-general
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory mapping the PHY on CR826
2005-05-23 13:59 Memory mapping the PHY on CR826 Alex Zeffertt
2005-05-23 20:43 ` [Linux-ATM-General] " Koen Peeters
@ 2005-05-24 9:00 ` Clemens Koller
2005-05-24 9:09 ` Wolfgang Denk
1 sibling, 1 reply; 5+ messages in thread
From: Clemens Koller @ 2005-05-24 9:00 UTC (permalink / raw)
To: Alex Zeffertt; +Cc: linux-atm-general@lists.sourceforge.net, linuxppc-embedded
Hello,
FYI: This is a board based on the Freescale MPC8260 processor.
Greets,
Clemens
Alex Zeffertt wrote:
> Hi all,
>
> Does anyone here have *any* code for memory mapping the PM5350 ATM phy
> on the Microsys CR826 board?
>
> I've just purchased this board from Microsys and I'm trying to get the
> atm8260 ATM device driver to work on it - unfortunately I cannot seem to
> memory map the phy. My current settings are:
>
>
> memctl->memc_or8 = 0xe0400ef4; // base 0xe0400000; default timings
> memctl->memc_br8 = 0xffff8821; // min banksize; 8bit port; GPCM local;
> // bank valid
>
> Has anybody done this already?
>
> TIA,
>
> Alex
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory mapping the PHY on CR826
2005-05-24 9:00 ` Clemens Koller
@ 2005-05-24 9:09 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2005-05-24 9:09 UTC (permalink / raw)
To: Clemens Koller; +Cc: linux-atm-general@lists.sourceforge.net, linuxppc-embedded
In message <4292ED43.8060607@anagramm.de> you wrote:
>
> FYI: This is a board based on the Freescale MPC8260 processor.
Actually it's a 8270 in Alex' case.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Of course there's no reason for it, it's just our policy.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-05-24 9:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23 13:59 Memory mapping the PHY on CR826 Alex Zeffertt
2005-05-23 20:43 ` [Linux-ATM-General] " Koen Peeters
2005-05-24 8:46 ` Alex Zeffertt
2005-05-24 9:00 ` Clemens Koller
2005-05-24 9:09 ` Wolfgang Denk
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).