Powerpc and ioremap
Sébastien Chrétien
sebastien.chretien.enseirb at gmail.com
Thu Aug 7 19:54:20 EST 2008
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080807/04ec8869/attachment.htm>
More information about the Linuxppc-dev
mailing list