From: Joachim Meyer <Jogi95@web•de>
To: Jens Wirth <jewirth@googlemail•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: use xilinx gpio from linux on a ppc405
Date: Thu, 17 Jul 2008 15:40:20 +0200 [thread overview]
Message-ID: <883740264@web.de> (raw)
Hi Jens
Thanks for your fast answer.
I have some questions befor I try it out:
1. Can I proof, if my gpio is correctly connected with my design or should I try it to proof it?
2. Is the code you send c? If yes, do I need any specific libaries? Then I crosscompile it, put it on my Board and it should work?
3. In edk I saw This at the 4 LEDs:
Base Adress: 0x40000000
High Adress: 0x4000ffff
How would it be for my case? Something like this:
char *mapped_address = ioremap(0x40000000, 0xffff);
writeb(0xffff, mapped_address);
iounmap(mapped_address);
I don't understand why the there are so many steps between the base and the high adress.
Thanks and Greez
Joachim
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
next reply other threads:[~2008-07-17 13:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 13:40 Joachim Meyer [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-17 12:09 use xilinx gpio from linux on a ppc405 Joachim Meyer
2008-12-15 9:12 ` xavier.vvv
2008-12-15 11:18 ` Jan Mueller
2008-12-15 11:35 ` xavier.vvv
2008-12-15 12:37 ` Jan Mueller
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=883740264@web.de \
--to=jogi95@web$(echo .)de \
--cc=jewirth@googlemail$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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