#
303975 |
|
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
302915 |
|
15-Jul-2016 |
ian |
MFC r302502, r302505:
Consolidate debugging options from all arm kernel configs to std.arm[v6].
Correct syntax errors that only show up when compiled with INVARIANTS.
Approved by: re (gjb)
|
#
302408 |
|
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
300068 |
|
17-May-2016 |
manu |
Add driver for "generic-ohci" as defined by FDT. If platform support EXT_RESOURCES, clocks and resets are handled out of the box. If not driver can be subclassed using the generic_usb interface. generic_usb name was choosed because at one point I'll add generic-ehci FDT driver.
Reviewed by: jmcneill, hselasky Approved by: andrew (mentor) Differential Revision: https://reviews.freebsd.org/D5481
|
#
298854 |
|
30-Apr-2016 |
andrew |
Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY implementations. Early in the boot the kernel will use an approximate, however after the timer has been probed it will switch to a more accurate implementation.
Reviewed by: manu Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5762
|
#
298625 |
|
26-Apr-2016 |
manu |
Convert A10 interrupt controller to INTRNG
Reviewed by: skra Approved by: cognet (mentor) Differential Revision: https://reviews.freebsd.org/D5573
|
#
297627 |
|
06-Apr-2016 |
jmcneill |
Convert Allwinner port to extres clk/hwreset/regulator APIs.
Reviewed by: andrew, gonzo, Emmanuel Vadot <manu@bidouilliste.com> Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D5752
|
#
297496 |
|
01-Apr-2016 |
jmcneill |
Move support for Synopsys Designware APB UART out of ns8250 and into a separate driver. Add support for activating clock and hwreset resources for these devices when the EXT_RESOURCES option is present.
Reviewed by: andrew, mmel, Emmanuel Vadot <manu@bidouilliste.com> Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5749
|
#
295711 |
|
17-Feb-2016 |
andrew |
Move the Allwinner kernels to use fdt_pinctrl. This will read the pin configuration from the FDT data, then set the pins into the requested state. As part of this the gpio controller now reports the correct number of pins instead of returning the number of bank * 32.
To allow for a future consolidated kernel we add the SOC_ALLWINNER_A10 and SOC_ALLWINNER_A20 kernel options. These need to be set as appropriate for the SoC the kernel will boot on.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D5177
|
#
295635 |
|
15-Feb-2016 |
andrew |
Add support for the Allwinner DMA controller. This will be used by the at least the audio codec driver currently in review.
Submitted by: Jared McNeill <jmcneill@invisible.ca> Differential Revision: https://reviews.freebsd.org/D5050
|
#
295626 |
|
15-Feb-2016 |
andrew |
Add support for the Allwinner i2c device. This is similar to the existing Marvell twsi part, however uses different register locations, as such split the existing driver into Marvell and Allwinner attachments.
While here clean a few style issues.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D4846
|
#
295464 |
|
10-Feb-2016 |
andrew |
Update of the Allwinner drivers to: * Use the Linux compat string * Use EARLY_DRIVER_MODULE to attach at the right time * Add a generic A10 kernel config file * A20 now use generic_timer * Add two new dts files for Olimex boards * Update our custom DTS file for A10 and A20 to use the same compatible property names as the vendor ones.
Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D4792
|
#
294698 |
|
25-Jan-2016 |
andrew |
Update the Allwinner kernels: * Use the ARM PLATFORM framework * Use ARM_INTRNG on teh A20 as it has a GICv2 * Add a method to find which Allwinner SoC we are running on
Differential Revision: https://reviews.freebsd.org/D5059
|
#
289137 |
|
11-Oct-2015 |
mav |
Remove compatibility shims for legacy ATA device names.
We got new ATA stack in FreeBSD 8.x, switched to it at 9.x, completely removed old stack at 10.x, so at 11.x it is time to remove compat shims.
|
#
288056 |
|
21-Sep-2015 |
loos |
Enable if_dwc for Allwinner A20 based boards.
This enables the gigabit ethernet on cubieboard2 and banana pi.
A special thanks to Netgate who gently provided me with a banana pi almost a year ago.
|
#
287316 |
|
30-Aug-2015 |
loos |
Add the LED definitions from vendor's DTS.
Add gpioled support to A20 kernel.
While here rename the gpio phandle to match the one used in the vendor's DTS.
|
#
287306 |
|
30-Aug-2015 |
loos |
In preparation to support other A20 based boards, rename the CUBIEBOARD2 kernel configuration to A20.
There are other boards (namely the banana pi) that use exactly the same devices.
Additionally, we are moving from static FDT support (DTB compiled in-kernel) to DTB passed to kernel by the boot loader (ubldr). The u-boot for these boards are already available on ports and as the crochet support for these boards isn't committed yet, this should not bring any issues.
Discussed with: ian
|
#
285090 |
|
03-Jul-2015 |
loos |
Add AHCI attachment code for Allwinner A10/A20 SoCs.
The Allwinner SoC has an AHCI device on its internal main bus rather than the PCI bus. This SoC is somewhat underdocumented, and its SATA controller is no exception. The methods to support this chip were harvested from the Linux Allwinner SDK, and then constants invented to describe what's going on based on low-level constants contained in the SATA standard and guess work.
This SoC requires a specific AHCI channel setup in order to start the operations on the channel properly.
Clock setup and AHCI channel setup idea came from NetBSD.
Tested on Cubieboard 2 and Banana pi (and attachment on Cubieboard by Pratik Singhal).
Differential Revision: https://reviews.freebsd.org/D737 Submitted by: imp Reviewed by: imp, ganbold, mav, andrew
|
#
283547 |
|
25-May-2015 |
ian |
Ensure that all arm kernel configs contain ALT_BREAK_TO_DEBUGGER and not BREAK_TO_DEBUGGER if they have a serial console (most do). A burst of serial line noise (such as unplugging a usb serial adapter) can look like a break and drop a working system into the debugger. The alt break sequence (<CR>~^B) works fine on both serial and non-serial consoles.
|
#
283253 |
|
21-May-2015 |
loos |
Add the MMC/SD driver for Allwinner SoCs.
This is based on the patch sent by Alexander Fedorov with the following fixes/improvements:
- Better error handling; - Clock is derived from PLL6 (obtained from netbsd); - No more unnecessary busy loops on interrupt handler; - style(9) fixes and code cleanup.
I also want to thanks Martin Galvan who has sent an alternative implementation with some interesting fixes.
Tested on CubieBoard2, Banana-Pi (thanks to netgate!) and Cubieboard1 (Pratik Singhal).
This is intended to pave the way for the upcoming GSoC work (and make easier the build of images for the supported boards).
PR: 196081 Submitted by: Alexander Fedorov <alexander.fedorov@rtlservice.com>
|
#
283072 |
|
18-May-2015 |
loos |
Remove unnecessary devices from allwinner kernels.
|
#
282715 |
|
10-May-2015 |
andrew |
Add the gic to files.arm under "device gic" and use it with the CUBIEBOARD2 config. This is common across a few SoCs so should be a common option.
|
#
282576 |
|
07-May-2015 |
andrew |
Clean up the ARM kernel configs to use 'include<space><tab>"file"'.
|
#
282502 |
|
05-May-2015 |
andrew |
Move the first batch of common armv6 options to std.armv6.
|
#
282499 |
|
05-May-2015 |
ian |
Create std.arm and std.armv6 config files and include the right one from each of the existing kernel configs. This gives a place to put config that applies to the entire arch.
Add the ARM_NEW_PMAP option to std.armv6. This is working well in early testing and it's time for wide exposure, but it's still nice to be able to fall back to the old implementation for testing when a problem comes along. Eventually the option and the old implementation will go away.
The opportunity now exists to move a whole lot of boilerplate from all the arm kernel config files into std.arm*, but that's a commit for another day.
|
#
281799 |
|
20-Apr-2015 |
loos |
Build and install the DTB for all the supported AllWinner SoCs.
We will need them when we start booting using ubldr.
|
#
279837 |
|
10-Mar-2015 |
ian |
Remove MODULES_OVERRIDE="" and WITHOUT_MODULES="ahc" from armv6 configs.
These are left over from long ago when there was no way to load modules on early armv6 platforms, and when there was a build problem with ahc that has long since been fixed, and they just keep getting copy-pasted into new configs.
|
#
276755 |
|
06-Jan-2015 |
jhb |
Remove "New" label from NFSCL/NFSD now that they are the only NFS client/server. While here, remove duplicate NFSCL from sys/conf/NOTES.
Approved by: rmacklem
|
#
276644 |
|
04-Jan-2015 |
ian |
Switch all arm kernels with option SMP to use SCHED_ULE instead of 4BSD.
|
#
276004 |
|
21-Dec-2014 |
andrew |
Fix the indentation to simplify comparing the ARM config files.
|
#
276003 |
|
21-Dec-2014 |
andrew |
tart to clean up the armv6 kernel configs by reducing the diff between them in the first sections and the later FDT support.
Differential Revision: https://reviews.freebsd.org/D1346 Reviewed by: rpaulo (earlier version)
|
#
275962 |
|
20-Dec-2014 |
andrew |
Clean up the style of the CUBIEBOARD2 config file
|
#
270912 |
|
01-Sep-2014 |
imp |
Resync comments about scbus and pass for life after AHCI joined CAM.
Sponsored by: Netflix
|
#
263698 |
|
25-Mar-2014 |
ganbold |
Add code for enabling second CPU core for A20 SoC. Enable SMP on Cubieboard2.
Approved by: stas (mentor)
|
#
263301 |
|
18-Mar-2014 |
imp |
In kernel config files, it is supposed to be 'options<space><tab>' not 'options<tab><tab>', per long standing (but recently not so strictly enforced) convention.
|
#
263245 |
|
16-Mar-2014 |
imp |
Make all the comments '# ' and align to same column. This fixes the rampently incosnsitent usage which made cut and paste from one file to another look ugly.
|
#
262905 |
|
07-Mar-2014 |
ian |
Strip arm/conf/DEFAULTS down to just items that are mandatory for running the architecture. Move the other contents into each of the individual config files.
Requested by: imp
|
#
262711 |
|
03-Mar-2014 |
ganbold |
Add EMAC and SRAM controller entries to FDT. Add EMAC device to kernel config files and enable EMAC, SRAM drivers for build.
Approved by: stas (mentor)
|
#
261572 |
|
07-Feb-2014 |
ian |
Add option USB_HOST_ALIGN=64 for all SoCs that have 64 byte cache lines.
|
#
261570 |
|
07-Feb-2014 |
ian |
Revert r260440. I didn't realize that most of this change was already in effect due to r250753. That is sufficient for all SoCs with a 32 byte cache line size. Systems with 64 byte cache lines will need the option; that will be done in a separate commit.
Thanks to loos@ for pointing out r250753.
|
#
260440 |
|
08-Jan-2014 |
ian |
Add option USB_HOST_ALIGN to configs that contain 'device usb'. Setting this to the cache line size is required to avoid data corruption on armv4 and armv5, and improves performance on armv6, in both cases by avoiding partial cacheline flushes for USB IO.
All these configs already exist in 10-stable. A few that don't (and thus can't be MFC'd yet) will be committed separately.
|
#
254493 |
|
18-Aug-2013 |
andrew |
Enable VFP on the CubieBoard and CubieBoard 2.
|
#
254056 |
|
07-Aug-2013 |
ganbold |
Bring initial support for Allwinner A20 SoC (Cubieboard2). Add support for A20 timer. Correct interrupt offset depending from chip. Add basic code for CPU configuration module. For now, add kernel config and dts file (only FDT blob related problem needs to be solved later in order to have one kernel for both cubieboard1 and 2).
Approved by: ray@
|