Page MenuHomeFreeBSD

Small fix to CPU Compatibility Identification
ClosedPublic

Authored by nick on Sep 9 2019, 6:24 PM.
Tags
None
Referenced Files
F149659280: D21576.id61853.diff
Thu, Mar 26, 1:42 AM
Unknown Object (File)
Wed, Mar 25, 9:13 PM
Unknown Object (File)
Fri, Mar 20, 12:00 PM
Unknown Object (File)
Wed, Mar 4, 8:07 AM
Unknown Object (File)
Sat, Feb 28, 9:30 AM
Unknown Object (File)
Thu, Feb 26, 2:36 PM
Unknown Object (File)
Thu, Feb 26, 8:41 AM
Unknown Object (File)
Wed, Feb 25, 9: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