[coreboot] Can't build cb+grub2
Philipp Stanner
stanner at posteo.de
Wed Apr 19 13:38:51 CEST 2017
hi,
I can build cb+FILO and cb+seaBIOS, but I can't build it with grub (what
would be my favorite payload as I don't need bios calls and don't want
to flash an entire kernel).
I'll attach the build-protocol. Any ideas what the problem is?
Philipp
-------------- next part --------------
CC bootblock/arch/x86/bootblock_romcc.o
FMAP build/util/cbfstool/fmaptool -h build/fmap_config.h build/fmap.fmd build/fmap.fmap
COREBOOT
CC ramstage/superio/common/conf_mode.o
CC romstage/southbridge/intel/common/gpio.o
CC ramstage/southbridge/intel/common/gpio.o
CC ramstage/southbridge/intel/common/pciehp.o
CC ramstage/southbridge/intel/common/spi.o
CC ramstage/southbridge/intel/bd82x6x/azalia.o
CC ramstage/southbridge/intel/bd82x6x/lpc.o
CC ramstage/southbridge/intel/bd82x6x/madt.o
CC ramstage/southbridge/intel/bd82x6x/me.o
CC ramstage/southbridge/intel/bd82x6x/me_8.x.o
CC ramstage/southbridge/intel/bd82x6x/me_status.o
CC ramstage/southbridge/intel/bd82x6x/pch.o
CC ramstage/southbridge/intel/bd82x6x/pci.o
CC ramstage/southbridge/intel/bd82x6x/pcie.o
CC ramstage/southbridge/intel/bd82x6x/reset.o
CC ramstage/southbridge/intel/bd82x6x/sata.o
CC ramstage/southbridge/intel/bd82x6x/smbus.o
CC ramstage/southbridge/intel/bd82x6x/smi.o
CC ramstage/southbridge/intel/bd82x6x/usb_ehci.o
CC ramstage/southbridge/intel/bd82x6x/usb_xhci.o
CC ramstage/southbridge/intel/bd82x6x/watchdog.o
CC ramstage/northbridge/intel/sandybridge/acpi.o
CC ramstage/northbridge/intel/sandybridge/gma.o
CC ramstage/northbridge/intel/sandybridge/gma_sandybridge_lvds.o
CC ramstage/northbridge/intel/sandybridge/gma_ivybridge_lvds.o
CC ramstage/northbridge/intel/sandybridge/northbridge.o
CC ramstage/northbridge/intel/sandybridge/ram_calc.o
CC ramstage/northbridge/intel/common/mrc_cache.o
CC ramstage/mainboard/lenovo/x220/acpi_tables.o
CC ramstage/mainboard/lenovo/x220/hda_verb.o
CC ramstage/mainboard/lenovo/x220/mainboard.o
CC ramstage/lib/b64_decode.o
CC ramstage/lib/boot_device.o
CC ramstage/lib/bootmem.o
CC ramstage/lib/bootmode.o
CC ramstage/lib/cbmem_common.o
CC ramstage/lib/cbmem_console.o
CC ramstage/lib/cbmem_stage_cache.o
CC ramstage/lib/compute_ip_checksum.o
CC ramstage/lib/coreboot_table.o
CC ramstage/lib/delay.o
CC ramstage/lib/edid.o
CC ramstage/lib/fallback_boot.o
CC ramstage/lib/gcc.o
CC ramstage/lib/halt.o
CC ramstage/lib/hardwaremain.o
CC ramstage/lib/hexdump.o
CC ramstage/lib/hexstrtobin.o
CC ramstage/lib/imd.o
CC ramstage/lib/imd_cbmem.o
CC ramstage/lib/lzma.o
CC ramstage/lib/lzmadecode.o
CC ramstage/lib/malloc.o
CC ramstage/lib/memchr.o
CC ramstage/lib/memcmp.o
CC ramstage/lib/memrange.o
CC ramstage/lib/prog_loaders.o
CC ramstage/lib/prog_ops.o
CC ramstage/lib/region_file.o
CC ramstage/lib/rmodule.o
CC ramstage/lib/romstage_handoff.o
CC ramstage/lib/romstage_stack.o
CC ramstage/lib/rtc.o
CC ramstage/lib/selfboot.o
CC ramstage/lib/stack.o
CC ramstage/lib/version.o
CC ramstage/lib/wrdd.o
CC ramstage/ec/lenovo/pmh7/pmh7.o
CC ramstage/ec/lenovo/h8/h8.o
CC ramstage/ec/acpi/ec.o
CC ramstage/drivers/uart/uart8250io.o
CC ramstage/drivers/uart/util.o
CC ramstage/drivers/spi/adesto.o
CC ramstage/drivers/spi/amic.o
CC ramstage/drivers/spi/atmel.o
CC ramstage/drivers/spi/boot_device_rw_nommap.o
CC ramstage/drivers/spi/eon.o
CC ramstage/drivers/spi/gigadevice.o
CC ramstage/drivers/spi/spansion.o
CC ramstage/drivers/spi/macronix.o
CC ramstage/drivers/spi/spi-generic.o
CC ramstage/drivers/spi/spi_flash.o
CC ramstage/drivers/spi/sst.o
CC ramstage/drivers/spi/stmicro.o
CC ramstage/drivers/spi/winbond.o
CC ramstage/drivers/ricoh/rce822/rce822.o
CC ramstage/drivers/pc80/vga/vga.o
CC ramstage/drivers/pc80/vga/vga_font_8x16.o
CC ramstage/drivers/pc80/vga/vga_io.o
CC ramstage/drivers/pc80/vga/vga_palette.o
CC ramstage/drivers/pc80/rtc/mc146818rtc.o
CC ramstage/drivers/pc80/rtc/mc146818rtc_early.o
CC ramstage/drivers/pc80/pc/i8254.o
CC ramstage/drivers/pc80/pc/i8259.o
CC ramstage/drivers/pc80/pc/isa-dma.o
CC ramstage/drivers/pc80/pc/keyboard.o
CC ramstage/drivers/intel/wifi/wifi.o
CC ramstage/drivers/intel/gma/acpi.o
CC ramstage/drivers/intel/gma/edid.o
CC ramstage/drivers/intel/gma/vbt.o
CC ramstage/drivers/i2c/at24rf08c/at24rf08c.o
CC ramstage/drivers/i2c/at24rf08c/lenovo_serials.o
CC ramstage/device/cardbus_device.o
CC ramstage/device/cpu_device.o
CC ramstage/device/device.o
CC ramstage/device/device_util.o
CC ramstage/device/i2c.o
CC ramstage/device/pci_class.o
CC ramstage/device/pci_device.o
CC ramstage/device/pci_early.o
CC ramstage/device/pci_ops.o
CC ramstage/device/pci_rom.o
CC ramstage/device/pciexp_device.o
CC ramstage/device/pcix_device.o
CC ramstage/device/pnp_device.o
CC ramstage/device/root_device.o
CC ramstage/device/smbus_ops.o
CC smm/arch/x86/memcpy.o
CC smm/arch/x86/memmove.o
CC smm/arch/x86/memset.o
CC smm/arch/x86/mmap_boot.o
CC smm/commonlib/cbfs.o
CC smm/console/die.o
CC smm/commonlib/region.o
CC smm/cpu/intel/model_206ax/finalize.o
CC smm/cpu/x86/smm/smm_module_handler.o
CC smm/drivers/pc80/rtc/mc146818rtc.o
CC smm/ec/acpi/ec.o
CC smm/ec/lenovo/h8/smm.o
CC smm/ec/lenovo/pmh7/pmh7.o
CC smm/lib/boot_device.o
CC smm/lib/gcc.o
CC smm/lib/halt.o
CC smm/lib/malloc.o
CC smm/lib/memcmp.o
CC smm/lib/version.o
CC smm/mainboard/lenovo/x220/smihandler.o
CC smm/northbridge/intel/sandybridge/finalize.o
CC smm/northbridge/intel/sandybridge/udelay.o
CC smm/southbridge/intel/bd82x6x/finalize.o
CC smm/southbridge/intel/bd82x6x/me.o
CC smm/southbridge/intel/bd82x6x/me_8.x.o
CC smm/southbridge/intel/bd82x6x/pch.o
CC smm/southbridge/intel/bd82x6x/smihandler.o
CC smm/southbridge/intel/common/gpio.o
CP rmodules_x86_32/lib/rmodule.ld
CC smmstub/cpu/x86/smm/smm_stub.o
CC ramstage/cpu/x86/smm/smm_module_loader.o
CC ramstage/cpu/x86/name/name.o
CC ramstage/cpu/x86/mtrr/mtrr.o
CC ramstage/cpu/x86/lapic/apic_timer.o
CC ramstage/cpu/x86/lapic/boot_cpu.o
CC ramstage/cpu/x86/lapic/lapic.o
CC ramstage/cpu/x86/lapic/lapic_cpu_init.o
CC ramstage/cpu/x86/lapic/secondary.o
CC ramstage/cpu/x86/cache/cache.o
CC ramstage/cpu/x86/backup_default_smm.o
CC ramstage/cpu/intel/turbo/turbo.o
CC ramstage/cpu/intel/smm/gen1/smmrelocate.o
CC ramstage/cpu/intel/model_206ax/acpi.o
CC ramstage/cpu/intel/model_206ax/model_206ax_init.o
CC ramstage/cpu/intel/microcode/microcode.o
CC ramstage/cpu/intel/common/common_init.o
CC ramstage/console/console.o
CC ramstage/console/die.o
CC ramstage/console/init.o
CC ramstage/console/post.o
CC ramstage/console/printk.o
CC ramstage/console/vsprintf.o
CC ramstage/console/vtxprintf.o
CC ramstage/commonlib/cbfs.o
CC ramstage/commonlib/lz4_wrapper.o
CC ramstage/commonlib/mem_pool.o
CC ramstage/commonlib/region.o
CC ramstage/arch/x86/acpi.o
CC ramstage/arch/x86/acpi_device.o
CC ramstage/arch/x86/acpi_s3.o
CC ramstage/arch/x86/acpigen.o
CC ramstage/arch/x86/acpigen_dsm.o
CC ramstage/arch/x86/boot.o
CC ramstage/arch/x86/c_start.o
CC ramstage/arch/x86/cbmem.o
CC ramstage/arch/x86/cpu.o
CC ramstage/arch/x86/cpu_common.o
CC ramstage/arch/x86/ebda.o
CC ramstage/arch/x86/exception.o
CC ramstage/arch/x86/gdt.o
CC ramstage/arch/x86/ioapic.o
CC ramstage/arch/x86/memcpy.o
CC ramstage/arch/x86/memmove.o
CC ramstage/arch/x86/memset.o
CC ramstage/arch/x86/mmap_boot.o
CC ramstage/arch/x86/pci_ops_conf1.o
CC ramstage/arch/x86/pci_ops_mmconf.o
CC ramstage/arch/x86/rdrand.o
CC ramstage/arch/x86/smbios.o
CC ramstage/arch/x86/tables.o
CC ramstage/arch/x86/wakeup.o
CC ramstage/acpi/sata.o
CP ramstage/arch/x86/memlayout.ld
CP ramstage/lib/program.ld
CREATE build/mainboard/lenovo/x220/cbfs-file.EzcVTL.out (from /home/phsta/coreboot/.config)
IASL build/dsdt.aml
GIT GRUB2 origin/master
Your branch is up-to-date with 'remotes/origin/master'.
Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20161222-64
Copyright (c) 2000 - 2016 Intel Corporation
coreboot toolchain v1.44 March 3rd, 2017
ASL Input: dsdt.aml - 2636 lines, 46028 bytes, 1115 keywords
AML Output: dsdt.aml - 13421 bytes, 465 named objects, 650 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 4 Remarks, 371 Optimizations, 1 Constants Folded
IASL build/dsdt.aml disassembled correctly.
CC bootblock/mainboard/lenovo/x220/static.o
CC bootblock/lib/cbfs.o
CC bootblock/lib/fmap.o
CC romstage/lib/cbfs.o
CC romstage/lib/fmap.o
CC ramstage/mainboard/lenovo/x220/static.o
CC ramstage/lib/cbfs.o
CC ramstage/lib/fmap.o
CC smm/lib/cbfs.o
CC smm/lib/fmap.o
GEN generated/bootblock.ld
LINK cbfs/fallback/romstage.debug
CP bootblock/arch/x86/bootblock.ld
LINK cbfs/fallback/bootblock.debug
OBJCOPY ramstage/cpu/x86/smm/smmstub.manual
OBJCOPY cbfs/fallback/romstage.elf
OBJCOPY cbfs/fallback/bootblock.elf
OBJCOPY ramstage/cpu/x86/smm/smm.manual
OBJCOPY bootblock.raw.bin
CC generated/ramstage.o
CC cbfs/fallback/ramstage.debug
Already up-to-date.
CONFIG GRUB2 origin/master
Importing unicode...
Importing libgcrypt...
WARNING: grub-core/lib/libgcrypt-grub already exists
WARNING: grub-core/lib/libgcrypt-grub/cipher already exists
WARNING: grub-core/lib/libgcrypt-grub/mpi already exists
WARNING: grub-core/lib/libgcrypt-grub/src already exists
Generating Automake input...
Saving timestamps...
Running autoreconf...
Makefile:39: recipe for target 'config' failed
payloads/external/Makefile.inc:134: die Regel für Ziel „grub2“ scheiterte
More information about the coreboot
mailing list