Skip to content

Commit

Permalink
RISC-V release confs
Browse files Browse the repository at this point in the history
Add two release flavors for RISC-V. First, the traditional "big-iron"
images, capable of generating distribution sets and VM images. Installer
images won't be built yet, but can be trivially enabled in the future
with the addition of riscv/make-memstick.sh.

Second, a GENERICSD embedded image. I've opted for this instead of
board-specific SD card images as it allows users to just dd the u-boot
they want. The RISC-V hardware ecosystem is still young, so a
configuration for e.g. the new PolarFire SoC Icicle Kit would likely see
very few users.

Reviewed by:	gjb
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D27045
  • Loading branch information
mhorne committed Dec 8, 2020
1 parent d46a2a0 commit a0b9e2e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions release/riscv/GENERICSD.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
#
# $FreeBSD$
#

EMBEDDED_TARGET_ARCH="riscv64"
EMBEDDED_TARGET="riscv"
EMBEDDEDBUILD=1
FAT_SIZE="54m -b 1m"
FAT_TYPE="16"
IMAGE_SIZE="3072M"
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
NODOC=1
PART_SCHEME="GPT"
export BOARDNAME="GENERICSD"
8 changes: 8 additions & 0 deletions release/riscv/riscv64.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
#
# $FreeBSD$
#

TARGET="riscv"
TARGET_ARCH="riscv64"
KERNEL="GENERIC"

0 comments on commit a0b9e2e

Please sign in to comment.