* BDI2000 configuration file for MPC8313E-RDB
@ 2007-05-16 14:25 Frank Prepelica
2007-05-16 20:37 ` Leonid
0 siblings, 1 reply; 4+ messages in thread
From: Frank Prepelica @ 2007-05-16 14:25 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
Hi all,
maybe this is not the appropriate mailing list, sorry for that!
but, does anyone got a working BDI2000 configuration file + reg.
definitions for MPC8313E-RDB
to get access to NAND memory? I got one but there's only access to NOR
memory.
Many thanks in advance!
Best regards
Frank
[-- Attachment #2: Type: text/html, Size: 3191 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: BDI2000 configuration file for MPC8313E-RDB
2007-05-16 14:25 BDI2000 configuration file for MPC8313E-RDB Frank Prepelica
@ 2007-05-16 20:37 ` Leonid
2007-05-16 21:59 ` Accessing 8541 registers from user space Charles Krinke
0 siblings, 1 reply; 4+ messages in thread
From: Leonid @ 2007-05-16 20:37 UTC (permalink / raw)
To: Frank Prepelica, linuxppc-embedded
AFAIK, BDI2000 doesn't support NAND... of course you can load some code
which has NAND support into RAM (even u-boot if compiled properly) and
thus program NAND flash. But BDI firmware cannot program NAND directly.
Leonid.
________________________________________
From: linuxppc-embedded-bounces+leonid=3Da-k-a.net@ozlabs.org
[mailto:linuxppc-embedded-bounces+leonid=3Da-k-a.net@ozlabs.org] On =
Behalf
Of Frank Prepelica
Sent: Wednesday, May 16, 2007 7:25 AM
To: linuxppc-embedded@ozlabs.org
Subject: BDI2000 configuration file for MPC8313E-RDB
Hi all,
maybe this is not the appropriate mailing list, sorry for that!
but, does anyone got a working BDI2000 configuration file + reg.
definitions for MPC8313E-RDB
to get access to NAND memory? I got one but there's only access to NOR
memory.
Many thanks in advance!
Best regards
Frank
^ permalink raw reply [flat|nested] 4+ messages in thread
* Accessing 8541 registers from user space
2007-05-16 20:37 ` Leonid
@ 2007-05-16 21:59 ` Charles Krinke
2007-05-17 0:36 ` Kumar Gala
0 siblings, 1 reply; 4+ messages in thread
From: Charles Krinke @ 2007-05-16 21:59 UTC (permalink / raw)
To: linuxppc-embedded
Cc: Randy Brown, Vahid Fereydounkolahi, Chris Carlson, Kevin Smith
I have a need to be able to read and write the gpio data registers PDATC
and PDATD from a user space program.=20
We have a userspace program that succesfully mmaps an offset in /dev/mem
and reads/writes registers in a CPLD at 0xFF00_0000.
The issue seems to be that when I mmap /dev/mem to 0xE000_0D50 to read
the PDATC register, Linux-2.6.17.11 just locks up.
Can anyone shed a little light on why this could be happening?
Charles Krinke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Accessing 8541 registers from user space
2007-05-16 21:59 ` Accessing 8541 registers from user space Charles Krinke
@ 2007-05-17 0:36 ` Kumar Gala
0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2007-05-17 0:36 UTC (permalink / raw)
To: Charles Krinke
Cc: Randy Brown, Vahid Fereydounkolahi, Chris Carlson, Kevin Smith,
linuxppc-embedded
On May 16, 2007, at 4:59 PM, Charles Krinke wrote:
> I have a need to be able to read and write the gpio data registers
> PDATC
> and PDATD from a user space program.
>
> We have a userspace program that succesfully mmaps an offset in /
> dev/mem
> and reads/writes registers in a CPLD at 0xFF00_0000.
>
> The issue seems to be that when I mmap /dev/mem to 0xE000_0D50 to read
> the PDATC register, Linux-2.6.17.11 just locks up.
>
> Can anyone shed a little light on why this could be happening?
One theory is you aren't reading PDATC at the right offset. Not sure
what happens if you read a non-existent register offset.
I'm think you want 0xe009_0d50.
- k
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-17 0:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 14:25 BDI2000 configuration file for MPC8313E-RDB Frank Prepelica
2007-05-16 20:37 ` Leonid
2007-05-16 21:59 ` Accessing 8541 registers from user space Charles Krinke
2007-05-17 0:36 ` Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox