https://openfirmware.info/api.php?action=feedcontributions&user=Jns&feedformat=atomOpenBIOS - User contributions [en]2024-03-19T07:54:41ZUser contributionsMediaWiki 1.40.0https://openfirmware.info/index.php?title=Open_Firmware&diff=375Open Firmware2007-09-03T15:40:00Z<p>Jns: New patch for config.fth with "create pc-linux" enabled</p>
<hr />
<div>== Introduction ==<br />
<br />
In 2006 the company of Open Firmware inventor Mitch Bradley, [http://firmworks.com/ Firmworks, Inc], released their Open Firmware implementation under a BSD license. This code shares some code with SUN's OpenBOOT implementation. It supports the x86 architecture and runs, amongst others, as a LinuxBIOS payload. It is the firmware implementation on the OLPC.<br />
<br />
== Download ==<br />
<br />
The code can be browsed online with the [http://openbios.org/viewvc/?root=OpenFirmware ViewVC facility]. <br />
<br />
The repository is available through Subversion:<br />
<br />
You can check it out as follows:<br />
$ svn co svn://openbios.org/openfirmware/<br />
<br />
if you want a specific revision: <br />
$ svn co svn://openbios.org/openfirmware -r 35<br />
<br />
If your company installed a firewall that blocks the svn port (3690) you can also check out using the webdav frontend:<br />
<br />
$ svn co <nowiki>https://www.openbios.org/openfirmware-svn/ openfirmware</nowiki><br />
<br />
<br />
== LinuxBIOS ==<br />
<br />
You should change openfirmware/cpu/x86/pc/biosload/config.fth:<br />
<br />
Index: config.fth<br />
===================================================================<br />
--- config.fth (revision 599)<br />
+++ config.fth (working copy)<br />
@@ -2,14 +2,14 @@<br />
purpose: Establish configuration definitions<br />
<br />
create pc \ Demo version for generic PC<br />
-\ create pc-linux \ Demo version for generic PC and Linux<br />
+create pc-linux \ Demo version for generic PC and Linux<br />
\ create pc-serial \ Demo version for generic PC<br />
<br />
\ --- The environment that "boots" OFW ---<br />
\ - Image Format - Example Media - previous stage bootloader<br />
<br />
\ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux<br />
-create syslinux-loaded<br />
+\ create syslinux-loaded<br />
<br />
\ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload<br />
\ create bzimage-loaded<br />
@@ -19,10 +19,10 @@<br />
\ create etherboot-variant \ Enable additional tweaks for Etherboot<br />
<br />
\ - ELF format (no pheader) - ROM - LinuxBIOS direct<br />
-\ create linuxbios-loaded<br />
+create linuxbios-loaded<br />
<br />
\ Load and run in qemu<br />
-\ create qemu-loaded <br />
+create qemu-loaded <br />
<br />
[ifdef] pc-serial<br />
create serial-console<br />
@@ -47,7 +47,7 @@<br />
\ the point where Linux starts using the MMU. It isn't strictly<br />
\ necessary to use virtual mode if you just want to boot Linux<br />
\ and then have OFW disappear.<br />
-create virtual-mode<br />
+\ create virtual-mode<br />
create pc<br />
create linux-support<br />
[then]<br />
<br />
<br />
== Building ==<br />
<br />
Software Requirements: <br />
qemu-0.9.0 + ROMSIZE-patch<br />
Open Firmware rev. >= 500<br />
LinuxBIOS >= v2<br />
<br />
=== Patch and build qemu ===<br />
Get the patch from http://www.freimann.org/qemu_biossize.patch and apply it against qemu-0.9.0.<br />
<br />
tar xvfz qemu-0.9.0.tar.gz<br />
cd qemu-0.9.0<br />
wget http://www.freimann.org/qemu_biossize.patch<br />
patch -p1 < qemu_biossize.patch<br />
<br />
Make sure that you have gcc-3.x installed, then<br />
<br />
./config && make && make install<br />
<br />
<br />
=== Build Open Firmware ===<br />
Get Open Firmware from Subversion<br />
svn co svn://openbios.org/openfirmware<br />
<br />
Change to the build directory of the biosload build.<br />
cd cpu/x86/pc/biosload/<br />
<br />
To change the config file of Open Firmware you can either use the above patch, or you can edit config.fth with your favorite editor (vi!!1!). Uncomment the lines<br />
create linuxbios-loaded<br />
create qemu-loaded<br />
<br />
Comment out the line with<br />
create syslinux-loaded<br />
<br />
Now change to the build directory and type "make"<br />
cd build<br />
make<br />
<br />
After make is finished there should be a file "ofwlb.elf" in the same directory. Copy this to your LinuxBIOSv[x] directory.<br />
<br />
=== Build LinuxBIOS ===<br />
Follow the instructions in the LinuxBIOS documentation. Make sure that you use the ofwlb.elf file as your payload.<br />
It is also very imortant that the ROMSIZE for LinuxBIOS and qemu correspond with each other.<br />
<br />
<br />
=== Run it ===<br />
qemu -L LinuxBIOSv3/build -hda path/to/disk.img -serial `tty` -nographic <br />
__NOEDITSECTION__</div>Jnshttps://openfirmware.info/index.php?title=Open_Firmware&diff=374Open Firmware2007-08-17T15:08:02Z<p>Jns: </p>
<hr />
<div>== Introduction ==<br />
<br />
In 2006 the company of Open Firmware inventor Mitch Bradley, [http://firmworks.com/ Firmworks, Inc], released their Open Firmware implementation under a BSD license. This code shares some code with SUN's OpenBOOT implementation. It supports the x86 architecture and runs, amongst others, as a LinuxBIOS payload. It is the firmware implementation on the OLPC.<br />
<br />
== Download ==<br />
<br />
The code can be browsed online with the [http://openbios.org/viewvc/?root=OpenFirmware ViewVC facility]. <br />
<br />
The repository is available through Subversion:<br />
<br />
You can check it out as follows:<br />
$ svn co svn://openbios.org/openfirmware/<br />
<br />
if you want a specific revision: <br />
$ svn co svn://openbios.org/openfirmware -r 35<br />
<br />
If your company installed a firewall that blocks the svn port (3690) you can also check out using the webdav frontend:<br />
<br />
$ svn co <nowiki>https://www.openbios.org/openfirmware-svn/ openfirmware</nowiki><br />
<br />
<br />
== LinuxBIOS ==<br />
<br />
You should change openfirmware/cpu/x86/pc/biosload/config.fth:<br />
<br />
Index: config.fth<br />
===================================================================<br />
--- config.fth (revision 548)<br />
+++ config.fth (working copy)<br />
@@ -9,7 +9,7 @@<br />
\ - Image Format - Example Media - previous stage bootloader<br />
<br />
\ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux<br />
-create syslinux-loaded<br />
+\ create syslinux-loaded<br />
<br />
\ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload <br />
\ create bzimage-loaded<br />
@@ -19,7 +19,7 @@<br />
\ create etherboot-variant \ Enable additional tweaks for Etherboot<br />
<br />
\ - ELF format (no pheader) - ROM - LinuxBIOS direct<br />
-\ create linuxbios-loaded<br />
+create linuxbios-loaded<br />
<br />
\ Load and run in qemu<br />
-\ create qemu-loaded <br />
+create qemu-loaded <br />
<br />
== Building ==<br />
<br />
Software Requirements: <br />
qemu-0.9.0 + ROMSIZE-patch<br />
Open Firmware rev. >= 500<br />
LinuxBIOS >= v2<br />
<br />
=== Patch and build qemu ===<br />
Get the patch from http://www.freimann.org/qemu_biossize.patch and apply it against qemu-0.9.0.<br />
<br />
tar xvfz qemu-0.9.0.tar.gz<br />
cd qemu-0.9.0<br />
wget http://www.freimann.org/qemu_biossize.patch<br />
patch -p1 < qemu_biossize.patch<br />
<br />
Make sure that you have gcc-3.x installed, then<br />
<br />
./config && make && make install<br />
<br />
<br />
=== Build Open Firmware ===<br />
Get Open Firmware from Subversion<br />
svn co svn://openbios.org/openfirmware<br />
<br />
Change to the build directory of the biosload build.<br />
cd cpu/x86/pc/biosload/<br />
<br />
To change the config file of Open Firmware you can either use the above patch, or you can edit config.fth with your favorite editor (vi!!1!). Uncomment the lines<br />
create linuxbios-loaded<br />
create qemu-loaded<br />
<br />
Comment out the line with<br />
create syslinux-loaded<br />
<br />
Now change to the build directory and type "make"<br />
cd build<br />
make<br />
<br />
After make is finished there should be a file "ofwlb.elf" in the same directory. Copy this to your LinuxBIOSv[x] directory.<br />
<br />
=== Build LinuxBIOS ===<br />
Follow the instructions in the LinuxBIOS documentation. Make sure that you use the ofwlb.elf file as your payload.<br />
It is also very imortant that the ROMSIZE for LinuxBIOS and qemu correspond with each other.<br />
<br />
<br />
=== Run it ===<br />
qemu -L LinuxBIOSv3/build -hda path/to/disk.img -serial `tty` -nographic <br />
__NOEDITSECTION__</div>Jnshttps://openfirmware.info/index.php?title=Open_Firmware&diff=373Open Firmware2007-08-17T10:47:51Z<p>Jns: </p>
<hr />
<div>== Introduction ==<br />
<br />
In 2006 the company of Open Firmware inventor Mitch Bradley, [http://firmworks.com/ Firmworks, Inc], released their Open Firmware implementation under a BSD license. This code shares some code with SUN's OpenBOOT implementation. It supports the x86 architecture and runs, amongst others, as a LinuxBIOS payload. It is the firmware implementation on the OLPC.<br />
<br />
== Download ==<br />
<br />
The code can be browsed online with the [http://openbios.org/viewvc/?root=OpenFirmware ViewVC facility]. <br />
<br />
The repository is available through Subversion:<br />
<br />
You can check it out as follows:<br />
$ svn co svn://openbios.org/openfirmware/<br />
<br />
if you want a specific revision: <br />
$ svn co svn://openbios.org/openfirmware -r 35<br />
<br />
If your company installed a firewall that blocks the svn port (3690) you can also check out using the webdav frontend:<br />
<br />
$ svn co <nowiki>https://www.openbios.org/openfirmware-svn/ openfirmware</nowiki><br />
<br />
<br />
== LinuxBIOS ==<br />
<br />
You should change openfirmware/cpu/x86/pc/biosload/config.fth:<br />
<br />
Index: config.fth<br />
===================================================================<br />
--- config.fth (revision 533)<br />
+++ config.fth (working copy)<br />
@@ -9,7 +9,7 @@<br />
\ - Image Format - Example Media - previous stage bootloader<br />
<br />
\ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux<br />
-create syslinux-loaded<br />
+\ create syslinux-loaded<br />
<br />
\ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload <br />
\ create bzimage-loaded<br />
@@ -19,7 +19,7 @@<br />
\ create etherboot-variant \ Enable additional tweaks for Etherboot<br />
<br />
\ - ELF format (no pheader) - ROM - LinuxBIOS direct<br />
-\ create linuxbios-loaded<br />
+create linuxbios-loaded<br />
<br />
\ Load and run in qemu<br />
-\ create qemu-loaded <br />
+create qemu-loaded <br />
<br />
== Building ==<br />
<br />
Software Requirements: <br />
qemu-0.9.0 + ROMSIZE-patch<br />
Open Firmware rev. >= 500<br />
LinuxBIOS >= v2<br />
<br />
=== Patch and build qemu ===<br />
Get the patch from http://www.freimann.org/qemu_biossize.patch and apply it against qemu-0.9.0.<br />
<br />
tar xvfz qemu-0.9.0.tar.gz<br />
cd qemu-0.9.0<br />
wget http://www.freimann.org/qemu_biossize.patch<br />
patch -p1 < qemu_biossize.patch<br />
<br />
Make sure that you have gcc-3.x installed, then<br />
<br />
./config && make && make install<br />
<br />
<br />
=== Build Open Firmware ===<br />
Get Open Firmware from Subversion<br />
svn co svn://openbios.org/openfirmware<br />
<br />
Change to the build directory of the biosload build.<br />
cd cpu/x86/pc/biosload/<br />
<br />
To change the config file of Open Firmware you can either use the above patch, or you can edit config.fth with your favorite editor (vi!!1!). Uncomment the lines<br />
create linuxbios-loaded<br />
create qemu-loaded<br />
<br />
Comment out the line with<br />
create syslinux-loaded<br />
<br />
Now change to the build directory and type "make"<br />
cd build<br />
make<br />
<br />
After make is finished there should be a file "ofwlb.elf" in the same directory. Copy this to your LinuxBIOSv[x] directory.<br />
<br />
=== Build LinuxBIOS ===<br />
Follow the instructions in the LinuxBIOS documentation. Make sure that you use the ofwlb.elf file as your payload.<br />
It is also very imortant that the ROMSIZE for LinuxBIOS and qemu correspond with each other.<br />
<br />
<br />
=== Run it ===<br />
qemu -L LinuxBIOSv3/build -hda path/to/disk.img -serial `tty` -nographic <br />
__NOEDITSECTION__</div>Jnshttps://openfirmware.info/index.php?title=Open_Firmware&diff=372Open Firmware2007-08-14T19:56:43Z<p>Jns: </p>
<hr />
<div>== Introduction ==<br />
<br />
In 2006 the company of Open Firmware inventor Mitch Bradley, [http://firmworks.com/ Firmworks, Inc], released their Open Firmware implementation under a BSD license. This code shares some code with SUN's OpenBOOT implementation. It supports the x86 architecture and runs, amongst others, as a LinuxBIOS payload. It is the firmware implementation on the OLPC.<br />
<br />
== Download ==<br />
<br />
The code can be browsed online with the [http://openbios.org/viewvc/?root=OpenFirmware ViewVC facility]. <br />
<br />
The repository is available through Subversion:<br />
<br />
You can check it out as follows:<br />
$ svn co svn://openbios.org/openfirmware/<br />
<br />
if you want a specific revision: <br />
$ svn co svn://openbios.org/openfirmware -r 35<br />
<br />
If your company installed a firewall that blocks the svn port (3690) you can also check out using the webdav frontend:<br />
<br />
$ svn co <nowiki>https://www.openbios.org/openfirmware-svn/ openfirmware</nowiki><br />
<br />
<br />
== LinuxBIOS ==<br />
<br />
You should change openfirmware/cpu/x86/pc/biosload/config.fth:<br />
<br />
Index: config.fth<br />
===================================================================<br />
--- config.fth (revision 533)<br />
+++ config.fth (working copy)<br />
@@ -9,7 +9,7 @@<br />
\ - Image Format - Example Media - previous stage bootloader<br />
<br />
\ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux<br />
-create syslinux-loaded<br />
+\ create syslinux-loaded<br />
<br />
\ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload <br />
\ create bzimage-loaded<br />
@@ -19,7 +19,7 @@<br />
\ create etherboot-variant \ Enable additional tweaks for Etherboot<br />
<br />
\ - ELF format (no pheader) - ROM - LinuxBIOS direct<br />
-\ create linuxbios-loaded<br />
+create linuxbios-loaded<br />
<br />
\ Load and run in qemu<br />
-\ create qemu-loaded <br />
+create qemu-loaded <br />
<br />
== Building ==<br />
<br />
Software Requirements: <br />
qemu-0.9.0 + ROMSIZE-patch<br />
Open Firmware rev. >= 500<br />
LinuxBIOS >= v2<br />
<br />
=== Patch and build qemu ===<br />
Get the patch from http://www.freimann.org/qemu_biossize.patch and apply it against qemu-0.9.0.<br />
<br />
tar xvfz qemu-0.9.0.tar.gz<br />
cd qemu-0.9.0<br />
wget http://www.freimann.org/qemu_biossize.patch<br />
patch -p1 < qemu_biossize.patch<br />
<br />
Make sure that you have gcc-3.x installed, then<br />
<br />
./config && make && make install<br />
<br />
<br />
=== Build Open Firmware ===<br />
Get Open Firmware from Subversion<br />
svn co svn://openbios.org/openfirmware<br />
<br />
Change to the build directory of the biosload build.<br />
cd cpu/x86/pc/biosload/<br />
<br />
To change the config file of Open Firmware you can either use the above patch, or you can edit config.fth with your favorite editor (vi!!1!). Uncomment the lines<br />
create linuxbios-loaded<br />
create qemu-loaded<br />
<br />
Comment out the line with<br />
create syslinux-loaded<br />
<br />
Now change to the build directory and type "make"<br />
cd build<br />
make<br />
<br />
After make is finished there should be a file "ofwlb.elf" in the same directory. Copy this to your LinuxBIOSv[x] directory.<br />
<br />
=== Build LinuxBIOS ===<br />
Follow the instructions in the LinuxBIOS documentation. Make sure that you use the ofwlb.elf file as your payload.<br />
It is also very imortant that the ROMSIZE for LinuxBIOS and qemu correspond with each other.<br />
<br />
<br />
=== Run it ===<br />
qemu -L LinuxBIOSv3/build -hda path/to/disk.img -serial `tty` -nographic <br />
__NOEDITSECTION__</div>Jnshttps://openfirmware.info/index.php?title=Open_Firmware&diff=371Open Firmware2007-08-14T19:56:07Z<p>Jns: </p>
<hr />
<div>== Introduction ==<br />
<br />
In 2006 the company of Open Firmware inventor Mitch Bradley, [http://firmworks.com/ Firmworks, Inc], released their Open Firmware implementation under a BSD license. This code shares some code with SUN's OpenBOOT implementation. It supports the x86 architecture and runs, amongst others, as a LinuxBIOS payload. It is the firmware implementation on the OLPC.<br />
<br />
== Download ==<br />
<br />
The code can be browsed online with the [http://openbios.org/viewvc/?root=OpenFirmware ViewVC facility]. <br />
<br />
The repository is available through Subversion:<br />
<br />
You can check it out as follows:<br />
$ svn co svn://openbios.org/openfirmware/<br />
<br />
if you want a specific revision: <br />
$ svn co svn://openbios.org/openfirmware -r 35<br />
<br />
If your company installed a firewall that blocks the svn port (3690) you can also check out using the webdav frontend:<br />
<br />
$ svn co <nowiki>https://www.openbios.org/openfirmware-svn/ openfirmware</nowiki><br />
<br />
<br />
== LinuxBIOS ==<br />
<br />
You should change openfirmware/cpu/x86/pc/biosload/config.fth:<br />
<br />
Index: config.fth<br />
===================================================================<br />
--- config.fth (revision 533)<br />
+++ config.fth (working copy)<br />
@@ -9,7 +9,7 @@<br />
\ - Image Format - Example Media - previous stage bootloader<br />
<br />
\ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux<br />
-create syslinux-loaded<br />
+\ create syslinux-loaded<br />
<br />
\ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload <br />
\ create bzimage-loaded<br />
@@ -19,7 +19,7 @@<br />
\ create etherboot-variant \ Enable additional tweaks for Etherboot<br />
<br />
\ - ELF format (no pheader) - ROM - LinuxBIOS direct<br />
-\ create linuxbios-loaded<br />
+create linuxbios-loaded<br />
<br />
\ Load and run in qemu<br />
-\ create qemu-loaded <br />
+create qemu-loaded <br />
<br />
== Building ==<br />
<br />
Software Requirements: <br />
qemu-0.9.0 + ROMSIZE-patch<br />
Open Firmware rev. >= 500<br />
LinuxBIOS >= v2<br />
<br />
=== Patch and build qemu ===<br />
Get the patch from http://www.freimann.org/qemu_biossize.patch and apply it against qemu-0.9.0.<br />
<br />
tar xvfz qemu-0.9.0.tar.gz<br />
cd qemu-0.9.0<br />
wget http://www.freimann.org/qemu_biossize.patch<br />
patch -p1 < qemu_biossize.patch<br />
<br />
Make sure that you have gcc-3.x installed, then<br />
<br />
./config && make && make install<br />
<br />
<br />
=== Build Open Firmware ===<br />
Get Open Firmware from Subversion<br />
svn co svn://openbios.org/openfirmware<br />
<br />
Change to the build directory of the biosload build.<br />
cd cpu/x86/pc/biosload/<br />
<br />
To change the config file of Open Firmware you can either use the above patch, or you can edit config.fth with your favorite editor (vi!!1!). Uncomment the lines<br />
create linuxbios-loaded<br />
create qemu-loaded<br />
<br />
Comment out the line with<br />
create syslinux-loaded<br />
<br />
Now change to the build directory and type "make"<br />
cd build<br />
make<br />
<br />
After make is finished there should be a file "ofwlb.elf" in the same directory. Copy this to your LinuxBIOSv[x] directory.<br />
<br />
=== Build LinuxBIOS ===<br />
Follow the instructions in the LinuxBIOS documentation. Make sure that you use the ofwlb.elf file as your payload.<br />
It is also very imortant that the ROMSIZE for LinuxBIOS and qemu correspond with each other.<br />
<br />
<br />
=== Running it ===<br />
qemu -L LinuxBIOSv3/build -hda path/to/disk.img -serial `tty` -nographic <br />
__NOEDITSECTION__</div>Jnshttps://openfirmware.info/index.php?title=Open_Firmware&diff=370Open Firmware2007-08-14T19:55:19Z<p>Jns: </p>
<hr />
<div>== Introduction ==<br />
<br />
In 2006 the company of Open Firmware inventor Mitch Bradley, [http://firmworks.com/ Firmworks, Inc], released their Open Firmware implementation under a BSD license. This code shares some code with SUN's OpenBOOT implementation. It supports the x86 architecture and runs, amongst others, as a LinuxBIOS payload. It is the firmware implementation on the OLPC.<br />
<br />
== Download ==<br />
<br />
The code can be browsed online with the [http://openbios.org/viewvc/?root=OpenFirmware ViewVC facility]. <br />
<br />
The repository is available through Subversion:<br />
<br />
You can check it out as follows:<br />
$ svn co svn://openbios.org/openfirmware/<br />
<br />
if you want a specific revision: <br />
$ svn co svn://openbios.org/openfirmware -r 35<br />
<br />
If your company installed a firewall that blocks the svn port (3690) you can also check out using the webdav frontend:<br />
<br />
$ svn co <nowiki>https://www.openbios.org/openfirmware-svn/ openfirmware</nowiki><br />
<br />
<br />
== LinuxBIOS ==<br />
<br />
You should change openfirmware/cpu/x86/pc/biosload/config.fth:<br />
<br />
Index: config.fth<br />
===================================================================<br />
--- config.fth (revision 533)<br />
+++ config.fth (working copy)<br />
@@ -9,7 +9,7 @@<br />
\ - Image Format - Example Media - previous stage bootloader<br />
<br />
\ - (Syslinux) COM32 format - USB Key w/ FAT FS - Syslinux<br />
-create syslinux-loaded<br />
+\ create syslinux-loaded<br />
<br />
\ - Linux kernel format - USB Key w/ FAT FS - LinuxBIOS w/ stripped Linux payload <br />
\ create bzimage-loaded<br />
@@ -19,7 +19,7 @@<br />
\ create etherboot-variant \ Enable additional tweaks for Etherboot<br />
<br />
\ - ELF format (no pheader) - ROM - LinuxBIOS direct<br />
-\ create linuxbios-loaded<br />
+create linuxbios-loaded<br />
<br />
\ Load and run in qemu<br />
-\ create qemu-loaded <br />
+create qemu-loaded <br />
<br />
== Building ==<br />
<br />
Software Requirements: <br />
qemu-0.9.0 + ROMSIZE-patch<br />
Open Firmware rev. >= 500<br />
LinuxBIOS >= v2<br />
<br />
=== Patch and build qemu ===<br />
Get the patch from http://www.freimann.org/qemu_biossize.patch and apply it against qemu-0.9.0.<br />
<br />
tar xvfz qemu-0.9.0.tar.gz<br />
cd qemu-0.9.0<br />
wget http://www.freimann.org/qemu_biossize.patch<br />
patch -p1 < qemu_biossize.patch<br />
<br />
Make sure that you have gcc-3.x installed, then<br />
<br />
./config && make && make install<br />
<br />
<br />
=== Build Open Firmware ===<br />
Get Open Firmware from Subversion<br />
svn co svn://openbios.org/openfirmware<br />
<br />
Change to the build directory of the biosload build.<br />
cd cpu/x86/pc/biosload/<br />
<br />
To change the config file of Open Firmware you can either use the above patch, or you can edit config.fth with your favorite editor (vi!!1!). Uncomment the lines<br />
create linuxbios-loaded<br />
create qemu-loaded<br />
<br />
Comment out the line with<br />
create syslinux-loaded<br />
<br />
Now change to the build directory and type "make"<br />
cd build<br />
make<br />
<br />
After make is finished there should be a file "ofwlb.elf" in the same directory. Copy this to your LinuxBIOSv[x] directory.<br />
<br />
=== Building LinuxBIOS ===<br />
Follow the instructions in the LinuxBIOS documentation. Make sure that you use the ofwlb.elf file as your payload.<br />
It is also very imortant that the ROMSIZE for LinuxBIOS and qemu correspond with each other.<br />
<br />
<br />
=== Running it ===<br />
qemu -L LinuxBIOSv3/build -hda path/to/disk.img -serial `tty` -nographic <br />
__NOEDITSECTION__</div>Jns