From: "Sébastien Chrétien" <sebastien.chretien.enseirb@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: Powerpc and ioremap
Date: Thu, 7 Aug 2008 11:54:20 +0200 [thread overview]
Message-ID: <319b0ac50808070254x27606b48sb15fb4ee6105c6c6@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
Hello,
I am trying to port linux on my Powerpc Board. I have used Linux 2.6.26 and
gcc 3.4.5.
I have used Uboot 1.2.
Linux seems running from _start to udbg_early_init(). That's why I
develloped a udbg_driver.
It must write in a register which is located at 0x2001b044. So I wrote :
void __iomem *p;
p=ioremap(0x2001b044,4);
iowrite32('O',p);
iowrite32('K',p);
But when he exectuted ioremap, he looped in the __delay function.
Can you help me to solve this probleme ?
[-- Attachment #2: Type: text/html, Size: 585 bytes --]
next reply other threads:[~2008-08-07 9:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 9:54 Sébastien Chrétien [this message]
2008-08-07 10:23 ` Powerpc and ioremap Juergen Beisert
2008-08-07 12:15 ` Sébastien Chrétien
2008-08-07 12:56 ` Sébastien Chrétien
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=319b0ac50808070254x27606b48sb15fb4ee6105c6c6@mail.gmail.com \
--to=sebastien.chretien.enseirb@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).