Firmware Update - SiFive HiFive Unleashed Getting Started Manual

Table of Contents

Advertisement

Chapter 6

Firmware Update

As new features are added, the HiFive Unleashed may receive periodic updates. These updates
can include changes to the First Stage Boot Loader (FSBL), the Device Tree Blob (DTB), the
recovery Linux kernel, or the default user kernel. To keep things simple, all of these are updated
in lock-step. The newest firmware can always be found on the SiFive website.
Firmware updates for the HiFive Unleashed consist of two files:
1.
hifive-unleashed-a00-A.B-YYYY-MM-DD.gpt
to the flash chip. This contains the FSBL, DTB, and recovery kernel.
2.
hifive-unleashed-a00-A.B-YYYY-MM-DD.bin
written to the SD card. This contains the default user kernel.
To upgrade, follow these steps:
1. Switch the
2. Power-on the board
3. Copy the two files to the board with scp
4. Execute:
to upgrade the contents of the flash.
5. Optional:
mmcblk0p1; sync
the DTB is changed in a manner incompatible with older kernels. However, this step
will also destroy any customizations the user has made to the kernel.
6. Restore the
DIP switches to 0110
MSEL
flashcp -v hifive-unleashed-a00-A.B-YYYY-MM-DD.gpt /dev/mtd0
cat hifive-unleashed-a00-A.B-YYYY-MM-DD.bin > /dev/
to upgrade the contents of the SD card. This may be necessary if
DIP switches to 1111
MSEL
, an image which should be written
, an image which may optionally be
14

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HiFive Unleashed and is the answer not in the manual?

Table of Contents