mmap question on ppc440
jwboyer at linux.vnet.ibm.com
Tue Nov 6 08:16:59 EST 2007
On Mon, 05 Nov 2007 16:02:59 -0500
"Steven A. Falco" <sfalco at harris.com> wrote:
> I am attempting to access the CPLD on the AMCC Sequoia board from
> user-land. I open /dev/mem, and mmap it, then try to access the
> resulting pointer. That works fine when accessing physical addresses
> that correspond to RAM, but as soon as I try to access the CPLD at
> physical address 0xc0000000, I get an infinite machine check.
That's because the CPLD is actually at physical address 0x1C0000000.
Yay for 36-bit physical addresses.
More information about the Linuxppc-dev