Commit Graph

2690 Commits

Author SHA1 Message Date
jmcneill cc5b3f3f7e Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-03 00:51:44 +00:00
jmcneill 81048505df Rename JETSONTK1 to TEGRA, add SUNXI 2017-07-02 22:41:30 +00:00
jmcneill c77891c145 Add SUNXI_INSTALL kernel. 2017-07-02 22:39:05 +00:00
skrll 7e3d6e9014 Define __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-02 18:22:29 +00:00
jmcneill 39a2682b32 Add P2WI/RSB driver, based on awin_p2wi.c. 2017-07-02 18:06:45 +00:00
jmcneill 49f361a5de Add basic FDT GPIO support. 2017-07-02 13:36:46 +00:00
skrll 30446b3c33 Define __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-02 10:52:35 +00:00
skrll c1ec42be96 Define __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-02 10:12:44 +00:00
jmcneill ddb9dd9c9b Add basic support for Allwinner A31. 2017-07-02 00:14:09 +00:00
jmcneill 9432a99a2d Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
2017-07-01 16:25:15 +00:00
skrll c24c12cd2a Define __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-01 14:51:59 +00:00
skrll ed26c9a0e7 Define __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-01 12:52:01 +00:00
skrll 75d298ab97 Define __HAVE_CPU_UAREA_ALLOC_IDLELWP 2017-07-01 09:26:51 +00:00
skrll 6a9b34e4aa Define __HAVE_CPU_UAREA_ALLOC_IDLELWP to make use of the idlelwp stacks
created by arm32_kvminit.c
2017-07-01 09:17:44 +00:00
jmcneill 1c0653e6f8 Add RTC driver. 2017-06-29 19:38:24 +00:00
jmcneill f9f219dd71 Add i2c glue. 2017-06-29 19:16:08 +00:00
jmcneill 7e5cfd7c2e Synopsys DesignWare APB UART needs "options COM_AWIN" for now. 2017-06-29 17:20:59 +00:00
jmcneill 1e6185e470 Add USB stuff. Doesn't quite work yet. 2017-06-29 17:08:52 +00:00
jmcneill 11d415cdd2 Add H3 MMC support 2017-06-29 09:26:06 +00:00
jmcneill a07e90f375 Add initial support for Allwinner H3 SoC. 2017-06-28 23:51:29 +00:00
sevan a11ffcb3fc Add a heading to describe the class of device axe(4) is. 2017-06-26 03:15:16 +00:00
christos 1fe372dc3b we don't support 'no device' so re-define it; it will get both file attachments
but that is not an error.
2017-06-22 15:27:23 +00:00
christos 81c29b58f6 XXX: fix conflict with plrtc in sys/conf/files by re-defining. 2017-06-22 02:19:25 +00:00
skrll 8339236d7d Add exynos5410-smdk5410.dts to DTS list 2017-06-20 20:20:02 +00:00
jmcneill f55e299a01 Add Exynos 5410 clock controller driver. 2017-06-20 13:21:45 +00:00
skrll 7fcc790296 Add exynos5410-odroidxu.dts to DTS list 2017-06-20 10:37:01 +00:00
jmcneill 2d6857cfbf Disable exyortc for now, it doesn't work. 2017-06-19 22:01:18 +00:00
jmcneill f9e49c4ca9 Build exynos5422 .dtb files with this kernel. 2017-06-18 15:57:16 +00:00
jmcneill cd132ffd02 Enable UART0 (PL011) on GPIO header for Raspberry Pi 3 / Zero W 2017-06-17 22:50:23 +00:00
jmcneill db54ab3515 Disable BSC0 on Raspberry Pi 3 and Zero W boards. 2017-06-17 17:03:40 +00:00
pgoyette 1cbdf74a3e Add gpio support for Xscale
From Stephan Meisenger in PR/52163
2017-06-16 22:39:34 +00:00
jmcneill f75dd4342b Set DTS makeoption in kernel config 2017-06-16 21:37:11 +00:00
jmcneill 468e23da59 build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel 2017-06-15 22:08:07 +00:00
jmcneill 8af946b10d build vexpress-v2p-ca15-tc1.dtb with the kernel 2017-06-15 22:07:10 +00:00
jmcneill 9cdf4253a5 Parse more than one entry from the /memory node's reg property. 2017-06-11 20:25:07 +00:00
jmcneill d8896b4642 Simplify MCT; just enable it and then attach an ARMv7 generic timer. 2017-06-11 16:21:41 +00:00
jmcneill a215b888ad - Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
2017-06-11 11:04:20 +00:00
jmcneill 5840ccd755 Remove ODROID-U and ODROID-XU kernel configs as they no longer work. 2017-06-11 11:02:43 +00:00
jmcneill 2a6e888078 Fix KERNEL_BASE_PHYS (how did this ever work?) 2017-06-11 00:03:29 +00:00
jmcneill 67ebc8ddb5 Use arm_fdt_cpu_hatch and add mmu entry for DTB 2017-06-10 23:20:56 +00:00
jmcneill edda5141bb Get the EXYNOS kernel building again with recent FDT changes. Untested. 2017-06-10 15:13:18 +00:00
ryo bf4c80a7b2 add support for i.MX6UltraLite, and
ConnectCore for iMX6UL Starter Board.
2017-06-09 18:14:59 +00:00
jmcneill 3156bf44e9 Add plrtc driver 2017-06-08 21:01:31 +00:00
jmcneill 0cd7ceae32 Enable aaci 2017-06-08 10:40:38 +00:00
jmcneill d9f57c141a Add aaci at fdt, commented out for now. Driver should work (tm) but QEMU
and my old Thinkpad can't seem to keep up.
2017-06-08 10:05:32 +00:00
jmcneill 98ec040ad9 Initialize boot_args before bootstrap for the benefit of platform code. 2017-06-06 09:56:00 +00:00
jmcneill b4f7190f81 Add support for stdout-path= kernel cmdline option to override the
console device specified in the FDT.
2017-06-06 00:28:05 +00:00
jmcneill 63d24fecc6 Fix spelling of WS_DEFAULT_FG and WS_KERNEL_FG options. 2017-06-06 00:25:48 +00:00
jmcneill f56828e47e Add a 1MB mapping to the MMU init table to cover the FDT blob in case the
bootloader places it beyond the init mem size.
2017-06-04 19:15:46 +00:00
jmcneill 10227d7e80 Add and enable FDT glue for ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse
interface.
2017-06-03 17:05:23 +00:00
jmcneill f6fd5ec53b Add framebuffer support. 2017-06-03 14:51:15 +00:00
jmcneill 704bbb2cea Add driver for ARM Motherboard Express uATX system control registers. Use
this to make "poweroff" DTRT in qemu (and hopefully on real hardware too).
2017-06-02 21:16:42 +00:00
jmcneill 08e7d9faf5 Add SMP support to VEXPRESS_A15 kernel. Enable with '-smp 2' on qemu
command line.
2017-06-02 20:16:05 +00:00
jmcneill ccba8120e3 Switch VEXPRESS_A15 kernel to use FDT and GENERIC.common. The dtb for this
kernel can be found in the sysutils/dtb-arm-vexpress package as
vexpress-v2p-ca15-tc1.dtb
2017-06-02 15:22:47 +00:00
jmcneill faf8273e90 Allow platform code to specify the UART frequency for consinit 2017-06-02 13:53:28 +00:00
jmcneill 2a1124ac80 FDT-ize "delay" by having fdt_machdep provide the delay() function and
move the implementations into the platform code.
2017-06-02 00:16:27 +00:00
jmcneill b7a940d982 Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.
2017-06-02 00:09:56 +00:00
jmcneill f180d8b138 Configure IRQ for active high polarity, push-pull driver. 2017-06-01 17:01:18 +00:00
jmcneill 309390f0a3 Fix VERBOSE_INIT_ARM build with TEGRA kernel. 2017-05-30 22:55:26 +00:00
jmcneill c6cfeef3fc Use an FDT-based ARM_INTR_IMPL for Tegra. 2017-05-30 22:00:25 +00:00
jmcneill 2fdae95f57 Allow ARM FDT drivers to register per-cpu init callbacks. Run through this
callback list when a CPU hatches instead of calling gtmr_init_cpu_clock
directly.
2017-05-30 21:12:41 +00:00
jmcneill 3ec47f874c Rename tegra_machdep.c to fdt_machdep.c now that it no longer has any
Tegra-specific code in it.
2017-05-30 10:27:53 +00:00
jmcneill 4cb59ef4de Remove reference to CONSPEED, this value comes from fdt data 2017-05-29 23:22:00 +00:00
jmcneill 8f0ac4644e Rename armv7fdt to armfdt now that bus space + dma tags are filled in by
platform code.
2017-05-29 23:21:12 +00:00
jmcneill 73b64c76e1 Move console initialization out of platform code into the console drivers
themselves.
2017-05-29 23:13:03 +00:00
jmcneill 81bc83c155 Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

 - devmap: Return a 0-terminated list of static device map entries.
 - bootstrap: Early initialization of platform-specific facilities.
 - early_putchar: Provides an implementation of putchar for use in early
     debug messages.
 - device_register: Platform-specific device register callback.
 - reset: Platform-specific CPU reset implementation.
 - consinit: Platform-specific console init implementation.
