[coreboot] [PATCH] Add CBFS support to FILO

Harrison, Jon (SELEX GALILEO, UK) jon.harrison at selexgalileo.com
Thu Aug 27 19:46:21 CEST 2009


Attached is an update to Patrick's filo patch, with a small patch to
libpayload too.

In addition to basic CBFS file system support, which should allow
configfile and linux boot from CBFS, I have also added initial SELF boot
support that allows simple libpayload based payloads to be launched from

Tested with ::
filo booting as default payload from SeaBIOS, then from filo command

'configfile mem:filo/menu.lst' and also filo built with
mem:filo/menu.lst as default, after adding with::

'cbfstool coreboot.rom add filo/menu.lst menu.lst 84'

mem:filo/menu.lst contained::

# epia-n menu.lst for FILO
# Created 13/07/09 Jon Harrison <bothlyn at blueyonder.co.uk>
title Fedora (2.6.25-JH)
	root hda1:
	kernel /vmlinuz-2.6.25 ro root=/dev/sda5 acpi=force
console=ttyS0,115200n8 debug
	initrd /initrd-2.6.25.img
title FILO (CBFS Payload)
	payload img/filo

I was able to boot img/filo image from filo, it sucessfully restarted
and reconfigured everything and went on to boot a full linux distro from
the version of filo booted from filo !!

The attached terminal output shows coreboot starting SeaBIOS with
autoboots filo, you can then see filo booting filo and the linux distro
starting normally with ACPI etc still intact.

I know a lot of you guys think that this is all a bit of a waste of time
/ broken way of doing things, but for me it does now mean that I have
the full equivalent functionality of SeaBIOS with USB keyboard support
all for only the cost of a compressed filo image.

Signed-Off-By: Jon Harrison <bothlyn at blueyonder.co.uk>

> -----Original Message-----
> From: Patrick Georgi [mailto:patrick at georgi-clan.de] 
> Sent: 20 August 2009 15:33
> To: coreboot; Harrison, Jon (SELEX GALILEO, UK)
> Subject: [PATCH] Add CBFS support to FILO
>                     *** WARNING ***
>  This message has originated outside your organisation,
>   either from an external partner or the Global Internet. 
>       Keep this in mind if you answer this message.
> Hi,
> attached patch adds CBFS to FILO. Use mem:/path/to/file for access.
> Tested with
> configfile mem:/menu.lst
> after I added with
> cbfstool coreboot.rom add menu.lst menu.lst 84
> The filetype ID (84 in this case) can be freely chosen as 
> long as it's not 0
> Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
> Regards,
> Patrick
SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales.  Company no. 02426132
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090827-filo-cbfs-and-payload.patch
Type: application/octet-stream
Size: 57404 bytes
Desc: 20090827-filo-cbfs-and-payload.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090827/ec4f73b6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090827-libpayload-cbfsboot.patch
Type: application/octet-stream
Size: 4733 bytes
Desc: 20090827-libpayload-cbfsboot.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090827/ec4f73b6/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: teraterm_log.txt
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090827/ec4f73b6/attachment.txt>

More information about the coreboot mailing list