Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39187 )
Change subject: mb/emulation/qemu-armv7: Fix board ......................................................................
Patch Set 2: Code-Review+1
Tested with Debian tool chain. Without this patch, nothing on the serial console, with the patch it succeeds:
``` $ arm-linux-gnueabi-gcc-9 --version arm-linux-gnueabi-gcc-9 (Debian 9.3.0-8) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ qemu-system-arm --version QEMU emulator version 5.0.0 (Debian 1:5.0-5) Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers $ qemu-system-arm -M vexpress-a9 -bios /dev/shm/coreboot-arm.rom -L /dev/shm -smp cpus=2 -m 1G -serial stdio -net nic -net user,hostfwd=tcp::22222-:22 pulseaudio: set_sink_input_volume() failed pulseaudio: Reason: Invalid argument pulseaudio: set_sink_input_mute() failed pulseaudio: Reason: Invalid argument
coreboot-4.11-2652-g4e37b6da22 Thu May 14 21:13:59 UTC 2020 bootblock starting (log level: 7)... Exception handlers installed. FMAP: Found "FLASH" version 1.1 at 0x20000. FMAP: base = 0x0 size = 0x400000 #areas = 4 FMAP: area COREBOOT found @ 20200 (4062720 bytes) CBFS: Locating 'fallback/romstage' CBFS: Found @ offset 80 size 26e7
coreboot-4.11-2652-g4e37b6da22 Thu May 14 21:13:59 UTC 2020 romstage starting (log level: 7)... FMAP: area COREBOOT found @ 20200 (4062720 bytes) CBFS: Locating 'fallback/ramstage' CBFS: Found @ offset 27c0 size 4b0b RAMDETECT: Found 1024 MiB RAM
coreboot-4.11-2652-g4e37b6da22 Thu May 14 21:13:59 UTC 2020 ramstage starting (log level: 7)... Exception handlers installed. Enumerating buses... RAMDETECT: Found 1024 MiB RAM 1024 MiB of RAM discovered CBMEM: IMD: root @ 0x9ffff000 254 entries. IMD: root @ 0x9fffec00 62 entries. Root Device scanning... I2C: 00:06 enabled scan_bus: bus Root Device finished in 0 msecs done Allocating resources... Reading resources... I2C: 00:06 missing read_resources Done reading resources. Setting resources... Done setting resources. Done allocating resources. Enabling resources... done. Initializing devices... Devices initialized Finalize devices... Devices finalized Writing coreboot table at 0x9ffdc000 0. 0000000060000000-000000006000ffff: RAMSTAGE 1. 0000000060010000-0000000060033fff: RAM 2. 0000000060034000-0000000060037fff: RAMSTAGE 3. 0000000060038000-000000006005ffff: RAM 4. 0000000060060000-000000006006ffff: RAMSTAGE 5. 0000000060070000-000000009ffdbfff: RAM 6. 000000009ffdc000-000000009fffffff: CONFIGURATION TABLES WARNING: Post-RAM FMAP access too early for cache! FMAP: Found "FLASH" version 1.1 at 0x20000. FMAP: base = 0x0 size = 0x400000 #areas = 4 FMAP: area COREBOOT found @ 20200 (4062720 bytes) Wrote coreboot table at: 0x9ffdc000, 0x188 bytes, checksum 5701 coreboot table: 416 bytes. IMD ROOT 0. 0x9ffff000 0x00001000 IMD SMALL 1. 0x9fffe000 0x00001000 CONSOLE 2. 0x9ffde000 0x00020000 COREBOOT 3. 0x9ffdc000 0x00002000 IMD small region: IMD ROOT 0. 0x9fffec00 0x00000400 FMAP: area COREBOOT found @ 20200 (4062720 bytes) CBFS: Locating 'fallback/payload' CBFS: 'fallback/payload' not found. Payload not loaded. ```