Re: Using tar to access files

2015-07-13 Thread Chris Johns
On 14/07/2015 1:57 am, Gedare Bloom wrote: > On Mon, Jul 13, 2015 at 11:26 AM, Pavel Pisa wrote: >> Hello Sujay Raj, >> >> >> On Tuesday 30 of June 2015 06:39:28 Sujay Raj wrote: >>> I need to access configurations files the for web server I am porting to >>> rtems. >>> >>> I create a tar archive

Re: [PATCH] libcsupport: Workaround for GCC 5.1 and later

2015-07-13 Thread Chris Johns
On 14/07/2015 4:20 am, Joel Sherrill wrote: > > > On 7/13/2015 1:06 PM, Sebastian Huber wrote: >> Yes, this option sounded like the right way to fix it, but... >> >> https://gcc.gnu.org/ml/gcc-help/2015-03/msg00093.html >> https://gcc.gnu.org/ml/gcc-help/2015-03/msg00094.html > > Ouch! That is a

Re: Interrupt server on BBB

2015-07-13 Thread Martin Galvan
Actually, it seems like the issue is what Ragunath described here: https://lists.rtems.org/pipermail/devel/2015-May/011419.html It looks like the Beagle bsp_interrupt_dispatch function isn't designed to work with the interrupt server task. From what I saw, this is the only board where bsp_interru

Re: SMP support for Raspberry Pi 2

2015-07-13 Thread Joel Sherrill
On 7/13/2015 1:24 PM, Rohini Kulkarni wrote: I did change the configure file to add support for --enable-smp option. Ok, I suppose that is the problem. You need to edit the configure.ac and then bootstrap again. Look at sparc/leon3, powerpc/qoriq, or i386/pc386 for examples. You need to con

Re: SMP support for Raspberry Pi 2

2015-07-13 Thread Rohini Kulkarni
I did change the configure file to add support for --enable-smp option. Ok, I suppose that is the problem. What is the sb option for? On 13 Jul 2015 21:13, "Gedare Bloom" wrote: > Did you change configure, or configure.ac? > > After you change configure.ac or Makefile.am files, you need to run >

Re: [PATCH] libcsupport: Workaround for GCC 5.1 and later

2015-07-13 Thread Joel Sherrill
On 7/13/2015 1:06 PM, Sebastian Huber wrote: Yes, this option sounded like the right way to fix it, but... https://gcc.gnu.org/ml/gcc-help/2015-03/msg00093.html https://gcc.gnu.org/ml/gcc-help/2015-03/msg00094.html Ouch! That is a big red flashing sign which says stay away! And to Gedare's

Re: [PATCH] libcsupport: Workaround for GCC 5.1 and later

2015-07-13 Thread Sebastian Huber
Yes, this option sounded like the right way to fix it, but... https://gcc.gnu.org/ml/gcc-help/2015-03/msg00093.html https://gcc.gnu.org/ml/gcc-help/2015-03/msg00094.html - Joel Sherrill schrieb: > This is possible to do inside the file itself using function > attributes or pragmas. I am not

Re: arm atag retrieval problem

2015-07-13 Thread Gedare Bloom
On Mon, Jul 13, 2015 at 12:17 PM, 桥 杨 wrote: > > >> 在 2015年7月13日,17:40,Gedare Bloom 写道: >> >>> On Sat, Jul 11, 2015 at 11:29 AM, QIAO YANG wrote: >>> Hi, >>> >>> I tried to retrieve atag command lines but I've got wired problems: >>> I ran a quick scan for atags, start from 0x100, and I've got a

Re: arm atag retrieval problem

2015-07-13 Thread 桥 杨
> 在 2015年7月13日,17:40,Gedare Bloom 写道: > >> On Sat, Jul 11, 2015 at 11:29 AM, QIAO YANG wrote: >> Hi, >> >> I tried to retrieve atag command lines but I've got wired problems: >> I ran a quick scan for atags, start from 0x100, and I've got an output like >> : >> >> [ATAG_CORE] flags: 0, pages

Re: Using tar to access files

2015-07-13 Thread Gedare Bloom
On Mon, Jul 13, 2015 at 11:26 AM, Pavel Pisa wrote: > Hello Sujay Raj, > > > On Tuesday 30 of June 2015 06:39:28 Sujay Raj wrote: >> I need to access configurations files the for web server I am porting to >> rtems. >> >> I create a tar archive , that contains the required folders and files , >> c

