Hmm... that doesnt actually look like ADLO is what I need. Basically I
have a binary blob that i need to jump into very early to do early
This initial task doesnt look *that* difficult.. I'm thinking I'll just
get the blob to link in at the segment it needs to run at (e000
segment), and write an asm<br>
wrapper for it which drops to big real mode, calls the blob, then pops back into pmode.<br>
In the long run, I think perhaps some kind of generic 16 bit 'callout'
mechanism may be required for early call blobs and whatnot (perhaps
even later.. option roms (gak)).<br>
As far as Google goes, we're currently trying to get LinuxBIOS to
function for us to evaluate the featureset. So far it looks pretty
good, and I'm excited to get it going, and enhance it with what I can...<br>
Thanks for the help, i appreciate the quick response.<br>
<br><br><div><span class="gmail_quote">On 9/23/05, <b class="gmail_sendername">Richard Smith</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Greetings,<br>><br>> Are there any facilities for linking in and executing real mode binaries? I<br>> have a 'blob' that I need to execute fairly early in real mode.<br>><br>> If not its fine, I can start on one...
<br><br>You want to look at ADLO in V1. ADLO is a payload that drops back to<br>real mode an executes the BIOS from the bochs project.<br><br>See the wiki for lots more detail.<br><br>Since ADLO is just a payload it should come forward into V2 pretty easy.
<br><br>There aren't many users. In fact I think I (Bitworks, Inc) has been<br>the only user for a long time. The project that used that is now dead<br>so I haven't messed withit for a while.<br><br>I'll be happy to help you all I can. What kind of hardware are you
<br>using this on?<br><br>One key thing about the current way ADLO works is that you have to<br>enable the shadow areas of your chipset. (Again see the wiki) and this<br>is specific to each motherboard so you have to tweak the ADLO code to
<br>eable this.<br><br>The ADLO in V1 works for the board that Adam orginally got it working<br>on. I have patches that make it work for a Intel 440bx based board.<br>But other than that you have to customize it.<br><br>
There have been some discussions on the list previously of a possible<br>generic method of enableing the shadow areas for a chipset. But the<br>payload boundry makes that somewhat difficult.<br><br>Search the archives for "shadow" and I think you will find those
<br>threads. I don't remember the end result.<br><br>So is google looking at using LinuxBIOS on some of it systems?<br><br>--<br>Richard A. Smith<br></blockquote></div><br>