[SeaBIOS] Next version

Ian Campbell ijc at hellion.org.uk
Thu Sep 29 15:00:11 CEST 2011


On Fri, 2011-09-23 at 00:28 -0400, Kevin O'Connor wrote:
> Hi,
> 
> I'd like to make the next release of SeaBIOS.  I plan to make the
> version number be v1.6.3 (instead of v0.6.3).
> 
> There are a few ACPI patches pending.  However, I think it would be
> best to tag the current code, and then add the ACPI code on top of it.
> 
> If anyone knows of any bugs, patches, or issues that need to be
> addressed prior to making a release, please let me know.

I've just tried to build and got:

  Linking out/rom.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.finish_preempt.1580' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.pmm_malloc.1805' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.pmm_malloc.1805' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.init.src/pmm.c.561' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.init.src/pmm.c.561' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.init.src/pmm.c.561' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.ehci_note_port.41146' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.ehci_note_port.41146' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.__callrom.68478' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
`.discard.var16.src/stacks.c.188' referenced in section `.text.maininit.53837' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o

Which I bisected to:

commit 533b6286cbc5a01e8aaafc2a8393a7d109f81958
Author: Kevin O'Connor <kevin at koconnor.net>
Date:   Sat Jul 16 13:13:12 2011 -0400

    Run option rom visible PMM code in 32bit mode instead of 16bit mode.
    
    Use call32() to jump into handle_pmm().  This reduces the amount of
    16bit code needed.
    
    Signed-off-by: Kevin O'Connor <kevin at koconnor.net>

I tried sprinkling some VISIBLE* stuff around the place but it quickly
became pretty clear I didn't know what I was doing ;-)

Turning off CONFIG_PMM "fixed" it, original (failing) .config is
attached.

Thanks,
Ian.

-- 
Ian Campbell
Current Noise: Crowbar - Lifesblood

You are a very redundant person, that's what kind of person you are.
-------------- next part --------------
#
# Automatically generated make config: don't edit
# SeaBIOS Configuration
# Thu Sep 29 13:59:33 2011
#

#
# General Features
#
# CONFIG_COREBOOT is not set
CONFIG_XEN=y
CONFIG_THREADS=y
CONFIG_THREAD_OPTIONROMS=y
CONFIG_RELOCATE_INIT=y
CONFIG_BOOTMENU=y
# CONFIG_BOOTSPLASH is not set
CONFIG_BOOTORDER=y

#
# Hardware support
#
CONFIG_ATA=y
CONFIG_ATA_DMA=y
CONFIG_ATA_PIO32=y
CONFIG_AHCI=y
CONFIG_VIRTIO_BLK=y
CONFIG_FLOPPY=y
CONFIG_PS2PORT=y
CONFIG_USB=y
CONFIG_USB_UHCI=y
CONFIG_USB_OHCI=y
CONFIG_USB_EHCI=y
CONFIG_USB_MSC=y
CONFIG_USB_HUB=y
CONFIG_USB_KEYBOARD=y
CONFIG_USB_MOUSE=y
CONFIG_SERIAL=y
CONFIG_LPT=y
# CONFIG_USE_SMM is not set
CONFIG_MTRR_INIT=y

#
# BIOS interfaces
#
CONFIG_DRIVES=y
# CONFIG_CDROM_BOOT is not set
CONFIG_PCIBIOS=y
CONFIG_APMBIOS=y
CONFIG_PNPBIOS=y
CONFIG_OPTIONROMS=y
# CONFIG_OPTIONROMS_DEPLOYED is not set
CONFIG_PMM=y
CONFIG_BOOT=y
CONFIG_KEYBOARD=y
CONFIG_KBD_CALL_INT15_4F=y
CONFIG_MOUSE=y
CONFIG_S3_RESUME=y
# CONFIG_DISABLE_A20 is not set

#
# BIOS Tables
#
CONFIG_PIRTABLE=y
CONFIG_MPTABLE=y
CONFIG_SMBIOS=y
CONFIG_ACPI=y

#
# Debugging
#
CONFIG_DEBUG_LEVEL=3
CONFIG_DEBUG_SERIAL=y
CONFIG_DEBUG_SERIAL_PORT=0x3f8


More information about the SeaBIOS mailing list