Re: Using tar to access files

2015-06-29 Thread Nick Withers
On Tue, 2015-06-30 at 10:09 +0530, 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 a c source > ) and

Using tar to access files

2015-06-29 Thread Sujay Raj
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 a c source ) and link them with my project. In the init, I call sc = Untar_From

Re: Cache issue with BBB networking

2015-06-29 Thread Daniel Gutson
Ragu, Please ensure that you are getting cache coherence right. That is, there are no packets crossing the cache lines. FWIW, in a life ago, i got a problem with an eth driver where the descriptors ring was not properly sized (ie no modulus cache line). El 29/6/2015 17:23, "ragu nath" escribió

Re: Cache issue with BBB networking

2015-06-29 Thread ragu nath
Thanks Marcos. I will let you know if there is any progress. Regards, Ragunath On Tue, Jun 30, 2015 at 12:50 AM, Marcos Díaz < marcos.d...@tallertechnologies.com> wrote: > Hi, > I'm sorry but in the development of the porting of LWIP i couldn't give > any more time to the task, so when I reached

Re: Cache issue with BBB networking

2015-06-29 Thread Marcos Díaz
Hi, I'm sorry but in the development of the porting of LWIP i couldn't give any more time to the task, so when I reached that stage I just disabled the cache. I will try to give some time to that to see if i can help you, and of course, let me know if you find something. Sorry again On Mon, Jun 29

Cache issue with BBB networking

2015-06-29 Thread ragu nath
Hi Marcos, I am working on porting ethernet driver for Beaglebone black from FreeBSD to rtems-libbsd as part of GSOC 2015. I ported the driver and got it working. But there was one issue I faced, similar to the one you mentioned in our earlier correspondence (regarding lwIP). You mentioned that t

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Peter Dufault
> On Jun 29, 2015, at 11:27 , Joel Sherrill wrote: > > I didn't touch the tools, just the SPARC bsp custom files. This really would > benefit all bsps but it needs to be tested as it is done and that requires > running some code on the hardware. So it will be slow moving it into bsps. > > The

Re: GSoC 2015 RPi USB Support

2015-06-29 Thread Yurii Shevtsov
So, it is empty. .rtemsroset.bsd.nexus.begin 0x001104bc0x0 ./libbsd.a(rtems-bsd-nexus.c.16.o) 0x001104bc_bsd__start_set_nexus .rtemsroset.bsd.nexus.end 0x001104bc0x0 ./libbsd.a(rtems-bsd-nexus.c.16.o)

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Joel Sherrill
On June 29, 2015 10:17:05 AM CDT, Peter Dufault wrote: > >> On Jun 29, 2015, at 10:38 , Joel Sherrill >wrote: >> >> The -Map option to ld will show the dependency that pulled in each >function or data element.. File level without those options. >> >> It would be good to know what causes this

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Peter Dufault
> On Jun 29, 2015, at 10:38 , Joel Sherrill wrote: > > The -Map option to ld will show the dependency that pulled in each function > or data element.. File level without those options. > > It would be good to know what causes this all to get pulled in. I’ll try to get to this tonight. I also

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Joel Sherrill
On June 29, 2015 9:05:30 AM CDT, Gedare Bloom wrote: >On Mon, Jun 29, 2015 at 10:02 AM, Peter Dufault >wrote: >> >>> On Jun 29, 2015, at 09:28 , Sebastian Huber > wrote: >>> By only including the RTEMS shell commands I use I reduced the size >to 1839664 (latest RTEMS) vs 1624684 (September

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Gedare Bloom
On Mon, Jun 29, 2015 at 10:02 AM, Peter Dufault wrote: > >> On Jun 29, 2015, at 09:28 , Sebastian Huber >> wrote: >> >>> By only including the RTEMS shell commands I use I reduced the size to >>> 1839664 (latest RTEMS) vs 1624684 (September RTEMS), about a 13% increase, >>> but at least it fit

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Peter Dufault
> On Jun 29, 2015, at 09:28 , Sebastian Huber > wrote: > >> By only including the RTEMS shell commands I use I reduced the size to >> 1839664 (latest RTEMS) vs 1624684 (September RTEMS), about a 13% increase, >> but at least it fits in FLASH. >> >> The overhead appears to be mostly all the l

Re: [PATCH] Temporary fix for ethernet rx intr hang issue and Disable cache

2015-06-29 Thread Gedare Bloom
Thanks for the BSP opt that is much better way to control this cache behavior. On Sun, Jun 28, 2015 at 5:54 AM, ragunath wrote: > --- > c/src/lib/libbsp/arm/beagle/configure.ac | 3 +++ > c/src/lib/libbsp/arm/beagle/irq.c | 5 +++-- > c/src/lib/libbsp/arm/beagle/startu

Re: 25% PowerPC code size increase since last September?

2015-06-29 Thread Gedare Bloom
On Sun, Jun 28, 2015 at 11:05 AM, Peter Dufault wrote: > In updating the Phytec MPC5554 to this mornings build I see a large code size > increase. It will no longer fit in the 2MB FLASH on the MPC5554, which is a > problem. Here are the sizes of the binaries, the first one built two days > ag

Re: [PATCH] RTEMS libbsd changes for cpsw driver

2015-06-29 Thread Gedare Bloom
Out of curiousity, would upstream freebsd be likely interested in using the nexus instead of simplebus? That is, should some of this be commited upstream? Few comments below. On Sun, Jun 28, 2015 at 5:58 AM, ragunath wrote: > --- > @@ -326,6 +342,13 @@ cpsw_debugf(const char *fmt, ...) > */ >

Re: [PATCH] Beagle BSP Improvements (ADC driver)

2015-06-29 Thread Gedare Bloom
Fix the style issues that have been mentioned to you before. Also, try to avoid including #include files that are unnecessary. (I don't know for sure if any you have are, but this is a general comment.) On Sat, Jun 27, 2015 at 3:54 PM, Ketul Shah wrote: > Hello, > > I have developed basic ADC dri

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Joel Sherrill
On June 29, 2015 8:28:16 AM CDT, Sebastian Huber wrote: > > >On 29/06/15 15:20, Peter Dufault wrote: >>> >On Jun 28, 2015, at 11:53 , Joel >Sherrill wrote: >>> > >>There are also a bunch of new shell commands that are pulling in >new >>code, that might be a lot of the rest. >>> > >>>

Re: large G++ locale overhead in g++ 4.9.2

2015-06-29 Thread Sebastian Huber
On 29/06/15 15:20, Peter Dufault wrote: >On Jun 28, 2015, at 11:53 , Joel Sherrill wrote: > >>There are also a bunch of new shell commands that are pulling in new >>code, that might be a lot of the rest. > >This can be configured down. > >But overall, you may want to try per element data and

large G++ locale overhead in g++ 4.9.2 (was: Re: 25% PowerPC code size increase since last September?)

2015-06-29 Thread Peter Dufault
> On Jun 28, 2015, at 11:53 , Joel Sherrill wrote: > >> There are also a bunch of new shell commands that are pulling in new >> code, that might be a lot of the rest. > > This can be configured down. > > But overall, you may want to try per element data and function sections on > the compile

Re: [PATCH] Temporary fix for ethernet rx intr hang issue and Disable cache

2015-06-29 Thread Sebastian Huber
On 25/06/15 18:20, ragunath wrote: This patch has two changes that are needed for networking to work in BBB. We disable cache as it is causing random values to be learned in the cpsw Address Lookup Engine(ALE) causing tx to fail. Vector enable is done after handler is called by the server tas