$ qemu-system-i386 -bios /dev/shm/coreboot/build/coreboot.rom -L /dev/shm -enable-kvm -smp cpus=2 -m 1G -hda /dev/shm/debian-32.img -serial stdio -net nic -net user,hostfwd=tcp::22222-:22 WARNING: Image format was not specified for '/dev/shm/debian-32.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. coreboot-4.12-8-ge6fb1344ed-dirty Tue May 12 19:42:50 UTC 2020 bootblock starting (log level: 7)... Timestamp - end of bootblock: 16232956 FMAP: Found "FLASH" version 1.1 at 0x0. FMAP: base = 0xfffc0000 size = 0x40000 #areas = 3 FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/romstage' CBFS: Found @ offset 80 size 46dc Timestamp - starting to load romstage: 32448372 Timestamp - finished loading romstage: 45583753 BS: bootblock times (exec / console): total (unknown) / 14 ms coreboot-4.12-8-ge6fb1344ed-dirty Tue May 12 19:42:50 UTC 2020 romstage starting (log level: 7)... QEMU: firmware config interface detected Firmware config version id: 3 CBMEM: IMD: root @ 0x3ffff000 254 entries. IMD: root @ 0x3fffec00 62 entries. MTRR Range: Start=fffc0000 End=0 (Size 40000) FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/postcar' CBFS: Found @ offset 12300 size 4dd8 Decompressing stage fallback/postcar @ 0x3ffd2fc0 (36016 bytes) Loading module at 0x3ffd3000 with entry 0x3ffd3000. filesize: 0x4990 memsize: 0x8c70 Processing 251 relocs. Offset value of 0x3dfd3000 Timestamp - end of romstage: 85024514 BS: romstage times (exec / console): total (unknown) / 11 ms coreboot-4.12-8-ge6fb1344ed-dirty Tue May 12 19:42:50 UTC 2020 postcar starting (log level: 7)... Timestamp - start of postcar: 114806640 Timestamp - end of postcar: 116221355 FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/ramstage' CBFS: Found @ offset 47c0 size c3fd Timestamp - starting to load ramstage: 121267474 Decompressing stage fallback/ramstage @ 0x3ffadfc0 (144912 bytes) Timestamp - starting LZMA decompress (ignore for x86): 125052162 Timestamp - finished LZMA decompress (ignore for x86): 147203689 Loading module at 0x3ffae000 with entry 0x3ffae000. filesize: 0x18c58 memsize: 0x235d0 Processing 1623 relocs. Offset value of 0x3f1ae000 Timestamp - finished loading ramstage: 156351063 BS: postcar times (exec / console): total (unknown) / 7 ms coreboot-4.12-8-ge6fb1344ed-dirty Tue May 12 19:42:50 UTC 2020 ramstage starting (log level: 7)... Timestamp - start of ramstage: 182635253 Timestamp - device enumeration: 184371001 BS: BS_DEV_INIT_CHIPS run times (exec / console): 0 / 1 ms Enumerating buses... Root Device scanning... CPU_CLUSTER: 0 enabled DOMAIN: 0000 enabled CPU_CLUSTER: 0 scanning... QEMU: firmware config interface detected Firmware config version id: 3 QEMU: max_cpus is 2 CPU: APIC: 00 enabled CPU: APIC: 01 enabled scan_bus: bus CPU_CLUSTER: 0 finished in 3 msecs DOMAIN: 0000 scanning... PCI: pci_scan_bus for bus 00 PCI: 00:00.0 [8086/1237] enabled PCI: 00:01.0 [8086/7000] enabled PCI: 00:01.1 [8086/7010] enabled PCI: 00:01.3 [8086/7113] enabled PCI: 00:02.0 [1234/1111] enabled PCI: 00:03.0 [8086/100e] enabled PCI: 00:01.0 scanning... scan_bus: bus PCI: 00:01.0 finished in 0 msecs PCI: 00:01.3 scanning... scan_bus: bus PCI: 00:01.3 finished in 0 msecs scan_bus: bus DOMAIN: 0000 finished in 7 msecs scan_bus: bus Root Device finished in 15 msecs done BS: BS_DEV_ENUMERATE run times (exec / console): 1 / 17 ms Timestamp - device configuration: 237693661 found VGA at PCI: 00:02.0 Setting up VGA for PCI: 00:02.0 Setting PCI_BRIDGE_CTL_VGA for bridge DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device Allocating resources... Reading resources... QEMU: e820/res: 0xfeffc000 +0x00004000 QEMU: e820/ram: 0x00000000 + 0x40000000 QEMU: reserve ioports 0x0510-0x0511 [firmware-config] QEMU: reserve ioports 0x5658-0x5658 [vmware-port] QEMU: reserve ioports 0xae00-0xae0f [pci-hotplug] QEMU: reserve ioports 0xaf00-0xaf1f [cpu-hotplug] QEMU: reserve ioports 0xafe0-0xafe3 [piix4-gpe0] Done reading resources. Setting resources... PCI: 00:01.1 20 <- [0x0000005840 - 0x000000584f] size 0x00000010 gran 0x04 io PCI: 00:02.0 10 <- [0x00fd000000 - 0x00fdffffff] size 0x01000000 gran 0x18 prefmem PCI: 00:02.0 18 <- [0x00fe070000 - 0x00fe070fff] size 0x00001000 gran 0x0c mem PCI: 00:02.0 30 <- [0x00fe060000 - 0x00fe06ffff] size 0x00010000 gran 0x10 romem PCI: 00:03.0 10 <- [0x00fe040000 - 0x00fe05ffff] size 0x00020000 gran 0x11 mem PCI: 00:03.0 14 <- [0x0000005800 - 0x000000583f] size 0x00000040 gran 0x06 io PCI: 00:03.0 30 <- [0x00fe000000 - 0x00fe03ffff] size 0x00040000 gran 0x12 romem Done setting resources. Done allocating resources. BS: BS_DEV_RESOURCES run times (exec / console): 2 / 25 ms Timestamp - device enable: 310540262 Enabling resources... PCI: 00:00.0 cmd <- 00 PCI: 00:01.0 cmd <- 00 PCI: 00:01.1 cmd <- 01 PCI: 00:01.3 cmd <- 00 PCI: 00:02.0 cmd <- 03 PCI: 00:03.0 cmd <- 03 done. BS: BS_DEV_ENABLE run times (exec / console): 2 / 5 ms Timestamp - device initialization: 332175620 Initializing devices... CPU_CLUSTER: 0 init Initializing CPU #0 CPU: vendor Intel device 663 CPU: family 06, model 06, stepping 03 Setting up local APIC... apic_id: 0x00 done. CPU #0 initialized CPU_CLUSTER: 0 init finished in 2 msecs PCI: 00:00.0 init Assigning IRQ 10 to PCI: 00:01.3 Assigning IRQ 11 to PCI: 00:03.0 PCI: 00:00.0 init finished in 4 msecs PCI: 00:01.0 init RTC Init PCI: 00:01.0 init finished in 0 msecs PCI: 00:01.1 init IDE: Primary IDE interface: on IDE: Secondary IDE interface: on IDE: Access to legacy IDE ports: off PCI: 00:01.1 init finished in 2 msecs PCI: 00:02.0 init PCI: 00:02.0 init finished in 37 msecs PCI: 00:03.0 init PCI: 00:03.0 init finished in 0 msecs Devices initialized BS: BS_DEV_INIT run times (exec / console): 44 / 13 ms Finalize devices... Devices finalized Timestamp - device setup done: 484514891 BS: BS_POST_DEVICE run times (exec / console): 0 / 1 ms Timestamp - cbmem post: 488942391 BS: BS_OS_RESUME_CHECK run times (exec / console): 0 / 1 ms Timestamp - write tables: 493246482 Copying Interrupt Routing Table to 0x000f0000... done. Copying Interrupt Routing Table to 0x3ffa4000... done. PIRQ table: 128 bytes. QEMU: found ACPI tables in fw_cfg. QEMU: loading "etc/acpi/rsdp" to 0x3ff80000 (len 20) QEMU: loading "etc/acpi/tables" to 0x3ff80040 (len 131072) QEMU: loaded ACPI tables from fw_cfg. Looking on 0x3ff80000 for valid checksum Checksum 1 passed Checksum 2 passed all OK ACPI: * SSDT Found 2 CPU(s). ACPI: added table 4/32, length now 52 ACPI tables: 131136 bytes. smbios_write_tables: 3ff7f000 SMBIOS: Unknown CPU DOMAIN: 0000 (QEMU Northbridge i440fx) QEMU: found smbios tables in fw_cfg (len 389). QEMU: coreboot type0 table found at 0x3ff7f020. QEMU: loading smbios tables to 0x3ff7f068 SMBIOS tables: 493 bytes. Writing table forward entry at 0x00000500 Wrote coreboot table at: 0x00000500, 0x10 bytes, checksum 6fe4 Writing coreboot table at 0x3ffa5000 0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES 1. 0000000000001000-000000000009ffff: RAM 2. 00000000000a0000-00000000000fffff: RESERVED 3. 0000000000100000-000000003ff7efff: RAM 4. 000000003ff7f000-000000003ffadfff: CONFIGURATION TABLES 5. 000000003ffae000-000000003ffd1fff: RAMSTAGE 6. 000000003ffd2000-000000003fffffff: CONFIGURATION TABLES 7. 00000000ff800000-00000000ffffffff: RESERVED FMAP: area COREBOOT found @ 200 (261632 bytes) Wrote coreboot table at: 0x3ffa5000, 0x2a8 bytes, checksum 7a36 coreboot table: 704 bytes. IMD ROOT 0. 0x3ffff000 0x00001000 IMD SMALL 1. 0x3fffe000 0x00001000 CONSOLE 2. 0x3ffde000 0x00020000 TIME STAMP 3. 0x3ffdd000 0x00000910 ROMSTG STCK 4. 0x3ffdc000 0x00001000 AFTER CAR 5. 0x3ffd2000 0x0000a000 RAMSTAGE 6. 0x3ffad000 0x00025000 COREBOOT 7. 0x3ffa5000 0x00008000 IRQ TABLE 8. 0x3ffa4000 0x00001000 ACPI 9. 0x3ff80000 0x00024000 SMBIOS 10. 0x3ff7f000 0x00000800 IMD small region: IMD ROOT 0. 0x3fffec00 0x00000400 FMAP 1. 0x3fffeb40 0x000000b6 Timestamp - finalize chips: 609358562 BS: BS_WRITE_TABLES run times (exec / console): 5 / 40 ms Timestamp - load payload: 612513604 FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/payload' CBFS: Found @ offset 17140 size 1108e Checking segment from ROM address 0xfffd7378 Payload being loaded at below 1MiB without region being marked as RAM usable. Checking segment from ROM address 0xfffd7394 Loading segment from ROM address 0xfffd7378 code (compression=1) New segment dstaddr 0x000dfb80 memsize 0x20480 srcaddr 0xfffd73b0 filesize 0x11056 Loading Segment: addr: 0x000dfb80 memsz: 0x0000000000020480 filesz: 0x0000000000011056 using LZMA Timestamp - starting LZMA decompress (ignore for x86): 635838463 Timestamp - finished LZMA decompress (ignore for x86): 659818570 Loading segment from ROM address 0xfffd7394 Entry Point 0x000fd266 BS: BS_PAYLOAD_LOAD run times (exec / console): 8 / 12 ms Jumping to boot code at 0x000fd266(0x3ffa5000) Timestamp - selfboot jump: 669425860 SeaBIOS (version rel-1.13.0-20-geaaf726) BUILD: gcc: (Debian 10.1.0-1) 10.1.0 binutils: (GNU Binutils for Debian) 2.34 Running on KVM SeaBIOS (version rel-1.13.0-20-geaaf726) BUILD: gcc: (Debian 10.1.0-1) 10.1.0 binutils: (GNU Binutils for Debian) 2.34 Found coreboot cbmem console @ 3ffde000 Found mainboard Emulation QEMU x86 i440fx/piix4 Relocating init from 0x000e12c0 to 0x3ff31ba0 (size 54208) Found CBFS header at 0xfffc0238 multiboot: eax=3ffc6800, ebx=3ffc67c4 Found 6 PCI devices (max PCI bus is 00) Copying SMBIOS entry point from 0x3ff7f000 to 0x000f6460 Copying ACPI RSDP from 0x3ff80000 to 0x000f6440 Copying PIR from 0x3ffa4000 to 0x000f63c0 Using pmtimer, ioport 0xe408 Scan for VGA option rom Running option rom at c000:0003 pmm call arg1=0 Turning on vga text mode console SeaBIOS (version rel-1.13.0-20-geaaf726) ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9) ATA controller 2 at 170/374/0 (irq 15 dev 9) ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (2048 MiBytes) Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@0 Searching bios-geometry for: /pci@i0cf8/*@1,1/drive@0/disk@0 Searching bootorder for: HALT Found 1 lpt ports Found 1 serial ports DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] Searching bootorder for: /pci@i0cf8/*@1,1/drive@1/disk@0 Searching bios-geometry for: /pci@i0cf8/*@1,1/drive@1/disk@0 PS2 keyboard initialized All threads complete. Scan for option roms Running option rom at ca00:0003 pmm call arg1=1 pmm call arg1=0 pmm call arg1=1 pmm call arg1=0 Searching bootorder for: /pci@i0cf8/*@3 Press ESC for boot menu. Select boot device: 1. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] 2. ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (2048 MiBytes) 3. iPXE (PCI 00:03.0)