<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">as a simple experiment, the bios fails after I inserting 1000 lines of code, even if these code are not used at all. So the size seems to be very important.<BR><BR>--- On <B>Tue, 6/22/10, Huihong Luo <I><huisinro@yahoo.com></I></B> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Huihong Luo <huisinro@yahoo.com><BR>Subject: Re: [vbox-dev] What prevents from using a different BIOS ?<BR>To: vbox-dev@virtualbox.org, "Alexey Eremenko" <al4321@gmail.com><BR>Date: Tuesday, June 22, 2010, 3:40 PM<BR><BR>
<DIV id=yiv179898776>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>thanks for the pointer.</DIV>
<DIV> </DIV>
<DIV>We also have some usb code from our boot loader can be used.</DIV>
<DIV> </DIV>
<DIV>The problem with current vbox bios code, all code is in the single huge file (rombios.c). In order to support usb, we need some modulized clock and pci code. Clock timers are needed for scheduling usb frames.<BR><BR>--- On <B>Tue, 6/22/10, Alexey Eremenko <I><al4321@gmail.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Alexey Eremenko <al4321@gmail.com><BR>Subject: Re: [vbox-dev] What prevents from using a different BIOS ?<BR>To: vbox-dev@virtualbox.org<BR>Date: Tuesday, June 22, 2010, 3:30 PM<BR><BR>
<DIV class=plainMail>On Wed, Jun 23, 2010 at 12:17 AM, Huihong Luo <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=huisinro@yahoo.com" target=_blank rel=nofollow>huisinro@yahoo.com</A>> wrote:<BR>><BR>> I am trying to extend the vbox BIOS module to support USB devices, and flash drive boot.<BR>><BR>> The current BIOS is 64k in size, what is the consequency if we increase the size to 128K? the usb code is rather large, 64k won't hold it.<BR>><BR>> Or, perhaps a better way, is to replace the whole bios code. Is there anything specific to vbox that makes this not to work? if not, is it going to be really difficult to port another BIOS to use with vbox?<BR>><BR>> The current bios code is monolithic, not easy to extend.<BR>><BR><BR>Before you write any such thing, please take a look at SeaBIOS here:<BR><A href="http://www.coreboot.org/SeaBIOS" target=_blank rel=nofollow>http://www.coreboot.org/SeaBIOS</A><BR><BR>It
 seems this BIOS supports USB disk boot, and it was ported to run on Qemu.<BR>NOTE: I have not tried it, so I don't know about any potential problems.<BR><BR>The big problem of changing BIOS, is that we must ensure *everything*<BR>works with all guest OSes, which is not easy.<BR><BR>--<BR>-Alexey Eromenko "Technologov"<BR><BR>_______________________________________________<BR>vbox-dev mailing list<BR><A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" target=_blank rel=nofollow>vbox-dev@virtualbox.org</A><BR><A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank rel=nofollow>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>vbox-dev mailing list<BR><A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR><A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR></DIV></BLOCKQUOTE></td></tr></table>