# HiFive1 Rev B bootrom source code

**URL:** <https://forums.sifive.com/t/hifive1-rev-b-bootrom-source-code/5039>\
**Category:** HiFive1 Rev B\
**Created:** [August 3, 2021, 3:01am UTC](https://forums.sifive.com/t/hifive1-rev-b-bootrom-source-code/5039 "2021-08-03T03:01:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![agasfer](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@agasfer](https://forums.sifive.com/u/agasfer)\
**Post date:** [August 3, 2021, 3:01am UTC](https://forums.sifive.com/t/hifive1-rev-b-bootrom-source-code/5039/1 "2021-08-03T03:01:31Z")

</div>

I looked at SiFive website but could not find it: is the HiFive1 Rev B bootrom source code available? I’m really curious to see how initialization is done.

Also, when I run example programs I see this on the console after reboot:

```auto
ATE0-->ATE0
OK
AT+BLEINIT=0-->OK
AT+CWMODE=0-->OK

```

is this expected?

---

<div class="post-metadata">

**Author:** ![RalphF](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@RalphF](https://forums.sifive.com/u/RalphF)\
**Post date:** [August 6, 2021, 11:34pm UTC](https://forums.sifive.com/t/hifive1-rev-b-bootrom-source-code/5039/2 "2021-08-06T23:34:42Z")

</div>

Hi Agasfer,

We’re sorry but the boot code is not public. The console messages you are seeing are expected and they are coming from the ESP32 wifi module. If you check Figure 3 of the HiFive Getting Started Guide you’ll see that the ESP32 has a serial interface that also comes out over USB.

- [https://sifive.cdn.prismic.io/sifive/cf239fd0-ae4f-4fd8-a944-fdafb5018153\_hifive1b-getting-started-guide\_v1.2.pdf](https://sifive.cdn.prismic.io/sifive/cf239fd0-ae4f-4fd8-a944-fdafb5018153_hifive1b-getting-started-guide_v1.2.pdf)

Regards,  
Ralph

---

<div class="post-metadata">

**Author:** ![agasfer](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@agasfer](https://forums.sifive.com/u/agasfer)\
**Post date:** [August 7, 2021, 2:01am UTC](https://forums.sifive.com/t/hifive1-rev-b-bootrom-source-code/5039/3 "2021-08-07T02:01:06Z")

</div>

Thank you for replying Ralph.

It’s frustrating, with all that open hardware/software spirit I did not expect this to be the case.

I have not looked too deep into the HW specs of the chip - is there some closed source IP?

---

<div class="post-metadata">

**Author:** ![Disasm](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/disasm/32/690_2.png) [@Disasm](https://forums.sifive.com/u/Disasm)\
**Post date:** [August 7, 2021, 5:54am UTC](https://forums.sifive.com/t/hifive1-rev-b-bootrom-source-code/5039/4 "2021-08-07T05:54:47Z")

</div>

The output you see is printed by bootloader (not bootrom) as a result of communication with the WiFi module. The bootloader is located at the beginning of the flash. If you’re really curious, you can use Ghidra to decompile it.
