Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 07:02:39 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264105 - in head/release: arm tools/arm
Message-ID:  <201404040702.s3472dcK041057@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Fri Apr  4 07:02:38 2014
New Revision: 264105
URL: http://svnweb.freebsd.org/changeset/base/264105

Log:
  Merge r262907 from ^/projects/release-embedded:
    Add ZEDBOARD support for release builds.
  
  Sponsored by:	The FreeBSD Foundation

Added:
  head/release/arm/ZEDBOARD.conf
     - copied unchanged from r262907, projects/release-embedded/release/arm/ZEDBOARD.conf
  head/release/tools/arm/crochet-ZEDBOARD.conf
     - copied unchanged from r262907, projects/release-embedded/release/tools/arm/crochet-ZEDBOARD.conf

Copied: head/release/arm/ZEDBOARD.conf (from r262907, projects/release-embedded/release/arm/ZEDBOARD.conf)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/release/arm/ZEDBOARD.conf	Fri Apr  4 07:02:38 2014	(r264105, copy of r262907, projects/release-embedded/release/arm/ZEDBOARD.conf)
@@ -0,0 +1,28 @@
+#
+# $FreeBSD$
+#
+
+# Build chroot configuration
+TARGET="amd64"
+TARGET_ARCH="amd64"
+SVNROOT="svn://svn.FreeBSD.org/"
+SRCBRANCH="base/head@rHEAD"
+DOCBRANCH="doc/head@rHEAD"
+PORTBRANCH="ports/head@rHEAD"
+NODOC=yes
+
+# Build target configuration
+# Since this file is sourced by a script that runs another
+# script, these must be exported.
+set -a
+WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
+KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
+CHROOTDIR="/scratch"
+EMBEDDEDBUILD=1
+XDEV="arm"
+XDEV_ARCH="armv6"
+KERNEL="ZEDBOARD"
+CROCHETSRC="https://github.com/kientzle/crochet-freebsd"
+CROCHETBRANCH="trunk"
+set +a
+

Copied: head/release/tools/arm/crochet-ZEDBOARD.conf (from r262907, projects/release-embedded/release/tools/arm/crochet-ZEDBOARD.conf)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/release/tools/arm/crochet-ZEDBOARD.conf	Fri Apr  4 07:02:38 2014	(r264105, copy of r262907, projects/release-embedded/release/tools/arm/crochet-ZEDBOARD.conf)
@@ -0,0 +1,29 @@
+#
+# $FreeBSD$
+#
+
+# This is the configuration file for use with crochet to produce
+# FreeBSD ZedBoard images.
+
+board_setup ZedBoard
+option ImageSize 1gb
+option AutoSize
+
+export MAKEOBJDIRPREFIX=/usr/obj
+FREEBSD_SRC=/usr/src
+__MAKE_CONF=/dev/null
+SRCCONF=/dev/null
+WORKDIR=/usr/obj
+_BRANCH=$(make -C ${FREEBSD_SRC}/release -V BRANCH)
+_REVISION=$(make -C ${FREEBSD_SRC}/release -V REVISION)
+KERNCONF=ZEDBOARD
+TARGET=arm
+TARGET_ARCH=armv6
+FREEBSD_BUILDWORLD_EXTRA_ARGS="${WORLD_FLAGS}"
+FREEBSD_BUILDKERNEL_EXTRA_ARGS="${KERNEL_FLAGS}"
+FREEBSD_INSTALLWORLD_EXTRA_ARGS=""
+FREEBSD_INSTALLKERNEL_EXTRA_ARGS=""
+FREEBSD_WORLD_EXTRA_ARGS=""
+FREEBSD_KERNEL_EXTRA_ARGS=""
+FREEBSD_EXTRA_ARGS=""
+IMG=${WORKDIR}/FreeBSD-${_REVISION}-${_BRANCH}-${TARGET}-${TARGET_ARCH}-${KERNCONF}.img



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404040702.s3472dcK041057>