2017-05-28 23:39:30 +00:00
martin f115750a3f Revert previous, the needed signals are not easily accessible on
CUBIETRUCK
2017-05-28 18:39:58 +00:00
jmcneill 6ba64aa73d Add facility for fdt devices to register reset and poweroff handlers.
Use this to remove as3722-specific code in tegra_machdep.c
2017-05-28 15:55:11 +00:00
martin 98ff51a40d Add (commented out) can bus options, CUBIETRUCK is also A20 based. 2017-05-28 11:15:59 +00:00
jmcneill 5ec28b3732 Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.
2017-05-28 00:40:20 +00:00
jmcneill 446d257186 Don't assume that the root autoconfiguration device is named "mainbus". 2017-05-28 00:30:49 +00:00
bouyer f3e8ca4e98 Add options CAN and pseudo-device canloop to ALL kernel configs.
Add the same commented out to i386/amd64 GENERIC and OLIMEXLIME2 (A20-based).
Also add commented out awincan0 in OLIMEXLIME2.
2017-05-27 22:53:29 +00:00
jmcneill a50e96c8f6 GC unused tegra_dma_bootstrap function. 2017-05-27 20:26:27 +00:00
jmcneill bea84bfd88 Adjust a comment that refers to Tegra124; this code can be used on more
than one Tegra SoC.
2017-05-26 20:04:56 +00:00
jmcneill b75e6d101d Don't try to use memory above 4GB PA. 2017-05-26 18:58:55 +00:00
jmcneill 57aa9c7184 Remove tegra_chip_id vs compat string test in initarm. 2017-05-26 00:15:12 +00:00
jmcneill d2b6f53728 Remove unused SOC_MPINIT definition 2017-05-26 00:00:25 +00:00
christos 11ae70bcc0 rename u3ginit driver to umodeswitch 2017-05-24 20:23:04 +00:00
sevan fb09d7af54 Allow gpio children for any parent which offers the gpiobus attribute.
Resolves issue with gpiosim(4)
gpiosim0: simulating 64 pins
gpiobus at gpiosim0 not configured

