HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42251 )
Change subject: crossgcc: Upgrade GCC to 10.1.0 ......................................................................
Patch Set 1:
tested with qemu: === qemu-system-x86_64 -bios build/coreboot.rom -serial stdio
coreboot-4.12-635-g322cab4277 Wed Jun 10 16:55:02 UTC 2020 bootblock starting (log level: 7)... 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 3954 BS: bootblock times (exec / console): total (unknown) / 0 ms
coreboot-4.12-635-g322cab4277 Wed Jun 10 16:55:02 UTC 2020 romstage starting (log level: 7)... QEMU: firmware config interface detected Firmware config version id: 3 CBMEM: IMD: root @ 0x07fff000 254 entries. IMD: root @ 0x07ffec00 62 entries. MTRR Range: Start=fffc0000 End=0 (Size 40000) FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/postcar' CBFS: Found @ offset 11340 size 3e30 Decompressing stage fallback/postcar @ 0x07fd3fc0 (32432 bytes) Loading module at 0x07fd4000 with entry 0x07fd4000. filesize: 0x3b90 memsize: 0x7e70 Processing 145 relocs. Offset value of 0x05fd4000 BS: romstage times (exec / console): total (unknown) / 16 ms
coreboot-4.12-635-g322cab4277 Wed Jun 10 16:55:02 UTC 2020 postcar starting (log level: 7)... FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/ramstage' CBFS: Found @ offset 3a40 size c209 Decompressing stage fallback/ramstage @ 0x07faefc0 (144912 bytes) Loading module at 0x07faf000 with entry 0x07faf000. filesize: 0x18858 memsize: 0x235d0 Processing 1516 relocs. Offset value of 0x071af000 BS: postcar times (exec / console): total (unknown) / 11 ms
coreboot-4.12-635-g322cab4277 Wed Jun 10 16:55:02 UTC 2020 ramstage starting (log level: 7)... 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 1 CPU: APIC: 00 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 10 msecs scan_bus: bus Root Device finished in 19 msecs done BS: BS_DEV_ENUMERATE run times (exec / console): 7 / 16 ms 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/ram: 0x00000000 + 0x08000000 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. ==== Resource allocator: DOMAIN: 0000 - Pass 1 (gathering requirements) === === Resource allocator: DOMAIN: 0000 - Pass 2 (allocating resources) === DOMAIN: 0000 io: base: 0 size: 0 align: 0 gran: 0 limit: ffff update_constraints: DOMAIN: 0000 0c base 00000510 limit 00000511 io (fixed) update_constraints: DOMAIN: 0000 0d base 00005658 limit 00005658 io (fixed) update_constraints: DOMAIN: 0000 0e base 0000ae00 limit 0000ae0f io (fixed) update_constraints: DOMAIN: 0000 0f base 0000af00 limit 0000af1f io (fixed) update_constraints: DOMAIN: 0000 10 base 0000afe0 limit 0000afe3 io (fixed) update_constraints: PCI: 00:01.0 01 base 00000000 limit 00000fff io (fixed) update_constraints: PCI: 00:01.3 01 base 0000e400 limit 0000e43f io (fixed) update_constraints: PCI: 00:01.3 02 base 00000f00 limit 00000f0f io (fixed) DOMAIN: 0000: Resource ranges: * Base: 1000, Size: 4658, Tag: 100 * Base: 5659, Size: 57a7, Tag: 100 * Base: ae10, Size: f0, Tag: 100 * Base: af20, Size: c0, Tag: 100 * Base: afe4, Size: 341c, Tag: 100 * Base: e440, Size: 1bc0, Tag: 100 PCI: 00:03.0 14 * [0x1000 - 0x103f] limit: 103f io PCI: 00:01.1 20 * [0x1040 - 0x104f] limit: 104f io DOMAIN: 0000 io: base: 0 size: 0 align: 0 gran: 0 limit: ffff done DOMAIN: 0000 mem: base: 0 size: 0 align: 0 gran: 0 limit: ffffffffff update_constraints: DOMAIN: 0000 0a base 00000000 limit 0009ffff mem (fixed) update_constraints: DOMAIN: 0000 0b base 000c0000 limit 07ffffff mem (fixed) update_constraints: DOMAIN: 0000 11 base 000a0000 limit 000bffff mem (fixed) update_constraints: DOMAIN: 0000 12 base 000c0000 limit 000fffff mem (fixed) update_constraints: DOMAIN: 0000 02 base fec00000 limit fecfffff mem (fixed) update_constraints: DOMAIN: 0000 03 base fee00000 limit fee0ffff mem (fixed) update_constraints: PCI: 00:01.0 02 base ff800000 limit ffffffff mem (fixed) DOMAIN: 0000: Resource ranges: * Base: 8000000, Size: f6c00000, Tag: 200 * Base: fed00000, Size: 100000, Tag: 200 * Base: fee10000, Size: 9f0000, Tag: 200 * Base: 100000000, Size: ff00000000, Tag: 100200 PCI: 00:02.0 10 * [0x8000000 - 0x8ffffff] limit: 8ffffff prefmem PCI: 00:03.0 30 * [0x9000000 - 0x903ffff] limit: 903ffff mem PCI: 00:03.0 10 * [0x9040000 - 0x905ffff] limit: 905ffff mem PCI: 00:02.0 30 * [0x9060000 - 0x906ffff] limit: 906ffff mem PCI: 00:02.0 18 * [0x9070000 - 0x9070fff] limit: 9070fff mem DOMAIN: 0000 mem: base: 0 size: 0 align: 0 gran: 0 limit: ffffffffff done === Resource allocator: DOMAIN: 0000 - resource allocation complete === PCI: 00:01.1 20 <- [0x0000001040 - 0x000000104f] size 0x00000010 gran 0x04 io PCI: 00:02.0 10 <- [0x0008000000 - 0x0008ffffff] size 0x01000000 gran 0x18 prefmem PCI: 00:02.0 18 <- [0x0009070000 - 0x0009070fff] size 0x00001000 gran 0x0c mem PCI: 00:02.0 30 <- [0x0009060000 - 0x000906ffff] size 0x00010000 gran 0x10 romem PCI: 00:03.0 10 <- [0x0009040000 - 0x000905ffff] size 0x00020000 gran 0x11 mem PCI: 00:03.0 14 <- [0x0000001000 - 0x000000103f] size 0x00000040 gran 0x06 io PCI: 00:03.0 30 <- [0x0009000000 - 0x000903ffff] size 0x00040000 gran 0x12 romem Done setting resources. Done allocating resources. BS: BS_DEV_RESOURCES run times (exec / console): 15 / 73 ms 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): 4 / 3 ms Initializing devices... CPU_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD 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 4 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 6 msecs PCI: 00:01.0 init RTC Init PCI: 00:01.0 init finished in 2 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 15 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): 25 / 15 ms Finalize devices... Devices finalized BS: BS_POST_DEVICE run times (exec / console): 1 / 285 ms Copying Interrupt Routing Table to 0x000f0000... done. Copying Interrupt Routing Table to 0x07fa5000... done. PIRQ table: 128 bytes. QEMU: found ACPI tables in fw_cfg. QEMU: loading "etc/acpi/rsdp" to 0x7f81000 (len 20) QEMU: loading "etc/acpi/tables" to 0x7f81040 (len 131072) QEMU: loaded ACPI tables from fw_cfg. Looking on 0x07f81000 for valid checksum Checksum 1 passed Checksum 2 passed all OK ACPI: * SSDT Found 1 CPU(s). ACPI: added table 4/32, length now 52 ACPI tables: 131136 bytes. smbios_write_tables: 07f80000 SMBIOS: Unknown CPU DOMAIN: 0000 (QEMU Northbridge i440fx) QEMU: found smbios tables in fw_cfg (len 321). QEMU: coreboot type0 table found at 0x7f80020. QEMU: loading smbios tables to 0x7f80064 SMBIOS tables: 421 bytes. Writing table forward entry at 0x00000500 Wrote coreboot table at: 0x00000500, 0x10 bytes, checksum 97e4 Writing coreboot table at 0x07fa6000 0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES 1. 0000000000001000-000000000009ffff: RAM 2. 00000000000a0000-00000000000fffff: RESERVED 3. 0000000000100000-0000000007f7ffff: RAM 4. 0000000007f80000-0000000007faefff: CONFIGURATION TABLES 5. 0000000007faf000-0000000007fd2fff: RAMSTAGE 6. 0000000007fd3000-0000000007ffffff: CONFIGURATION TABLES 7. 00000000ff800000-00000000ffffffff: RESERVED FMAP: area COREBOOT found @ 200 (261632 bytes) Wrote coreboot table at: 0x07fa6000, 0x2a0 bytes, checksum 6e39 coreboot table: 696 bytes. IMD ROOT 0. 0x07fff000 0x00001000 IMD SMALL 1. 0x07ffe000 0x00001000 CONSOLE 2. 0x07fde000 0x00020000 TIME STAMP 3. 0x07fdd000 0x00000910 ROMSTG STCK 4. 0x07fdc000 0x00001000 AFTER CAR 5. 0x07fd3000 0x00009000 RAMSTAGE 6. 0x07fae000 0x00025000 COREBOOT 7. 0x07fa6000 0x00008000 IRQ TABLE 8. 0x07fa5000 0x00001000 ACPI 9. 0x07f81000 0x00024000 SMBIOS 10. 0x07f80000 0x00000800 IMD small region: IMD ROOT 0. 0x07ffec00 0x00000400 FMAP 1. 0x07ffeb40 0x000000b6 BS: BS_WRITE_TABLES run times (exec / console): 33 / 42 ms FMAP: area COREBOOT found @ 200 (261632 bytes) CBFS: Locating 'fallback/payload' CBFS: Found @ offset 151c0 size 10eec Checking segment from ROM address 0xfffd53f8 Payload being loaded at below 1MiB without region being marked as RAM usable. Checking segment from ROM address 0xfffd5414 Loading segment from ROM address 0xfffd53f8 code (compression=1) New segment dstaddr 0x000dfce0 memsize 0x20320 srcaddr 0xfffd5430 filesize 0x10eb4 Loading Segment: addr: 0x000dfce0 memsz: 0x0000000000020320 filesz: 0x0000000000010eb4 using LZMA Loading segment from ROM address 0xfffd5414 Entry Point 0x000fd25f BS: BS_PAYLOAD_LOAD run times (exec / console): 108 / 13 ms Jumping to boot code at 0x000fd25f(0x07fa6000) SeaBIOS (version rel-1.13.0-0-gf21b5a4) BUILD: gcc: (coreboot toolchain v866e9e5cf7 2020-05-14) 10.1.0 binutils: (GNU Binutils) 2.34 SeaBIOS (version rel-1.13.0-0-gf21b5a4) BUILD: gcc: (coreboot toolchain v866e9e5cf7 2020-05-14) 10.1.0 binutils: (GNU Binutils) 2.34 Found coreboot cbmem console @ 7fde000 Found mainboard Emulation QEMU x86 i440fx/piix4 Relocating init from 0x000e1400 to 0x07f32d00 (size 53856) Found CBFS header at 0xfffc0238 multiboot: eax=7fc73a0, ebx=7fc7364 Found 6 PCI devices (max PCI bus is 00) Copying SMBIOS entry point from 0x07f80000 to 0x000f6340 Copying ACPI RSDP from 0x07f81000 to 0x000f6320 Copying PIR from 0x07fa5000 to 0x000f62a0 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-0-gf21b5a4) ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9) ATA controller 2 at 170/374/0 (irq 15 dev 9) 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.
Searching bootorder for: HALT Space available for UMB: cb000-ed000, f5b60-f6200 Returned 262144 bytes of ZoneHigh e820 map has 6 items: 0: 0000000000000000 - 000000000009fc00 = 1 RAM 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED 3: 0000000000100000 - 0000000007f80000 = 1 RAM 4: 0000000007f80000 - 0000000008000000 = 2 RESERVED 5: 00000000ff800000 - 0000000100000000 = 2 RESERVED enter handle_19: NULL Booting from DVD/CD... Device reports MEDIUM NOT PRESENT scsi_is_ready returned -1 Boot failed: Could not read from CDROM (code 0003) enter handle_18: NULL Booting from ROM... Booting from ca00:0385 enter handle_18: NULL Booting from Floppy... Boot failed: could not read the boot disk
enter handle_18: NULL Booting from Hard Disk... Boot failed: could not read the boot disk
enter handle_18: NULL No bootable device. Retrying in 60 seconds.