#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
264960 |
|
25-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/9 branch, in particular, remove all *_CLANG* knobs, and move WITH_GCC=1 to XDEV_FLAGS. This is effectively a no-op on stable/9, and merged for tracking purpose only.
Sponsored by: The FreeBSD Foundation
|
#
264141 |
|
04-Apr-2014 |
gjb |
MFC r262810, r262862, r264105, r264107:
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.
r264107: Remove only-works-on-amd64 restriction.
* Local modifications to stable/9: - Set SRCBRANCH from head/ to stable/9/.
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
|