Memory mapping the PHY on CR826

4 messages, 3 authors, 2005-05-24 · open the first message on its own page

Memory mapping the PHY on CR826

From: Alex Zeffertt <hidden>
Date: 2005-05-23 14:00:10

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

Re: [Linux-ATM-General] Memory mapping the PHY on CR826

From: Koen Peeters <hidden>
Date: 2005-05-23 20:50:02

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/

Re: [Linux-ATM-General] Memory mapping the PHY on CR826

From: Alex Zeffertt <hidden>
Date: 2005-05-24 08:46:44

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 [off-list ref] 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:
quoted
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

Re: Memory mapping the PHY on CR826

From: Clemens Koller <hidden>
Date: 2005-05-24 09:01:27

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help