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)
Tue, Apr 16, 9:18 AM
Unknown Object (File)
Thu, Apr 11, 3:09 PM
Unknown Object (File)
Jan 23 2024, 3:57 PM
Unknown Object (File)
Dec 23 2023, 11:32 AM
Unknown Object (File)
Dec 20 2023, 5:39 AM
Unknown Object (File)
Dec 16 2023, 6:44 AM
Unknown Object (File)
Dec 11 2023, 2:49 AM
Unknown Object (File)
Nov 29 2023, 6:50 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