AVATT: Difference between revisions

From coreboot
Jump to navigation Jump to search
(New page: This page is about the "[http://code.google.com/soc/2008/coresystems/appinfo.html?csaid=ED0729A9DB64B39B All Virtual All The Time]" GSoC 2008 project. This project aims to create a modifie...)
 
No edit summary
Line 7: Line 7:
  git clone git://repo.or.cz/kvm-coreboot.git buildrom
  git clone git://repo.or.cz/kvm-coreboot.git buildrom


== How to use ==
In order for it to work, you need to have installed the [http://www.coreboot.org/Buildrom#Prerequisites prerequisites] of buildrom.
Currently everything except buildrom itself must be configured manually, but soon I'll include automatic configuration for them.


If you wish to make adjustments (currently you *need* to!!!), you may do it by running one of these commands, at will:
You need a x86 version of Linux, since currently the build fails on x86-64.
 
== How to build ==
Just type
make
 
If you wish to make some adjustments, you may do it by running one of these commands, at will:
  make menuconfig (for buildrom)
  make menuconfig (for buildrom)
  make kernel-config
  make kernel-config
Line 16: Line 21:
  make busybox-config  
  make busybox-config  


The last step consists of running "make" in the buildrom root directory, and then you must follow the [[QEMU Build Tutorial]] to see how you can use [[QEMU]] to run the resulted BIOS image.  
Then you must follow the [[QEMU Build Tutorial]] to see how you can use [[QEMU]] to run the resulted BIOS image.  


== Current status ==
== Current status ==
I'm currently working to satisfy KVM-qemu's dependencies in order to compile and run from whithin the ROM image.
Everything compiles fine on x86 but fails on x86-64.
 
KVM-qemu still doesn't compile, but hopefully it will.
 
=== What has been done ===
I have already included zlib


=== Work in progress ===
KVM-qemu crashes due to Thread Local Store(TLS) issues in uClibc.
I'm working on uClibc to make it support some features needed by KVM-tools, namely aio.


=== TODO ===
=== TODO ===
Achieve the compilation of the KVM-tools.
Fix the TLS issues or migrate to another version of uClibc.
More to follow


== Contact ==
== Contact ==
cristi.magherusan NO@SPAM net.utcluj.ro or alien on IRC
cristi.magherusan NO@SPAM net.utcluj.ro or alien on IRC

Revision as of 15:17, 26 August 2008

This page is about the "All Virtual All The Time" GSoC 2008 project. This project aims to create a modified Linux-As-Bootloader coreboot payload that contains a Linux kernel modified to include KVM support, uClibc, a custom busybox image, and whatever is needed to get KVM-qemu up and running in the ROM image.

Needed tools

In order to build this, you need a modified version of buildrom, that can be cloned from my git repo like this:

git clone git://repo.or.cz/kvm-coreboot.git buildrom

In order for it to work, you need to have installed the prerequisites of buildrom.

You need a x86 version of Linux, since currently the build fails on x86-64.

How to build

Just type

make

If you wish to make some adjustments, you may do it by running one of these commands, at will:

make menuconfig (for buildrom)
make kernel-config
make uclibc-config
make busybox-config 

Then you must follow the QEMU Build Tutorial to see how you can use QEMU to run the resulted BIOS image.

Current status

Everything compiles fine on x86 but fails on x86-64.

KVM-qemu crashes due to Thread Local Store(TLS) issues in uClibc.

TODO

Fix the TLS issues or migrate to another version of uClibc.

Contact

cristi.magherusan NO@SPAM net.utcluj.ro or alien on IRC