History log of /freebsd-10-stable/release/arm/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
332888 23-Apr-2018 gjb

MFC r332674:
Increase the msdosfs partition size on arm SoC images where the
current size may not be sufficiently large for development and/or
testing.

PR: 227548
Sponsored by: The FreeBSD Foundation

331741 29-Mar-2018 gjb

MFC r331562 (manu):
release: arm: Copy boot.scr from ports

Latest u-boot update need u-boot script to load and start ubldr.
(See D14230 for more details)
Copy this file for our arm release on the fat partition.

326018 20-Nov-2017 gjb

MFC r325373, r325861:
r325373 (manu):
release/arm: Do not install ubldr

r325861 (manu):
release: Update u-boot and firmware file for RPI-B target.

Sponsored by: The FreeBSD Foundation

326016 20-Nov-2017 gjb

MFC r325950, r325953:
r325950:
Sort variables for consistency.

r325953:
Add general configuration files used by release/release.sh for
big-iron installation images.

Sponsored by: The FreeBSD Foundation

325899 16-Nov-2017 gjb

MFC r320252, r320686, r325769:
r320252:
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.

r320686:
Fix the ftp-stage target by loosening the constraints on the TARGET
and TARGET_ARCH variables.

r325769:
Update the GUMSTIX image build to use arm/arm TARGET/TARGET_ARCH.
Update the TARGET/TARGET_ARCH matching in release/release.sh and
release/Makefile.mirrors for simplification.

Note: The RPI3.conf addition from r320252 is not included, as it is
not supported on 10-STABLE. Additionally, arm64/aarch64 changes are
also excluded from this commit.

Sponsored by: The FreeBSD Foundation

323113 01-Sep-2017 marius

Fix a typo in the hard link creation for a WANDBOARD DTB file. Just
like r322666 which introduced this bug, this is a direct commit to
stable/10.

Approved by: re (kib)

322666 18-Aug-2017 gjb

Create hard links to the installed dtb files for the BEAGLEBONE [1]
and WANDBOARD [2] images to fix a boot issue.

This is a direct commit to stable/10, as the change is not needed
for head and stable/11.

Approved by: re (marius)
Help from: manu [1], ian [2]
Tested by: gjb [1], ian [2]
Sponsored by: The FreeBSD Foundation

316765 13-Apr-2017 gjb

MFC r316617 (partial):
- Use the 'conv=sync' dd(1) option to fix writing the u-boot.imx
file to the md(4) device for IMX6-based boards.

Sponsored by: The FreeBSD Foundation

303856 08-Aug-2016 gjb

Increase the IMX (CUBOX-HUMMINGBOARD, WANDBOARD) image size to
successfully build.

While here, add the SRCBRANCH to the CUBOX-HUMMINGBOARD.conf and
GUMSTIX.conf.

This is a direct commit to stable/10, as the images for stable/11
are already larger than this.

Sponsored by: The FreeBSD Foundation

288469 02-Oct-2015 gjb

MFC r288374:
In addition to the ubldr file, also copy ubldr.bin to the
MS-DOS partition. This will help with transitioning to
a single arm/armv6 userland build which could be used for
all FreeBSD/armv6 images without UBLDR_LOADADDR being set
for each board (ultimately requiring a separate buildworld
for each currently).

Sponsored by: The FreeBSD Foundation

284517 17-Jun-2015 gjb

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

284156 08-Jun-2015 gjb

MFC r283920, r283991, r283992, r284102:

r283920:
Add a configuration file to support the Cubox/Hummingboard SoC.

r283991:
Add initial support for building images for the Duovero Gumstix
board.

r283992:
Fix a whitespace nit.

r284102:
Set the correct UBLDR_LOADADDR for the Wandboard and
Cubox/Hummingboard images.

Sponsored by: The FreeBSD Foundation

283880 01-Jun-2015 gjb

MFC r283673, r283674:

r283673:
Sort configuration options for consistency with other boards.

r283674:
Export 'BOARDNAME' when differs from the KERNCONF.

