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)
Sun, Mar 30, 11:22 PM
Unknown Object (File)
Fri, Mar 28, 9:29 AM
Unknown Object (File)
Fri, Mar 21, 1:10 PM
Unknown Object (File)
Mar 5 2025, 9:08 AM
Unknown Object (File)
Mar 1 2025, 2:52 AM
Unknown Object (File)
Feb 8 2025, 7:13 PM
Unknown Object (File)
Feb 6 2025, 3:32 PM
Unknown Object (File)
Feb 3 2025, 7:43 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 Skipped
Unit
Tests Skipped