summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
AgeCommit message (Collapse)Author
2015-05-24Add udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx).Matthieu Herrb
enable udl firmware and COMPAT_RAW_KBD to make udl useable with X. ok jsg@
2015-05-20Remove cubieboard specific gpio led setting.Jonathan Gray
From Artturi Alm in bitrig.
2015-05-20Now all the socs use the same va entry point and don't have anyJonathan Gray
conflicting symbols we can combine the configs. Multiple umg files are still required however. The bsd.umg target in the kernel is replaced by targets for bsd.IMX.umg, bsd.OMAP.umg and bsd.SUNXI.umg.
2015-05-20add per soc match functions instead of using armv7_matchJonathan Gray
2015-05-19change names to not conflict with omap intcJonathan Gray
From Patrick Wildt in bitrig
2015-05-19rename global variables to not conflict with gptimerJonathan Gray
2015-05-19Abstract the soc_machdep.c functions to allow a kernel to be built forJonathan Gray
multiple socs. From Patrick Wildt in bitrig with some additional changes.
2015-05-19use the same va entry point on all armv7 socsJonathan Gray
Similiar changes were made in bitrig by Patrick Wildt. As part of this change the physical load address for imx and sunxi have changed. Any u-boot settings that include it will need to be modified. imx: 0x10800000 -> 0x10300000 sunxi: 0x40800000 -> 0x40300000 Tested by bmercer, canacar and myself. ok bmercer@
2015-05-18Make armv7 startup PIC. From Dale Rahn in bitrig.Jonathan Gray
Tested by bmercer, canacar and myself. ok bmercer@
2015-05-17Checking the dts files turned up some more imx sdhc problems.Jonathan Gray
- use the correct CD gpios on phyflex and wandboard usdhc3 (unit 2) - udoo has just the one sd slot with no CD
2015-05-17add missing calls to set the gpio direction before reading theJonathan Gray
card detect gpio on phyflex/sabre lite/wandboard
2015-05-15Decrement the unit numbers on the novena sdhc devices. The imx6 dtsJonathan Gray
files seem to have labels numbered one higher than the nodes they are assigned to. Tested by djm
2015-05-15Make board attaching table driven and move it out into the socJonathan Gray
directories. Move the device tables while here as was done in bitrig. With these changes the only use of the board id defines is in the soc directories. Tested by matthieu and djm on imx and myself on omap and sunxi (qemu). ok djm@, ok jasper@ on an earlier version
2015-05-14Remove BOARD_ID* tests that do the same thing for every imx board.Jonathan Gray
Tested by and ok djm@
2015-05-14rework imxenet hardware address setup: if COTP doesn't provide anDamien Miller
address, check whether the firmware/bootloader has already programmed one. If all else fails, use ether_fakeaddr(); feedback and ok jsg@ (committed from Novena)
2015-05-13Having the same settings on the same phy across multiple boards is justJonathan Gray
asking too much in the arm world. Translate the fec parameters from the novena dtb to set a different clock skew to the same micrel phy used on sabre lite. The novena dtb sets txd[0-3]-skew-ps to 3000, the sabre lite sets them to 0. When run through the shifting/oring process from the micrel phy driver in FreeBSD this ends up being a write of 0xffff on the novena and 0x0000 on sabre lite when writing to TX_DATA_PAD_SKEW. This change resolves the stability problems djm was seeing with imxenet on novena. ok djm@
2015-05-12imxiic is known to be broken don't try attaching it on utiliteJonathan Gray
2015-05-12Raise VM_PHYSSEG_MAX to two and load an additional physical memoryJonathan Gray
segment if u-boot reports it. Needed for the utilite where u-boot reports two 1GB segments of physical memory. From Patrick Wildt in bitrig with some additional sanity checks added.
2015-05-12Add missing braces.Jonathan Gray
Tested by and ok djm@
2015-05-10VM_MAX_KERNEL_ADDRESS is the end of the kva range not the end ofJonathan Gray
addressable virtual memory space but arm ports were using a value of 0xffffffff for this. Instead of using a shared VM_MAX_KERNEL_ADDRESS define add md VM_KERNEL_SPACE_SIZE defines based on the KERNEL_VM_SIZE values from the respective machdep.c files. djm's novena was hitting "panic: bufinit: can't reserve VM for buffers" without a similiar change. ok miod@
2015-05-10limit physical memory to (paddr_t)-PAGE_SIZE (0xfffff000)Jonathan Gray
novena has 4GB of physical memory and it's u-boot tells us memstart: 0x10000000 memsize: 0xf0000000 which would previously cause an overflow leading to "panic: initarm: out of memory" tweak from and ok miod@
2015-05-08Add missing sabresd case statements. As sabresd_devs[] includes imxgpioJonathan Gray
an attempt to boot on sabresd would have tried to deref NULL function pointers.
2015-05-08Add initial board specific parts of novena support, tested by djm@Jonathan Gray
While novena has it's own board id it's u-boot does not set it. "setenv machid 10ad" in u-boot will set the novena board id (0x10ad/4269).
2015-05-07fix indentationJonathan Gray
ok miod@
2015-05-04Fix some misuse of the | operator. In particular | has higherJonathan Gray
precedence than ?: ok guenther@ krw@ miod@
2015-04-22Init a variable to zero so values aren't or'd into uninitialised memory.Jonathan Gray
From jeundery at gmail dot com
2015-04-16Enable ualea(4) where we have uhub(4), these USB device lists cry forMartin Pieuchot
unification...
2015-04-03Convert to if_input().Martin Pieuchot
Tested by jsg@ with Qemu
2015-03-29initial support for the SABRE SD boardJonathan Gray
from Patrick Wildt in Bitrig
2015-03-18Convert to if_input(), tested by jsing@.Martin Pieuchot
2015-03-16Convert to if_input(), tested by jsg@.Martin Pieuchot
2015-01-26Import the exynos work into tree. This is from Bitrig. Discussed with and OK ↵Brandon Mercer
jsg, also OK from krw.
2015-01-22Replace some obvious '$OpenBSD' and '$OpenBSD:' typos with '$OpenBSD$'.Kenneth R Westerback
Pointed out by dickman@. ok sthen@ phessler@
2015-01-18unifdef IPKDB. These codepaths are holdouts from NetBSD code and areJonathan Gray
not used.
2015-01-17More complete gpio reset sequences for SABRE Lite/Nitrogen6X.Jonathan Gray
From Patrick Wildt in Bitrig.
2015-01-13Add missing Utilite case in imx_platform_init_cons()Jonathan Gray
spotted by Patrick Wildt
2015-01-13for the install: target, use cmp as a rough attempt for avoiding repeatedTheo de Raadt
make install from Simon Nicolussi ok jsing tedu
2015-01-11switch prototype warnings to implicit-declaration warnings.Ted Unangst
This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt
2015-01-04add new driver uslhcom(4) USB HID based UART.uaa
2015-01-02Add some additional i.MX6 board types from Bitrig.Jonathan Gray
CompuLab Utilite, SolidRun HummingBoard/CuBox-i and UDOO.
2014-12-22unifdef INETTed Unangst
2014-12-13add a sxidog_activate() function so the kernel will link againJonathan Gray
after the changes made in rev 1.5
2014-12-11dragonflybsd has added a urio driver. conservation of urios requiresTed Unangst
that we delete ours, which isn't actually useful. ok mpi sthen
2014-12-10retire shutdown hooks; ok deraadt, krwMike Belopuhov
2014-12-10Convert watchdog(4) devices to use autoconf(9) framework.Mike Belopuhov
ok deraadt, tests on glxpcib and ok mpi
2014-12-03Turn ahci port start into a callback so sxiahci can do some magic toJonathan Gray
setup dma. Modified version of a patch from Edwin Amsler which was based on changes made in Bitrig by Artturi Alm. ok dlg@
2014-11-24use the correct capitalization for Realtek.Brad Smith
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
2014-11-09remove commented entries for tedu'd bluetooth driversJonathan Gray
2014-11-04Uncomment code that does voltage capabilities initialisation. WithoutJonathan Gray
this using an sd card with my rev C BeagleBone Black won't work. Should fix similiar problems reported by Gerke Preussner and Andrew Hills on arm@ ok syl@