Page MenuHomeFreeBSD

Small fix to CPU Compatibility Identification
ClosedPublic

Authored by nick on Sep 9 2019, 6:24 PM.
Tags
None
Referenced Files
F156822863: D21576.diff
Sat, May 16, 5:10 PM
F156822496: D21576.diff
Sat, May 16, 5:06 PM
Unknown Object (File)
Fri, May 15, 12:08 PM
Unknown Object (File)
Fri, May 15, 6:20 AM
Unknown Object (File)
Fri, May 15, 5:19 AM
Unknown Object (File)
Wed, May 13, 2:26 PM
Unknown Object (File)
Tue, May 12, 9:53 AM
Unknown Object (File)
Tue, May 12, 2:12 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