ioperm

Fillod Stephane stephane.fillod at thomson.net
Tue Apr 27 19:49:46 EST 2004


>Anybody seen this error?

No :)

>I'm getting it while trying to compile  for a ppc405EP based board,
>using the ELDK 2.1 toolchain (ppc_4xx).

Don't use ioperm. There's no io bus, only memory bus.

Please have a look at Denx's FAQ for accessing memory bus:


http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Accessin
gPeripheralsFromUserSpace

For more information, please follow this thread:
	http://lists.linuxppc.org/linuxppc-embedded/200403/msg00059.html


> #define BASEPORT 0x378

I don't know what your BASEPORT is, but it looks very wrong.


Welcome in ppc world.

Regards,
Stéphane

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list