MFC r340845-r340848, r340971, r340981, r342076r340845:Derive PHY class to new one specialized for USB PHY functions.Submitted by: mmelr340846:aw_usbphy: Convert to usbphy subclassInstead of
MFC r340845-r340848, r340971, r340981, r342076r340845:Derive PHY class to new one specialized for USB PHY functions.Submitted by: mmelr340846:aw_usbphy: Convert to usbphy subclassInstead of routing the phy when enabling it, do the configurationand routing in the phynode_usb_set_mode function.While here, if we don't have a vbus detection method, enable the phyif requested.r340847:a10_ehci: Always set the phy to host moder340848:axp8xx: Rework the enable part and add the GPIOXLDO regulatorsr340971:aw_usbphy: Do not error if it's not phy 0Only phy0 can switch between host/otg, do not error if we requesthost mode on phy != 0.X-MFC with: r340846r340981:release: arm64: Add PINEBOOK configAdd a configuration for PINEBOOK image.Pinebook is a arm64 laptop based on a Pine64 board.Since the usb trackpad need a quirk, add a common function for addingquirk for arm board.A default one is supplied as most board to not need quirks.Reviewed by: gjbDifferential Revision: https://reviews.freebsd.org/D18337r342076:arm64: allwinner: axp81x: Fix double invertion for FLDO1This fix booting on A64 boards when disabling the unused regulators at boot.We did disable all the regulator handled by register 0x13 which of course containmandatory regulators for the board to be up.Reported by: Mark Millard <[email protected]>X-MFC-With: r340848
show more ...
MFC r349160: Fix passing ${CONF_FILES} (which contains MAKE_CONF and SRC_CONF, __MAKE_CONF and SRCCONF, respectively) through to arm_install_base() and chroot_arm_build_release(). This prevents f
MFC r349160: Fix passing ${CONF_FILES} (which contains MAKE_CONF and SRC_CONF, __MAKE_CONF and SRCCONF, respectively) through to arm_install_base() and chroot_arm_build_release(). This prevents failures when the target image is intended to be build with make.conf(5) and src.conf(5) overrides, which are correctly handled for non-embedded image builds.PR: 238615Sponsored by: The FreeBSD Foundation
MFC r347370: Bump EC2 AMI filesystem size up to 4000 MB.The latest stable/12 snapshot broke because it ran out of disk space.
MFC r348439: Increase the size of the Vagrant default image size, as the 3GB size is too small to bootstrap the firstboot_pkgs list. While here, add the growfs(8) startup script to /etc/rc.conf,
MFC r348439: Increase the size of the Vagrant default image size, as the 3GB size is too small to bootstrap the firstboot_pkgs list. While here, add the growfs(8) startup script to /etc/rc.conf, as Vagrant images can be resized by modifying the Vagrantfile.Sponsored by: The FreeBSD Foundation
MFC r347056: Increase the default size of the GCE disk image from 3GB to 20GB, as 3GB is too small as discovered in last week's snapshot builds.Sponsored by: The FreeBSD Foundation
MFC r346959: Reduce the default image size for virtual machine disk images from 30GB to 3GB. The raw images can be resized using truncate(1), and other formats can be resized with tools includ
MFC r346959: Reduce the default image size for virtual machine disk images from 30GB to 3GB. The raw images can be resized using truncate(1), and other formats can be resized with tools included in hypervisors. Enable the growfs(8) rc(8) at firstboot if the disk was resized prior to booting the virtual machine for the first time.Sponsored by: The FreeBSD Foundation
MFC r345316, r345317, r345858:r345316: Register ARM64 EC2 AMIs as being for the ARM64 architecture.r345317: Don't install amazon-ssm-agent package into ARM64 AMIs.r345858: Add support for cross
MFC r345316, r345317, r345858:r345316: Register ARM64 EC2 AMIs as being for the ARM64 architecture.r345317: Don't install amazon-ssm-agent package into ARM64 AMIs.r345858: Add support for cross-building cloudware images.With these changes it is possible to build ARM64 EC2 AMIs on stable/12 --said images do not *work* yet, however.
MFC r344315: Fix sed script to insert Amazon NTP server into ntp.conf once rather than twice.
MFC r342875: Turn off ec2_ephemeralswap for nowPR: 234686
MFC r340983: Fix NTP query on GCE due to unresolved hostname.PR: 232456Submitted by: Lucas KanashiroSponsored by: The FreeBSD Foundation
MFC r339684: Reduce the GCE image size to 27G to be lower than the free quota limit.PR: 232313Approved by: re (kib)Sponsored by: The FreeBSD Foundation
release.sh: disable colors and the beastie menu for ARM/ARM64 targetslualoader has moved to a model where the user is expected to disable coloras desired, rather than disabling it automatically fo
release.sh: disable colors and the beastie menu for ARM/ARM64 targetslualoader has moved to a model where the user is expected to disable coloras desired, rather than disabling it automatically for serial boots, due tomore wide-spread support for color sequences.In a similar vain, though also to reduce special cases, lualoader nolonger disables the beastie menu automatically for !x86. This was done inForth land with a different loader.rc that simply didn't invoke the menuroutines, thus wasn't necessary.This set of changes puts release images back to how they would've beenexperienced prior to the switch to Lua.Approved by: re (rgrimes)
Disable atkbd0 and atkdbc0 in EC2 AMIs. This has the effect of skippingthe probing and attaching of the PS/2 mouse (not present on EC2) andkeyboard (emulated, but not accessible via EC2).Note th
Disable atkbd0 and atkdbc0 in EC2 AMIs. This has the effect of skippingthe probing and attaching of the PS/2 mouse (not present on EC2) andkeyboard (emulated, but not accessible via EC2).Note that we disable atkbd0 separately even though during device probingit shows up as a child of atkbdc0; this is necessary because the deviceis also initialized during the early console setup from hammer_time.This change cuts the kernel boot time on an EC2 c5.4xlarge instance from7259ms down to 4727 ms.Approved by: re (marius)
release: arm: Setup overlays if board config defines someApproved by: re (gjb)
Copy the boot loader from the new location for the co-existingloaders.Reviewed by: gjb@
Add a space between a variable and escaped new line.MFC after: 3 daysMFC with: r337717Sponsored by: The FreeBSD Foundation
Add lang/python2, lang/python3, and lang/python to GCE imagesto help avoid hard-coding 'python<MAJOR>.<MINOR>' in severalscripts in the client-side scripts.PR: 230248MFC after: 3 daysSubmitted
Add lang/python2, lang/python3, and lang/python to GCE imagesto help avoid hard-coding 'python<MAJOR>.<MINOR>' in severalscripts in the client-side scripts.PR: 230248MFC after: 3 daysSubmitted by: [email protected]Sponsored by: The FreeBSD Foundation
Invoke the growfs rc script for each boot on GCE.PR: 230275Submitted by: [email protected]MFC after: 3 daysSponsored by: The FreeBSD Foundation
Update and replace old rc daemons for GCE images.PR: 229000Submitted by: [email protected]MFC after: 3 daysSponsored by: The FreeBSD Foundation
release: arm: Copy the dtb to the fat partitionWhen booting via EFI on arm we have no way to know the dtb file to loadand we always use the one provided from the bootloader.This works in most cas
release: arm: Copy the dtb to the fat partitionWhen booting via EFI on arm we have no way to know the dtb file to loadand we always use the one provided from the bootloader.This works in most case but : U-Boot have some really old DTB for some boards, the sync from Linux isn't done automatically for all boards Some boards (like TI BeagleBone series) use one u-boot for all the model and it doesn't embed the DTBs Some boards (like IMX6 based ones), don't embed the DTBWe want u-boot to load and patch the DTB with the mac address or the displaynode enabled or not.Reviewed by: gjb, impDifferential Revision: https://reviews.freebsd.org/D16596
release: arm: Enable multicons for arm64Since we have now EFI framebuffer enabled for ARM64 if we boot on a boardwith an screen, u-boot will set up a EFI GOP framebuffer and we won't bootusing th
release: arm: Enable multicons for arm64Since we have now EFI framebuffer enabled for ARM64 if we boot on a boardwith an screen, u-boot will set up a EFI GOP framebuffer and we won't bootusing the serial console.Also on RPI3 the firmware always setup the framebuffer area resulting in u-bootalways setup the EFI GOP and FreeBSD never using the serial console.Reviewed by: gjb, lwshu (previous version)Differential Revision: https://reviews.freebsd.org/D16472
Remove insecure ciphers from GCE sshd configurationThey were added for unclear reasons in r277263. The current OpenSSHdefaults (7.5+) are reasonable, and do not include the insecure rc4 cipher:
Remove insecure ciphers from GCE sshd configurationThey were added for unclear reasons in r277263. The current OpenSSHdefaults (7.5+) are reasonable, and do not include the insecure rc4 cipher: [email protected], aes128-ctr,aes192-ctr,aes256-ctr, [email protected],[email protected], aes128-cbc,aes192-cbc,aes256-cbcI think I recall there being a reason for a specific list of ciphers on GCEat the time, but I do not recall what it was, and cannot find anycurrent GCE documentation of such a list.So, just revert the explicit configuration and use sane openssh defaults.PR: 230092Submitted by: Gustavo Scalet <gustavo.scalet AT collabora.com>MFC after: 3 daysSecurity: yes
release: Add arm_install_boot to install the commit boot bitsThis reduce the per-board arm_install_uboot to just install u-boot.While here remove the installation of rpi.dtb and rpi2.dtb as we loa
release: Add arm_install_boot to install the commit boot bitsThis reduce the per-board arm_install_uboot to just install u-boot.While here remove the installation of rpi.dtb and rpi2.dtb as we loadthem from the UFS partition via ubldr.Reviewed by: gjb, imp (older version)MFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D16239
Enable USB OTG serial terminal on ARM SD card images. This configuresthe system to make use of USB device mode / USB OTG to provide a "virtualserial port" on release images.Reviewed by: gjb@MFC
Enable USB OTG serial terminal on ARM SD card images. This configuresthe system to make use of USB device mode / USB OTG to provide a "virtualserial port" on release images.Reviewed by: gjb@MFC after: 2 weeksRelnotes: yesSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D15602
Revert r333493, which was a temporary fix for 11.2-RELEASE, and insteadswitch the default kldxref_enable to YES.The reason is that it's required for every image that's being cross-built,as kldxre
Revert r333493, which was a temporary fix for 11.2-RELEASE, and insteadswitch the default kldxref_enable to YES.The reason is that it's required for every image that's being cross-built,as kldxref(8) cannot handle files for non-native architectures. For theone that is not - amd64 - having it on by default doesn't change anything;the script is noop if the linker.hints already exists.MFC after: 2 weeksSponsored by: DARPA, AFRL
1234567