1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00
freebsd/release
Mitchell Horne 3fb8f1272b riscv: add firmware partitions to GENERICSD.conf
Create two partitions in the existing space at the beginning of the
image (8MB). These are intended to hold u-boot SPL and u-boot proper.

The partition types selected are compatible with SiFive boards, e.g. the
HiFive Unmatched. They can easily be overridden for a platform that uses
the same scheme but different partition types, e.g. the StarFive
VisionFive v2. Firmware is not actually installed, this too is left for
the user.

It is not as simple to create the firmware partitions after the fact,
e.g. with partition indices 3 and 4. It is a shortcoming of current day
u-boot that the SPL loader looks for a specific partition index, rather
than the partition type, meaning that we will fail to boot if partition
2 doesn't contain u-boot.

Thus, our GENERICSD images become more generically usable with current
RISC-V hardware/firmware platforms.

Reviewed by:	manu, karels, imp
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43849
2024-02-14 11:16:54 -04:00
..
amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
arm release: remove arm/armv6 RPI-B configuration file 2023-08-31 19:24:38 -04:00
arm64 arm64/RPI: enable powerd by default on arm64-aarch64-RPI images 2024-01-05 13:41:24 -06:00
i386 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
packages Reapply "pkgbase: Create a FreeBSD-dtb package" 2024-02-03 09:49:12 +01:00
pkg_repos Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
powerpc powerpc/generate-hfs.sh: Don't include $FreeBSD$ in prefix to uuencoded image 2023-09-25 07:55:18 -07:00
riscv riscv: add firmware partitions to GENERICSD.conf 2024-02-14 11:16:54 -04:00
scripts Reapply "pkgbase: Create a FreeBSD-dtb package" 2024-02-03 09:49:12 +01:00
tools release: make SD card partition layout more flexible 2024-02-14 11:16:54 -04:00
Makefile release: rework distributions list 2024-01-24 09:13:51 -05:00
Makefile.azure releng-azure: Add ZFS support to Azure image buliding and uploading 2023-08-30 01:40:39 +08:00
Makefile.ec2 EC2: Flavour existing AMIs as "base" 2023-09-28 15:18:46 -07:00
Makefile.firecracker Firecracker: Make root disk configurable 2023-08-07 09:21:08 -07:00
Makefile.gce releng-gce: Advertise the availability of UEFI support in GCE images. 2024-01-26 19:09:39 -08:00
Makefile.inc1 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.mirrors Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.vagrant Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.vm release: Add AZURE to CLOUDWARE 2024-02-08 13:49:01 +08:00
rc.local bsdinstall release: Start installer on multiple consoles 2022-10-03 17:09:17 +01:00
release.conf.sample release/oci: add Oracle Cloud image builder 2022-11-27 11:12:02 +00:00
release.sh Revert "release.sh: Add -jN to make release" 2024-01-28 21:43:56 -08:00