Has anyone been able to get coreboot built for falco? Chromium doc lists a process for it, and menuconfig has the options for it, but I get make errors with both ubuntu's compiler and coreboot's cross compiler...


Standard compiler:
root@chrubuntu:~/Downloads/coreboot# make
    HOSTCC     nvramtool/cli/nvramtool.o
    HOSTCC     nvramtool/cli/opts.o
    HOSTCC     nvramtool/cmos_lowlevel.o
    HOSTCC     nvramtool/cmos_ops.o
    HOSTCC     nvramtool/common.o
    HOSTCC     nvramtool/compute_ip_checksum.o
    HOSTCC     nvramtool/hexdump.o
    HOSTCC     nvramtool/input_file.o
    HOSTCC     nvramtool/layout.o
    HOSTCC     nvramtool/accessors/layout-common.o
    HOSTCC     nvramtool/accessors/layout-text.o
    HOSTCC     nvramtool/accessors/layout-bin.o
    HOSTCC     nvramtool/lbtable.o
    HOSTCC     nvramtool/reg_expr.o
    HOSTCC     nvramtool/cbfs.o
    HOSTCC     nvramtool/accessors/cmos-mem.o
    HOSTCC     nvramtool/nvramtool (link)
    OPTION     option_table.h
    GEN        build.h
    CC         romstage.inc
    POST       romstage.inc
    GEN        generated/crt0.romstage.S
    CC         generated/crt0.s
    CC         generated/crt0.romstage.o
    HOSTCC     sconfig/lex.yy.o
    HOSTCC     sconfig/sconfig.tab.o
    HOSTCC     util/sconfig/main.o
    HOSTCC     util/sconfig/sconfig (link)
    SCONFIG    mainboard/google/falco/devicetree.cb
    CC         mainboard/google/falco/static.romstage.o
    CC         arch/x86/boot/cbmem.romstage.o
    CC         arch/x86/lib/cbfs_and_run.romstage.o
    CC         arch/x86/lib/memcpy.romstage.o
    CC         arch/x86/lib/memmove.romstage.o
    CC         arch/x86/lib/memset.romstage.o
    CC         arch/x86/lib/rom_media.romstage.o
    CC         arch/x86/lib/romstage_console.romstage.o
    CC         arch/x86/lib/walkcbfs.romstage.o
    CC         console/console.romstage.o
    CC         console/die.romstage.o
    CC         console/post.romstage.o
    CC         console/vtxprintf.romstage.o
    CC         cpu/intel/haswell/romstage.romstage.o
    CC         cpu/intel/haswell/tsc_freq.romstage.o
    CC         cpu/x86/car.romstage.o
{standard input}: Assembler messages:
{standard input}:158: Warning: ignoring changed section type for .car.global_data
{standard input}:158: Warning: ignoring changed section attributes for .car.global_data
    CC         cpu/x86/lapic/boot_cpu.romstage.o
    CC         cpu/x86/tsc/delay_tsc.romstage.o
    CC         device/device_romstage.romstage.o
    CC         device/pci_early.romstage.o
    CC         ec/google/chromeec/crosec_proto.romstage.o
    CC         ec/google/chromeec/ec.romstage.o
In file included from src/ec/google/chromeec/ec.c:34:0:
src/vendorcode/google/chromeos/chromeos.h:65:43: error: unknown type name 'chromeos_acpi_t'
 static inline void chromeos_ram_oops_init(chromeos_acpi_t *chromeos) {}
                                           ^
src/vendorcode/google/chromeos/chromeos.h:66:53: error: 'struct device' declared inside parameter list [-Werror]
 static inline void chromeos_reserve_ram_oops(struct device *dev, int idx) {}
                                                     ^
src/vendorcode/google/chromeos/chromeos.h:66:53: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
cc1: all warnings being treated as errors
make: * [build/ec/google/chromeec/ec.romstage.o] Error 1



Cross compiler built from crossgcc:
# configuration written to .config
#
    HOSTCC     nvramtool/cli/nvramtool.o
    HOSTCC     nvramtool/cli/opts.o
    HOSTCC     nvramtool/cmos_lowlevel.o
    HOSTCC     nvramtool/cmos_ops.o
    HOSTCC     nvramtool/common.o
    HOSTCC     nvramtool/compute_ip_checksum.o
    HOSTCC     nvramtool/hexdump.o
    HOSTCC     nvramtool/input_file.o
    HOSTCC     nvramtool/layout.o
    HOSTCC     nvramtool/accessors/layout-common.o
    HOSTCC     nvramtool/accessors/layout-text.o
    HOSTCC     nvramtool/accessors/layout-bin.o
    HOSTCC     nvramtool/lbtable.o
    HOSTCC     nvramtool/reg_expr.o
    HOSTCC     nvramtool/cbfs.o
    HOSTCC     nvramtool/accessors/cmos-mem.o
    HOSTCC     nvramtool/nvramtool (link)
    OPTION     option_table.h
/bin/sh: 1: --version: not found
/bin/sh: 1: --version: not found
/bin/sh: 1: --version: not found
    GEN        build.h
    CC         romstage.inc
make: MMD: Command not found
    POST       romstage.inc
sed: can't read build/mainboard/google/falco/romstage.pre.inc: No such file or directory
make: * [build/mainboard/google/falco/romstage.inc] Error 2