Skip to content

Add support for HiFive Unleashed board

Mark Corbin buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- moved generation of bbl binary file in riscv-pk.mk from INSTALL_CMDS to BUILD_CMDS (Arnout)
- added new patch to modify riscv-pk build scripts to remove hardcoding of ABI.
- removed the large kernel patch and replaced it with a custom git repository (Arnout)
- reduced the kernel config fragment to a minimum (Arnout)
- use a separate root filesystem instead of a linked-in initramfs image (Arnout)
- changed naming convention from sifive-u540* to sifive_hifive* (Arnout)
- added post-image script to generate a complete SD card image file (Arnout)
- updated the default configuration to make use of compressed instructions and the lp64d ABI for builds.
- updated the DEVELOPERS file.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3boot/riscv-pk: add generation of binary bbl fileboot/riscv-pk/riscv-pk.mk+2 -00 replies
2/3boot/riscv-pk: remove hardcoding of the ABIboot/riscv-pk/0001-Add-ability-to-specify-ABI-or-use-compiler-default.patch boot/riscv-pk/riscv-pk.mk+75 -20 replies
3/3board/sifive: add support for the HiFive Unleashed boardDEVELOPERS board/sifive/hifive-unleashed/linux.config.fragment board/sifive/hifive-unleashed/post-image.sh +2 more+148 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/3] Add support for HiFive Unleashed board

Hello

I've regenerated the patches to add support for the SiFive HiFive Unleashed board. I tried to add support for a 5.0 series kernel, but couldn't get the system to boot. This needs further investigation, so I've gone with my original plan to use the 4.20.17 kernel. I've created a new github repository for the patched kernel. This will eventually be deprecated in favour of a 5.0 or 5.1 series kernel.

Changes v1 -> v2:
- moved generation of bbl binary file in riscv-pk.mk from INSTALL_CMDS to BUILD_CMDS (Arnout)
- added new patch to modify riscv-pk build scripts to remove hardcoding of ABI.
- removed the large kernel patch and replaced it with a custom git repository (Arnout)
- reduced the kernel config fragment to a minimum (Arnout)
- use a separate root filesystem instead of a linked-in initramfs image (Arnout)
- changed naming convention from sifive-u540* to sifive_hifive* (Arnout)
- added post-image script to generate a complete SD card image file (Arnout)
- updated the default configuration to make use of compressed instructions and the lp64d ABI for builds.
- updated the DEVELOPERS file.

Regards

Mark

Mark Corbin (3):
boot/riscv-pk: add generation of binary bbl file boot/riscv-pk: remove hardcoding of the ABI board/sifive: add support for the HiFive Unleashed board

 DEVELOPERS                                    |  1 +
 .../hifive-unleashed/linux.config.fragment    | 14 ++++
 board/sifive/hifive-unleashed/post-image.sh   | 37 ++++++++++
 board/sifive/hifive-unleashed/readme.txt      | 65 +++++++++++++++++
 ...-specify-ABI-or-use-compiler-default.patch | 72 +++++++++++++++++++
 boot/riscv-pk/riscv-pk.mk                     |  7 +-
 configs/sifive_hifive_unleashed_defconfig     | 31 ++++++++
 7 files changed, 225 insertions(+), 2 deletions(-)
 create mode 100644 board/sifive/hifive-unleashed/linux.config.fragment
 create mode 100755 board/sifive/hifive-unleashed/post-image.sh
 create mode 100644 board/sifive/hifive-unleashed/readme.txt
 create mode 100644 boot/riscv-pk/0001-Add-ability-to-specify-ABI-or-use-compiler-default.patch
 create mode 100644 configs/sifive_hifive_unleashed_defconfig
Signature · 1 line
2.19.1