#
bcd380e8 |
| 16-Jan-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: rockchip: Add RK3399 PWM driver
Add a driver for the pwm controller in the RK3399 SoC
Submitted by: bdragon (original version) Reviewed by: ganbold (previous version) MFC after: 1 month Diff
arm64: rockchip: Add RK3399 PWM driver
Add a driver for the pwm controller in the RK3399 SoC
Submitted by: bdragon (original version) Reviewed by: ganbold (previous version) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19046
show more ...
|
#
6db3672c |
| 28-Dec-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: rockchip: Add driver for the io domain
This driver configure the registers in the GRF according to the value of the regulators for the platform. Some IP can run with either 3.0V or 1.8V, if w
arm64: rockchip: Add driver for the io domain
This driver configure the registers in the GRF according to the value of the regulators for the platform. Some IP can run with either 3.0V or 1.8V, if we don't configure them correctly according to the external voltage used they will not work. It's only done at boot time for now and might be needed at runtime for IP like sdmmc.
Reviewed by: mmel Tested On: RockPro64, Firefly-RK3399 (gonzo), AIO-3288 (mmel) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D22854
show more ...
|
#
946c511e |
| 11-Dec-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: Add explicit devices for dwmmc variant
We used to include the hisi version if soc_hisi_hi6220 was present, include the altera version if dwmmc_altera was present and include the rockchip vers
arm64: Add explicit devices for dwmmc variant
We used to include the hisi version if soc_hisi_hi6220 was present, include the altera version if dwmmc_altera was present and include the rockchip version if soc_rockchip_rk3328 was present. Now every version have it's own device directive. The rockchip version isn't named dwmmc_rockchip because all other rockchip driver are named rk_XXX.
MFC after: 1 month
show more ...
|
#
8cfe2a7a |
| 06-Dec-2019 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Add the SPI driver for the Marvell Armada 37x0 SoC.
Interrupt based driver, implements SPI mode and clock configuration.
Tested on espressobin and SG-3200.
Sponsored by: Rubicon Communications, LL
Add the SPI driver for the Marvell Armada 37x0 SoC.
Interrupt based driver, implements SPI mode and clock configuration.
Tested on espressobin and SG-3200.
Sponsored by: Rubicon Communications, LLC (Netgate)
show more ...
|
#
8a82d567 |
| 05-Dec-2019 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Add the I2C driver for the Armada 37x0.
This controller is a bit tricky as the STOP condition must be indicated in the last tranferred byte, some devices will not like the repeated start behavior of
Add the I2C driver for the Armada 37x0.
This controller is a bit tricky as the STOP condition must be indicated in the last tranferred byte, some devices will not like the repeated start behavior of this controller. A proper fix to this issue is in the works.
This driver works in polling mode, can be used early in the boot (required in some cases).
Tested on espressobin/SG-1100 and the SG-3200.
Obtained from: pfSense Sponsored by: Rubicon Communications, LLC (Netgate)
show more ...
|
#
750d951f |
| 02-Dec-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
revert r354714 "Boot arm64 kernel using booti command from U-boot."
After discussing with mmel@, it was clear this is insufficient to address all the needs. mmel@ will commit his original patch, fr
revert r354714 "Boot arm64 kernel using booti command from U-boot."
After discussing with mmel@, it was clear this is insufficient to address all the needs. mmel@ will commit his original patch, from https://reviews.freebsd.org/D13861, and the additions needed from r354714 will be made afterward.
Requested by: mmel Sponsored by: Juniper Networks, Inc.
show more ...
|
#
849aef49 |
| 21-Nov-2019 |
Andrew Turner <andrew@FreeBSD.org> |
Port the NetBSD KCSAN runtime to FreeBSD.
Update the NetBSD Kernel Concurrency Sanitizer (KCSAN) runtime to work in the FreeBSD kernel. It is a useful tool for finding data races between threads exe
Port the NetBSD KCSAN runtime to FreeBSD.
Update the NetBSD Kernel Concurrency Sanitizer (KCSAN) runtime to work in the FreeBSD kernel. It is a useful tool for finding data races between threads executing on different CPUs.
This can be enabled by enabling KCSAN in the kernel config, or by using the GENERIC-KCSAN amd64 kernel. It works on amd64 and arm64, however the later needs a compiler change to allow -fsanitize=thread that KCSAN uses.
Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D22315
show more ...
|
#
4694d573 |
| 14-Nov-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Boot arm64 kernel using booti command from U-boot.
Summary: Boot arm64 kernel using booti command from U-boot. booti can relocate initrd image into higher ram addresses, therefore align the initrd l
Boot arm64 kernel using booti command from U-boot.
Summary: Boot arm64 kernel using booti command from U-boot. booti can relocate initrd image into higher ram addresses, therefore align the initrd load address to 1GiB and create VA = PA map for it. Create L2 pagetable entries to copy the initrd image into KVA. (parts of the code in https://reviews.freebsd.org/D13861 was referred and used as appropriate)
Submitted by: Siddharth Tuli <siddharthtuli_gmail.com> Reviewed by: manu Sponsored by: Juniper Networks, Inc Differential Revision: https://reviews.freebsd.org/D22255
show more ...
|
#
b17ad0c6 |
| 10-Nov-2019 |
Kyle Evans <kevans@FreeBSD.org> |
arm64: add SOC_BRCM_BCM2838, build it in GENERIC
BCM2838/BCM2711 is the Raspberry Pi 4, which we will soon be able to boot on once some ports bits are worked out.
|
Revision tags: release/12.1.0 |
|
#
aea1c841 |
| 25-Oct-2019 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
arm64: rk3399: add SPI driver and include it in GENERIC config
SPI driver for Rockchip's RK3399 SoC. Implements PIO mode, CS selection, SPI mode and frequency configuration.
Reviewed by: manu MFC a
arm64: rk3399: add SPI driver and include it in GENERIC config
SPI driver for Rockchip's RK3399 SoC. Implements PIO mode, CS selection, SPI mode and frequency configuration.
Reviewed by: manu MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D22148
show more ...
|
#
ecd9fdeb |
| 25-Oct-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: rockchip: Add RK3399 TypeC phy driver
This is a driver for the USB3 PHY present in the RK3399. While the phy support DP (Display Port) the driver doesn't has we have no driver to test this wi
arm64: rockchip: Add RK3399 TypeC phy driver
This is a driver for the USB3 PHY present in the RK3399. While the phy support DP (Display Port) the driver doesn't has we have no driver to test this with for now. All the lane and pll configuration is just magic values from rockchip. While the manual have some info on those registers it's really hard to understand how to calculate those values (if there is a way).
MFC after: 1 month
show more ...
|
#
7d888a5b |
| 25-Oct-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: rockchip: Add rk_dwc3 driver
This is a simplebus like driver that attaches the dwc3 child node and enable the clocks needed for the module.
MFC after: 1 month
|
#
4ad0475f |
| 23-Oct-2019 |
Ed Maste <emaste@FreeBSD.org> |
arm64: enable options NUMA in GENERIC
As with amd64 NUMA is required for reasonable operation on big-iron arm64 systems and is expected to have no significant impact on small systems. Enable it now
arm64: enable options NUMA in GENERIC
As with amd64 NUMA is required for reasonable operation on big-iron arm64 systems and is expected to have no significant impact on small systems. Enable it now for wider testing in advance of FreeBSD 13.0.
You can use the 'vm.ndomains' sysctl to see if multiple domains are in use - for example (from Cavium/Marvell ThunderX2):
# sysctl vm.ndomains vm.ndomains: 2
No objection: manu Sponsored by: The FreeBSD Foundation
show more ...
|
#
4b84206b |
| 20-Oct-2019 |
Michal Meloun <mmel@FreeBSD.org> |
Update Armada 8k drivers to cover newly imported DT and latest changes in simple multifunction driver. - follow interrupt changes in DT. Split old ICU driver to function oriented parts and add driv
Update Armada 8k drivers to cover newly imported DT and latest changes in simple multifunction driver. - follow interrupt changes in DT. Split old ICU driver to function oriented parts and add drivers for newly defined parts (system error interrupts). - Many drivers are children of simple multifunction driver. But after r349596 simple MF driver doesn't longer exports memory resources, and all children must use syscon interface to access their registers. Adapt affected drivers to this fact.
MFC after: 3 weeks
show more ...
|
#
7790c8c1 |
| 17-Oct-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Split out a more generic debugnet(4) from netdump(4)
Debugnet is a simplistic and specialized panic- or debug-time reliable datagram transport. It can drive a single connection at a time and is cur
Split out a more generic debugnet(4) from netdump(4)
Debugnet is a simplistic and specialized panic- or debug-time reliable datagram transport. It can drive a single connection at a time and is currently unidirectional (debug/panic machine transmit to remote server only).
It is mostly a verbatim code lift from netdump(4). Netdump(4) remains the only consumer (until the rest of this patch series lands).
The INET-specific logic has been extracted somewhat more thoroughly than previously in netdump(4), into debugnet_inet.c. UDP-layer logic and up, as much as possible as is protocol-independent, remains in debugnet.c. The separation is not perfect and future improvement is welcome. Supporting INET6 is a long-term goal.
Much of the diff is "gratuitous" renaming from 'netdump_' or 'nd_' to 'debugnet_' or 'dn_' -- sorry. I thought keeping the netdump name on the generic module would be more confusing than the refactoring.
The only functional change here is the mbuf allocation / tracking. Instead of initiating solely on netdump-configured interface(s) at dumpon(8) configuration time, we watch for any debugnet-enabled NIC for link activation and query it for mbuf parameters at that time. If they exceed the existing high-water mark allocation, we re-allocate and track the new high-water mark. Otherwise, we leave the pre-panic mbuf allocation alone. In a future patch in this series, this will allow initiating netdump from panic ddb(4) without pre-panic configuration.
No other functional change intended.
Reviewed by: markj (earlier version) Some discussion with: emaste, jhb Objection from: marius Differential Revision: https://reviews.freebsd.org/D21421
show more ...
|
#
ce607eeb |
| 15-Oct-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: Add Synopsys DWC3 driver
This add a driver for the Synopsys DWC3 driver found on multiple SoCs. It only supports host mode for now.
MFC after: 1 month
|
#
26b0cd3a |
| 15-Oct-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: allwinner: Add aw_dwc3 driver
This is a simplebus like driver that just deal with clocks and resets and attach the dwc3 child node.
MFC after: 1 month
|
#
6c4464cb |
| 14-Oct-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: allwinner: Add Allwinner H6 Support
This adds support for H6 SoC. Add a CCU driver for H6 that support all PLLs and most of the clocks that we are intersted in for now (i2c, mmc, usb, etc ...
arm64: allwinner: Add Allwinner H6 Support
This adds support for H6 SoC. Add a CCU driver for H6 that support all PLLs and most of the clocks that we are intersted in for now (i2c, mmc, usb, etc ...)
MFC after: 1 month
show more ...
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
29ee7380 |
| 03-Oct-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
allwinner: Remove a10_ehci driver
We have generic-ehci since r353062 so use it.
MFC after: 1 month X-MFC-With: r353062
|
#
c3e25952 |
| 29-Sep-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm64: rockchip: Add usb2phy driver
This driver is for the usb phy present on rockchip SoC. It only support RK3399 and host mode for now. The driver expose the usb clock needed by the usb controller.
|
#
61c1328e |
| 13-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352105 through r352307.
|
#
ee41e38d |
| 13-Sep-2019 |
Ruslan Bukin <br@FreeBSD.org> |
Add support for Intel Stratix 10 platform.
Intel Stratix 10 SoC includes a quad-core arm64 cluster and FPGA fabric.
This adds support for reconfiguring FPGA.
Accessing FPGA core of this SoC requir
Add support for Intel Stratix 10 platform.
Intel Stratix 10 SoC includes a quad-core arm64 cluster and FPGA fabric.
This adds support for reconfiguring FPGA.
Accessing FPGA core of this SoC require the level of privilege EL3, while kernel runs in EL1 (lower) level of privilege.
This provides an Intel service layer interface that uses SMCCC to pass queries to the secure-monitor (EL3).
Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D21454
show more ...
|
#
f993ed2f |
| 09-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351732 through r352104.
|
#
50c365c4 |
| 04-Sep-2019 |
Ruslan Bukin <br@FreeBSD.org> |
Include dwgpio to the build.
Sponsored by: DARPA, AFRL
|