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@coresystems.de
Regards, Patrick
Nice !!
-----Original Message----- From: Patrick Georgi [mailto:patrick@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@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. ********************************************************************
Hi,
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 filo.
Tested with :: filo booting as default payload from SeaBIOS, then from filo command prompt::
'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@blueyonder.co.uk # default=0 timeout=5 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@blueyonder.co.uk
-----Original Message----- From: Patrick Georgi [mailto:patrick@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@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. ********************************************************************
Looks good to me.
Acked-by: Jon Harrison bothlyn@blueyonder.co.uk
-----Original Message----- From: Patrick Georgi [mailto:patrick@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@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. ********************************************************************