* [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS
@ 2004-01-16 11:04 Ivar Orskaug
2004-01-16 11:16 ` Michael Wood
2004-01-16 11:55 ` Jan-Benedict Glaw
0 siblings, 2 replies; 6+ messages in thread
From: Ivar Orskaug @ 2004-01-16 11:04 UTC (permalink / raw)
To: parisc-linux
Hi,
is it possible to run PCI card boot-roms containing x86 code with an
emulator before loading Linux (perhaps from PALO)? Has anyone succeeded
doing this, or is it "just not possible" for whatever reason? Anyway,
if it was possible, it could really make PA-RISCs more usable.
I've heard that this is possible on both linux-mips and linux-alpha
Ivar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS
2004-01-16 11:04 [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS Ivar Orskaug
@ 2004-01-16 11:16 ` Michael Wood
2004-01-16 11:55 ` Jan-Benedict Glaw
1 sibling, 0 replies; 6+ messages in thread
From: Michael Wood @ 2004-01-16 11:16 UTC (permalink / raw)
To: Ivar Orskaug; +Cc: parisc-linux
On Fri, Jan 16, 2004 at 12:04:22PM +0100, Ivar Orskaug wrote:
> Hi,
> is it possible to run PCI card boot-roms containing x86 code with an
> emulator before loading Linux (perhaps from PALO)? Has anyone succeeded
> doing this, or is it "just not possible" for whatever reason? Anyway,
> if it was possible, it could really make PA-RISCs more usable.
> I've heard that this is possible on both linux-mips and linux-alpha
I don't know, but you can do something similar with DHCP, tftp and a
lifimage.
--
Michael Wood <mwood@its.uct.ac.za>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS
2004-01-16 11:04 [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS Ivar Orskaug
2004-01-16 11:16 ` Michael Wood
@ 2004-01-16 11:55 ` Jan-Benedict Glaw
2004-01-16 11:59 ` Jan-Benedict Glaw
1 sibling, 1 reply; 6+ messages in thread
From: Jan-Benedict Glaw @ 2004-01-16 11:55 UTC (permalink / raw)
To: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
On Fri, 2004-01-16 12:04:22 +0100, Ivar Orskaug <Ivar.Olav.Harstad.Orskaug@idi.ntnu.no>
wrote in message <Pine.GSO.4.58.0401161155280.15789@vier.idi.ntnu.no>:
> is it possible to run PCI card boot-roms containing x86 code with an
> emulator before loading Linux (perhaps from PALO)? Has anyone succeeded
> doing this, or is it "just not possible" for whatever reason? Anyway,
> if it was possible, it could really make PA-RISCs more usable.
> I've heard that this is possible on both linux-mips and linux-alpha
You can't compare with Alpha. Alpha is designed with having PC hardware
in mind. This is why it has got some kind of x86 emulator in it's
firmware, so this is a planned feature.
MIPS OTOH is a good architecture to compare with. I don't know if this
has been done before, but of course, in theory, you can execure the PC
boot ROM of PCI cards. IIRC, XFree86 has done that for VGA card's
BIOSes, but IMHO there should be a better option.
Maybe it would be a nice idea to hack bochs to initialize those cards,
but that's a lot of work, though...
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS
2004-01-16 11:55 ` Jan-Benedict Glaw
@ 2004-01-16 11:59 ` Jan-Benedict Glaw
2004-01-16 16:12 ` Carlos O'Donell
0 siblings, 1 reply; 6+ messages in thread
From: Jan-Benedict Glaw @ 2004-01-16 11:59 UTC (permalink / raw)
To: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
On Fri, 2004-01-16 12:55:17 +0100, Jan-Benedict Glaw <jbglaw@lug-owl.de>
wrote in message <20040116115517.GM14285@lug-owl.de>:
> On Fri, 2004-01-16 12:04:22 +0100, Ivar Orskaug <Ivar.Olav.Harstad.Orskaug@idi.ntnu.no>
> wrote in message <Pine.GSO.4.58.0401161155280.15789@vier.idi.ntnu.no>:
> Maybe it would be a nice idea to hack bochs to initialize those cards,
> but that's a lot of work, though...
Thinking again about that, it maybe isn't all *that* hard. Bochs already
does know about the concept of shared DRAM and ROM BIOSes etc. Maybe
it's really just enough to hack it's memory class (yup, it's written in
C++) to not back the memory by RAM or on-disk storage, but to redirect
all accesses to physical RAM.
The same is to be done with I/O ports too, of course... For complex card
(SCSI RAID host adaptors), you may need to service interrupts, too:-(
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS
2004-01-16 11:59 ` Jan-Benedict Glaw
@ 2004-01-16 16:12 ` Carlos O'Donell
2004-01-16 16:27 ` Jan-Benedict Glaw
0 siblings, 1 reply; 6+ messages in thread
From: Carlos O'Donell @ 2004-01-16 16:12 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: parisc-linux
On Fri, Jan 16, 2004 at 12:59:40PM +0100, Jan-Benedict Glaw wrote:
> On Fri, 2004-01-16 12:55:17 +0100, Jan-Benedict Glaw <jbglaw@lug-owl.de>
> wrote in message <20040116115517.GM14285@lug-owl.de>:
> > On Fri, 2004-01-16 12:04:22 +0100, Ivar Orskaug <Ivar.Olav.Harstad.Orskaug@idi.ntnu.no>
> > wrote in message <Pine.GSO.4.58.0401161155280.15789@vier.idi.ntnu.no>:
>
> > Maybe it would be a nice idea to hack bochs to initialize those cards,
> > but that's a lot of work, though...
>
> Thinking again about that, it maybe isn't all *that* hard. Bochs already
> does know about the concept of shared DRAM and ROM BIOSes etc. Maybe
> it's really just enough to hack it's memory class (yup, it's written in
> C++) to not back the memory by RAM or on-disk storage, but to redirect
> all accesses to physical RAM.
>
> The same is to be done with I/O ports too, of course... For complex card
> (SCSI RAID host adaptors), you may need to service interrupts, too:-(
How can you use Bochs? It runs a virtualized machine. The purpose of
running card firmware is to effect the *current* machine with some
configuration process.
c.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS
2004-01-16 16:12 ` Carlos O'Donell
@ 2004-01-16 16:27 ` Jan-Benedict Glaw
0 siblings, 0 replies; 6+ messages in thread
From: Jan-Benedict Glaw @ 2004-01-16 16:27 UTC (permalink / raw)
To: parisc-linux
[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]
On Fri, 2004-01-16 11:12:19 -0500, Carlos O'Donell <carlos@baldric.uwo.ca>
wrote in message <20040116161219.GT5550@systemhalted>:
> On Fri, Jan 16, 2004 at 12:59:40PM +0100, Jan-Benedict Glaw wrote:
> > Thinking again about that, it maybe isn't all *that* hard. Bochs already
> > does know about the concept of shared DRAM and ROM BIOSes etc. Maybe
> > it's really just enough to hack it's memory class (yup, it's written in
> > C++) to not back the memory by RAM or on-disk storage, but to redirect
> > all accesses to physical RAM.
> >
> > The same is to be done with I/O ports too, of course... For complex card
> > (SCSI RAID host adaptors), you may need to service interrupts, too:-(
>
> How can you use Bochs? It runs a virtualized machine. The purpose of
> running card firmware is to effect the *current* machine with some
> configuration process.
Boch is vitual. *But* it actually got quite real objects to back all the
physical things (RAM, ROM, etc). If you hack these containers to roll
their changes back into *real* RAM/ROM/whatever, you can affect quite
real hardware.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-01-16 16:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-16 11:04 [parisc-linux] Non-HP PCI cards & x86 BOOT-ROMS Ivar Orskaug
2004-01-16 11:16 ` Michael Wood
2004-01-16 11:55 ` Jan-Benedict Glaw
2004-01-16 11:59 ` Jan-Benedict Glaw
2004-01-16 16:12 ` Carlos O'Donell
2004-01-16 16:27 ` Jan-Benedict Glaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox