HomeFreeBSD

Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC

Description

Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC
from SiFive, Inc.

The first core on this SoC (hart 0) is a 64-bit microcontroller.

o Pick a hart to run boot process using hart lottery.

This allows to exclude hart 0 from running the boot process.
(BBL releases hart 0 after the main harts, so it never wins the lottery).

o Renumber CPUs early on boot.

Exclude non-MMU cores. Store the original hart ID in struct pcpu. This
allows to find out the correct destination for IPIs and remote sfence
calls.

Thanks to SiFive, Inc for the board provided.

Reviewed by: markj
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D20225

Details

Provenance
brAuthored on May 12 2019, 4:17 PM
Parents
rGda153f8e60e9: arm: allwinner: aw_clk_nm: Don't reparent the clock if we didn't ask
Branches
Unknown
Tags
Unknown

Event Timeline