Skip to content

board/sifive: Update defconfig and genimage config files

Bin Meng buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2boot/uboot: Introduce BR2_TARGET_UBOOT_NEEDS_OPENSBIboot/uboot/Config.in boot/uboot/uboot.mk+15 -02 replies
1/2boot/uboot: Introduce BR2_TARGET_UBOOT_NEEDS_OPENSBI+0 -00 replies
2/2board/sifive: Update hifive_unleashed_defconfig and genimage.cfgboard/sifive/hifive-unleashed/boot.cmd board/sifive/hifive-unleashed/genimage_sdcard.cfg board/sifive/hifive-unleashed/genimage_spi-nor.cfg +4 more+123 -362 replies
2/2board/sifive: Update hifive_unleashed_defconfig and genimage.cfg+0 -01 reply
2/2board/sifive: Update hifive_unleashed_defconfig and genimage.cfg+0 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/2R-b
1/2R-b
2/2R-b
2/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] board/sifive: Update defconfig and genimage config files

At present an out-of-tree Linux kernel is being used for SiFive HiFive Unleashed Buildroot configuration. As the upstream Linux kernel evolves it is time to switch to the official Linux kernel tree for this board.

We also switch to use the upstream U-Boot as the bootloader, that provides the ZSBL => U-Boot SPL => OpenSBI dynamic + U-Boot proper boot flow. As the upstream U-Boot supports booting from both SD card and SPI flash, two genimage configuration files are provided to generate corresponding image, as well as a boot cript.

A new config option BR2_TARGET_UBOOT_NEEDS_OPENSBI is introduced to build RISC-V U-Boot that requires OpenSBI.

Bin Meng (2):
boot/uboot: Introduce BR2_TARGET_UBOOT_NEEDS_OPENSBI board/sifive: Update hifive_unleashed_defconfig and genimage.cfg

 board/sifive/hifive-unleashed/boot.cmd             |  4 ++
 .../{genimage.cfg => genimage_sdcard.cfg}          | 14 +++--
 board/sifive/hifive-unleashed/genimage_spi-nor.cfg | 25 ++++++++
 .../sifive/hifive-unleashed/linux.config.fragment  | 14 ++---
 board/sifive/hifive-unleashed/post-build.sh        |  2 +
 board/sifive/hifive-unleashed/readme.txt           | 68 +++++++++++++++++-----
 boot/uboot/Config.in                               | 10 ++++
 boot/uboot/uboot.mk                                |  5 ++
 configs/hifive_unleashed_defconfig                 | 32 +++++++---
 9 files changed, 138 insertions(+), 36 deletions(-)
 create mode 100644 board/sifive/hifive-unleashed/boot.cmd
 rename board/sifive/hifive-unleashed/{genimage.cfg => genimage_sdcard.cfg} (51%)
 create mode 100644 board/sifive/hifive-unleashed/genimage_spi-nor.cfg
 create mode 100755 board/sifive/hifive-unleashed/post-build.sh
Signature · 1 line
2.7.4