# Configuration for building a coreboot ROM that works in the. # the qemu emulator. Note that the TPM does not work, so this # will just drop into the recovery shell. export CONFIG_LINUXBOOT=n export CONFIG_COREBOOT=n #CONFIG_LINUXBOOT_BOARD=qemu CONFIG_LINUX_CONFIG=config/linux-tiny.config ifeq "$(CONFIG_UROOT)" "y" CONFIG_BUSYBOX=n else CONFIG_KEXEC=y CONFIG_QRENCODE=n CONFIG_TPMTOTP=n CONFIG_POPT=y CONFIG_FLASHTOOLS=n CONFIG_FLASHROM=n CONFIG_PCIUTILS=y CONFIG_UTIL_LINUX=y CONFIG_CRYPTSETUP=y CONFIG_GPG2=y CONFIG_LVM2=y CONFIG_MBEDTLS=y CONFIG_DROPBEAR=y CONFIG_NEWT=n CONFIG_SLANG=n endif CONFIG_LINUX_ATA=n CONFIG_LINUX_AHCI=n CONFIG_LINUX_USB=n CONFIG_LINUX_E1000=n export CONFIG_BOOTSCRIPT=/bin/generic-init export CONFIG_TPM=n #run: coreboot.intermediate run: -qemu-system-x86_64 \ --machine q35 \ --serial /dev/tty \ --device virtio-net,netdev=net0 \ --netdev user,id=net0,hostfwd=tcp::5555-:22 \ --kernel $(build)/$(BOARD)/bzImage \ --initrd $(build)/$(BOARD)/initrd.cpio.xz stty sane