mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 11:47:20 +00:00
![]() Currently the partition layout is hardcoded to create an EFI/FAT partition and a UFS root partition, with some logic to handle GPT/MBR differences. On RISC-V platforms we are seeing the emerging pattern that firmware should be placed in a partition of a known type, rather than just a known sector of the disk. Thus, some functionality is needed to customize the layout for SD card images. Add a hook, arm_create_partitions(), which can be overridden to insert additional platform-specific partitions, possibly preceding the standard EFI and UFS ones. A couple of new variables are added to track the indices, e.g. ROOTFSPART_SUFFIX=p2. In a couple places this de-duplicates the GPT/MBR logic. Reviewed by: manu, karels, imp MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43848 |
||
---|---|---|
.. | ||
amd64 | ||
arm | ||
arm64 | ||
i386 | ||
packages | ||
pkg_repos | ||
powerpc | ||
riscv | ||
scripts | ||
tools | ||
Makefile | ||
Makefile.azure | ||
Makefile.ec2 | ||
Makefile.firecracker | ||
Makefile.gce | ||
Makefile.inc1 | ||
Makefile.mirrors | ||
Makefile.vagrant | ||
Makefile.vm | ||
rc.local | ||
release.conf.sample | ||
release.sh |