aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/conf
Commit message (Collapse)AuthorAgeFilesLines
* Start to remove support for the XScale i80321. As far as I can tell nobodyAndrew Turner2015-10-283-225/+0
| | | | | | | uses this which makes it difficult to support. Notes: svn path=/head/; revision=290105
* Start to remove support for the Samsung s3c24x0 SoCs by removing the kernelAndrew Turner2015-10-272-92/+0
| | | | | | | config, and support from NOTES. Notes: svn path=/head/; revision=290085
* Add etherswitch support to mgeZbigniew Bodek2015-10-258-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces support for etherswitch devices that utilize SMI as a way of accessing its registers. SMI register is located in address space of mge -- access to it was exported through MDIO interface. Attachment functions were enhanced so as to ensure proper initialisation in both cases: 1) PHYs attached directly to mge, 2) PHYs attached to switch device and switch attached to mge. Attachment of etherswitch device depends on dts entry with compatible="mrvl,sw" property. If none is found, typical PHY attachment procedure follows. In case of switch attached, PHYs' status and configuration is accessible via etherswitchcfg, and ifconfig shows always-up, non-configurable mge interfaces. Due to the fact that there may be simultaneous accessess to SMI registers (e.g. from PHY attached to one of mge instances and switch to the other), SMI access interlock was added. It is SX lock, because sleep ability is necessary -- busy-waiting would result in poor performance due to long delays required by hardware. Underlying switch driver is obliged to use sleepable locks as well. Reviewed by: adrian Obtained from: Semihalf Submitted by: Bartosz Szczepanek <bsz@semihalf.com> Differential revision: https://reviews.freebsd.org/D3900 Notes: svn path=/head/; revision=289945
* Enable gpiobacklight in BEAGLEBONE config to support LCD capes byOleksandr Tymoshenko2015-10-181-0/+1
| | | | | | | 4DSYSTEMS out of box Notes: svn path=/head/; revision=289554
* Enable ARM_INTRNG on IMX6 platforms, and make the imx_gpio driver anIan Lepore2015-10-181-0/+2
| | | | | | | | | | | | | | | | interrupt controller. The latter is required for INTRNG, because of the hardware erratum workaround installed by the linux folks into the imx6 FDT data, which remaps an ethernet interrupt to the gpio device. In the non-INTRNG world we intercept the call to map the interrupt and map it back to the ethernet hardware (because we don't need linux's workaround), but in the INTRNG world we lose the hookpoint where that remapping was happening, but we gain the ability to work the way linux does by having the gpio driver dispatch the interrupt. Notes: svn path=/head/; revision=289537
* Enable ARM_INTRNG on the pandaboard platform.Ian Lepore2015-10-181-0/+2
| | | | | | | Differential Revision: https://reviews.freebsd.org/D2048 Notes: svn path=/head/; revision=289532
* Remove compatibility shims for legacy ATA device names.Alexander Motin2015-10-118-8/+0
| | | | | | | | 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. Notes: svn path=/head/; revision=289137
* Enable if_dwc for Allwinner A20 based boards.Luiz Otavio O Souza2015-09-211-2/+3
| | | | | | | | | | 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. Notes: svn path=/head/; revision=288056
* Add the LED definitions from vendor's DTS.Luiz Otavio O Souza2015-08-301-0/+1
| | | | | | | | | | Add gpioled support to A20 kernel. While here rename the gpio phandle to match the one used in the vendor's DTS. Notes: svn path=/head/; revision=287316
* In preparation to support other A20 based boards, rename the CUBIEBOARD2Luiz Otavio O Souza2015-08-301-5/+2
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=287306
* Enable KDTRACE_HOOKS by default on all armv6 kernels to get more testing.Andrew Turner2015-08-232-5/+5
| | | | Notes: svn path=/head/; revision=287083
* Enable the watchdog driver on imx6, now that it works.Ian Lepore2015-08-191-1/+1
| | | | Notes: svn path=/head/; revision=286944
* Add a new PPS driver for AM335x (beaglebone) timer hardware. This can beIan Lepore2015-08-131-1/+2
| | | | | | | used as a module or compiled-in. Notes: svn path=/head/; revision=286728
* BEAGLEBONE: remove dtrace from MODULES_EXTRA.Rui Paulo2015-08-041-1/+0
| | | | | | | | | | | This config is already building all modules, so we don't need the MODULES_EXTRA definition. It was also causing problems to users who rely on MODULES_OVERRIDE to do the right thing. Discussed with: ian Notes: svn path=/head/; revision=286294
* Implement the lockstat provider using SDT(9) instead of the custom providerMark Johnston2015-07-192-2/+1
| | | | | | | | | | | in lockstat.ko. This means that lockstat probes now have typed arguments and will utilize SDT probe hot-patching support when it arrives. Reviewed by: gnn Differential Revision: https://reviews.freebsd.org/D2993 Notes: svn path=/head/; revision=285703
* Add PRINTF_BUFR_SIZE=128 to avoid interleaved output.Ian Lepore2015-07-121-0/+1
| | | | Notes: svn path=/head/; revision=285429
* Enable ipsec by default on all armv6 platforms.Ian Lepore2015-07-051-0/+1
| | | | Notes: svn path=/head/; revision=285161
* Add AHCI attachment code for Allwinner A10/A20 SoCs.Luiz Otavio O Souza2015-07-032-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=285090
* Add HDMI support to Beaglebone Black:Oleksandr Tymoshenko2015-06-181-0/+8
| | | | | | | | | | | | | - Add driver for TDA19988 HDMI framer - Add simple interface to communicate with HDMI sink: read EDID and set videomode - Add event-based API to notify LCD controller when HDMI sink is available - Add HDMI framer node and add refernce to it to lcdc node. This part of DTS tree is custom and does not match Linux DTS because Linux uses combination of pseudo-node in DTS and hardcoded driver information that does not map to our model. Notes: svn path=/head/; revision=284534
* Allow DTrace to be compiled-in to the kernel.Ruslan Bukin2015-06-101-0/+23
| | | | | | | | | | | This will require for AArch64 as we dont have modules yet. Sponsored by: HEIF5 Sponsored by: ARM Ltd. Differential Revision: https://reviews.freebsd.org/D1997 Notes: svn path=/head/; revision=284227
* Ensure that all arm kernel configs contain ALT_BREAK_TO_DEBUGGER and notIan Lepore2015-05-2515-15/+11
| | | | | | | | | | 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. Notes: svn path=/head/; revision=283547
* Add support for getting the memory map from EFI if it has been pased inAndrew Turner2015-05-241-0/+3
| | | | | | | by loader.efi. Notes: svn path=/head/; revision=283426
* Enable SMP on the qemu virt platform. We use the device tree to find whichAndrew Turner2015-05-241-1/+2
| | | | | | | cpus to enable, and PSCI to start them. Notes: svn path=/head/; revision=283367
* Add kernel config and dts files for an aml8726-m3Ganbold Tsagaankhuu2015-05-241-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | based device. Following u-boot commands allow FreeBSD boot on Yiyate Android TV Box (aml8726-m3): tv open 480p mmc rescan 0 fatload mmc 0 0x80100000 kernel.bin go 0x80100000 The current FreeBSD driver doesn't program the video clocks so the u-boot tv command is necessary in order for the frame buffer to be useful (otherwise it can be skipped). The SD card for the Yiyate Android TV Box doesn't need anything special beyond creating a FAT16 and a UFS filesystem. Differential Revision: https://reviews.freebsd.org/D2636 Submitted by: John Wehle Notes: svn path=/head/; revision=283361
* Switch TI platform support code from using FreeBSD's custom-baked DTSOleksandr Tymoshenko2015-05-222-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | files to vendor-provided ones. It should make easier to adopt platform code to new revisions of hardware and to use DTS overlays for various Beaglebone extensions (shields/capes). Original dts filenames were not changed, they're now wrappers over dts files provided by TI. So make sure you update .dtb files on your devices as part of kernel update GPIO addressing was changed: instead of one global /dev/gpioc0 there are per-bank instances of /dev/gpiocX. Each bank has 32 pins so for instance pin 121 on /dev/gpioc0 in old addressing scheme is now pin 25 on /dev/gpioc3 On Pandaboard serial console devices was changed from /dev/ttyu0 to /dev/ttyu2 so you'll have to update /etc/ttys to get login prompt on serial port in multiuser mode. Single user mode serial console should work as-is Differential Revision: https://reviews.freebsd.org/D2146 Reviewed by: rpaulo, ian, Michal Meloun, Svatopluk Kraus Notes: svn path=/head/; revision=283276
* Add the MMC/SD driver for Allwinner SoCs.Luiz Otavio O Souza2015-05-212-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=283253
* D2432 (Patch for Amlogic single core PIC) moved the SMP option outGanbold Tsagaankhuu2015-05-202-0/+4
| | | | | | | | | | | | | | | of AML8726 and into board specific config files since some boards (e.g. YYHD18) use the aml8726-m3 which only have a single core. r283057 applied most of D2432, however while it removed SMP from AML8726, it missed adding the SMP option to the board specific config files. Differential Revision: https://reviews.freebsd.org/D2589 Submitted by: John Wehle Notes: svn path=/head/; revision=283137
* Add NFS server to mix (for easier, in-place updates). Move toWarner Losh2015-05-191-3/+7
| | | | | | | | partition 2 for root (since partition 1 is reserved for FAT files the Atmel ROMs can load). Notes: svn path=/head/; revision=283127
* Remove unnecessary devices from allwinner kernels.Luiz Otavio O Souza2015-05-182-4/+0
| | | | Notes: svn path=/head/; revision=283072
* Clean up the Amlogic interrupt controller driver to handle the case whereAndrew Turner2015-05-183-4/+9
| | | | | | | | | | | we have both the Amlogic pic and a GIC. This may be the case in some configurations. Differential Revision: https://reviews.freebsd.org/D2432 Submitted by: John Wehle <john@feith.com> Notes: svn path=/head/; revision=283057
* Clean up the style to be "include<space><tab>" and remove options alreadyAndrew Turner2015-05-181-7/+2
| | | | | | | in std.armv6. Notes: svn path=/head/; revision=283052
* tr -d '\r' makes config a lot more happy.Bjoern A. Zeeb2015-05-161-83/+83
| | | | Notes: svn path=/head/; revision=283005
* Introduce support for the Alpine PoC from Annapurna LabsZbigniew Bodek2015-05-151-0/+83
| | | | | | | | | | | | | | | | | | | | | | The Alpine Platform-On-Chip offers multicore processing (quad ARM Cortex-A15), 1/10Gb Ethernet, SATA 3, PCI-E 3, DMA engines, Virtualization, Advanced Power Management and other. This code drop involves basic platform support including: SMP, IRQs, SerDes, SATA. As of now it is missing the PCIe support. Part of the functionality is provided by the low-level code (HAL) delivered by the chip vendor (Annapurna Labs) and is a subject to change in the future (is planned to be moved to sys/contrib directory). The review log for this commit is available here: https://reviews.freebsd.org/D2340 Reviewed by: andrew, ian, imp Obtained from: Semihalf Sponsored by: Annapurna Labs Notes: svn path=/head/; revision=282985
* Use the new gic option on all configs that need it.Andrew Turner2015-05-108-0/+24
| | | | Notes: svn path=/head/; revision=282723
* Use the new gic option. While here remove extra whitespace from the ned ofAndrew Turner2015-05-101-3/+6
| | | | | | | a few lines. Notes: svn path=/head/; revision=282717
* Add the gic to files.arm under "device gic" and use it with theAndrew Turner2015-05-101-0/+3
| | | | | | | | CUBIEBOARD2 config. This is common across a few SoCs so should be a common option. Notes: svn path=/head/; revision=282715
* First pass clenup over the Marvell db-88f6xxx kernel configs.Andrew Turner2015-05-104-124/+120
| | | | Notes: svn path=/head/; revision=282714
* Pass over the at91 kernels to reduce the diff between them.Andrew Turner2015-05-0910-356/+468
| | | | Notes: svn path=/head/; revision=282694
* Merge ^/projects/release-arm-redux into ^/head.Glen Barber2015-05-093-84/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-84/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add the SMP support for Raspberry Pi 2 (BCM2836).Luiz Otavio O Souza2015-05-071-1/+2
| | | | | | | | | | | | | | | | | | Tested with the build of some ports and a buildworld. Submitted by: Daisuke Aoyama <aoyama@peach.ne.jp> Notes: svn path=/head/; revision=282610
* | Clean up the ARM kernel configs to use 'include<space><tab>"file"'.Andrew Turner2015-05-0766-110/+110
|/ | | | Notes: svn path=/head/; revision=282576
* Start to reduce the diff between the Atmel kernel configs.Andrew Turner2015-05-053-80/+89
| | | | Notes: svn path=/head/; revision=282504
* The VIRT kernel config targets armv6.Andrew Turner2015-05-051-33/+1
| | | | Notes: svn path=/head/; revision=282503
* Move the first batch of common armv6 options to std.armv6.Andrew Turner2015-05-0517-491/+33
| | | | Notes: svn path=/head/; revision=282502
* Create std.arm and std.armv6 config files and include the right one fromIan Lepore2015-05-0549-6/+60
| | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=282499
* Now that DMA works, enable the audio driver on RPi 2.Luiz Otavio O Souza2015-05-051-2/+2
| | | | Notes: svn path=/head/; revision=282442
* In preparation for the next cycle of official ARM images, add ARM_NEW_PMAPLuiz Otavio O Souza2015-05-045-0/+5
| | | | | | | | | | to supported kernels. This is a temporary solution and should be reverted when ARM_NEW_PMAP is enabled by default. Notes: svn path=/head/; revision=282433
* Fix the kernel ident for RPI2.Luiz Otavio O Souza2015-05-021-2/+2
| | | | Notes: svn path=/head/; revision=282356
* Enable root mounting from mmc/sd card.Ganbold Tsagaankhuu2015-04-271-2/+2
| | | | Notes: svn path=/head/; revision=282045