Page MenuHomeFreeBSD

Small fix to CPU Compatibility Identification
ClosedPublic

Authored by nick on Sep 9 2019, 6:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 9, 9:01 PM
Unknown Object (File)
Fri, Oct 9, 9:00 PM
Unknown Object (File)
Fri, Oct 9, 7:49 AM
Unknown Object (File)
Tue, Oct 6, 3:26 PM
Unknown Object (File)
Tue, Sep 22, 8:15 PM
Unknown Object (File)
Sun, Sep 13, 4:06 AM
Unknown Object (File)
Sep 11 2026, 7:46 PM
Unknown Object (File)
Sep 6 2026, 5:11 AM
Subscribers

Details

Summary

fdt_is_compatible_strict() inspects the first compatible property.
We need to inspect the following properties for 'riscv'.
ofw_bus_node_is_compatible() does a recursive search.

This patch fixes "Can't find CPU" error message when bootverbose = true.

Sponsored by: Axiado

Test Plan

Tested on the SiFive Unleashed board and Qemu.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable