[PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-22 Thread Christian Mauderer
From: Christian Mauderer christian.maude...@embedded-brains.de This patch allows the user to configure the PHY address for the DWMAC driver by giving a pointer to a dwmac_user_cfg structure to network stak via rtems_bsdnet_config.ifconfig-drv_ctrl. ---

Re: [PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-22 Thread Christian Mauderer
Hi Joel, I've changed the name of the structure to a more speaking one and added a few lines of example-code to the README of the altcycv-BSP. Kind regards Christian Mauderer ___ devel mailing list devel@rtems.org

Re: [PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-22 Thread Joel Sherrill
Thanks. On 8/22/2014 1:53 AM, Christian Mauderer wrote: Hi Joel, I've changed the name of the structure to a more speaking one and added a few lines of example-code to the README of the altcycv-BSP. Kind regards Christian Mauderer ___ devel

arm/nds - cache_manager.c build failure

2014-08-22 Thread Joel Sherrill
Hi I am guessing some conditional path isn't being covered right to get CPU_INSTRUCTION_CACHE_ALIGNMENT defined. Could someone please take a look at this and fix it? arm-rtems4.11-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././nds/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H

nios2_iss cache_manager.c Build Failure

2014-08-22 Thread Joel Sherrill
Hi Similar issue to NDS. Could someone please fix this? ../../../../../../../rtems/c/src/lib/libcpu/nios2/../shared/src/cache_manager.c: In function '_invalidate_multiple_instruction_lines_no_range_functions': ../../../../../../../rtems/c/src/lib/libcpu/nios2/../shared/src/cache_manager.c:458:

Re: arm/nds - cache_manager.c build failure

2014-08-22 Thread Joel Sherrill
On 8/22/2014 9:38 AM, Gedare Bloom wrote: Looks like this function needs a guard on #if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT) see rtems_cache_invalidate_multiple_instruction_lines() Or CPU_INSTRUCTION_CACHE_ALIGNMENT needs to be always defined. I did a full build of all tests on all BSPs

Re: arm/nds - cache_manager.c build failure

2014-08-22 Thread Gedare Bloom
On Fri, Aug 22, 2014 at 10:45 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 8/22/2014 9:38 AM, Gedare Bloom wrote: Looks like this function needs a guard on #if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT) see rtems_cache_invalidate_multiple_instruction_lines() Or

or1k build issues

2014-08-22 Thread Joel Sherrill
Hi Some basic or1ksim BSP issues: (1) I can't build what is committed. gmake[7]: Entering directory `/users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1k_or1ksim-rtems/or1k-rtems4.11/c/or1k_or1ksim/lib/libbsp/or1k' Makefile:731: *** missing separator. Stop. I think this was an

powerpc/gwlcfm does not compile

2014-08-22 Thread Joel Sherrill
Hi More from the overnight build. Could someone fix this? powerpc-rtems4.11-gcc --pipe -B../../../../.././lib/ -B../../../../.././gwlcfm/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\rtems-c-src-lib-libcpu-powerpc\ -DPACKAGE_TARNAME=\rtems-c-src-lib-libcpu-powerpc\ -DPACKAGE_VERSION=\4.10.99.0\

powerpc/mpc5668g does not compile

2014-08-22 Thread Joel Sherrill
Hi Another from the build. Could someone please fix this? powerpc-rtems4.11-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././mpc5668g/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -isystem ../../../../../.././mpc5668g/lib/include -mcpu=8540 -meabi -msdata=sysv -fno-common

Re: [PATCH 1/2] rtems: Inline rtems_clock_get_ticks_since_boot()

2014-08-22 Thread Gedare Bloom
On Fri, Aug 22, 2014 at 11:12 AM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: Update documentation. --- cpukit/rtems/Makefile.am| 1 - cpukit/rtems/include/rtems/rtems/clock.h| 14 +-- cpukit/rtems/src/clockgettickssinceboot.c | 31

powerpc/virtex5 build failure

2014-08-22 Thread Joel Sherrill
Hi Looks like the benchmark timer code on the virtex5 is not 100% right. It is missing a symbol. /users/joel/rtems-4.11-work/rtems-testing/rtems/build-powerpc-virtex5-rtems/powerpc-rtems4.11/c/virtex5/lib/libcpu/powerpc/../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c:77:

[PATCH] bsp/tms570: implemented and tested initialization of Cortex-R performance counters.

2014-08-22 Thread Pavel Pisa
The code is written as BSP specific now but it should work for all Cortex-A and R based CPUs and can be moved to ARM generic place in future. StackOverflow suggested sequences of writes to the registers required to start counters is used.

Re: [PATCH 1/2] rtems: Inline rtems_clock_get_ticks_since_boot()

2014-08-22 Thread Joel Sherrill
On 8/22/2014 10:18 AM, Gedare Bloom wrote: On Fri, Aug 22, 2014 at 11:12 AM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: Update documentation. --- cpukit/rtems/Makefile.am| 1 - cpukit/rtems/include/rtems/rtems/clock.h| 14 +--

Re: [PATCH 2/2] rtems: Add more clock tick functions

2014-08-22 Thread Gedare Bloom
On Fri, Aug 22, 2014 at 11:12 AM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: Add rtems_clock_ticks_later(), rtems_clock_ticks_later_us() and rtems_clock_ticks_later_us(). FIXME: Patch is incomplete. Documentation and tests are missing. Just for API review. ---