Problem reading and programming memory location...
Anatolij Gustschin
agust at denx.de
Wed Nov 13 18:32:59 EST 2013
On Tue, 12 Nov 2013 20:23:20 +0100
neorf3k <neorf3k at gmail.com> wrote:
> we have tried to read and program an 8bit register with 32bit address.
> we have mapped it with: ioremap, kmalloc etc… and then using: outb,
> iowrite8 etc.. but when we write to it, the value doesn’t change…
> with other memory location is ok.
> That is an 8 bit register, located at 0x10020000 in a mpc5200b
> architecture. we are using kernel 2.6.33.
> what could be?
0x10020000 is not in the internal register memory map, so it
is probably a device on the LocalPlus bus. Did you configure
the chip select parameters for this device and did you enable
the associated chip select?
HTH,
Anatolij
More information about the Linuxppc-dev
mailing list