summaryrefslogtreecommitdiffstats
path: root/sys/arch/beagle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In the future, we shouldn't have one port port ARM SoC, that's justpatrick2013-09-0491-13674/+0
| | | | | ridiculous. This is the first step for a common and generic ARM port for ARMv7 SoCs.
* Make ommmc interrupts show up in vmstat -i, systat, etc.stsp2013-08-251-3/+2
| | | | | | The interrupt handler used to always return zero, even if it did some work. Since interrupts aren't shared we can always return 1. ok patrick
* Remove useless and ugly (code before decl, wrong indentation) debug printfs.stsp2013-08-251-6/+1
| | | | ok patrick
* Remove uscanner(4). It was disabled in GENERIC more than 2.5 years ago.ajacoutot2013-08-202-4/+2
| | | | | | | | No regression has been reported since libusb became the prefered solution to work with USB scanners. req. by mpi@ ok ian@ mpi@ miod@
* Fix double allocation of memory in beagle machdep. This was caused bypatrick2013-08-191-22/+6
| | | | | | | | resetting physical_free{start,end}, although they had already been used. Also, set physical_freestart correctly and allocate the pagetables and stacks directly after the kernel. ok florian@
* Drop the dependecy on objcopy.rapha2013-08-021-12/+5
| | | | ok florian@
* no longer needed, we use uenv.txtflorian2013-07-162-16/+0
| | | | OK bmercer@
* Use bus_space_set_region_4 instead of looping over bus_space_write_4,rapha2013-07-151-11/+5
| | | | | | and remove some includes. ok patrick@
* Fix some netbsd-specific things to make this driver work in OpenBSD.rapha2013-07-041-40/+90
| | | | ok bmercer@, patrick@
* Stop using -traditional-cpp on gcc3/4 platforms.miod2013-06-231-2/+2
| | | | | Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
* unbreak build; OK bmercer@, patrick@florian2013-06-161-1/+2
|
* Updating the ramdisk to support usb.bmercer2013-06-141-20/+24
| | | | OK patrick@
* Add OpenBSD RCS Tag.patrick2013-06-141-0/+2
|
* Rework beagle's ehci driver and add neccessay code to enable the clocks.patrick2013-06-147-133/+850
| | | | | | Only PandaBoard supported for now. Lots taken from FreeBSD. ok bmercer@
* Rework of the suspend/resume logic.mpi2013-06-121-2/+2
| | | | | | | | | | | | | Do not places the ports into suspend mode now that we detach/attach all USB devicess during a suspend/resume cycle. Emit a reset when reinitializing the controller after resume and try to use the same logic as in ehci_init(). Correctly wait for the controller to set the HCHalted bit to one before attempting a reset. Tested by many and have been in snap for a week.
* Add $OpenBSD$rapha2013-06-114-0/+4
|
* Activate the sitaracm driver. (beaglebone only)rapha2013-06-115-26/+35
| | | | ok bmercer@
* Add files for the sitara (am335x) Control Module driver.rapha2013-06-114-0/+864
| | | | | | From netbsd, almost unchanged for now. ok bmercer@
* Use the correct attach_args, + various detailsrapha2013-06-053-53/+21
| | | | ok bmercer@, patrick@
* Initial port of the cpsw driver from netbsd. This will support ethernetbmercer2013-06-056-5/+1427
| | | | | on the beaglebone. This will be easier to work on in tree. OK florian@ dlg@ "put it in" patrick@
* add missing license (PD) blockjasper2013-06-012-4/+4
| | | | ok guenther@
* Change option -mcpu=armv5 to -march=armv6 and move it to Makefile.beagle.rapha2013-05-313-7/+5
| | | | ok bmercer@
* Add am335x as an omap device.rapha2013-05-225-4/+185
| | | | ok patrick@
* am335x has the mmc registers offset by 0x100, like omap4.rapha2013-05-211-13/+6
| | | | ok patrick@
* Small code clean up. Removing noisy printfs.bmercer2013-05-211-3/+1
|
* Remove some unused defines and make the number of interrupt lines variable.rapha2013-05-212-48/+33
| | | | ok bmercer@
* Add a driver for the am335x timers, to be used by the beaglebone.rapha2013-05-214-3/+423
| | | | | | Derived from the existing omap3 gptimer. ok patrick@
* Bring beagle back to the other pmap header now that it's merged.patrick2013-05-181-2/+2
|
* Add a dummy IPL_MPSAFE definition.kettenis2013-05-171-2/+4
| | | | ok miod@, mikeb@
* Add basic prcm support for am335x.rapha2013-05-147-274/+441
| | | | | | | Use separate headers and enable/disablemodule functions for the different boards. A lot of work by patrick@. ok patrick@, bmercer@
* Add board id for beaglebone.rapha2013-05-141-1/+2
| | | | ok patrick@, bmercer@
* Map beagle kernel and its vector page executable.patrick2013-05-101-4/+4
| | | | ok miod@
* whitespacespatrick2013-05-104-79/+75
|
* Add a driver for the OMAP identification registers/fuses,patrick2013-05-096-5/+125
| | | | | | | so that we can adjust the timer frequency for PandaBoard version. From drahn at bitrig. ok bmercer@
* Have the ARM MPCore Timer use the private timer, which will be very usefulpatrick2013-05-093-7/+11
| | | | | | | for SMP on the newer ARMv7 boards. From drahn at dalerahn.com. ok bmercer@
* Fix a shift in the beagle prcm.patrick2013-05-031-2/+2
| | | | ok jsg@
* Don't return before calling splx.patrick2013-05-031-4/+6
| | | | found by and ok jsg@
* Add a driver for the secondary cache controller on the PandaBoard andpatrick2013-05-022-2/+4
| | | | | | | other ARM Cortex based boards. Disabled for now, until proper secondary cache flushing is done where it's needed. ok miod@
* Add a secure monitor call function, so that a secondary cache controllerpatrick2013-05-011-1/+19
| | | | | | | | driver can talk to its controller properly. From drahn at dalerahn.com. ok bmercer@
* Disable PandaBoard's L2 Cache early on bootup. We will re-enable itpatrick2013-05-012-2/+77
| | | | | | later once we're ready. ok bmercer@
* Add a cortex bus which represents the ARM MPCore Complex.patrick2013-05-017-990/+11
| | | | | | | | | | It will attach only to ARM Cortex A9 and A15 SoCs. The generic interrupt controller and timer will attach to this bus, later a secondary cache controller can be added. The base address for those controllers are figured out using the periphbase register. ok bmercer@
* Fix beagle makefile dependency after switching to new context switchingpatrick2013-04-301-2/+2
| | | | | | code. ok bmercer@
* Use ARMv7 access permission bits.patrick2013-04-301-4/+4
| | | | ok bmercer@
* Switch from pmap to pmap7.patrick2013-04-301-2/+2
| | | | ok bmercer@
* Clean up ARM's generic interrupt controller and timer. Add the ability topatrick2013-04-262-30/+62
| | | | | | change the frequency and add match functions. ok bmercer@
* Use the correct arch name in a beagle header.patrick2013-04-251-2/+2
|
* Add GPIO support for the PandaBoard. Disable BeagleBoard's unused interruptpatrick2013-04-251-65/+238
| | | | | | functions for now. ok bmercer@
* Add a terminator to the device list, so that we don't end up havingpatrick2013-04-253-5/+18
| | | | | | unexpected behaviour when a device isn't found. ok bmercer@
* Correctly enable ARM's Generic Interrupt Controller.patrick2013-04-251-2/+5
| | | | ok bmercer@
* more usb typedef removal falloutderaadt2013-04-202-11/+11
|