diff options
author | gjb <gjb@FreeBSD.org> | 2015-06-17 16:29:32 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-06-17 16:29:32 +0000 |
commit | 943f6dd413b149700348ea578057807b12921be9 (patch) | |
tree | 15d5a1e9d84d2ebfaf82571d73e0ae43f1c56ca7 /release/arm | |
parent | 0065593d458b0b8fc41282eb42415eefc5e85607 (diff) | |
download | FreeBSD-src-943f6dd413b149700348ea578057807b12921be9.zip FreeBSD-src-943f6dd413b149700348ea578057807b12921be9.tar.gz |
MFC r284333:
Reduce the arm/armv6 image size from 1G to 480M.
Since the images are effectively mostly zeros at 1G,
reduce the size to allow installation on smaller SD
cards, such as 512Mb.
While here, stop writing the /boot.txt file on the
WANDBOARD, which isn't used anyway.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/arm')
-rw-r--r-- | release/arm/BEAGLEBONE.conf | 2 | ||||
-rw-r--r-- | release/arm/CUBOX-HUMMINGBOARD.conf | 2 | ||||
-rw-r--r-- | release/arm/GUMSTIX.conf | 2 | ||||
-rw-r--r-- | release/arm/PANDABOARD.conf | 2 | ||||
-rw-r--r-- | release/arm/RPI-B.conf | 2 | ||||
-rw-r--r-- | release/arm/RPI2.conf | 2 | ||||
-rw-r--r-- | release/arm/WANDBOARD.conf | 5 |
7 files changed, 7 insertions, 10 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf index 7cd0fa4..e7ef4f3 100644 --- a/release/arm/BEAGLEBONE.conf +++ b/release/arm/BEAGLEBONE.conf @@ -9,7 +9,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-beaglebone" KERNEL="BEAGLEBONE" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x88000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="2m" FAT_TYPE="12" diff --git a/release/arm/CUBOX-HUMMINGBOARD.conf b/release/arm/CUBOX-HUMMINGBOARD.conf index 79e9389..5c82d40 100644 --- a/release/arm/CUBOX-HUMMINGBOARD.conf +++ b/release/arm/CUBOX-HUMMINGBOARD.conf @@ -9,7 +9,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-cubox-hummingboard" KERNEL="IMX6" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x12000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="50m -b 16384" FAT_TYPE="16" diff --git a/release/arm/GUMSTIX.conf b/release/arm/GUMSTIX.conf index 6812a5f..92e8476 100644 --- a/release/arm/GUMSTIX.conf +++ b/release/arm/GUMSTIX.conf @@ -9,7 +9,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-duovero" KERNEL="GUMSTIX" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x88000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="2m" FAT_TYPE="12" diff --git a/release/arm/PANDABOARD.conf b/release/arm/PANDABOARD.conf index 9910aef..4b7f5eb 100644 --- a/release/arm/PANDABOARD.conf +++ b/release/arm/PANDABOARD.conf @@ -9,7 +9,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-pandaboard" KERNEL="PANDABOARD" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x88000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="2m" FAT_TYPE="12" diff --git a/release/arm/RPI-B.conf b/release/arm/RPI-B.conf index 6fa2d33..ad44995 100644 --- a/release/arm/RPI-B.conf +++ b/release/arm/RPI-B.conf @@ -9,7 +9,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-rpi" KERNEL="RPI-B" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x2000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="17m" FAT_TYPE="16" diff --git a/release/arm/RPI2.conf b/release/arm/RPI2.conf index 4e7d59c..dc13c83 100644 --- a/release/arm/RPI2.conf +++ b/release/arm/RPI2.conf @@ -10,7 +10,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-rpi2" KERNEL="RPI2" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x2000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="50m" FAT_TYPE="16" diff --git a/release/arm/WANDBOARD.conf b/release/arm/WANDBOARD.conf index ab72542..2cc0995 100644 --- a/release/arm/WANDBOARD.conf +++ b/release/arm/WANDBOARD.conf @@ -10,7 +10,7 @@ EMBEDDED_TARGET_ARCH="armv6" EMBEDDEDPORTS="sysutils/u-boot-wandboard" KERNEL="IMX6" WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x12000000" -IMAGE_SIZE="1G" +IMAGE_SIZE="480M" PART_SCHEME="MBR" FAT_SIZE="50m -b 16384" FAT_TYPE="16" @@ -29,9 +29,6 @@ arm_install_uboot() { chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT} chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT} chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr - chroot ${CHROOTDIR} /bin/sh -c 'echo \ - setenv fdt_file wandboard-quad.dtb\; fatload mmc 0:1 11000000 ubldr\; bootelf 11000000\; \ - > ${FATMOUNT}/boot.txt' chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot sync umount_loop ${CHROOTDIR}/${FATMOUNT} |