# Question About Buildroot: hifive\_unleashed\_defconfig

**URL:** <https://forums.sifive.com/t/question-about-buildroot-hifive-unleashed-defconfig/3050>\
**Category:** HiFive Unleashed\
**Created:** [November 16, 2019, 2:49am UTC](https://forums.sifive.com/t/question-about-buildroot-hifive-unleashed-defconfig/3050 "2019-11-16T02:49:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiutao](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@kiutao](https://forums.sifive.com/u/kiutao)\
**Post date:** [November 16, 2019, 2:49am UTC](https://forums.sifive.com/t/question-about-buildroot-hifive-unleashed-defconfig/3050/1 "2019-11-16T02:49:47Z")

</div>

make hifive\_unleashed\_defconfig can get fw\_payload.bin and sdcard.imag

i write sdcard.img to sd card us dd  
sudo dd bs=1M if=sdcard.img of=/dev/sdd (my sd card)  
but can’t boot it. Are there any other thing sould I do?

compare to sifivedemo-coreip-cli-freedom-u540  
i found no u-boot ,only opensbi used in that configure file.

---

<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 16, 2019, 9:12pm UTC](https://forums.sifive.com/t/question-about-buildroot-hifive-unleashed-defconfig/3050/2 "2019-11-16T21:12:18Z")

</div>

It sounds like you are trying to use [github.com/sifive/freedom-u-sdk](http://github.com/sifive/freedom-u-sdk). I don’t know why you referred to unrelated software earlier.

Which version of freedom-u-sdk do you have? There are 3 distinctly different versions of it. The current version, the third version, is an Open-Embedded layer, using opensbi… The second version was a machine mode u-boot with linux kernel and buildroot and an optional debian rootfs. The first version, the one that ships with the board, was a minimal buildroot with bbl and linux kernel.

How you boot depends on which version you have. The boot select pins need to be in different positions for different versions. This is explained in the README.md file for the second and third versions of freedom-u-sdk. This is explained in the Getting Started Guide for the first version.

Since you mentioned opensbi, I think you have the third version. There is a diagram in the README.md file near the end that explains how to set the boot select pins to get it to boot.

---

<div class="post-metadata">

**Author:** ![kiutao](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@kiutao](https://forums.sifive.com/u/kiutao)\
**Post date:** [November 17, 2019, 7:45am UTC](https://forums.sifive.com/t/question-about-buildroot-hifive-unleashed-defconfig/3050/3 "2019-11-17T07:45:49Z")

</div>

yes, appreciated for that.  
Before i got freedom u sdk, I used buildroot(from github). Bcoz the freedom u sdk download u-boot from [ftp.denx.de](http://ftp.denx.de), failed ! so i return to buildroot to build a os & bootloader for sifive unleashed board.

Thank you
