Author: uwe Date: 2009-04-27 10:05:50 +0200 (Mon, 27 Apr 2009) New Revision: 91
Modified: trunk/filo/README Log: Quickfix to make the FILO install instructions more correct (trivial). The README probably needs some more work in general.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/filo/README =================================================================== --- trunk/filo/README 2009-03-13 17:26:35 UTC (rev 90) +++ trunk/filo/README 2009-04-27 08:05:50 UTC (rev 91) @@ -39,11 +39,35 @@
INSTALL
- First invocation of make creates the default Config file. - $ make - Edit this file as you like. It's fairly straightforward (I hope). - $ vi Config + First, you need to compile libpayload (included via svn:externals in FILO):
+ $ cd libpayload + $ make defconfig + $ make + $ make DESTDIR=../build install + $ cd .. + + Configure FILO using the Kconfig interface: + + $ make menuconfig + + Then run make again will build filo.elf, the ELF boot image of FILO. + + $ make + + If you are compiling on an AMD64 platform, do + + $ make CC="gcc -m32" LD="ld -b elf32-i386" HOSTCC="gcc" AS="as --32" + + Alternatively, you can build libpayload and FILO in one go using the + build.sh script: + + $ ./build.sh + + Use build/filo.elf as your payload of coreboot, or a boot image for Etherboot. + +NOTES + If you are using the GRUB like frontend:
- make sure you adapt your menu.lst path @@ -53,12 +77,6 @@ serial --unit=0 --speed=115200 terminal serial console - Then running make again will build filo.elf, the ELF boot image of FILO. - $ make - - Use filo.elf as your payload of coreboot, or a boot image for - Etherboot. - USING
When FILO starts, it displays "boot:" prompt or the GRUB menu interface.