![Alistair Francis](/assets/img/avatar_default.png)
This patch adds support for the HiFive Unleashed board. This includes building the firmware, kernel and rootFS for the HiFive Unleashed. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> [Thomas: - fix the directory name hifive_unleased -> hifive-unleashed - drop from readme.txt the instructions about manually flashing each partition, since we have a full SD card image - drop the custom post-image.sh script] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Architecture
|
|
BR2_riscv=y
|
|
BR2_riscv_custom=y
|
|
BR2_RISCV_ISA_CUSTOM_RVM=y
|
|
BR2_RISCV_ISA_CUSTOM_RVF=y
|
|
BR2_RISCV_ISA_CUSTOM_RVD=y
|
|
BR2_RISCV_ISA_CUSTOM_RVC=y
|
|
BR2_RISCV_64=y
|
|
BR2_RISCV_ABI_LP64D=y
|
|
|
|
# System
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttySIF0"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sifive/hifive-unleashed/genimage.cfg"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
# Linux headers same as kernel, a 5.1 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/alistair23/linux.git"
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="hifive-unleashed-5.1"
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sifive/hifive-unleashed/linux.config.fragment"
|
|
BR2_LINUX_KERNEL_IMAGE=y
|
|
|
|
# Bootloader
|
|
BR2_TARGET_OPENSBI=y
|
|
BR2_TARGET_OPENSBI_PLAT="sifive/fu540"
|
|
BR2_TARGET_OPENSBI_LINUX_PAYLOAD=y
|
|
|
|
# Host tools
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|