Reviewed by pgoyette
2017-05-09 01:57:04 +00:00
jmcneill 2023f8b6b4 add tegraapbdma driver 2017-04-29 11:02:17 +00:00
jmcneill b96c013d05 Allow for specifying (optional) pass number locator for devices at fdt. 2017-04-26 01:51:52 +00:00
sevan 217835b5e3 Switch BEAGLEBONE config over to using GENERIC.common.
Remove duplicates already defined in GENERIC.common.
2017-04-25 18:52:31 +00:00
jmcneill 095f6375b1 Get rid of tegra_cpuinit after scanning fdt and attach the cpufreq support
to the /cpus node. Use regulator API instead of poking directly at the I2C
controller to set voltages.
2017-04-22 23:53:24 +00:00
jmcneill ddbcb5eb6c add as3722reg 2017-04-22 21:50:13 +00:00
jmcneill c96fbeac3f Setup the console serial port using the /chosen/stdout-path property
instead of the compile-time CONSADDR setting.
2017-04-21 23:36:57 +00:00
jmcneill 47bf9afcdc Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.
2017-04-21 21:13:04 +00:00
jmcneill 9f26610e2e Initialize intr_setattr of arm32_pci_chipset 2017-04-21 12:18:59 +00:00
jmcneill 85435f6258 typo fix 2017-04-16 15:49:26 +00:00
jmcneill 443b940393 Add fclock(4) 2017-04-16 12:29:40 +00:00
jmcneill 899026e63c Remove simplebus driver and allow fdtbus to attach directly to itself. 2017-04-14 22:55:06 +00:00
christos cb5e99c661 centralize vers.c building for standalone programs. 2017-04-08 19:53:19 +00:00
sevan d3669c6273 While KDTRACE_HOOKS is enabled by default in GENERIC.common, the BEAGLEBONE
config does not make use of this config file yet.
Revert previous change (r1.39).
2017-03-30 17:17:41 +00:00
msaitoh 9842222b6c Fix 0x%d and 0x%u. 2017-03-29 09:04:35 +00:00
skrll 7e00dd600f Enable xhci(4) 2017-03-28 15:09:29 +00:00
sevan c2aad55695 KDTRACE_HOOKS is enabled by default in GENERIC.common, remove references in
individual config files.
2017-03-22 22:53:06 +00:00
skrll 696f11dba3 Drop INSECURE - expect /etc/modules.conf for dtrace 2017-03-22 16:07:12 +00:00
skrll 4cdfaee5d1 +KDTRACE_HOOKS and INSECURE 2017-03-20 21:30:47 +00:00
skrll 08fa3118c0 convert spaces to tab 2017-03-20 21:08:55 +00:00
skrll ec008a6479 Disable DIAGNOSTIC - it is already enabled in GENERIC.common 2017-03-20 14:06:43 +00:00
sevan cdb3d5c14c Build with DTrace support by default.
To activate, define the relevant modules in /etc/modules.conf.
For example (incomplete list):
solaris
dtrace
dtrace_sdt
dtrace_fbt
dtrace_lockstat
dtrace_profile
dtrace_syscall