Re: [PATCH] libcsupport: Workaround for GCC 5.1 and later

2015-07-13 Thread Gedare Bloom
I'm fine with the build system hack to deal with this issue. Is there a PR in gcc on this, and do we have a ticket to track it too? Gedare On Mon, Jul 13, 2015 at 10:37 AM, Joel Sherrill wrote: > This is possible to do inside the file itself using function > attributes or pragmas. I am not sure

Re: [PATCH] Code refactor: Changes to memory management initialization

2015-07-13 Thread Gedare Bloom
On Thu, Jul 9, 2015 at 9:53 AM, wrote: > From: Rohini Kulkarni > > --- > c/src/lib/libbsp/arm/raspberrypi/Makefile.am |1 + > c/src/lib/libbsp/arm/raspberrypi/include/bsp.h | 14 > .../libbsp/arm/raspberrypi/startup/bspstarthooks.c |8 ++--- > .../libbsp/arm/raspber

Re: SMP support for Raspberry Pi 2

2015-07-13 Thread Gedare Bloom
Did you change configure, or configure.ac? After you change configure.ac or Makefile.am files, you need to run sb-bootstrap again. On Sun, Jul 12, 2015 at 7:05 AM, Rohini Kulkarni wrote: > Hi, > > I don't have #define RTEMS_SMP 1 in cpuopts.h. > > Have made changes only to libbsp/arm/raspberrypi

Re: arm atag retrieval problem

2015-07-13 Thread Gedare Bloom
On Sat, Jul 11, 2015 at 11:29 AM, QIAO YANG wrote: > Hi, > > I tried to retrieve atag command lines but I've got wired problems: > I ran a quick scan for atags, start from 0x100, and I've got an output like > : > > [ATAG_CORE] flags: 0, pagesize: 0, rootdev: 0 > [ATAG_MEM] size: 800, start: 0

Re: Interrupt server on BBB

2015-07-13 Thread Gedare Bloom
Since you run the server task at priority 1, if it does not work correctly then it can be causing a non-responsive system. Do you reach the USB1HostIntHandler function? What does it do? -Gedare On Fri, Jul 10, 2015 at 5:33 PM, Martin Galvan wrote: > Hi everyone! I'm currently trying to use an i

Re: RTEMS STM32 BSP Development

2015-07-13 Thread Gedare Bloom
On Mon, Jul 6, 2015 at 1:00 PM, Isaac Gutekunst wrote: > Hi RTEMS Developers, > > As mentioned in my previous email to rtems-users, we are looking to develop > a BSP family for use with the STM32 family of processors. There is a lot of > similarity among the silicon itself, and the Cube software d

Re: Using tar to access files

2015-07-13 Thread Pavel Pisa
Hello Sujay Raj, On Tuesday 30 of June 2015 06:39:28 Sujay Raj wrote: > I need to access configurations files the for web server I am porting to > rtems. > > I create a tar archive , that contains the required folders and files , > convert it into c source using rtems-bin2c , ( a header file and

Re: [PATCH] libcsupport: Workaround for GCC 5.1 and later

2015-07-13 Thread Joel Sherrill
This is possible to do inside the file itself using function attributes or pragmas. I am not sure which method is best but wanted to pass along so we could decide as a group. optimize The optimize attribute is used to specify that a function is to be compiled with different optimization options

Interrupt server on BBB

2015-07-13 Thread Martin Galvan
Hi everyone! I'm currently trying to use an interrupt server task for handling USB interrupts on the Beaglebone Black. Here's the code I'm using: rtems_interrupt_server_initialize(1, 1500, RTEMS_TIMESLICE | RTEMS_PREEMPT, RTEMS_DEFAULT_ATTRIBUTES, NULL); rtems_interrupt_server_handler_install

[PATCH] libcsupport: Workaround for GCC 5.1 and later

2015-07-13 Thread Sebastian Huber
Disable an optimization which would lead to a recursive calloc() call in calloc(). --- cpukit/libcsupport/Makefile.am | 8 ++-- cpukit/wrapup/Makefile.am | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am i