[OpenBIOS] where I'm at with the 440gx and reading nvram
Jeff Garzik
jgarzik at mandrakesoft.com
Mon Jan 24 20:10:51 CET 2000
"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?
--
Jeff Garzik | Andre the Giant has a posse.
Building 1024 |
MandrakeSoft, Inc. |
-
To unsubscribe: send mail to majordomo at freiburg.linux.de
with 'unsubscribe openbios' in the body of the message
More information about the openbios
mailing list