Reviewed by christos
2017-03-18 21:04:12 +00:00
skrll fc5109111b Initialise the windows and allow access to PCI Express port 1 first lane.
Allows xhci(4) to attach in the MV78230 based Lenovo ix4-300d

mvpex1 at mvsoc0 unit 4 offset 0x80000-0x81fff irq 62: Marvell PCI Express Interface
pci1 at mvpex1
xhci0 at pci1 dev 1 function 0: vendor 1033 product 0194 (rev. 0x04)
xhci0: interrupting at interrupt pin INTA#
usb3 at xhci0: USB revision 3.0
usb4 at xhci0: USB revision 2.0
2017-03-10 15:44:24 +00:00
jakllsch d68ee6e41f Avoid tripping on opposite-endian sysconfig/fex blobs. 2017-03-08 17:06:35 +00:00
skrll 35c97a0f45 Set xscale_cache_clean_addr appropriately and re-arrange default KVA
layout to allow direct map for all boards.

OVERO/DUOVERO/PEPPER aren't tested.

PR/52010: Regression: Gumstix Verdex is hanging in enabling cache + KASSERT ram_size
2017-03-01 16:44:54 +00:00
skrll 9f331673de typo 2017-02-28 15:00:32 +00:00
chs 795e693cbb fix the build of this kernel config by adding the omapscm driver.
turn on options for dtrace, turn off USB debugging.
2017-02-27 06:50:15 +00:00
rin 59e6f8272e Add DKWEDGE_METHOD_RDB option, which is enabled for x86, commented out for
other platforms by default.
2017-02-26 12:03:14 +00:00
skrll 42ed760852 Add pci attachment for mvsata 2017-02-25 07:55:06 +00:00
maya 1eca7e637c Get rid of more -mno-thumb -mno-thumb-interwork for GCC < 4.8 2017-02-22 13:14:45 +00:00
maya e022f76317 GC more logic that was intended for GCC <4.8 (or !LLVM)
Same as before (-marm implies -mno-thumb), but now the condition was flipped
2017-02-22 12:51:38 +00:00
rin 913d426efd PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
2017-02-19 07:46:59 +00:00
christos e4cf317682 provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently. 2017-01-26 15:55:08 +00:00
christos bafac785ec PR/51905: GXIO Expension boards arn't configured if GXIO_DEFAULT_EXPANSION
isn't defined. Fix a bunch of issues with the original code.
2017-01-22 17:19:32 +00:00
christos 48ad5593f8 there is no <string.h> in standalone code; should be getting strcpy from
libkern.
2017-01-14 21:57:20 +00:00
martin 56f34142db Include <string.h> for strcpy 2017-01-14 12:45:28 +00:00
christos b0642a4b8a remove dup DIAGNOSTIC 2017-01-08 05:11:24 +00:00
christos 3c6522a12a need this for the build 2017-01-08 05:11:13 +00:00
kiyohara af4278a708 Support SolidRun Cubox. 2017-01-07 16:24:07 +00:00
kiyohara a4c1b5d6be Add support Marvell Dove.
Also <SoC>_intr_bootstrap() rename to <SoC>_bootstrap(). And SoC init func, getclk into that.
2017-01-07 16:19:28 +00:00
skrll 5dc9a27fcf Use the VC property mailbox to request the UART clock rate and use it
appropriately

