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)
Mon, Apr 13, 5:03 AM
Unknown Object (File)
Thu, Apr 9, 11:11 PM
Unknown Object (File)
Wed, Apr 8, 9:46 PM
Unknown Object (File)
Wed, Apr 8, 1:35 PM
Unknown Object (File)
Mon, Apr 6, 2:26 PM
Unknown Object (File)
Sun, Apr 5, 11:46 AM
Unknown Object (File)
Wed, Apr 1, 2:50 AM
Unknown Object (File)
Sun, Mar 29, 3:17 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