[coreboot] [PATCH] buildrom: Add OpenFirmware support

Myles Watson mylesgw at gmail.com
Thu Apr 24 15:58:41 CEST 2008


> Index: packages/coreboot-v2/patches/buildrom_qemu_size.patch
> ===================================================================
> --- packages/coreboot-v2/patches/buildrom_qemu_size.patch	(Revision 0)
> +++ packages/coreboot-v2/patches/buildrom_qemu_size.patch	(Revision 0)
> @@ -0,0 +1,14 @@
> +Index: targets/emulation/qemu-x86/Config.lb
> +===================================================================
> +--- a/argets/emulation/qemu-x86/Config.lb	(Revision 3244)
> ++++ a/targets/emulation/qemu-x86/Config.lb	(Arbeitskopie)
> +@@ -3,7 +3,8 @@
> + target qemu-x86
> + mainboard emulation/qemu-x86
> + 
> +-option ROM_SIZE=256*1024
> ++# option ROM_SIZE=256*1024
> ++option ROM_SIZE=512*1024
> + 

I prefer using a different Config file to patching the Config file.  I think
it makes it a cleaner design.  It also makes it so that the ROM size doesn't
increase unless you use a larger payload.  I know that's less important for
QEMU, but...

See the Tyan boards for examples.  They have Config.lb and Config-lab.lb for
larger payloads.

Myles






More information about the coreboot mailing list