"Ronald G. Minnich" wrote:
440gx agpset, page 4-2 has a nice map of the memory. 4-4 shows the extended bios at 4GB-2M. When I do this: unsigned long l = 0xffe00000; unsigned long flashsize = 0x200000; void *v; v = ioremap_nocache (l, flashsize); if (! v) { printk("ioremap failed\n"); return; }
And I probe that memory I only read 0xff. Bad. It's acting like I'm getting all 1's due to some control chip rejecting the memory cycle. I'd be happier with a trap ...
ioremap is a linux kernel function. are you using readb() and writeb() to access the token (not pointer!) returned from ioremap_nocache?