|author||Glen Barber <gjb@FreeBSD.org>||2014-01-24 22:12:59 +0000|
|committer||Glen Barber <gjb@FreeBSD.org>||2014-01-24 22:12:59 +0000|
Add initial support for building arm BEAGLEBONE images.
- In arm/release.sh: - Move crochet work directory creation to occur earlier, since its parent directory is needed to store a fetched u-boot version. - Add a before_build() function as a quick hack to run board-specific (kernel configuration specific, really) commands, if any. - For the BEAGLEBONE kernel, a specific version of u-boot source is needed. Fetch the source in before_build() for this case. Unfortunately, there are no checksums available (that I can find) for these sources. For a quick solution, add the hard-coded sha256 of the tarball, and fetch from my public_html/ directory. A more permanent solution for this needs to be found. Add initial release.sh and crochet configuration files for the BEAGLEBONE build. Sponsored by: The FreeBSD Foundation
Notes: svn path=/user/gjb/hacking/release-embedded/; revision=261139
Diffstat (limited to 'release/arm/BEAGLEBONE.conf')
1 files changed, 36 insertions, 0 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf
new file mode 100644
@@ -0,0 +1,36 @@
+# This is only supported on amd64 right now. It may work on
+# i386, but I do not have the hardware to test, so until I get
+# a VM set up to make sure, be cautious and assume it will not.
+if [ "$(uname -p)" != "amd64" ] || [ "$(uname -m)" != "amd64" ]; then
+ echo "This is only supported on amd64 right now."
+ exit 0
+# Build chroot configuration
+# Build target configuration
+# Since this file is sourced by a script that runs another
+# script, these must be exported.