Newer firmwares use 48MHz
2017-01-06 14:55:37 +00:00
skrll 7ed3f784bc Whitespace 2017-01-06 14:53:32 +00:00
skrll 6f64034815 Fix boot on Gumstix Verdex boards.
Reported by smesgr on port-arm
2017-01-02 21:46:59 +00:00
rin 4b1563e174 catch up with physmem type change (in the same manner as sdp24xx_machdep.c) 2016-12-30 07:35:14 +00:00
skrll 3ea5cf87f0 Bump image size 2016-12-29 20:51:26 +00:00
rjs 024e0031c7 Remove trailing whitespace, no functional change. 2016-12-26 13:28:59 +00:00
christos 16a824ca6b fix printf format 2016-12-25 04:35:30 +00:00
mlelstv 4eff3f7ab8 another physmem type change 2016-12-24 17:36:59 +00:00
cherry e08917ef90 switch all ports to use uvm_init.c:uvm_md_init()
uvm_setpagesize() is now subsumed within this funciton.
2016-12-22 14:47:53 +00:00
christos ef2deb33e0 wildcard speaker attachments, now that we can handle many of them. 2016-12-13 20:42:15 +00:00
christos 219b8dae14 remove VAUDIOSPEAKER for now, will be done differently. 2016-12-10 23:03:22 +00:00
nat 03783bb56a Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
2016-12-08 11:31:08 +00:00
christos c0404860d1 mention PAX_SEGVGUARD dependency on FILEASSOC 2016-11-26 13:59:45 +00:00
hkenken 5dbe7c6e5b Add support imx6 PCIe controller. 2016-11-24 12:06:43 +00:00
hkenken 72d7c6b3de Modified imx6_pll_power() arguments. 2016-11-24 03:59:36 +00:00
christos d7098f16af sprinkle ifdef spices. 2016-10-28 19:00:48 +00:00
skrll d3e93ac2c2 Fix regisers typo 2016-10-20 09:53:07 +00:00
kiyohara 1c876a1021 Remove white spaces. 2016-10-19 14:07:22 +00:00
mrg 44d7d6ab00 apply some #if defined(TI_AM335X) so this builds again. 2016-10-19 08:18:38 +00:00
aymeric 2be441b364 add commented out entry to attach Pi Face Real Time Clock 2016-10-18 18:56:32 +00:00
kiyohara 97249b6741 Move set_mpu_volt() from */*_machdep.c to am335x_prcm.c. 2016-10-18 15:10:35 +00:00
kiyohara 1fb68d572c Remove intrbase and intr from omapgpio. 2016-10-18 14:48:11 +00:00
kiyohara 3050382859 Enable tifb and wsdisplay. 2016-10-18 14:45:05 +00:00
kiyohara 2704cce243 Support tifb. 2016-10-18 14:39:52 +00:00
ryo 6ee745045e * Add option MEMSIZE_RESERVED to reserves memory for Cortex-M4 area
* change KERNEL_BASE from 0x80008000 to 0x82000000
2016-10-17 10:36:56 +00:00
kiyohara b12de3745b omap2_gpio_*() into #if - #endif. 2016-10-16 23:07:31 +00:00
kiyohara 690d79d20d Remove not commited header-file and variable. 2016-10-16 13:54:28 +00:00
kiyohara 31f9eceffc Add map for DuoVero and Pepper. 2016-10-15 16:30:46 +00:00
kiyohara 3aecbbc2d6 Add Pepper and DuoVero. 2016-10-15 15:33:02 +00:00
kiyohara 9a9641abaa Add Gumstix Inc's Pepper and DuoVero. 2016-10-15 15:29:51 +00:00
kiyohara f4149f486f Support Duovero and Pepper. 2016-10-15 15:27:18 +00:00
kiyohara e9ec615c21 s/at mainbus0/at mainbus?/. And indent. 2016-10-15 15:24:00 +00:00
kiyohara 4b6ced8e9e Comment-out don't matched sdhc. omap's sdhc not support TI_DM37XX now. However Overo FireSTORM(DM3730) work fine with OVERO(OMAP_3530 only). 2016-10-05 13:25:25 +00:00
kiyohara 3d420c52d1 Enable com2, sdhc1.
And add flash@nand@omapnand.
And smsh's locator use "cs" instead of "addr".
2016-10-04 16:22:43 +00:00
kiyohara 24aeba67be Add KERNEL_BASE_PHYS for duovero and pepper. 2016-10-04 16:18:38 +00:00
kiyohara e384595ce7 Enable TPIDRPRW_IS_CURCPU. 2016-10-04 16:17:37 +00:00
jakllsch 85627b239f Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller.  Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.
2016-09-26 20:05:03 +00:00
maxv 42e304b16d Remove the last references to KMEMSTATS. 2016-08-19 18:08:50 +00:00
skrll 4db03d42c9 Spelling in comment 2016-08-17 22:04:51 +00:00
christos 520827be3b rename ifmpls to mpls, so we don't have if_ifmpls... 2016-08-07 10:44:04 +00:00
kiyohara 801d6217ce Fix address for omapgpio4. 2016-08-04 07:06:14 +00:00
kiyohara 4a315e197b Move BOARDTYPE and EVBARM_BOARDTYPE from std.overo to OVERO. 2016-08-04 07:02:39 +00:00
kiyohara 122f8c72df Fix description to 'NEXCOM VTC100'. 2016-08-04 06:54:47 +00:00
kiyohara 25f84cea09 Enable tiotg and USB devices. 2016-08-04 06:53:10 +00:00
kiyohara 2ba2a7d9bf Add disabled MOTG_DEBUG and remove ?HCI_DEBUG. Also disable USB_DEBUG. 2016-08-04 06:50:27 +00:00
kiyohara 4547563530 Attach atphy instead of ukphy. 2016-07-21 09:10:55 +00:00
kiyohara d7142e5e19 Add VTC100 and KURONAS_X4. 2016-07-12 13:32:14 +00:00
kiyohara c72c29b59f Add 'KURONAS x4' configuration. 2016-07-12 13:28:46 +00:00
kiyohara 59c5f5fd78 Comment-out tiotg. It is not working yet.
Also clean-up and disable usb devices.
2016-07-12 13:20:03 +00:00
kiyohara fbb1be58f5 cpsw's intrbase is 40. 2016-07-12 13:16:50 +00:00
kiyohara d1b6e2651e Add NEXCOM VTC100. 2016-07-04 15:53:25 +00:00
kiyohara 189752ebe5 AM335x's sdhc@obio use offset 0x100.
Oops this space maybe use HL registers?  OMAP4430 use this space.
2016-07-04 15:45:37 +00:00
kiyohara 7904f901cb Attach edma and tiotg at mainbus instead of obio0.
And splits obio0 to obio[012], like OMAP3530.
2016-07-04 15:35:55 +00:00
kiyohara 8a431e5b54 Add 'needs-flag' to tps65217pmic. 2016-07-03 11:40:58 +00:00
kiyohara cd414b1be5 No need beagle_putchar(), if not defined VERBOSE_INIT_ARM. 2016-07-03 11:25:27 +00:00
skrll a320a8dd5d Fix build 2016-06-25 17:31:45 +00:00
skrll 148e3ecbb9 Don't define {USB,[EO]HCI,UHUB}_DEBUG when there is no usb 2016-06-24 12:22:09 +00:00
dholland 7f333b5d4c If MEMSIZE isn't set, #error instead of proceeding using uninitialized
stack garbage as the memory size. Please improve as needed; I don't know
anything about this hardware.

PR 51150 from David Binderman.
2016-05-30 17:43:46 +00:00
christos bfab48c6b3 Add various security options; enables PaX ASLR/MPROTECT 2016-05-21 18:31:13 +00:00
christos 9930e8e348 gcc can't compute the large initializer in rpi_release_mem,
so disable stack protector.
2016-05-20 16:40:40 +00:00
ryo 5ca0adf8c7 delete unused variables 2016-05-19 05:15:51 +00:00
ryo ec48232126 Add initial support for Freescale i.MX7 SoC and
Atmark Techno Armadillo-IoT G3 boards.

Contributed by Internet Initiative Japan Inc.
2016-05-17 06:44:45 +00:00
bouyer 175648e95c Add a driver for the lradc device found in allwinner SoCs.
The events are reported as hotkeys press/release to sysmon_power(9).
The levels and associated event names are configured in the fex script
(the channels remain disabled if no appropriate fex script is provided).
2016-04-25 20:15:46 +00:00
christos 590700bc51 undo unintended commit 2016-04-22 18:13:42 +00:00
christos ec8d3496ba Elide unused variable warnings (Felix Deichmann) 2016-04-22 18:13:01 +00:00
kiyohara 6bacadfe0b OVERO's .ub file includes release 2016-04-19 12:02:55 +00:00
mlelstv 7b1a30890f Add more tags understood by the firmware. 2016-04-03 11:02:17 +00:00
skrll b1ee8add7a PR/51017: VEXPRESS_A15 doesn't compile
Don't pretend to be anything other than A15
2016-04-02 08:48:35 +00:00
kiyohara 118e184d7f Ensure enable clocks for omapmputmr. 2016-03-31 14:33:17 +00:00
skrll dc4391d06a Restore HOST1X and AHB_A2 to pmap_devmap to give pmap less work to do 2016-03-26 09:07:31 +00:00
gdt af798e7b27 Disable uscanner in all kernel configs
As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner.  Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)
2016-03-19 23:21:02 +00:00
skrll b4740b2a71 Update vcprop_tag_clockrate structure 2016-03-14 07:43:00 +00:00
jklos 7f15b0acd9 Add kernel configuration file for PogoPlug Pink, PogoPlug Mobile and
PogoPlug v4. Add conditional because PogoPlug v4 can't run SD interface at
50 MHz.
2016-03-12 00:41:30 +00:00
mlelstv 2d6e668d26 Don't modify command line buffer but create a copy of the root argument. 2016-03-05 07:33:58 +00:00
joerg a542f58193 Don't reuse LDFLAGS for arguments passed directly to ${LD}, share/mk
expects it to be passed to ${CC} or ${CXX}, so they will generally
prefix flags with -Wl.
2016-03-01 16:08:22 +00:00
joerg 73916f4bad Garbage collect unused variables comcnaddr, comcnspeed and comcnmode. 2016-02-25 12:22:30 +00:00
chs 2f02870f3b zero the i2c_attach_args structure before filling it in.
fixes occasional crashes in iic_attach().
2016-02-14 19:54:19 +00:00
skrll b0bef51c1f Preserve the .text section alignment 2016-02-08 21:08:03 +00:00
skrll fc42e17ef4 Fix up bcm283[56] bus_space(4) to really use bus addresses for
peripherals, etc

Simplifies the code in various places and uses the abstraction in
more places. (bcm2835_gpio_subr.c still doesn't)
2016-02-02 13:55:50 +00:00
christos f56c05e9f6 remove the MKPIE and MKCTF no hack, and move it to the .mk files 2016-01-31 15:29:04 +00:00
christos cb09bfac79 Disable PIE and CTF for standalone code
XXX: Must be done centrally, and there must be a better way.
2016-01-31 02:16:28 +00:00
marty 5cba62781b FDT: Interrupts -- add support for interrupt maps
The mct on exynos uses an interrupt map so we add support now.  Devices
represent their interrupts either through a combination of interrupt-parent
and interrupts properties, where the 'interrupts' property is an array of
one or more interrupt specifiers; or through a combination of an
interrupt-parent that points to an interrupt-map, where the interrupt-map
contains 2 or more entries consisting of an index, a pointer to an
interrupt-controller, and a specifier for that controller.

This code adds the ability to walk the interrupt-map and return a specifier.
Unfortunately, the addition requires changing the interface to the
interrupt-controllers' _establish and _intstr functions, so this check in
contains a rototill of the three existing fdt interrupt controllers to use
the new interface.
2016-01-05 21:53:48 +00:00