aboutsummaryrefslogtreecommitdiff
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-06544-16205/+25531
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-arm-redux/; revision=282535
| * Correctly print valtype for empty bitmask.Alexander V. Chernikov2015-05-061-0/+1
| | | | | | | | Notes: svn path=/head/; revision=282534
| * Corrected indentation on conflicted source files.Kashyap D Desai2015-05-066-307/+319
| | | | | | | | | | | | | | | | | | Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282533
| * Configured the mrsas(4) driver to support UNMAPPED I/O and updated driver ↵Kashyap D Desai2015-05-062-14/+38
| | | | | | | | | | | | | | | | | | | | | | version. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282532
| * 1. All LSI namings are converted to AVAGO Tech.Kashyap D Desai2015-05-067-37/+50
| | | | | | | | | | | | | | | | | | | | | | | | 2. Fix in AEN path(suggested by John Baldwin). 3. Fix IOCTL path w.r.t Sense key handling Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282531
| * Bug fixes found internally as detailed below:Kashyap D Desai2015-05-063-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. While disabling interrupt the FW disables interrupts for only 16 vectors. In case of Invader which supports 96 MSI-x vectors, some spurious interrupts may come on other vectors even after interrupt disable. So, driver uses a flag and ignores the spurious interrupts. 2. Reply queue depth is made double the number of commands supported by FW. 3. Misplaced interrupt enable code is now moved down in the OCR path. 4. Updated error handling code in OCR path. 5. Removed un-necessary print. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282530
| * Driver calls mrsas_complete_cmd() to call mrsas_wakeup() for each MFI frame ↵Kashyap D Desai2015-05-061-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that was issued through the ioctl() interface prior to the kill adapter. This ensures userspace ioctl() system calls issued just before a kill adapter don't get stuck in wait state and IOCTLs are returned to application. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282529
| * In OCR(Online Controller Reset) path, driver sets adapter state toKashyap D Desai2015-05-062-62/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MEGASAS_HBA_OPERATIONAL before getting new RAID map. There will be a small window where IO will come from OS with old RAID map. This patch will update adapter state to MEGASAS_HBA_OPERATIONAL, only after driver has new RAID map to avoid any IOs getting build using old RAID map. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282528
| * Current driver does fast path read load balancing between arm and mirror diskKashyap D Desai2015-05-064-73/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | for two Drive Raid-1 configuration only. Now, Driver support fast path read load balancing for all (any number of disk) Raid-1 configuration. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282527
| * Now Driver expose Secure Jbod Support via driver_operations in MFI INIT Frame.Kashyap D Desai2015-05-063-39/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FW expose Secure Jbod support via Controller properity. Firmware expect IOs to be received from different IO path than conventional fast path queue, in case of SED drives. To have Secure jbod support user need driver and firmware support. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282526
| * This patch adds the feature to provide PCI information via IOCTL query.Kashyap D Desai2015-05-063-11/+217
| | | | | | | | | | | | | | | | | | Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies Notes: svn path=/head/; revision=282525