Add partition scheme for mpc85xx devicesSome mpc85xx devices with u-boot need MBR partitioning with a FAT bootpartition. Since the infrastructure is already in place to have a dedicatedboot part
Add partition scheme for mpc85xx devicesSome mpc85xx devices with u-boot need MBR partitioning with a FAT bootpartition. Since the infrastructure is already in place to have a dedicatedboot partition, this adds the necessary bits to use that infrastructure withmpc85xx boards.Reviewed By: nwhitehornDifferential Revision: https://reviews.freebsd.org/D15664
show more ...
Fix math error in the computation of the free space after the last partitionon a disk. This resulted in one sector always remaining free at the end.PR: bin/228322Submitted by: Rikiya YonemotoMF
Fix math error in the computation of the free space after the last partitionon a disk. This resulted in one sector always remaining free at the end.PR: bin/228322Submitted by: Rikiya YonemotoMFC after: 2 weeks
bsdinstall: enable SUJ by default (revert r327890)fsck should be fixed as of r328092.PR: 225110Tested by: dumbbell, Arshan Khanifar <arshankhanifar gmail.com>
bsdinstall: disable SUJ by defaultSUJ + cg checksums produce spurious warnings after an unclean shutdown(e.g. a crash). For now disable SUJ for UFS installs so installing froma FreeBSD 12 snapsh
bsdinstall: disable SUJ by defaultSUJ + cg checksums produce spurious warnings after an unclean shutdown(e.g. a crash). For now disable SUJ for UFS installs so installing froma FreeBSD 12 snapshot results in a usable filesystem, until this can befixed.PR: 225110Submitted by: Arshan Khanifar <arshankhanifar gmail.com>Sponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D13890
Add installer support for PS3 and PowerNV systems, also laying thefoundation for invoking efibootmgr as part of new-style EFI booting onx86. On PS3 and PowerNV, which are booted using Linux kexec f
Add installer support for PS3 and PowerNV systems, also laying thefoundation for invoking efibootmgr as part of new-style EFI booting onx86. On PS3 and PowerNV, which are booted using Linux kexec from petitbootrather than by loader(8), install the kernel and the rest of /boot to aFAT partition and set up the appropriate petitboot configuration filethere.The new bootconfig installer stage can do platform-dependent modificationsmore complex than partition layout and installation of boot blocks and canbe used to (as here) set up some special configuration files, run efibootmgr,or boot0cfg.MFC after: 1 month
Teach bsdinstall partedit/sade how to format FAT partitions on GPT, whichhave the partition type code "ms-basic-data".MFC after: 2 weeks
Fix bug introduced in r326674, in which efi boot partitions created bythe installer but not mounted (i.e. with boot1.efifat dd'ed to themrather than the forthcoming proper filesystem) would get new
Fix bug introduced in r326674, in which efi boot partitions created bythe installer but not mounted (i.e. with boot1.efifat dd'ed to themrather than the forthcoming proper filesystem) would get newfs_msdos runon them immediately after the boot code was copied. This would overwritethe bootstrap code, causing the EFI system partition to be blanked andresulting in an unbootable system.PR: 224562
Support mounted boot partitions in the installer. This allows the platformlayer, for example, to specify that the EFI boot partition should bemounted at /efi and formatted normally with newfs_msdos
Support mounted boot partitions in the installer. This allows the platformlayer, for example, to specify that the EFI boot partition should bemounted at /efi and formatted normally with newfs_msdos rather thansplatted to from /boot/boot1.efifat.This commit adds only the API for this; actual platform use will come later.
various: general adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
various: general adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.No functional change intended.
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
When doing a non-interactive installation, don't display an interactivewarning about a filesystem which doesn't have a mountpoint. Presumably, theperson who wrote the install script knew what they
When doing a non-interactive installation, don't display an interactivewarning about a filesystem which doesn't have a mountpoint. Presumably, theperson who wrote the install script knew what they were doing.Submitted by: Brian Mueller <[email protected]>MFC after: 1 monthSponsored by: PanasasDifferential Revision: https://reviews.freebsd.org/D12346
bsdinstall: correct comment after r320007Submitted by: vangyzen
bsdinstall: use consistent EFI configuration across platforms- increase arm64 EFI partition to 200M, as x86- use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86- increase ZFS EFI partition
bsdinstall: use consistent EFI configuration across platforms- increase arm64 EFI partition to 200M, as x86- use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86- increase ZFS EFI partition to 200MPR: 201898Reviewed by: allanjude, manuMFC after: 3 daysSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D11239
sade(8): start new sentence on new lineReported by: make manlintMFC after: 2 weeksSponsored by: Dell EMC Isilon
style(9): sort headersMFC after: 2 weeksMFC with: r318693Sponsored by: Dell EMC Isilon
Some minor style(9) fixes- Wrap at <80 columns.- Sort by typeMFC after: 2 weeksSponsored by: Dell EMC Isilon
Use nitems() from sys/param.h.Reviewed by: ngieMFC after: 2 weeks.Differential Revision: https://reviews.freebsd.org/D9942
bsdinstall(8): Sprinkle a snprintf to fixed size bufferUse a snprintf to write an environment variable to a fixed-size buffer toavoid stack overflow.Reported by: Coverity (CWE-120)CID: 1238926
bsdinstall(8): Sprinkle a snprintf to fixed size bufferUse a snprintf to write an environment variable to a fixed-size buffer toavoid stack overflow.Reported by: Coverity (CWE-120)CID: 1238926Sponsored by: Dell EMC Isilon
Convert absolute links to relative links.Style.Makefile(9) has been ignored to produce minimal diffs.Approved by: grehan (mentor)MFC after: 1 week
Fix indentation (only line in file w/ 8-space indent rather than hard-tab).MFH: 1 week
Remove pc98 support completely.I thank all developers and contributors for pc98.Relnotes: yes
bsdinstall: add warning when unsupported partition is modifiedRight now is possible to modify bootable partition type tonon-bootable type without getting warning from partedit.Example: if you aut
bsdinstall: add warning when unsupported partition is modifiedRight now is possible to modify bootable partition type tonon-bootable type without getting warning from partedit.Example: if you auto parition drive for arm64, you willget freebsd-ufs as bootable partition; now you are ableto change bootable partition type to freebsd-zfs; therewill be no warning and the system will install butwill not be bootable afterwards.After this fix, partedit will issue the same warning itdoes when user attempts to create bootable partition ofnot supported type, notyfing a user about incomingproblem and allowing to think the decision over beforecommiting the schema.This has been tested on amd64 and arm64.Obtained from: SemihalfSubmitted by: Dominik Ermel <[email protected]>Sponsored by: CaviumReviewed by: nwhitehornDifferential Revision: https://reviews.freebsd.org/D6879
Ensure that the sector size is a multiple of 4096 to avoid creatingunaligned partitions when the actual sector size is hidden from us.PR: 211361MFC after: 3 days
bsdinstall: increase EFI partition size to 200MBA larger EFI file system size will facilitate multi-boot configurationsand the installation other EFI applications like firmware update tools.200MB
bsdinstall: increase EFI partition size to 200MBA larger EFI file system size will facilitate multi-boot configurationsand the installation other EFI applications like firmware update tools.200MB matches OS X.Note that this changes only the partition size, not the file system thatbsdinstall places there. We need to do both, but as the partition sizeis difficult to adjust later make this change for now so that at leastsystems installed with FreeBSD 11.0 have a partition layout with roomto grow.Reviewed by: allanjude, impApproved by: re (gjb)Sponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D6935
ARM64: bsdinstall support for creating EFI partitions This patch enables bsdinstall to create EFI partition during installation and uploading it's contents, making the ARM64 FreeBSD installa
ARM64: bsdinstall support for creating EFI partitions This patch enables bsdinstall to create EFI partition during installation and uploading it's contents, making the ARM64 FreeBSD installation bootable. Obtained from: Semihalf Sponsored by: Cavium Approved by: re Reviewed by: allanjude, emaste, nwhitehorn, wma Differential Revision: https://reviews.freebsd.org/D6853
123