aboutsummaryrefslogtreecommitdiff
path: root/release
Commit message (Collapse)AuthorAgeFilesLines
* Merge ^/projects/release-arm-redux into ^/head.Glen Barber2015-05-0916-762/+640
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Help from: many (boot testing, feedback, etc.) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282693
| * Use the IMX6 kernel configuration for the WANDBOARD build,Glen Barber2015-05-083-85/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | since it supports all of these board variants. While here, remove the WANDBOARD-{QUAD,SOLO,DUAL} kernel configuration files. Discussed with: ian Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282656
| * Strip the KERNEL from the mount paths, working around the followingGlen Barber2015-05-087-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | error: root@releng2:/ # mount_msdosfs /dev/md5s1 /usr/obj/usr/src/release/WANDBOARD-QUAD/fat mount_msdosfs: /dev/md5s1: File name too long Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282654
| * Fix path to the u-boot.imx file, which is relative to the root ofGlen Barber2015-05-083-3/+3
| | | | | | | | | | | | | | | | | | the chroot environment. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282653
| * Touch '/firstboot' so the growfs rc(8) script runs.Glen Barber2015-05-087-0/+7
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282648
| * Fix the starting block of the partition.Glen Barber2015-05-083-6/+6
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282647
| * Initial support for building the PANDABOARD image.Glen Barber2015-05-081-0/+26
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282642
| * Add a file missed in the previous commit.Glen Barber2015-05-081-0/+41
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282640
| * Copy arm/WANDBOARD-QUAD.conf to arm/WANDBOARD-{SOLO,DUAL}.conf.Glen Barber2015-05-081-0/+41
| | | | | | | | | | | | | | | | | | | | | | Ian informed me a few months ago that the WANDBOARD-* kernels will eventually be combined into one that will work across all these boards, but for now, build them individually. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282639
| * Fix FAT partition size.Glen Barber2015-05-081-1/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282638
| * Sigh. Really fix CHECKSUM file creation.Glen Barber2015-05-081-4/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282637
| * Fix CHECKSUM file creation.Glen Barber2015-05-081-4/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282636
| * Initial support for building WANDBOARD-QUAD images.Glen Barber2015-05-081-0/+30
| | | | | | | | | | | | | | | | | | Several parts of this were obtained from Crochet. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282635
| * Initial commit to support building RPI2 images, based on informationGlen Barber2015-05-081-0/+31
| | | | | | | | | | | | | | | | | | and documentation written by loos@ on the Wiki. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282631
| * Do not include '/R' in the path when generating checksums, sinceGlen Barber2015-05-081-2/+2
| | | | | | | | | | | | | | | | | | that will cause '/R' to be included in the CHECKSUM files. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282629
| * Move the finished image build to the '/R' directory (theGlen Barber2015-05-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | standard 'install' location for other architectures), then compress the image with xz(1), and generate the CHECKSUM files. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282628
| * Fix the name of the final image.Glen Barber2015-05-081-1/+1
| | | | | | | | | | | | | | | | | | Sigh. Thou shalt not commit before coffee. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282627
| * Rename KERNEL.img -> OSRELEASE-KERNEL.img when complete.Glen Barber2015-05-081-0/+4
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282626
| * Do not create the uenv.txt file for RPI-B. It is not needed.Glen Barber2015-05-081-4/+0
| | | | | | | | | | | | | | | | Submitted by: ian Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282625
| * Fix path to /boot/msdos for the target image.Glen Barber2015-05-081-1/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282624
| * 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