Two new patch files for LAB/kernel and FILO payload respectively.
Thanks, Ward.
Acked by: Jordan CRouse jordan.crouse@amd.com
On 05/09/07 18:39 -0400, Ward Vandewege wrote:
Two new patch files for LAB/kernel and FILO payload respectively.
Thanks, Ward.
-- Ward Vandewege ward@fsf.org Free Software Foundation - Senior System Administrator
The LinuxBIOS Config.lb file for filo payload.
Signed-off-by: Ward Vandewege ward@gnu.org
Index: packages/linuxbios/patches/m57sli-filo-Config.lb.patch
--- packages/linuxbios/patches/m57sli-filo-Config.lb.patch (revision 0) +++ packages/linuxbios/patches/m57sli-filo-Config.lb.patch (revision 0) @@ -0,0 +1,97 @@ +Index: Config.lb +=================================================================== +--- LinuxBIOSv2/targets/gigabyte/m57sli/Config.lb-orig 2007-08-14 14:49:13.000000000 -0400 ++++ LinuxBIOSv2/targets/gigabyte/m57sli/Config.lb 2007-08-21 17:56:34.000000000 -0400 +@@ -22,83 +22,30 @@
- target m57sli
- mainboard gigabyte/m57sli
+-# serengeti_leopard
- romimage "normal"
+-# 48K for SCSI FW +-# option ROM_SIZE = 475136 +-# 48K for SCSI FW and 48K for ATI ROM +-# option ROM_SIZE = 425984 +-# 64K for Etherboot +-# option ROM_SIZE = 458752 +-# 44k for atixx.rom +-# option ROM_SIZE = 479232 +- option USE_FAILOVER_IMAGE=0 ++ option USE_FAILOVER_IMAGE=0
- option USE_FALLBACK_IMAGE=0
+-# option ROM_IMAGE_SIZE=0x13800 +-# option ROM_IMAGE_SIZE=0x18800
- option ROM_IMAGE_SIZE=0x20000
+-# option ROM_IMAGE_SIZE=0x15800
- option XIP_ROM_SIZE=0x40000
- option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
+-# payload ../../../payloads/tg3--ide_disk.zelf +-# payload ../../../payloads/filo.elf +-# payload ../../../payloads/filo_mem.elf +-# payload ../../../payloads/filo.zelf +-# payload ../../../payloads/tg3--filo_hda2.zelf +-# payload ../../../payloads/tg3.zelf +-# payload ../../../../payloads/tg3_vga.zelf +-# payload ../../../../payloads/tg3--filo_hda2_vga.zelf +-# payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf +-# payload ../../../../payloads/forcedeth--filo_hda2_vga.zelf +- payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf +-# payload ../../../payloads/tg3_com2.zelf +-# payload ../../../payloads/e1000--filo.zelf +-# payload ../../../payloads/tg3--e1000--filo.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_5.3.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf ++ payload ../payload.elf
- end
- romimage "fallback"
+- option USE_FAILOVER_IMAGE=0 ++ option USE_FAILOVER_IMAGE=0
- option USE_FALLBACK_IMAGE=1
+-# option ROM_IMAGE_SIZE=0x13800 +-# option ROM_IMAGE_SIZE=0x19800
- option ROM_IMAGE_SIZE=0x20000
+-# option ROM_IMAGE_SIZE=0x15800
- option XIP_ROM_SIZE=0x40000
- option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
+-# payload ../../../payloads/tg3--ide_disk.zelf +-# payload ../../../payloads/filo.elf +-# payload ../../../payloads/filo_mem.elf +-# payload ../../../payloads/filo.zelf +-# payload ../../../payloads/tg3--filo_hda2.zelf +-# payload ../../../payloads/tg3.zelf +-# payload ../../../../payloads/tg3_vga.zelf +-# payload ../../../../payloads/memtest +-# payload ../../../../payloads/e1000_vga.zelf +-# payload ../../../../payloads/tg3--filo_hda2_vga.zelf +-# payload ../../../../payloads/filo_hda.zelf +-# payload ../../../../payloads/adlo.elf +-# payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf +-# payload ../../../../payloads/forcedeth_mcp55_filo_hda2.zelf +- payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf +-# payload ../../../../payloads/forcedeth--filo_hda2_vga.zelf +-# payload ../../../payloads/tg3_com2.zelf +-# payload ../../../payloads/e1000--filo.zelf +-# payload ../../../payloads/tg3--e1000--filo.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_5.3.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf ++ payload ../payload.elf
- end
- romimage "failover"
+- option USE_FAILOVER_IMAGE=1 +- option USE_FALLBACK_IMAGE=0 +- option ROM_IMAGE_SIZE=FAILOVER_SIZE +- option XIP_ROM_SIZE=FAILOVER_SIZE +- option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover" ++ option USE_FAILOVER_IMAGE=1 ++ option USE_FALLBACK_IMAGE=0 ++ option ROM_IMAGE_SIZE=FAILOVER_SIZE ++ option XIP_ROM_SIZE=FAILOVER_SIZE ++ option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
- end
+-#buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
- buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" "failover"
The LinuxBIOS Config.lb file for LAB/kernel payload.
Signed-off-by: Ward Vandewege ward@gnu.org
Index: packages/linuxbios/patches/m57sli-kernel-and-lab-Config.lb.patch
--- packages/linuxbios/patches/m57sli-kernel-and-lab-Config.lb.patch (revision 0) +++ packages/linuxbios/patches/m57sli-kernel-and-lab-Config.lb.patch (revision 0) @@ -0,0 +1,101 @@ +--- LinuxBIOSv2/targets/gigabyte/m57sli/Config.lb-orig 2007-08-14 14:49:13.000000000 -0400 ++++ LinuxBIOSv2/targets/gigabyte/m57sli/Config.lb 2007-08-21 17:56:34.000000000 -0400 +@@ -19,86 +19,32 @@
- ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- ##
++# Sample config file for ++
- target m57sli
- mainboard gigabyte/m57sli
+-# serengeti_leopard +-romimage "normal" +-# 48K for SCSI FW +-# option ROM_SIZE = 475136 +-# 48K for SCSI FW and 48K for ATI ROM +-# option ROM_SIZE = 425984 +-# 64K for Etherboot +-# option ROM_SIZE = 458752 +-# 44k for atixx.rom +-# option ROM_SIZE = 479232 +- option USE_FAILOVER_IMAGE=0 +- option USE_FALLBACK_IMAGE=0 +-# option ROM_IMAGE_SIZE=0x13800 +-# option ROM_IMAGE_SIZE=0x18800 +- option ROM_IMAGE_SIZE=0x20000 +-# option ROM_IMAGE_SIZE=0x15800 +- option XIP_ROM_SIZE=0x40000 +- option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal" +-# payload ../../../payloads/tg3--ide_disk.zelf +-# payload ../../../payloads/filo.elf +-# payload ../../../payloads/filo_mem.elf +-# payload ../../../payloads/filo.zelf +-# payload ../../../payloads/tg3--filo_hda2.zelf +-# payload ../../../payloads/tg3.zelf +-# payload ../../../../payloads/tg3_vga.zelf +-# payload ../../../../payloads/tg3--filo_hda2_vga.zelf +-# payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf +-# payload ../../../../payloads/forcedeth--filo_hda2_vga.zelf +- payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf +-# payload ../../../payloads/tg3_com2.zelf +-# payload ../../../payloads/e1000--filo.zelf +-# payload ../../../payloads/tg3--e1000--filo.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_5.3.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf +-end ++option ROM_SIZE=0x100000 ++option FALLBACK_SIZE=(ROM_SIZE-0x1000)
- romimage "fallback"
+- option USE_FAILOVER_IMAGE=0 ++ option USE_FAILOVER_IMAGE=0
- option USE_FALLBACK_IMAGE=1
+-# option ROM_IMAGE_SIZE=0x13800 +-# option ROM_IMAGE_SIZE=0x19800 +- option ROM_IMAGE_SIZE=0x20000 +-# option ROM_IMAGE_SIZE=0x15800 ++ option CONFIG_COMPRESSED_PAYLOAD_LZMA=1 ++ option CONFIG_PRECOMPRESSED_PAYLOAD=1 ++ option ROM_IMAGE_SIZE=0x17000
- option XIP_ROM_SIZE=0x40000
- option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
+-# payload ../../../payloads/tg3--ide_disk.zelf +-# payload ../../../payloads/filo.elf +-# payload ../../../payloads/filo_mem.elf +-# payload ../../../payloads/filo.zelf +-# payload ../../../payloads/tg3--filo_hda2.zelf +-# payload ../../../payloads/tg3.zelf +-# payload ../../../../payloads/tg3_vga.zelf +-# payload ../../../../payloads/memtest +-# payload ../../../../payloads/e1000_vga.zelf +-# payload ../../../../payloads/tg3--filo_hda2_vga.zelf +-# payload ../../../../payloads/filo_hda.zelf +-# payload ../../../../payloads/adlo.elf +-# payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf +-# payload ../../../../payloads/forcedeth_mcp55_filo_hda2.zelf +- payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf +-# payload ../../../../payloads/forcedeth--filo_hda2_vga.zelf +-# payload ../../../payloads/tg3_com2.zelf +-# payload ../../../payloads/e1000--filo.zelf +-# payload ../../../payloads/tg3--e1000--filo.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_5.3.zelf +-# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf ++ payload ../payload.elf
- end
- romimage "failover"
+- option USE_FAILOVER_IMAGE=1 ++ option USE_FAILOVER_IMAGE=1
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=FAILOVER_SIZE
option XIP_ROM_SIZE=FAILOVER_SIZE
option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover"
- end
+-#buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" +-buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" "failover" ++ ++buildrom ./linuxbios.rom ROM_SIZE "fallback" "failover"
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios
On Wed, Sep 05, 2007 at 08:46:25PM -0600, Jordan Crouse wrote:
Acked by: Jordan CRouse jordan.crouse@amd.com
On 05/09/07 18:39 -0400, Ward Vandewege wrote:
Two new patch files for LAB/kernel and FILO payload respectively.
r25 and r26.
Thanks, Ward.
Ward, can we get kernel and all in 1 MB at this point?
thanks
ron
On Wed, Sep 12, 2007 at 12:12:29PM -0700, ron minnich wrote:
Ward, can we get kernel and all in 1 MB at this point?
Yes - busybox + 2.6.22.2 with tiny patches and most non-essential stuff disabled. No kexec binary or boot menu.
There currently is almost 84K to spare.
Thanks, Ward.
On 9/12/07, Ward Vandewege ward@gnu.org wrote:
On Wed, Sep 12, 2007 at 12:12:29PM -0700, ron minnich wrote:
Ward, can we get kernel and all in 1 MB at this point?
Yes - busybox + 2.6.22.2 with tiny patches and most non-essential stuff disabled. No kexec binary or boot menu.
well! Good news. can you send me your .config?
ron
On Wed, Sep 12, 2007 at 12:31:28PM -0700, ron minnich wrote:
On 9/12/07, Ward Vandewege ward@gnu.org wrote:
On Wed, Sep 12, 2007 at 12:12:29PM -0700, ron minnich wrote:
Ward, can we get kernel and all in 1 MB at this point?
Yes - busybox + 2.6.22.2 with tiny patches and most non-essential stuff disabled. No kexec binary or boot menu.
well! Good news. can you send me your .config?
I just checked it in; you can find it here in the buildrom svn tree:
packages/kernel/conf/defconfig-m57sli
This is fairly specific to the m57sli-s4; make sure to change your sata/disk and nic driver if necessary, at the very least. Also printk is disabled which saves a lot of space, but makes debugging rather annoying. If you disable module support you can enable printk and still have 25K to spare.
Thanks, Ward.