Microchip UG0847 User Manual

UG0847
HiFive Unleashed Platform User Guide
Preliminary
October 2018
HiFive Unleashed Platform User Guide
1 Revision History ............................................................................................................................. 1
1.1 Revision 1.0 ........................................................................................................................................ 1
2 Overview ........................................................................................................................................ 2
2.1 HiFive Unleashed Platform (MPFS-DEV-KIT) ....................................................................................... 2
3 Hardware Features ........................................................................................................................ 3
3.1 HiFive Unleashed Kit ........................................................................................................................... 3
4 System Setup and Prerequisites .................................................................................................... 6
4.1 Libero SoC PolarFire Design Suite ....................................................................................................... 6
4.2 Programming FlashPro and FlashPro Express .................................................................................... 6
4.3 Microsemi PolarFire Linux SDK for the HiFive Unleashed Expansion Board ...................................... 6
4.3.1 Ubuntu .................................................................................................................................................... 7
4.3.2 Centos ..................................................................................................................................................... 7
4.4 Firmware Versions .............................................................................................................................. 7
5 Board Setup ................................................................................................................................... 8
6 Software Installation and Configuration ...................................................................................... 12
6.1 Programming the FPGA Using FlashPro ............................................................................................ 12
6.2 Building and Loading the Linux Image .............................................................................................. 14
6.2.1 Preparing an SD Card and Programming an Image for the First Time .................................................. 14
6.2.2 Rebuilding the Linux Kernel ................................................................................................................... 15
6.2.3 Linux Boot and Login Credentials .......................................................................................................... 16
7 FPGA Design in Libero .................................................................................................................. 17
7.1 Memory Map .................................................................................................................................... 17
7.2 GPIO Implementation ....................................................................................................................... 18
8 Reference ..................................................................................................................................... 19
8.1 Recommended Reading ................................................................................................................... 19
8.2 Reference ......................................................................................................................................... 19
9 Technical Support ........................................................................................................................ 20
Microsemi Proprietary and Confidential. UG0847 Revision 1.0
HiFive Unleashed Platform User Guide

1 Revision History

The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the most current publication.

1.1 Revision 1.0

Revision 1.0 is the first publication of this document.
Microsemi Proprietary and Confidential. UG0847 Revision 1.0 1
HiFive Unleashed Platform User Guide

2 Overview

The HiFive Unleashed Platform™ is purpose-built to emulate most of the functionality of the upcoming PolarFire SoC FPGA, which will be the industry’s first RISC-V based FPGA SoC.
This guide describes the MPFS-DEV-KIT, board setup, and installation steps to get the HiFive Unleashed platform boot Linux. New IP cores can be ported on the PolarFire FPGA with the Libero SoC PolarFire Design Suite. For more details on the design suite, see section .FPGA Design in Libero (see page 17)

2.1 HiFive Unleashed Platform (MPFS-DEV-KIT)

The HiFive Unleashed Platform consists of the SiFive’s HiFive Unleashed kit and Microsemi’s HiFive Unleashed Expansion kit with their respective accessories. Microsemi's HiFive Unleashed Expansion board enables users to create a Linux system running on a RISC-V core complex, with a large FPGA fabric accessible through the memory map. The expansion board is shipped with a pre-configured bitstream enabling PCIe root port functionality.
HiFive Unleashed Kit
One SiFive's HiFive Unleashed board One power wall adapter 12 V One USB-A to micro USB-B cable
HiFive Unleashed Expansion Kit
One Microsemi's HiFive Unleashed Expansion Board One USB-A to micro USB-B cable One 12 V, AC power adapter and cord One FlashPro4/FlashPro5 programming dongle Two Libero Platinum software licenses of duration one year ($995 value)
Microsemi Proprietary and Confidential. UG0847 Revision 1.0 2
HiFive Unleashed Platform User Guide

3 Hardware Features

This section provides the block diagram and features of the kit hardware.

3.1 HiFive Unleashed Kit

SiFive’s HiFive Unleashed development kit is based on the Freedom U540-C000 chip, the first 4+1 multi­core RISC-V Linux-capable SoC.
SiFive Freedom U540 SoC 8 GB DDR4 with ECC Gigabit Ethernet port 32 MB quad SPI flash from ISSI MicroSD card for removable storage FMC connector for future expansion
Figure 1 • HiFive Unleashed Board Block Diagram
Microsemi Proprietary and Confidential. UG0847 Revision 1.0 3
HiFive Unleashed Platform User Guide
Figure 2 • HiFive Unleashed Board
The HiFive Unleashed Expansion board contains the following items.
300K LE PolarFire FPGA in an FCG1152 package (MPF300TS-1FCG1152EES) 24-lane PCIe switch eMMC Nand Flash, uSD card slot USB to Uart bridges 4 Gbit DDR4 x16 PCI Express x1 card connector PCI Express x16 card connector with x4 lane support SPI Flash for FPGA remote updates, QSPI Flash connected to GPIO FMC connection to HFU540-4A00 kit SSD M.2 connector SATA connector
Figure 3 • HiFive Unleashed Expansion Board Block Diagram
Microsemi Proprietary and Confidential. UG0847 Revision 1.0 4
HiFive Unleashed Platform User Guide
Figure 4 • HiFive Unleashed Expansion Board
Microsemi Proprietary and Confidential. UG0847 Revision 1.0 5
Loading...
+ 16 hidden pages