All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] board/sifive: Update defconfig and genimage config files
@ 2021-01-11  9:01 Bin Meng
  2021-01-11  9:01 ` [Buildroot] [PATCH 1/2] boot/uboot: Introduce BR2_TARGET_UBOOT_NEEDS_OPENSBI Bin Meng
  2021-01-11  9:01 ` [Buildroot] [PATCH 2/2] board/sifive: Update hifive_unleashed_defconfig and genimage.cfg Bin Meng
  0 siblings, 2 replies; 11+ messages in thread
From: Bin Meng @ 2021-01-11  9:01 UTC (permalink / raw)
  To: buildroot

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

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-26  6:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11  9:01 [Buildroot] [PATCH 0/2] board/sifive: Update defconfig and genimage config files Bin Meng
2021-01-11  9:01 ` [Buildroot] [PATCH 1/2] boot/uboot: Introduce BR2_TARGET_UBOOT_NEEDS_OPENSBI Bin Meng
2021-01-11 19:06   ` Alistair Francis
2021-01-16 14:23     ` Bin Meng
2021-01-16 21:41   ` Thomas Petazzoni
2021-01-11  9:01 ` [Buildroot] [PATCH 2/2] board/sifive: Update hifive_unleashed_defconfig and genimage.cfg Bin Meng
2021-01-11 19:08   ` Alistair Francis
2021-01-16 21:42   ` Thomas Petazzoni
2021-01-17 10:28     ` Bin Meng
2021-01-23 21:01       ` Thomas Petazzoni
2021-01-26  6:35         ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.