aboutsummaryrefslogtreecommitdiff
path: root/release
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
* Reorder / and /boot/msdos mount to avoid the following error:Glen Barber2015-05-071-2/+2
| | | | | | | | | | Mounting local file systems: mount: /boot/msdos: No such file or directory Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282615
* Create the /boot/msdos directory so the FAT partition is mountedGlen Barber2015-05-071-0/+1
| | | | | | | | | | properly. Noticed by: sbruno Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282607
* 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-077-183/+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
* Enable the growfs rc(8) script.Glen Barber2015-05-071-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282599
* 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 paths.Glen Barber2015-05-071-3/+5
| | | | | | | | | | Remove the temporary directory when done with it. Destroy the md(4) device when done with it. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282589
* In arm_create_disk(), chroot(8) to the build environmentGlen Barber2015-05-071-29/+29
| | | | | | | | | | | | is necessary. In arm_install_base(), chroot(8) when installing world and kernel. Fix paths for fstab(5) and rc.conf(5). Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282588
* Fix file/directory paths.Glen Barber2015-05-071-11/+11
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282587
* In release.sh, create the /dev directory within the chrootGlen Barber2015-05-072-2/+4
| | | | | | | | | | | | | | before attempting to mount(8) devfs. Also, create the .OBJDIR for the 'release' target, so files end up in the correct location. In tools/arm.subr, fix the target device when creating the gpart partition scheme. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282573
* Use the correct variable for the tools/TARGET.conf file.Glen Barber2015-05-061-2/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282570
* Add tools/arm.subr to contain common subroutines used forGlen Barber2015-05-063-0/+153
| | | | | | | | | | | | | | | | | | | | | | | 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
* Evaluage chroot_build_release_cmd based on the TARGET/TARGET_ARCHGlen Barber2015-05-061-14/+24
| | | | | | | | | | | of the build target. Move arm/armv6 'release' bits to chroot_arm_armv6_build_release(). Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282564
* buildenv_setup(), if overridden in the configuration file,Glen Barber2015-05-061-2/+2
| | | | | | | | | only needs to be invoked once. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282557
* Remove Crochet invocation.Glen Barber2015-05-061-20/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282556
* Remove crochet configuration files and tools/arm/ directory.Glen Barber2015-05-066-185/+0
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282555
* Update the arm/*.conf configuration files to only setGlen Barber2015-05-067-196/+37
| | | | | | | | | | | | | 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-062-152/+8
| | | | | | | | | | | | 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
* Add a return to chroot_build_target().Glen Barber2015-05-061-18/+18
| | | | | | | | | | In chroot_build_release(), reverse the order evaluating EMBEDDEDBUILD. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282548
* Wrap long lines in comments after previous commits that indentedGlen Barber2015-05-061-20/+22
| | | | | | | | | the file. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282546
* Ensure resolv.conf exists on the build host before attemptingGlen Barber2015-05-061-6/+8
| | | | | | | | | | | to copy it to the build chroot. Move where the ldconfig(8) startup script is invoked. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282545
* Move where the configuration file is sourced if '-c'Glen Barber2015-05-061-6/+8
| | | | | | | | | | is specified. If the configuration file does not exist, proceed with the default options instead of exiting. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282544
* Move the trap after env_check(), since CHROOTDIR may beGlen Barber2015-05-061-1/+1
| | | | | | | | | redefined. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282543
* Shorten long lines.Glen Barber2015-05-061-5/+9
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282542
* Move PATH and export to the same line.Glen Barber2015-05-061-3/+8
| | | | | | | | | | Handle svn or svnlite being installed in /usr/bin or /usr/local/bin. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282541
* Add documentation for newly-added functions.Glen Barber2015-05-061-10/+23
| | | | | | | | | | | While here, move CHROOT_* and RELEASE_* variables from env_setup() to env_check() since they may change if a release.conf file is used. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282540
* Add the following functions to release.sh to organize and makeGlen Barber2015-05-061-235/+273
| | | | | | | | | | | | | | | | | clear the workflow: - env_setup() - env_check() - chroot_setup() - extra_chroot_setup() - chroot_build_target() - chroot_build_release() There should be no functional changes at this point. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282539
* MFH: r282315-r282534Glen Barber2015-05-069-8/+147
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282535
| * Fix building BEAGLEBONE images with Crochet using theGlen Barber2015-05-053-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-053-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Document r281617, wc(1) race when receiving SIGINFO fixed.Glen Barber2015-05-051-0/+5
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282496
| * Fix a FDP style nit. Wrap the lines as a result.Glen Barber2015-05-051-3/+3
| | | | | | | | | | | | | | | | Found with: textproc/igor Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282495
| * Document r281802, support added for building FreeBSD/aarch64 virtualGlen Barber2015-05-051-0/+5
| | | | | | | | | | | | | | | | | | machine and memory stick images. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282494
| * Update the svn revision marker.Glen Barber2015-05-051-1/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282493
| * Document r282434, openresolv updated to version 3.7.0.Glen Barber2015-05-051-0/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282492
| * Document r282274, xen(4) PV domU kernel support removed.Glen Barber2015-05-051-0/+3
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282491
| * Document r282213, kern.racct.enable tunable and RACCT_DISABLEDGlen Barber2015-05-051-0/+7
| | | | | | | | | | | | | | | | | | kernel configuration option. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282490