diff options
author | Glen Barber <gjb@FreeBSD.org> | 2017-06-23 00:08:36 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2017-06-23 00:08:36 +0000 |
commit | 751c20d8a59ddb967d01536892518f722f2e2c81 (patch) | |
tree | 85b6329750def54900efdb3a965ecee65757ca17 /release/tools/arm.subr | |
parent | 6f81bd02b3f6a3b48dbfc6416288346b97e87d7c (diff) | |
download | src-751c20d8a59ddb967d01536892518f722f2e2c81.tar.gz src-751c20d8a59ddb967d01536892518f722f2e2c81.zip |
In release/release.sh:
- Rename chroot_arm_armv6_build_release() to chroot_arm_build_release()
and make it hardware agnostic (such as armv6 -vs- armv7 -vs- arm64).
- Evaluate EMBEDDED_TARGET differently so release/tools/arm.subr can
be used for arm/armv6 and arm64/aarch64.
- Update comments and copyright.
In release/tools/arm.subr:
- In arm_create_disk(), change the default alignment from 63 to 512k,
fixing a boot issue on arm64 and EFI. [1]
- Update comments and copyright.
Add a RPI3 configuration file, pieces obtained from Crochet.
Obtained from: Crochet [1]
MFC after: 5 days
X-MFC-Note: maybe
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=320252
Diffstat (limited to 'release/tools/arm.subr')
-rw-r--r-- | release/tools/arm.subr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/tools/arm.subr b/release/tools/arm.subr index 97326c4d1fb7..c5adbaf063d7 100644 --- a/release/tools/arm.subr +++ b/release/tools/arm.subr @@ -1,6 +1,6 @@ #!/bin/sh #- -# Copyright (c) 2015 The FreeBSD Foundation +# Copyright (c) 2015-2017 The FreeBSD Foundation # All rights reserved. # # Portions of this software were developed by Glen Barber @@ -27,7 +27,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# Common subroutines used to build arm/armv6 images. +# Common subroutines used to build arm SD card images. # # $FreeBSD$ # @@ -65,7 +65,7 @@ umount_loop() { arm_create_disk() { # Create the target raw file and temporary work directory. chroot ${CHROOTDIR} gpart create -s ${PART_SCHEME} ${mddev} - chroot ${CHROOTDIR} gpart add -t '!12' -a 63 -s ${FAT_SIZE} ${mddev} + chroot ${CHROOTDIR} gpart add -t '!12' -a 512k -s ${FAT_SIZE} ${mddev} chroot ${CHROOTDIR} gpart set -a active -i 1 ${mddev} chroot ${CHROOTDIR} newfs_msdos -L msdosboot -F ${FAT_TYPE} /dev/${mddev}s1 chroot ${CHROOTDIR} gpart add -t freebsd ${mddev} |