Difference between revisions of "Memtest86+"

From coreboot
Jump to: navigation, search
(Created page with "== Building == === Memtest86+ === $ '''mkdir foo''' $ '''cd foo''' $ '''wget http://www.memtest.org/download/4.20/memtest86+-4.20.tar.gz''' $ '''tar xfvz memtest86+-4.20.t...")
 
 
Line 1: Line 1:
 
== Building  ==
 
== Building  ==
 
=== Memtest86+ ===
 
 
$ '''mkdir foo'''
 
$ '''cd foo'''
 
$ '''wget http://www.memtest.org/download/4.20/memtest86+-4.20.tar.gz'''
 
$ '''tar xfvz memtest86+-4.20.tar.gz'''
 
$ '''cd memtest86+-4.20'''
 
(Optional: edit '''config.h''' and set '''#define SERIAL_CONSOLE_DEFAULT 1''' for serial support)
 
$ '''make'''
 
 
The file '''memtest''' is your final payload which you can use with coreboot, either on real hardware or in a [[QEMU]] image.
 
  
 
=== coreboot ===
 
=== coreboot ===

Latest revision as of 08:09, 13 May 2011

Building

coreboot

Finally, you have to build coreboot with Memtest86+ as payload:

$ cd ..
$ svn co svn://coreboot.org/coreboot/trunk coreboot
$ cp memtest86+-4.20/memtest coreboot/payload.elf
$ cd coreboot
$ make menuconfig

Now enter the Payload menu and select Payload type and then An ELF executable payload file. Then, exit the menu, save your settings, and build coreboot:

$ make

The file build/coreboot.rom is your final coreboot image, which also contains the payload.