aboutsummaryrefslogtreecommitdiff
path: root/release/arm
Commit message (Collapse)AuthorAgeFilesLines
* Copy the rpi.dtb file to the FAT partition, preventing theGlen Barber2015-05-071-0/+2
| | | | | | | | | 'Unrecognized partition table' error, causing boot failure. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282616
* Remove the ZEDBOARD configuration file, as it does notGlen Barber2015-05-071-10/+0
| | | | | | | | | have a corresponding u-boot port in the Ports Collection. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282606
* Spell 'u-boot.img' correctly.Glen Barber2015-05-071-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282605
* Remove the arm/ROADMAP file.Glen Barber2015-05-071-18/+0
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282604
* Remove arm/Makefile.{KERNEL} files, as this projectGlen Barber2015-05-075-48/+0
| | | | | | | | | | branch is now going in a different direction than originally planned. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282603
* Fix creating directories within DESTDIR.Glen Barber2015-05-072-2/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282602
* Fix a copy/paste mistake.Glen Barber2015-05-071-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282601
* Add entries to uenv.txt.Glen Barber2015-05-071-0/+4
| | | | | | | | Obtained from: Crochet Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282600
* Set NODOC=1 to avoid building the reldoc target.Glen Barber2015-05-076-0/+6
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282598
* Add initial native suppor for RPI-B:Glen Barber2015-05-071-0/+29
| | | | | | | | | | | - Set UBLDR_LOADADDR. - Include files to install to the FAT partition. Obtained from: Crochet Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282597
* Remove FDT_DIR definition, which is no longer needed.Glen Barber2015-05-071-1/+0
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282596
* Reduce the number of files copied onto the FAT partition.Glen Barber2015-05-071-5/+0
| | | | | | | | | | The DTB files are loaded from /boot/dtb on the UFS filesystem. Submitted by: loos Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282593
* In arm_install_uboot(), mount both FAT and UFS partitionsGlen Barber2015-05-071-9/+19
| | | | | | | | | | | in the empty DESTDIR, and update path names. Copy the ubldr to the FAT partition. [1] Spotted by: andrew [1] Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282592
* Set UBLDR_LOADADDR for the BEAGLEBONE image.Glen Barber2015-05-071-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282591
* Do not rename u-boot.img file when copying to the FAT partition.Glen Barber2015-05-071-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282590
* Fix file/directory paths.Glen Barber2015-05-071-11/+11
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282587
* Add tools/arm.subr to contain common subroutines used forGlen Barber2015-05-061-0/+21
| | | | | | | | | | | | | | | | | | | | | | | building arm images. This is similar to tools/vmimage.subr used for building virtual machine disk images. By default, only arm_create_disk() and arm_install_base() contain real functionality here, and arm_install_uboot() must be overridden in the arm/KERNEL.conf file. In release.sh, make create_arm_armv6_build_release() do something now. In arm/BEAGLEBONE.conf, set IMAGE_SIZE, PART_SCHEME, FAT_SIZE, FAT_TYPE, and MD_ARGS, as well as make arm_install_uboot() functional. Parts of this were taken from disecting a previous BEAGLEBONE image, and other parts obtained from Crochet sources. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282566
* Update the arm/*.conf configuration files to only setGlen Barber2015-05-066-196/+29
| | | | | | | | | | | | | EMBEDDEDBUILD, EMBEDDED_TARGET, EMBEDDED_TARGET_ARCH, EMBEDDEDPORTS, and KERNEL. In release.sh, set TARGET and TARGET_ARCH to the EMBEDDED_* variants from the configuration file. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282554
* In extra_chroot_setup(), use 'uname -U' to determine OSVERSION.Glen Barber2015-05-061-151/+0
| | | | | | | | | | | | Move the port build for EMBEDDEDPORTS (if set) from arm/release.sh to release.sh. Remove arm/release.sh. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282553
* MFH: r282315-r282534Glen Barber2015-05-063-5/+39
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282535
| * Fix building BEAGLEBONE images with Crochet using theGlen Barber2015-05-052-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sysutils/u-boot-beaglebone port: - In arm/BEAGLEBONE.conf, set EMBEDDEDPORTS to the sysutils/u-boot-beaglebone port. - In arm/release.sh, remove BEAGLEBONE from setting WANT_UBOOT - In tools/arm/crochet-BEAGLEBONE.conf, override the beaglebone_check_uboot(), and set BEAGLEBONE_UBOOT to /tmp/external/u-boot-beaglebone, and create symlinks to the u-boot files in /usr/local/share/u-boot-beaglebone and the uEnv.txt file in crochet/board/Beaglebone/files. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282515
| * Remove buildenv_setup(), and set EMBEDDEDPORTS to theGlen Barber2015-05-051-16/+1
| | | | | | | | | | | | | | | | | | | | sysutils/u-boot-rpi2 port, since these cases are already handled by arm/release.sh. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282501
| * Add initial support for building RPI2 images.Glen Barber2015-05-051-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Thanks to: loos@ Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282500
* | MFH: r281855-r282312Glen Barber2015-05-015-5/+5
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282313
| * Fix CROCHETBRANCH, forgotten in r280640.Glen Barber2015-04-285-5/+5
| | | | | | | | | | | | | | | | | | | | Submitted by: ruben.kerkhof@gmail.com PR: 199760 MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282148
* | Attempt to create the final image (though not nearly readyGlen Barber2015-03-265-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | for it yet). This is probably very broken and/or wrong, but that's why we have projects branches. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=280655
* | MFH: r278968-r280640Glen Barber2015-03-256-8/+9
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=280641
| * Crochet sources moved to a new home; update accordingly.Glen Barber2015-03-255-5/+5
| | | | | | | | | | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=280640
| * Properly evaluate XZ_CMD from the chroot.Glen Barber2015-03-021-1/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=279535
| * Use xz(1) to compress FreeBSD/arm images.Glen Barber2015-03-021-3/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=279532
* | Add a ROADMAP file for FreeBSD/arm release builds, whichGlen Barber2015-02-121-0/+18
| | | | | | | | | | | | | | | | | | will make final documentation much easier when done. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=278610
* | Fix build-arm-ports target for WANDBOARD-QUAD.Glen Barber2015-02-111-1/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=278597
* | Add CROSS_TOOLCHAIN for arm builds.Glen Barber2015-02-113-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | Remove a BOARDS entry left in while testing. Add build-arm-ports${BOARD} target as a prerequisite when ARMPORTS is set. Add build-arm-KERNCONF and build-arm-ports to CLEANFILES. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=278596
* | Initial restructure for FreeBSD/arm release builds.Glen Barber2015-02-115-0/+40
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=278595
* Build gperf before gccEd Maste2014-12-241-0/+8
| | | | | | | | | | | | | | | | The ARM image builds build the in-tree gcc in order to build u-boot and gperf is needed to build gcc, but is no longer installed on archs that use clang. Invoking the make targets as separate steps is done to work around a build failure which is not yet fully understood. Reviewed by: gjb, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1317 Notes: svn path=/head/; revision=276189
* Set a static revision of the Crochet checkout to avoidGlen Barber2014-09-165-5/+5
| | | | | | | | | | | | surprise build failures. MFC after: 3 days X-10.1-MFC: yes X-MFC-With: r271676, r271677 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=271678
* Catch up with Crochet changes to fix the WANDBOARD-QUADGlen Barber2014-09-161-2/+2
| | | | | | | | | | | | | build. Tested on: stable/10@r271618 MFC after: 3 days X-10.1-MFC: yes X-MFC-With: r271676 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=271677
* Catch up with Crochet changes to fix the BEAGLEBONEGlen Barber2014-09-161-2/+2
| | | | | | | | | | | | build. Tested on: stable/10@r271618 MFC after: 3 days X-10.1-MFC: yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=271676
* Also export UNAME_r to fix arm builds.Glen Barber2014-08-231-0/+4
| | | | | | | | | MFC after: 3 days X-MFC-with: r270417 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270418
* Fix arm build breakage when building stable/10 onGlen Barber2014-08-231-0/+4
| | | | | | | | | | head/. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270417
* In arm/release.sh, continue if 'xdev-links' target failsGlen Barber2014-08-111-1/+1
| | | | | | | | | | where the target is not valid (stable/10), instead of doing per-branch evaluation on if xdev-links needs to be invoked. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=269816
* Merge the following from ^/projects/release-noxdev:Glen Barber2014-08-066-117/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r269549, r269551, r269552, r269553, r269554, r269555, r269558, r269559, r269560, r269561, r269628, r269629, r269630, r269635, r269637: r269549: Create a new project branch, release-noxdev, for a sandbox workspace outside of head/ to update the release bits for arm builds since the deprecation of the XDEV and XDEV_ARCH make(1) variables. r269551: Define load_chroot_env() and load_target_env() prototypes. r269552: Call load_chroot_env() and load_target_env() where they can be mutually conflicting with regard to TARGET, TARGET_ARCH, XDEV, and XDEV_ARCH. r269553: Add shebang line to arm/*.conf files since these should be considered to be executable (albeit not on their own) shell scripts. r269554: Redefine load_chroot_env() and load_target_env() in the arm/*.conf files, and reindent. r269555: Simplify where load_chroot_env() and load_target_env() are called. r269558: Provide example in release.conf.sample for overriding the load_chroot_env() and load_target_env() prototypes. r269559: Remove a gratuitous newline. r269560: Unset potentially conflicting variables in load_chroot_env() and load_target_env(). r269561: Make global variables global, and accessible outside of the functions within which they were once defined. r269628: Remove XDEV/XDEV_ARCH evaluation if EMBEDDEDBUILD is set. r269629: In arm/release.sh, switch TARGET/TARGET_ARCH back to the original XDEV/XDEV_ARCH make(1) variables. In theory, this should have been a no-op, but the TARGET and TARGET_ARCH are now unset in load_target_env() to avoid collision with the chroot userland. r269630: Export variables in the arm/*.conf files because they need to be passed through release.sh to arm/release.sh. Set MK_TESTS=no for the xdev target. r269635: As part of the XDEV/XDEV_ARCH deprecation, the 'xdev-links' target was intentionally no longer invoked automatically. Invoke the xdev-links target after xdev, which creates, for example, /usr/bin/armv6-freebsd-cc symlink to /usr/armv6-freebsd/usr/bin/cc. r269637: Set TARGET and TARGET_ARCH to the XDEV and XDEV_ARCH counterparts for the xdev and xdev-links make(1) targets. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=269639
* Fake out the deprecation of XDEV and XDEV_ARCH byGlen Barber2014-07-231-1/+1
| | | | | | | | | | | continuing to use the variables in the configuration file, but switch XDEV= and XDEV_ARCH= to TARGET= and TARGET_ARCH= appropriately. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=269033
* The u-boot tarball needed for some boards, BEAGLEBONE forGlen Barber2014-07-031-0/+3
| | | | | | | | | | | | | | | | | | 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. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=268232
* Move xdev knobs from release/arm/release.sh and into anGlen Barber2014-04-236-2/+6
| | | | | | | | | | | XDEV_FLAGS variable in ${KERNCONF}.conf file. MFC after: 3 days X-MFC-Note: fix stable/10 XDEV_FLAGS local for branch Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264794
* Play musical-KNOBS a bit more with release/arm/release.sh.Glen Barber2014-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | For stable/10, r264703 sets the correct WITH/WITHOUT knobs to get xdev built with the arm-freebsd-gcc binary installed. Unfortunately, the same fix does not work on head/. Also, quite to my amazement, WITH_GCC=1 and WITH_GNUCXX=1 causes xdev to fail spectactularly at least on r264791. The situation as it stands is: - gcc(1) is needed for the u-boot build. - cc(1) *cannot* be clang(1) To shoe-horn the toolchain to make 'xdev' give what is needed, remove WITH_GNUCXX=1 and add WITH_GCC_BOOTSTRAP=1. MFC After: 1 week X-MFC-To: stable/10 only X-MFC-Note: after stable/10 is broken in this way... Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264793
* Apply a slightly different color hammer to arm/release.sh:Glen Barber2014-04-201-6/+1
| | | | | | | | | | | | | | | | | | | | - 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 is no longer expected to be clang(1), remove the chroot(8) post-install cc(1) overwrite. MFC After: 3 days X-MFC-With: r264518,r264697,r264698 Tested on: stable/10@r264677 RPI-B Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264703
* Fix EOL escape.Glen Barber2014-04-201-1/+1
| | | | | | | | | MFC after: 3 days X-MFC-With: r264697 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264698
* When building the 'xdev' target when WITH_GCC=1 andGlen Barber2014-04-201-2/+3
| | | | | | | | | | | | | | | | 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. MFC After: 3 days X-MFC-With: r264518 Tested on: stable/10@r264677 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264697
* Fix armv6 build failure: "armv6-freebsd-gcc: not found"Glen Barber2014-04-151-1/+1
| | | | | | | | Help from: imp Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264518