[openfirmware] r957 - cpu/x86/pc/biosload

svn at openfirmware.info svn at openfirmware.info
Tue Sep 30 23:28:10 CEST 2008


Author: wmb
Date: 2008-09-30 23:28:10 +0200 (Tue, 30 Sep 2008)
New Revision: 957

Modified:
   cpu/x86/pc/biosload/config.fth
Log:
Biosload build - configure for VirtualBox.





Modified: cpu/x86/pc/biosload/config.fth
===================================================================
--- cpu/x86/pc/biosload/config.fth	2008-09-30 21:27:00 UTC (rev 956)
+++ cpu/x86/pc/biosload/config.fth	2008-09-30 21:28:10 UTC (rev 957)
@@ -3,13 +3,13 @@
 
 \ create pc		\ Demo version for generic PC
 \ create pc-linux	\ Demo version for generic PC and Linux
-create pc-serial	\ Demo version for generic PC
+\ create pc-serial	\ Demo version for generic PC
 
 \ --- The environment that "boots" OFW ---
 \ - Image Format - Example Media - previous stage bootloader
 
 \ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux
-create syslinux-loaded
+\ create syslinux-loaded
 
 \ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload
 \ create bzimage-loaded
@@ -24,6 +24,9 @@
 \ Load and run in qemu
 \ create qemu-loaded 
 
+\ Load and run in VirtualBox
+create virtualbox-loaded 
+
 \ Load from ROM by preOF code from Intel
 \ create preof-loaded 
 
@@ -32,10 +35,28 @@
 create pc
 [then]
 
-[ifdef] qemu-loaded  \ LinuxBIOS+OFW under QEMU currently doesn't do VGA right
+[ifdef] qemu-loaded  \ LinuxBIOS+OFW under QEMU currently does not do VGA right
 create serial-console
 [then]
 
+[ifdef] virtualbox-loaded
+\ create debug-startup
+\ create serial-console
+create resident-packages
+create addresses-assigned  \ Don't reassign PCI addresses
+\ create virtual-mode
+\ create use-root-isa
+create use-timestamp-counter
+create use-pci-isa
+create use-isa-ide
+create use-ega
+create use-elf
+\ create use-ne2000
+create use-watch-all
+create use-null-nvram
+\ create no-floppy-node
+[then]
+
 [ifdef] etherboot-variant
 create debug-startup
 create serial-console
@@ -51,7 +72,7 @@
 \ and physical addresses.
 
 \ Here we use virtual mode for Linux, so that we can debug past
-\ the point where Linux starts using the MMU.  It isn't strictly
+\ the point where Linux starts using the MMU.  It is not strictly
 \ necessary to use virtual mode if you just want to boot Linux
 \ and then have OFW disappear.
 create virtual-mode
@@ -89,6 +110,7 @@
 [then]
 
 fload ${BP}/cpu/x86/pc/biosload/addrs.fth
+
 \ LICENSE_BEGIN
 \ Copyright (c) 2006 FirmWorks
 \ 




More information about the openfirmware mailing list