svn commit: r252913 - head/sys/arm/ti/am335x

2013-07-06 Thread Oleksandr Tymoshenko
7 04:22:08 2013 (r252913) @@ -0,0 +1,481 @@ +/*- + * Copyright (c) 2013 Oleksandr Tymoshenko + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code

svn commit: r252912 - head/sys/dev/usb/controller

2013-07-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jul 7 04:18:35 2013 New Revision: 252912 URL: http://svnweb.freebsd.org/changeset/base/252912 Log: - Add initial host mode support for Mentor Graphics USB OTG controller - Sync musb_otg_atmelarm with new core logic API Modified: head/sys/dev/usb/controller/musb_otg.

svn commit: r252722 - head/sys/arm/ti/am335x

2013-07-04 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jul 4 20:13:22 2013 New Revision: 252722 URL: http://svnweb.freebsd.org/changeset/base/252722 Log: Add support for ePWM submodule of PWMSS ePWM is controlled by sysctl nodes dev.am335x_pwm.N.period, dev.am335x_pwm.N.dutyA and dev.am335x_pwm.N.dutyB that controls

svn commit: r252719 - head/sys/boot/fdt/dts

2013-07-04 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jul 4 20:08:42 2013 New Revision: 252719 URL: http://svnweb.freebsd.org/changeset/base/252719 Log: Add nodes for PWMSS1 and PWMSS2 Modified: head/sys/boot/fdt/dts/am335x.dtsi Modified: head/sys/boot/fdt/dts/am335x.dtsi

svn commit: r252652 - head/sys/arm/arm

2013-07-03 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jul 3 23:38:02 2013 New Revision: 252652 URL: http://svnweb.freebsd.org/changeset/base/252652 Log: Fix one of INVARIANTS-related UMA panics on ARM Force UMA zone to allocate service structures like slabs using own allocator. uma_debug code performs atomic ops on

svn commit: r252395 - head/sys/arm/versatile

2013-06-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jun 29 23:51:17 2013 New Revision: 252395 URL: http://svnweb.freebsd.org/changeset/base/252395 Log: - Fix IMAPx registers values calculation - Initialize SMAPx registers too although they're unused in QEMU - Do not pass IO/MEM resources to upper bus for activation, ha

svn commit: r252393 - head/sys/arm/versatile

2013-06-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jun 29 23:40:44 2013 New Revision: 252393 URL: http://svnweb.freebsd.org/changeset/base/252393 Log: Enable patth-through of IRQ30 and IRQ31 to PIC just as comment states Modified: head/sys/arm/versatile/versatile_sic.c Modified: head/sys/arm/versatile/versatile_sic.c

svn commit: r252282 - head/sys/arm/ti/am335x

2013-06-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jun 27 00:33:08 2013 New Revision: 252282 URL: http://svnweb.freebsd.org/changeset/base/252282 Log: - Request non-cached memory for framebuffer - Properly probe/initialize syscons Modified: head/sys/arm/ti/am335x/am335x_lcd.c Modified: head/sys/arm/ti/am335x/am335x_

svn commit: r252064 - in head/sys: conf modules/runfw

2013-06-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jun 21 18:16:54 2013 New Revision: 252064 URL: http://svnweb.freebsd.org/changeset/base/252064 Log: Rename run(4) firmware file from runfw to run.fw. Previous name was the same as top-level target name for "device runfw" kernel option and caused cyclic dependancy that

svn commit: r251020 - head/sys/boot/fdt/dts

2013-05-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 27 00:26:29 2013 New Revision: 251020 URL: http://svnweb.freebsd.org/changeset/base/251020 Log: Add DTS for AM335x EVM with properly muxed PWM and LCD pins, and LCD panel description Added: head/sys/boot/fdt/dts/am335x-evm.dts (contents, props changed) Added:

svn commit: r251019 - head/sys/boot/fdt/dts

2013-05-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 27 00:23:59 2013 New Revision: 251019 URL: http://svnweb.freebsd.org/changeset/base/251019 Log: Add PWM and LCDC nodes to base DTS for AM335x-based devices Modified: head/sys/boot/fdt/dts/am335x.dtsi Modified: head/sys/boot/fdt/dts/am335x.dtsi

svn commit: r251018 - head/sys/arm/ti/am335x

2013-05-26 Thread Oleksandr Tymoshenko
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/ti/am335x/am335x_lcd.c Mon May 27 00:23:01 2013 (r251018) @@ -0,0 +1,667 @@ +/*- + * Copyright 2013 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in

svn commit: r251017 - head/sys/arm/ti/am335x

2013-05-26 Thread Oleksandr Tymoshenko
pwm.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/ti/am335x/am335x_pwm.c Mon May 27 00:13:27 2013 (r251017) @@ -0,0 +1,285 @@ +/*- + * Copyright (c) 2013 Oleksandr Tymoshenko + * All rights res

svn commit: r251016 - head/sys/arm/ti/am335x

2013-05-26 Thread Oleksandr Tymoshenko
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/ti/am335x/am335x_scm.h Mon May 27 00:09:04 2013 (r251016) @@ -0,0 +1,38 @@ +/*- + * Copyright (c) 2012 Oleksandr Tymoshenko

svn commit: r251015 - in head/sys/arm/ti: . am335x

2013-05-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 27 00:06:24 2013 New Revision: 251015 URL: http://svnweb.freebsd.org/changeset/base/251015 Log: Add clock definitions for LCD controller and PWM module Modified: head/sys/arm/ti/am335x/am335x_prcm.c head/sys/arm/ti/ti_prcm.h Modified: head/sys/arm/ti/am335x/am33

Re: svn commit: r250435 - head/sys/boot/fdt/dts

2013-05-09 Thread Oleksandr Tymoshenko
On 2013-05-09, at 10:34 PM, Tim Kientzle wrote: > Author: kientzle > Date: Fri May 10 05:34:08 2013 > New Revision: 250435 > URL: http://svnweb.freebsd.org/changeset/base/250435 > > Log: > Move 'compatible' line out of the common am335x.dtsi and into > the beaglebone-specific .dts file. > >

Re: svn commit: r249774 - head/sys/boot/fdt/dts

2013-05-03 Thread Oleksandr Tymoshenko
On 4/29/2013 9:31 PM, Tim Kientzle wrote: On Apr 22, 2013, at 11:53 AM, Oleksandr Tymoshenko wrote: Author: gonzo Date: Mon Apr 22 18:53:36 2013 New Revision: 249774 URL: http://svnweb.freebsd.org/changeset/base/249774 Log: Split BeagleBone DTS to generic AM335x part and Beagle-bone

svn commit: r249946 - head/sys/boot/fdt/dts

2013-04-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Apr 26 17:27:53 2013 New Revision: 249946 URL: http://svnweb.freebsd.org/changeset/base/249946 Log: Move pinmux configuration to board-specific config. It will vary from board to board. Modified: head/sys/boot/fdt/dts/am335x.dtsi head/sys/boot/fdt/dts/beaglebon

svn commit: r249774 - head/sys/boot/fdt/dts

2013-04-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Apr 22 18:53:36 2013 New Revision: 249774 URL: http://svnweb.freebsd.org/changeset/base/249774 Log: Split BeagleBone DTS to generic AM335x part and Beagle-bone specific Added: head/sys/boot/fdt/dts/am335x.dtsi (contents, props changed) Modified: head/sys/boot/fdt/d

svn commit: r249181 - head/sys/arm/ti

2013-04-05 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Apr 6 03:31:28 2013 New Revision: 249181 URL: http://svnweb.freebsd.org/changeset/base/249181 Log: Properly clean "spurious interrupt" state Suggested by: Ian Lepore Modified: head/sys/arm/ti/aintc.c Modified: head/sys/arm/ti/aintc.c

svn commit: r247855 - head/sys/arm/broadcom/bcm2835

2013-03-05 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Mar 5 20:00:11 2013 New Revision: 247855 URL: http://svnweb.freebsd.org/changeset/base/247855 Log: - Reset DMA channel if error occured - Initialize info field in bcm_dma_reset Submitted by: Daisuke Aoyama Modified: head/sys/arm/broadcom/bcm2835/bcm2835_dma.c

Re: svn commit: r247495 - head/sys/dev/sdhci

2013-02-28 Thread Oleksandr Tymoshenko
On 2/28/2013 12:02 PM, Ian Lepore wrote: On Thu, 2013-02-28 at 19:43 +, Oleksandr Tymoshenko wrote: Author: gonzo Date: Thu Feb 28 19:43:14 2013 New Revision: 247495 URL: http://svnweb.freebsd.org/changeset/base/247495 Log: Add hooks for plugging platform-provided transfer backend

svn commit: r247497 - head/sys/arm/broadcom/bcm2835

2013-02-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 28 19:51:30 2013 New Revision: 247497 URL: http://svnweb.freebsd.org/changeset/base/247497 Log: Add platform DMA support to SDHCI driver for BCM2835 Submitted by: Daisuke Aoyama Reviewed by: ian@ Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Mod

svn commit: r247496 - head/sys/arm/broadcom/bcm2835

2013-02-28 Thread Oleksandr Tymoshenko
dma.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/broadcom/bcm2835/bcm2835_dma.c Thu Feb 28 19:48:19 2013 (r247496) @@ -0,0 +1,727 @@ +/* + * Copyright (c) 2013 Daisuke Aoyama + * Copyright (c) 2013 Oleksandr Tymoshenko + * + * Redistribution an

svn commit: r247495 - head/sys/dev/sdhci

2013-02-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 28 19:43:14 2013 New Revision: 247495 URL: http://svnweb.freebsd.org/changeset/base/247495 Log: Add hooks for plugging platform-provided transfer backend. In order to use platorm backend hardware driver should impement three methods: - platform_start_transfer

svn commit: r247391 - head/sys/arm/ti

2013-02-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 27 08:34:32 2013 New Revision: 247391 URL: http://svnweb.freebsd.org/changeset/base/247391 Log: Fix typo Modified: head/sys/arm/ti/ti_gpio.c Modified: head/sys/arm/ti/ti_gpio.c == --- head

svn commit: r247390 - head/sys/arm/ti

2013-02-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 27 08:32:34 2013 New Revision: 247390 URL: http://svnweb.freebsd.org/changeset/base/247390 Log: - Initialize GPIO_OE register based on pinmux configuration Although AM335x TRM states that GPIO_OE register is not used and just reflects pads configuration in prac

svn commit: r247259 - head/sys/arm/ti

2013-02-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Feb 25 09:33:48 2013 New Revision: 247259 URL: http://svnweb.freebsd.org/changeset/base/247259 Log: Fix off-by-one error in sanity checks Modified: head/sys/arm/ti/ti_gpio.c Modified: head/sys/arm/ti/ti_gpio.c ==

svn commit: r247252 - head/sys/arm/ti

2013-02-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Feb 25 08:04:47 2013 New Revision: 247252 URL: http://svnweb.freebsd.org/changeset/base/247252 Log: - Fix off-by-one error when returning max pin number - Fix GPIOGET for output pins. Requesting state for output pin is valid operation, get the state from TI_

svn commit: r247208 - head/sys/boot/fdt/dts

2013-02-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 23 23:22:48 2013 New Revision: 247208 URL: http://svnweb.freebsd.org/changeset/base/247208 Log: - Move dma, sdhci and mbox nodes down in dts in order to get them initialized after FPIO controller since they might rely on GPIO functionality - Update in

svn commit: r247207 - head/sys/dev/fdt

2013-02-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 23 22:58:04 2013 New Revision: 247207 URL: http://svnweb.freebsd.org/changeset/base/247207 Log: Bump per-device interrupt limit to more reasonable default. Some hardware like DMA and GPIO controllers might require more then 8 interrupts per device instance.

svn commit: r247204 - head/sys/arm/broadcom/bcm2835

2013-02-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 23 22:46:26 2013 New Revision: 247204 URL: http://svnweb.freebsd.org/changeset/base/247204 Log: Add macroses to properly map IO peripherals memory window from ARM physical memory address space to VideoCore address space Modified: head/sys/arm/broadcom/bcm2835

svn commit: r247010 - head/sys/arm/broadcom/bcm2835

2013-02-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Feb 19 21:24:52 2013 New Revision: 247010 URL: http://svnweb.freebsd.org/changeset/base/247010 Log: Spelling fixes Spotted by: N. J. Mann Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c ===

svn commit: r247009 - head/sys/arm/broadcom/bcm2835

2013-02-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Feb 19 20:33:55 2013 New Revision: 247009 URL: http://svnweb.freebsd.org/changeset/base/247009 Log: Roll back change of frequency for initialization sequence since it seems to cause more problems then previous behavior: it either breaks initilization sequence in other

svn commit: r246891 - head/sys/dev/sdhci

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Feb 17 01:34:25 2013 New Revision: 246891 URL: http://svnweb.freebsd.org/changeset/base/246891 Log: Remove accidentally committed debug panic(9) call Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/dev/sdhci/sdhci.c

svn commit: r246888 - head/sys/arm/broadcom/bcm2835

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Feb 17 00:23:42 2013 New Revision: 246888 URL: http://svnweb.freebsd.org/changeset/base/246888 Log: - Add hw.bcm2835.sdhci.hs tunable to enable/disable highspeed mode in SDHCI driver Suggested by: Daisuke Aoyama - Set initilization sequence frequency to 8MH

svn commit: r246887 - head/sys/dev/sdhci

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 16 23:52:14 2013 New Revision: 246887 URL: http://svnweb.freebsd.org/changeset/base/246887 Log: Disable debug accidentally enabled by previous commit Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/dev/sdhci/sdhci.c

svn commit: r246886 - head/sys/dev/sdhci

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 16 23:12:06 2013 New Revision: 246886 URL: http://svnweb.freebsd.org/changeset/base/246886 Log: Various timing-related fixes: - Replace divisor numbers with more descirptive names - Properly calculate minimum frequency for SDHCI 3.0 - Properly calculate frequ

Re: svn commit: r246204 - head/sys/arm/include

2013-02-16 Thread Oleksandr Tymoshenko
On 2013-02-16, at 9:46 AM, Alan Cox wrote: > On 02/16/2013 00:36, Oleksandr Tymoshenko wrote: >> On 2013-02-01, at 2:26 AM, Andre Oppermann wrote: >> >>> Author: andre >>> Date: Fri Feb 1 10:26:31 2013 >>> New Revision: 246204 >>> U

Re: svn commit: r246204 - head/sys/arm/include

2013-02-15 Thread Oleksandr Tymoshenko
On 2013-02-01, at 2:26 AM, Andre Oppermann wrote: > Author: andre > Date: Fri Feb 1 10:26:31 2013 > New Revision: 246204 > URL: http://svnweb.freebsd.org/changeset/base/246204 > > Log: > Add VM_KMEM_SIZE_SCALE parameter set to 2 (50%) for all ARM platforms. > > VM_KMEM_SIZE_SCALE specifies

svn commit: r246851 - in head/sys: arm/allwinner boot/fdt/dts

2013-02-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 15 21:29:03 2013 New Revision: 246851 URL: http://svnweb.freebsd.org/changeset/base/246851 Log: Enable USB1 (which is EHCI0) for Allwinner A10 Tested by: ganbold@ Modified: head/sys/arm/allwinner/a10_clk.c head/sys/arm/allwinner/a10_clk.h head/sys/arm/allw

svn commit: r246850 - head/sys/arm/ti

2013-02-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 15 21:24:21 2013 New Revision: 246850 URL: http://svnweb.freebsd.org/changeset/base/246850 Log: Fix copy-paste error in bus_space_unmap argument While I'm at it - fix some style(9) issues Submitted by: Mikael Urankar Modified: head/sys/arm/ti/ti_cpuid.c

svn commit: r246707 - head/sys/arm/allwinner

2013-02-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Feb 12 07:27:40 2013 New Revision: 246707 URL: http://svnweb.freebsd.org/changeset/base/246707 Log: Remove debug output Modified: head/sys/arm/allwinner/a10_wdog.c Modified: head/sys/arm/allwinner/a10_wdog.c

svn commit: r246661 - head/sys/arm/allwinner

2013-02-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Feb 11 11:33:56 2013 New Revision: 246661 URL: http://svnweb.freebsd.org/changeset/base/246661 Log: A10 reset mechanism is the same for all boards in this family so remove redundant reset function implementation pointer. We might want to ressurect it later when suppor

svn commit: r246660 - in head/sys: arm/allwinner boot/fdt/dts

2013-02-11 Thread Oleksandr Tymoshenko
/allwinner/a10_wdog.c Mon Feb 11 11:31:23 2013 (r246660) @@ -0,0 +1,194 @@ +/*- + * Copyright (c) 2013 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

svn commit: r245755 - head/sys/dev/mmc

2013-01-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Jan 21 23:24:16 2013 New Revision: 245755 URL: http://svnweb.freebsd.org/changeset/base/245755 Log: Fix highest voltage detection Submitted by: Daisuke Aoyama Approved by: imp@ Modified: head/sys/dev/mmc/mmc.c head/sys/dev/mmc/mmcreg.h Modified: head/sys/de

svn commit: r245388 - head/sys/arm/broadcom/bcm2835

2013-01-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 13 21:32:40 2013 New Revision: 245388 URL: http://svnweb.freebsd.org/changeset/base/245388 Log: Remove accidentally copypasted comment Spotted by: gavin Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_

Re: svn commit: r245147 - head/sys/arm/include

2013-01-08 Thread Oleksandr Tymoshenko
On 2013-01-08, at 7:56 AM, Konstantin Belousov wrote: > On Mon, Jan 07, 2013 at 09:06:15PM -0800, Oleksandr Tymoshenko wrote: >> On 1/7/2013 7:00 PM, Konstantin Belousov wrote: >>> On Tue, Jan 08, 2013 at 02:40:20AM +, Oleksandr Tymoshenko wrote: >>>> Author:

Re: svn commit: r245147 - head/sys/arm/include

2013-01-07 Thread Oleksandr Tymoshenko
On 1/7/2013 7:00 PM, Konstantin Belousov wrote: On Tue, Jan 08, 2013 at 02:40:20AM +, Oleksandr Tymoshenko wrote: Author: gonzo Date: Tue Jan 8 02:40:20 2013 New Revision: 245147 URL: http://svnweb.freebsd.org/changeset/base/245147 Log: Switch default cache type for ARMv6/ARMv7 from

svn commit: r245147 - head/sys/arm/include

2013-01-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 8 02:40:20 2013 New Revision: 245147 URL: http://svnweb.freebsd.org/changeset/base/245147 Log: Switch default cache type for ARMv6/ARMv7 from write-through to writeback-writeallocate Modified: head/sys/arm/include/pmap.h Modified: head/sys/arm/include/pmap.h ==

svn commit: r245146 - head/sys/arm/arm

2013-01-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 8 02:38:38 2013 New Revision: 245146 URL: http://svnweb.freebsd.org/changeset/base/245146 Log: Fix cache-related issue with pmap for ARMv6/ARMv7: - Missing PTE_SYNC in pmap_kremove caused memory corruption in userland applications - Fix lack of cache flu

svn commit: r245137 - head/sys/arm/ti

2013-01-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Jan 7 23:30:53 2013 New Revision: 245137 URL: http://svnweb.freebsd.org/changeset/base/245137 Log: - Identify more devices for OMAP4 SoC (up to OMAP4470) - Whitespace fixes Modified: head/sys/arm/ti/ti_cpuid.c head/sys/arm/ti/ti_cpuid.h Modified: head/sys/arm/ti/

svn commit: r245135 - head/sys/arm/include

2013-01-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Jan 7 20:36:51 2013 New Revision: 245135 URL: http://svnweb.freebsd.org/changeset/base/245135 Log: Implement barriers for AMRv6 and ARMv7 Submitted by: Daisuke Aoyama Reviewed by: ian, cognet Modified: head/sys/arm/include/atomic.h Modified: head/sys/arm/inc

Re: svn commit: r243631 - in head/sys: kern sys

2013-01-07 Thread Oleksandr Tymoshenko
On 12/27/2012 6:46 PM, Oleksandr Tymoshenko wrote: On 12/18/2012 1:59 AM, Alan Cox wrote: On 12/17/2012 23:40, Oleksandr Tymoshenko wrote: On 2012-12-08, at 1:21 PM, Alan Cox wrote: On 12/08/2012 14:32, Andre Oppermann wrote: .. skipped .. The trouble seems to come from NSFBUFS which is

svn commit: r245120 - head/sys/arm/arm

2013-01-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Jan 7 02:38:36 2013 New Revision: 245120 URL: http://svnweb.freebsd.org/changeset/base/245120 Log: Release version check for erratum 727915 workaround in l2_wbinv_range function implementation causes function fail to flush caches for chip with RTL number 0x7. I faile

svn commit: r245080 - head/sys/arm/broadcom/bcm2835

2013-01-05 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jan 5 23:08:58 2013 New Revision: 245080 URL: http://svnweb.freebsd.org/changeset/base/245080 Log: Export board serial and board revision obtained from FDT blob Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_

svn commit: r245079 - in head/sys/arm: arm include

2013-01-05 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jan 5 23:08:10 2013 New Revision: 245079 URL: http://svnweb.freebsd.org/changeset/base/245079 Log: Add hw.board.serial and hw.board.revision for exporting board-specific info Modified: head/sys/arm/arm/machdep.c head/sys/arm/include/machdep.h Modified: head/sys/arm

svn commit: r245071 - in head/sys/arm: broadcom/bcm2835 versatile

2013-01-05 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jan 5 21:05:16 2013 New Revision: 245071 URL: http://svnweb.freebsd.org/changeset/base/245071 Log: Fix background color calculation Spotted by: ray@ Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c head/sys/arm/versatile/versatile_clcd.c Modified: head/sys

svn commit: r244916 - head/sys/boot/fdt/dts

2012-12-31 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 31 22:48:54 2012 New Revision: 244916 URL: http://svnweb.freebsd.org/changeset/base/244916 Log: Add interrupt for PL310 controller Modified: head/sys/boot/fdt/dts/pandaboard.dts Modified: head/sys/boot/fdt/dts/pandaboard.dts ===

Re: svn commit: r244914 - in head/sys/arm: arm include ti/omap4

2012-12-31 Thread Oleksandr Tymoshenko
On 12/31/2012 1:53 PM, Andrew Turner wrote: On Mon, 31 Dec 2012 21:19:44 + (UTC) Oleksandr Tymoshenko wrote: Modified: head/sys/arm/arm/pl310.c == --- head/sys/arm/arm/pl310.cMon Dec 31 21:09:39 2012 (r244913

svn commit: r244914 - in head/sys/arm: arm include ti/omap4

2012-12-31 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 31 21:19:44 2012 New Revision: 244914 URL: http://svnweb.freebsd.org/changeset/base/244914 Log: PL310 driver update: - Add pl310.disable tunable to disable L2 cache altogether. In order to make sure that it's 100% disabled we use cache event counters

svn commit: r244912 - head/sys/arm/arm

2012-12-31 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 31 21:00:38 2012 New Revision: 244912 URL: http://svnweb.freebsd.org/changeset/base/244912 Log: Merge r234561 from busdma_machdep.c to ARMv6 version of busdma: Interrupts must be disabled while handling a partial cache line flush, as otherwise the interrupt han

svn commit: r244765 - in head/sys: kern tools

2012-12-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Dec 28 06:52:53 2012 New Revision: 244765 URL: http://svnweb.freebsd.org/changeset/base/244765 Log: Fix build on ARM (and probably other platforms) Modified: head/sys/kern/subr_syscall.c head/sys/tools/vnode_if.awk Modified: head/sys/kern/subr_syscall.c

svn commit: r244762 - head/sys/arm/broadcom/bcm2835

2012-12-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Dec 28 03:18:05 2012 New Revision: 244762 URL: http://svnweb.freebsd.org/changeset/base/244762 Log: Add makeshift implementation for framebuffer console's cursor Basically it's replica of VersatilePB code which is replica of XBox FB code. All of them are linear fra

Re: svn commit: r244758 - head/sys/arm/broadcom/bcm2835

2012-12-27 Thread Oleksandr Tymoshenko
On 12/27/2012 5:38 PM, Oleksandr Tymoshenko wrote: Author: gonzo Date: Fri Dec 28 01:38:43 2012 New Revision: 244758 URL: http://svnweb.freebsd.org/changeset/base/244758 Log: Fix event timer on Raspberry Pi - Disable interrupt when updating compare value in order to make this

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-27 Thread Oleksandr Tymoshenko
On 12/18/2012 1:59 AM, Alan Cox wrote: On 12/17/2012 23:40, Oleksandr Tymoshenko wrote: On 2012-12-08, at 1:21 PM, Alan Cox wrote: On 12/08/2012 14:32, Andre Oppermann wrote: .. skipped .. The trouble seems to come from NSFBUFS which is (512 + maxusers * 16) resulting in a kernel map of

Re: svn commit: r244445 - in head/sys: kern sys tools

2012-12-27 Thread Oleksandr Tymoshenko
On 12/27/2012 6:29 PM, Konstantin Belousov wrote: On Thu, Dec 27, 2012 at 06:25:34PM -0800, Oleksandr Tymoshenko wrote: On 12/27/2012 6:14 PM, Konstantin Belousov wrote: On Thu, Dec 27, 2012 at 06:03:26PM -0800, Oleksandr Tymoshenko wrote: On 12/19/2012 12:10 PM, Jeff Roberson wrote: Author

Re: svn commit: r244445 - in head/sys: kern sys tools

2012-12-27 Thread Oleksandr Tymoshenko
On 12/27/2012 6:14 PM, Konstantin Belousov wrote: On Thu, Dec 27, 2012 at 06:03:26PM -0800, Oleksandr Tymoshenko wrote: On 12/19/2012 12:10 PM, Jeff Roberson wrote: Author: jeff Date: Wed Dec 19 20:10:00 2012 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log

Re: svn commit: r244445 - in head/sys: kern sys tools

2012-12-27 Thread Oleksandr Tymoshenko
On 12/19/2012 12:10 PM, Jeff Roberson wrote: Author: jeff Date: Wed Dec 19 20:10:00 2012 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log: - Add new machine parsable KTR macros for timing events. - Use this new format to automatically handle syscalls and VOPs

svn commit: r244758 - head/sys/arm/broadcom/bcm2835

2012-12-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Dec 28 01:38:43 2012 New Revision: 244758 URL: http://svnweb.freebsd.org/changeset/base/244758 Log: Fix event timer on Raspberry Pi - Disable interrupt when updating compare value in order to make this operation atomical - Increase minimum period for event

svn commit: r244755 - head/sys/arm/versatile

2012-12-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Dec 28 00:55:43 2012 New Revision: 244755 URL: http://svnweb.freebsd.org/changeset/base/244755 Log: Add custom renderer for poor man's cursor support for framebuffer console Modified: head/sys/arm/versatile/versatile_clcd.c Modified: head/sys/arm/versatile/versatile_c

svn commit: r244480 - in head/sys: arm/arm arm/broadcom/bcm2835 arm/conf arm/include arm/versatile conf

2012-12-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 20 04:32:02 2012 New Revision: 244480 URL: http://svnweb.freebsd.org/changeset/base/244480 Log: Replace generic ARM11 option with more specific support for ARM1136 and ARM1176 Submitted by: Daisuke Aoyama Obtained from:NetBSD Added: head/sys/arm/a

svn commit: r244476 - head/sys/arm/include

2012-12-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 20 03:33:33 2012 New Revision: 244476 URL: http://svnweb.freebsd.org/changeset/base/244476 Log: Fix misleading comment Modified: head/sys/arm/include/pmap.h Modified: head/sys/arm/include/pmap.h =

svn commit: r244446 - head/sys/arm/conf

2012-12-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Dec 19 20:33:16 2012 New Revision: 26 URL: http://svnweb.freebsd.org/changeset/base/26 Log: Use NFSCL since NFSCLIENT build is broken at the moment Modified: head/sys/arm/conf/PANDABOARD Modified: head/sys/arm/conf/PANDABOARD ==

svn commit: r244412 - head/sys/arm/broadcom/bcm2835

2012-12-18 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 18 22:18:54 2012 New Revision: 244412 URL: http://svnweb.freebsd.org/changeset/base/244412 Log: Add sysctls for changing GPIO pins function Submitted by: Luiz Otavio O Souza Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Modified: head/sys/arm/broadco

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-17 Thread Oleksandr Tymoshenko
On 2012-12-08, at 1:21 PM, Alan Cox wrote: > On 12/08/2012 14:32, Andre Oppermann wrote: >>> .. skipped .. >> >> The trouble seems to come from NSFBUFS which is (512 + maxusers * 16) >> resulting in a kernel map of (512 + 400 * 16) * PAGE_SIZE = 27MB. This >> seem to be pushing it with the

svn commit: r244281 - head/sys/arm/conf

2012-12-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Dec 16 00:20:16 2012 New Revision: 244281 URL: http://svnweb.freebsd.org/changeset/base/244281 Log: Fix comment to represent actual file purpose Spotted by: gavin@ Modified: head/sys/arm/conf/VERSATILEPB Modified: head/sys/arm/conf/VERSATILEPB ===

svn commit: r244197 - in head/sys: arm/conf arm/versatile boot/fdt/dts

2012-12-13 Thread Oleksandr Tymoshenko
lass, 0, 0); +MODULE_DEPEND(smc, fdt, 1, 1, 1); +MODULE_DEPEND(smc, ether, 1, 1, 1); +MODULE_DEPEND(smc, miibus, 1, 1, 1); Added: head/sys/arm/versatile/pl050.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/versatile/pl050.c Thu Dec 13

svn commit: r244195 - in head/sys: arm/arm conf

2012-12-13 Thread Oleksandr Tymoshenko
Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of

svn commit: r244171 - head/sys/dev/uart

2012-12-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 13 03:35:47 2012 New Revision: 244171 URL: http://svnweb.freebsd.org/changeset/base/244171 Log: Prevent possible usage of uninitialized pbase variable by checking return value of fdt_get_range Modified: head/sys/dev/uart/uart_bus_fdt.c Modified: head/sys/dev

svn commit: r244170 - head/sys/dev/sym

2012-12-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 13 03:34:24 2012 New Revision: 244170 URL: http://svnweb.freebsd.org/changeset/base/244170 Log: Add memory barrier macros for ARM Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c ==

svn commit: r244169 - head/sys/dev/smc

2012-12-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 13 03:33:01 2012 New Revision: 244169 URL: http://svnweb.freebsd.org/changeset/base/244169 Log: Disable interrupts in filter in order to avoid interrupt storm and CPU starvation Modified: head/sys/dev/smc/if_smc.c Modified: head/sys/dev/smc/if_smc.c

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-07 Thread Oleksandr Tymoshenko
On 12/7/2012 1:44 PM, Andre Oppermann wrote: On 07.12.2012 22:05, Oleksandr Tymoshenko wrote: On 12/7/2012 1:53 AM, Andre Oppermann wrote: On 07.12.2012 10:36, Oleksandr Tymoshenko wrote: On 2012-11-27, at 1:19 PM, Andre Oppermann wrote: Author: andre Date: Tue Nov 27 21:19:58 2012 New

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-07 Thread Oleksandr Tymoshenko
On 12/7/2012 1:53 AM, Andre Oppermann wrote: On 07.12.2012 10:36, Oleksandr Tymoshenko wrote: On 2012-11-27, at 1:19 PM, Andre Oppermann wrote: Author: andre Date: Tue Nov 27 21:19:58 2012 New Revision: 243631 URL: http://svnweb.freebsd.org/changeset/base/243631 .. skipped .. Andre

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-07 Thread Oleksandr Tymoshenko
On 2012-11-27, at 1:19 PM, Andre Oppermann wrote: > Author: andre > Date: Tue Nov 27 21:19:58 2012 > New Revision: 243631 > URL: http://svnweb.freebsd.org/changeset/base/243631 > > Log: > Base the mbuf related limits on the available physical memory or > kernel memory, whichever is lower. Th

svn commit: r243701 - head/sys/arm/conf

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 04:56:39 2012 New Revision: 243701 URL: http://svnweb.freebsd.org/changeset/base/243701 Log: - Enable syscons/framebuffer by default - Enable NFS client by default. Might be useful for building ports Modified: head/sys/arm/conf/RPI-B Modified: head/sys/arm/co

svn commit: r243694 - head/sys/boot/fdt/dts

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 03:16:45 2012 New Revision: 243694 URL: http://svnweb.freebsd.org/changeset/base/243694 Log: Add vchiq node Modified: head/sys/boot/fdt/dts/bcm2835-rpi-b.dts Modified: head/sys/boot/fdt/dts/bcm2835-rpi-b.dts =

svn commit: r243693 - in head/sys/boot: fdt uboot/common

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 03:15:50 2012 New Revision: 243693 URL: http://svnweb.freebsd.org/changeset/base/243693 Log: - Implement "fdt mres" sub-command that prints reserved memory regions - Add "fdt addr" subcommand that lets you specify preloaded blob address - Do not pre-initialize

svn commit: r243691 - head/sys/arm/arm

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 03:11:03 2012 New Revision: 243691 URL: http://svnweb.freebsd.org/changeset/base/243691 Log: Get reserved memory regions and exclude them from available memory map Modified: head/sys/arm/arm/machdep.c Modified: head/sys/arm/arm/machdep.c ===

svn commit: r243690 - head/sys/dev/fdt

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 03:08:49 2012 New Revision: 243690 URL: http://svnweb.freebsd.org/changeset/base/243690 Log: Add fdt_get_reserved_regions function. API is simmilar to fdt_get_mem_regions It returns memory regions restricted from being used by kernel. These regions are dfined i

svn commit: r243689 - head/sys/dev/sdhci

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 02:35:13 2012 New Revision: 243689 URL: http://svnweb.freebsd.org/changeset/base/243689 Log: - Get proper maximum clock frequency for SDHCI v3.0 and higher Modified: head/sys/dev/sdhci/sdhci.c head/sys/dev/sdhci/sdhci.h Modified: head/sys/dev/sdhci/sdhci.c ==

svn commit: r243688 - head/sys/arm/broadcom/bcm2835

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 02:32:37 2012 New Revision: 243688 URL: http://svnweb.freebsd.org/changeset/base/243688 Log: Get frequency from "clock-frequency" property of "/axi/sdhci" FDT node Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Modified: head/sys/arm/broadcom/bcm2835/b

svn commit: r243687 - head/sys/arm/broadcom/bcm2835

2012-11-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 30 02:31:08 2012 New Revision: 243687 URL: http://svnweb.freebsd.org/changeset/base/243687 Log: Fix RGB565 case Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c ==

svn commit: r243666 - head/sys/arm/broadcom/bcm2835

2012-11-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Nov 29 05:46:46 2012 New Revision: 243666 URL: http://svnweb.freebsd.org/changeset/base/243666 Log: Fix hardcoded bpp value Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c ==

svn commit: r243602 - head/sys/arm/arm

2012-11-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Nov 27 06:39:32 2012 New Revision: 243602 URL: http://svnweb.freebsd.org/changeset/base/243602 Log: Do not enable data cache until later in kernel init. Stale bits in cache might cause erroneus behavior on early stage. Submitted by: Ian Lepore Tested on:Atmel

svn commit: r243465 - in head/sys/arm: broadcom/bcm2835 conf

2012-11-23 Thread Oleksandr Tymoshenko
/bcm2835_gpio.cFri Nov 23 20:04:39 2012(r243465) @@ -0,0 +1,656 @@ +/*- + * Copyright (c) 2012 Oleksandr Tymoshenko + * Copyright (c) 2012 Luiz Otavio O Souza. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are

svn commit: r243464 - head/sys/dev/gpio

2012-11-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 23 19:20:38 2012 New Revision: 243464 URL: http://svnweb.freebsd.org/changeset/base/243464 Log: Style fixes - Remove C++ - style comments - Use proper device name in panic messages Modified: head/sys/dev/gpio/gpiobus.c Modified: head/sys/dev/gpio/gpiobus.c

svn commit: r243434 - head/sys/arm/conf

2012-11-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 23 07:58:12 2012 New Revision: 243434 URL: http://svnweb.freebsd.org/changeset/base/243434 Log: Now that we have working USB keyboard add ukbd to the syscons-enabling part of config Modified: head/sys/arm/conf/RPI-B Modified: head/sys/arm/conf/RPI-B

svn commit: r243423 - head/sys/arm/broadcom/bcm2835

2012-11-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 23 04:30:54 2012 New Revision: 243423 URL: http://svnweb.freebsd.org/changeset/base/243423 Log: Multiple fixes for BCM2835 framebuffer - Get resolution settings from FDT blob - Properly handle 24 and 16 bits per pixel - Add colors support for text console Mo

svn commit: r243421 - head/sys/dev/usb/net

2012-11-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 23 03:34:12 2012 New Revision: 243421 URL: http://svnweb.freebsd.org/changeset/base/243421 Log: Look for MAC address in FDT tree nodes that are usb network devices and have either "mac-address" or "local-mac-addrress" property. Modified: head/sys/dev/usb/net/if_s

<    1   2   3   4   5   6   7   >