285830 |
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) 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
|