Sponsored by: The FreeBSD Foundation

283161 20-May-2015 gjb

MFC r282500, r282693:
r282500:
Add initial support for building RPI2 images.

In release.sh, allow overriding buildenv_setup() before
the handoff to arm/release.sh.

Copy arm/RPI-B.conf -> arm/RPI2.conf, set UBOOT_PORT and
the correct KERNEL, and add the buildenv_setup() override
to install the sysutils/u-boot-rpi2 port/package.

Copy tools/arm/crochet-RPI-B.conf -> tools/arm/crochet-RPI2.conf,
and set the correct entries for the RaspberryPi2 board.

r282693:
Merge ^/projects/release-arm-redux into ^/head.

Of note:

- This commit adds native FreeBSD/arm release build support without
requiring out-of-tree utilities.

- Part of this merge removes the WANDBOARD-{SOLO,DUAL,QUAD} kernel
configuration files, for which the IMX6 kernel configuration file
should be used instead.

- The resulting images have a 'freebsd' user (password 'freebsd'),
to allow ssh(1) access when console access is not available (VGA
or serial). The default 'root' user password is set to 'root'.

- The /etc/ttys file for arm images now enable both ttyv0 and ttyu0
by default.

Note: The RPI2 kernel configuration does not yet exist in stable/10,
however the merge conflicts needed to be properly resolved.
Additionally, SRCBRANCH has been set to base/stable/10 in the updated
arm configuration files as part of this commit.

Sponsored by: The FreeBSD Foundation

282292 01-May-2015 gjb

MFC r282148:
Fix CROCHETBRANCH.

PR: 199760
Sponsored by: The FreeBSD Foundation

280777 28-Mar-2015 gjb

MFC r280640:
Crochet sources moved to a new home; update accordingly.

Sponsored by: The FreeBSD Foundation

271791 18-Sep-2014 gjb

MFC r271676, r271677, r271678:

r271676:
Catch up with Crochet changes to fix the BEAGLEBONE
build.

r271677:
Catch up with Crochet changes to fix the WANDBOARD-QUAD
build.

r271678:
Set a static revision of the Crochet checkout to avoid
surprise build failures.

Approved by: re (marius)
Sponsored by: The FreeBSD Foundation

270688 27-Aug-2014 gjb

MFC r270417, r270418, r270455, r270457:

r270417:
Fix arm build breakage when building stable/10 on
head/.

r270418:
Also export UNAME_r to fix arm builds.

r270455:
Set OSREL and UNAME_r in release/release.sh when building
ports to prevent ports build failures from killing the
release build.

r270457:
Wrap a long line.

Sponsored by: The FreeBSD Foundation

268305 06-Jul-2014 gjb

MFC r268232:
The u-boot tarball needed for some boards, BEAGLEBONE for
example, explicitly hard-code gcc(1) as the compiler.

Partially revert r264703, which did a post-chroot install
of gcc(1). This was initially removed because gcc(1) fails
to build usr.bin/dtc/ causing the xdev target to fail. So
this time, move the gcc(1) installation after xdev is built.

This change is likely applicable to stable/10 arm build
failures, as well.

Sponsored by: The FreeBSD Foundation

264959 26-Apr-2014 gjb

MFC r264794:
Move xdev knobs from release/arm/release.sh and into an
XDEV_FLAGS variable in ${KERNCONF}.conf file.

Local changes:
Fix XDEV_FLAGS for stable/10 branch, in particular, remove
WITH_GCC_BOOTSTRAP=1 and add WITH_GNUCXX=1.

Sponsored by: The FreeBSD Foundation

264792 23-Apr-2014 gjb

MFC r264518, r264697, r264698, r264703:

r264518:
Fix armv6 build failure: "armv6-freebsd-gcc: not found"

r264697:
When building the 'xdev' target when WITH_GCC=1 and
WITHOUT_CLANG_IS_CC=1, it appears WITHOUT_CLANG=1 must
also be set.

While here, reorder the lines to put the WITH_* and
WITHOUT_* entries on the same line.

