From: roger <rogerxxmaillist@san.rr.com>
To: linux-mtd@lists.infradead.org
Subject: intel 440bx unshadow for doc2001
Date: 13 Jul 2003 04:08:53 -0700 [thread overview]
Message-ID: <1058094420.2750.13.camel@localhost3.localdomain> (raw)
Figured out from scanning through the openbios/devbios code on howto
unshadow the intel 440bx to be able to successfully load the MTD doc2001
module and have it successfully detect the DOC. -- I am not sure if this
is what you call "memory mapping" (ie
/usr/src/linux-2.4.20/drivers/mtd/maps/l440gx.c)
The devbios/openbios project can be found here:
http://www.openbios.info/download/index.html
And the url is at the bottom of the page for
http://www.openbios.info/bin/devbios-0.3.2.tar.gz
Does anybody know if any of this is already in the MTD drivers? This
code unshadows and gives access to many bios devices.
Went into the openbios/devbios/pcisets.c and commented out the two
statements within the "static void intel4x0_deactivate(void)" function
(this prevents the unshadowing after the bios.o module is loaded -- and
while i was at it, uncommented the a printk debug statement). Loading
the bios.o module shows the isa bridge info:
Jul 9 02:40:27 BIOS: host bridge is 8086, 7190, 0
Jul 9 02:40:27 BIOS: isa bridge is 8086, 7110, 38
Jul 9 02:40:27 BIOS: isa bridge cfg is 0x64
Jul 9 02:40:27 BIOS: isa bridge cfg is 0x64
Jul 9 02:40:27 BIOS: isa bridge cfg is 0x64
(last line repeated many times)
Jul 9 02:40:27 BIOS: 0k flashchip (ID 0x5f1f) found at physical
address 0xfff01000 (va=0xd8854000+0x101000).
Jul 9 02:40:27 BIOS: Probing PCI device with 256k rom
Jul 9 02:40:27 BIOS: Probing PCI device with 64k rom
Once I unshadowed the intel 440bx, the following script loads doc with
ease:
#!/bin/bash
modprobe doc2001
modprobe docprobe doc_config_location=0xfff00000
cat /proc/mtd
modprobe nft
If i'm correct, the unshadow code just needs to be written into MTD for
everything to work easily?
--
Roger
http://www.eskimo.com/~roger/index.html
next reply other threads:[~2003-07-13 11:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-13 11:08 roger [this message]
2003-07-14 11:09 ` intel 440bx unshadow for doc2001 David Woodhouse
2003-07-14 15:12 ` roger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1058094420.2750.13.camel@localhost3.localdomain \
--to=rogerxxmaillist@san.rr.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox