# What has changed in the FSBL?

**URL:** <https://forums.sifive.com/t/what-has-changed-in-the-fsbl/2995>\
**Category:** HiFive Unleashed\
**Created:** [November 2, 2019, 9:50am UTC](https://forums.sifive.com/t/what-has-changed-in-the-fsbl/2995 "2019-11-02T09:50:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![laanwj](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@laanwj](https://forums.sifive.com/u/laanwj)\
**Post date:** [November 2, 2019, 9:50am UTC](https://forums.sifive.com/t/what-has-changed-in-the-fsbl/2995/1 "2019-11-02T09:50:47Z")

</div>

Current instructions for the `freedom-u-sdk` suggest changing the jumpers on the SiFIve Unleashed board so that FSBL is read from the MMC instead of SPI NAND. A new version is built as part of the process.

e.g. [https://github.com/sifive/freedom-u-sdk#running-on-hardware](https://github.com/sifive/freedom-u-sdk#running-on-hardware)

I haven’t really dared do this yet (since Fedora’s opensbi u-boot image seems to work without). But I’m just curious, what has changed since that makes this necessary?

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [November 2, 2019, 4:58pm UTC](https://forums.sifive.com/t/what-has-changed-in-the-fsbl/2995/2 "2019-11-02T16:58:56Z")

</div>

Our meta-sifive layer includes the freedom-u540-c000-bootloader repo which puts the ZSBL/FSBL on the SDCard. I don’t know if it is actually necessary to do this. It is probably friendly to free/open source types that don’t like running hidden bootloader software. This way all of the code you are running is on the SDcard.

---

<div class="post-metadata">

**Author:** ![laanwj](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@laanwj](https://forums.sifive.com/u/laanwj)\
**Post date:** [November 4, 2019, 11:09am UTC](https://forums.sifive.com/t/what-has-changed-in-the-fsbl/2995/3 "2019-11-04T11:09:50Z")

</div>

Yes it is, and in the longer run I’m going to do this anyhow, for that reason. But I wondered if there was some immediate necessity (e.g. subtle changes in HW/SW interface that were going to bite me). Thanks for the info.

---

<div class="post-metadata">

**Author:** ![laanwj](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@laanwj](https://forums.sifive.com/u/laanwj)\
**Post date:** [November 27, 2019, 9:39am UTC](https://forums.sifive.com/t/what-has-changed-in-the-fsbl/2995/4 "2019-11-27T09:39:44Z")

</div>

I’ve successfully changed my board to FSBL-from-SD mode, it worked first time

- Built FSBL from the freedom-u540-c000-bootloader repository, using Fedora RISC-V’s native gcc 9.2.1. I needed one patch on top: [https://github.com/sifive/freedom-u540-c000-bootloader/commit/068041f77c63dd1878376ba54d29c9f227a8a2d4](https://github.com/sifive/freedom-u540-c000-bootloader/commit/068041f77c63dd1878376ba54d29c9f227a8a2d4) to fix a missing symbol issue.

- I put the FSBL on a partition of the SD, marking it with the correct UUID

- Changed the dipswitch according to the ASCII-art in the freedom-u-sdk README, and rebooted

And it worked.

The only difference I’ve noticed yet is that the FSBL now prints dots to the UART while loading the next payload (OpenSBI+u-boot), which is convenient.