r264698:
Fix EOL escape.

r264703:
Apply a slightly different color hammer to arm/release.sh:

- gcc(1) fails to build usr.bin/dtc
- lack of WITH_GNUCXX=1 causes cc1plus(1) calls to fail
- u-boot fails to build with clang (hard-coded gcc(1) calls)

Implement the proper incantation of WITH_/WITHOUT_ knobs
to get arm snapshot builds working again.

Since the cc(1) binary no longer needs to be cc(1) instead of
clang(1), remove the chroot(8) post-install cc(1) overwrite.

Sponsored by: The FreeBSD Foundation

264108 04-Apr-2014 gjb

MFC r264107:
Remove only-works-on-amd64 restriction.

Sponsored by: The FreeBSD Foundation

264106 04-Apr-2014 gjb

MFC r262810, r262862, r264105:
r262810:
Merge enabling building FreeBSD/arm images as part of the
release build process.

r262862:
Provide backwards-compatibility with release.conf SVNROOT
entries that do not have a trailing '/'.

r264105:
Add ZEDBOARD support for release builds.

* Local modifications:
- Set SRCBRANCH from head/ to stable/10/.
- Strip svn:merginfo from ^/projects/release-embedded to avoid
pollution.

Sponsored by: The FreeBSD Foundation

262810 05-Mar-2014 gjb

Merge ^/projects/release-embedded into ^/head.

After several months of testing and fixing (and breaking)
various parts of release/release.sh changes, it is now
possible to build FreeBSD/arm images as part of the release
process.

When EMBEDDEDBUILD is set in the release.conf file, release.sh
will create the build environment, then run a separate script
in release/${XDEV}/release.sh [1]. Currently, only arm is
supported.

The release/${XDEV}/release.sh configures the build environment
specific for the target image, such as installing gcc(1),
installing additional third-party software from the ports tree,
and fetching external sources.

Once the build environment is set up, release/${XDEV}/release.sh
runs Crochet, written by Tim Kientzle, which builds the userland
and kernel, and creates an image that can be written to an SD
card with dd(1). Many thanks to Tim for his work on Crochet.

Sample configurations for FreeBSD/arm boards are in the
release/arm/ directory, and Crochet configuration files for each
board are located in release/tools/arm/. Supported boards at this
time are: BEAGLEBONE, PANDABOARD, RPI-B, and WANDBOARD-QUAD.

Adding support for additional boards will continue in the
projects/release-embedded/ branch, and incrementally merged back
to head/.

Many thanks to the FreeBSD Foundation for the support and
sponsorship of this project.

[1] XDEV is used in order to keep the various configurations
organized by architecture, but since TARGET and TARGET_ARCH
are used to build the chroot, the values of those variables
cannot be used.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


262314 21-Feb-2014 gjb

Merge the following:
^/user/gjb/hacking/release-embedded:
259994,260000,260895-260896,261139,261152,
261174,261176,261210,261221,261237,261239,
261448,261489
^/user/gjb/release-embedded:
262305,262307

svn:mergeinfo is intentionally not included in the commit, so it does
not propagate to head/.

Sponsored by: The FreeBSD Foundation


259994 28-Dec-2013 gjb

Implement cross build support for embedded devices into
release.sh:

- Modify release/release.sh to recognize an 'EMBEDDEDBUILD'
variable. When set, release/release.sh will build the chroot
userland as is done for big-iron builds.

- Instead of running the 'buildworld', 'buildkernel', and
'release' targets in the chroot, a separate script is run.
The script tools/release/${XDEV}/release.sh sets up the rest
of the chroot workspace, such as installing ports that will
be needed, and building the 'xdev' target.

- crochet (by kientzle@) is checked out from the upstream
repository (and if needed, u-boot, in the case of Raspberry
Pi).

- tools/release/${XDEV}/release.sh then runs crochet with
a configuration file specific to the ${KERNCONF} being built.

Note that this is effectively a first-pass attempt to integrate
this into the release process.

Tested against: head@r259961
Sponsored by: The FreeBSD Foundation