Page MenuHomeFreeBSD

Small fix to CPU Compatibility Identification
ClosedPublic

Authored by nick on Sep 9 2019, 6:24 PM.
Tags
None
Referenced Files
F107388452: D21576.diff
Mon, Jan 13, 11:02 AM
Unknown Object (File)
Sat, Jan 11, 12:32 PM
Unknown Object (File)
Thu, Dec 26, 4:48 PM
Unknown Object (File)
Thu, Dec 26, 4:43 PM
Unknown Object (File)
Dec 11 2024, 3:38 PM
Unknown Object (File)
Nov 25 2024, 6:19 PM
Unknown Object (File)
Nov 25 2024, 9:54 AM
Unknown Object (File)
Oct 28 2024, 6:29 PM
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