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)
Fri, Oct 10, 1:01 AM
Unknown Object (File)
Wed, Oct 8, 1:08 PM
Unknown Object (File)
Wed, Oct 1, 8:31 AM
Unknown Object (File)
Mon, Sep 29, 4:29 PM
Unknown Object (File)
Sun, Sep 28, 3:42 AM
Unknown Object (File)
Thu, Sep 25, 5:02 AM
Unknown Object (File)
Thu, Sep 18, 9:22 PM
Unknown Object (File)
Thu, Sep 18, 8:22 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