Re: [PATCH 1/2] GPIO Driver

2015-06-30 Thread Steve B
After this is sorted into the right place it would be great to see GPIO IRQs included. I got an IRQ working by just writing to the correct memory locations from application code (posted the source to users list last week), but I think Andre's API does have some hooks for that (seemed that way when

Testing of the Raspberry Pi graphic support

2015-06-30 Thread Pavel Pisa
Hello Qiao Yang, I have prepared testing on RPi B+ hardware last days I have got to test your RTEMS branch https://github.com/yangqiao/rtems I have tried e89884b add memory table entry for frame buffer (try to cover all possibility, may be larger afterward if it's not enough) and then

Re: [RSB Graphics Library] add patch for library source

2015-06-30 Thread Hesham ALMatary
On Tue, Jun 30, 2015 at 5:54 PM Gedare Bloom wrote: > Chris, > > Have we documented how to get custom patches working in RSB? > > I CC'ed Hesham too, since he has done this recently, he might have some > advice. > > There were two ways I used to get RSB fetch the patches: 1) An absolute URL to a

Re: [RSB Graphics Library] add patch for library source

2015-06-30 Thread Chris Johns
On 1/07/2015 4:35 am, Joel Sherrill wrote: > > On 6/30/2015 11:54 AM, Gedare Bloom wrote: >> Chris, >> >> Have we documented how to get custom patches working in RSB? >> >> I CC'ed Hesham too, since he has done this recently, he might have >> some advice. > > I don't know if it is documented. But

Re: [RSB Graphics Library] add patch for library source

2015-06-30 Thread Joel Sherrill
On 6/30/2015 11:54 AM, Gedare Bloom wrote: Chris, Have we documented how to get custom patches working in RSB? I CC'ed Hesham too, since he has done this recently, he might have some advice. I don't know if it is documented. But if the upstage doesn't have a patch retrieval system, then it

Re: [RSB Graphics Library] add patch for library source

2015-06-30 Thread Gedare Bloom
Chris, Have we documented how to get custom patches working in RSB? I CC'ed Hesham too, since he has done this recently, he might have some advice. Gedare On Tue, Jun 30, 2015 at 3:24 AM, QIAO YANG wrote: > Hi, > > I'm now working on moving the graphic libraries from rtems-graphic-tool-kits >

Re: [PATCH 1/2] GPIO Driver

2015-06-30 Thread Gedare Bloom
I don't think we want the shared code in cpukit but rather in libbsp/shared.. Also, I think Andre shall commit the shared code, so perhaps you should focus on just getting a localized solution working in the beagleboard BSP On Tue, Jun 30, 2015 at 5:46 AM, Ketul Shah wrote: > diff --git a/cpukit/

Re: [PATCH] GPIO Driver Sample Application

2015-06-30 Thread Gedare Bloom
Try to figure out how to make the sample not be BSP (BBB)-specific. If you can't then instead this should probably go into examples-v2 and use a similar model as the LED example there. Speaking of which, perhaps the LED example should be extended to be supported on the BBB? Gedare On Tue, Jun 30,

Re: [PATCH 2/2] score: Accept NULL pointer in _Freechain_Put()

2015-06-30 Thread Gedare Bloom
OK On Tue, Jun 30, 2015 at 9:29 AM, Sebastian Huber wrote: > With this a _Freechain_Put( _Freechain_Get() ) works always. > --- > cpukit/score/include/rtems/score/freechain.h | 3 ++- > cpukit/score/src/freechain.c | 4 +++- > testsuites/sptests/spfreechain01/init.c | 2 ++ >

Re: Using tar to access files

2015-06-30 Thread Gedare Bloom
On Tue, Jun 30, 2015 at 1:10 AM, Nick Withers wrote: > 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

Re: Cache issue with BBB networking

2015-06-30 Thread Marcos Díaz
I have a question about this, the frebsd driver, was prepared to be used with cache enabled? I mean, in freeBSD OS the cache is enabled? On Tue, Jun 30, 2015 at 12:46 AM, Daniel Gutson < daniel.gut...@tallertechnologies.com> wrote: > Ragu, > >Please ensure that you are getting cache coherence

[PATCH 1/2] score: Freechain handler API changes

2015-06-30 Thread Sebastian Huber
Replace the extend function with an allocator since this fits better to the current use case. --- cpukit/posix/include/rtems/posix/keyimpl.h | 6 +- cpukit/posix/src/key.c | 53 ++- cpukit/score/include/rtems/score/freechain.h | 54 +++ cpukit/

[PATCH 2/2] score: Accept NULL pointer in _Freechain_Put()

2015-06-30 Thread Sebastian Huber
With this a _Freechain_Put( _Freechain_Get() ) works always. --- cpukit/score/include/rtems/score/freechain.h | 3 ++- cpukit/score/src/freechain.c | 4 +++- testsuites/sptests/spfreechain01/init.c | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cpukit/s

[PATCH] GPIO Driver Sample Application

2015-06-30 Thread Ketul Shah
diff --git a/testsuites/samples/gpio/init.c b/testsuites/samples/gpio/init.c new file mode 100644 index 000..391d80c --- /dev/null +++ b/testsuites/samples/gpio/init.c @@ -0,0 +1,94 @@ +/* + * Copyright (c) 2015 Ketul Shah + * + * The license and distribution terms for this file may be + *

[PATCH 2/2] GPIO Driver

2015-06-30 Thread Ketul Shah
diff --git a/c/src/lib/libbsp/arm/beagle/include/beagleboneblack.h b/c/src/lib/libbsp/arm/beagle/include/beagleboneblack.h new file mode 100644 index 000..1265828 --- /dev/null +++ b/c/src/lib/libbsp/arm/beagle/include/beagleboneblack.h @@ -0,0 +1,63 @@ +/** + * @file + * + * @ingroup arm_beag

[PATCH 1/2] GPIO Driver

2015-06-30 Thread Ketul Shah
diff --git a/cpukit/include/rtems/gpio.h b/cpukit/include/rtems/gpio.h new file mode 100644 index 000..3d68c39 --- /dev/null +++ b/cpukit/include/rtems/gpio.h @@ -0,0 +1,64 @@ +/** + * @file rtems/gpio.h + * + * @brief Global GPIO definitions. + * + * This include the generalized definitions fo

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

2015-06-30 Thread ragu nath
Hi Sebatian, I will try both your suggestions and let you know on the progress. Thanks, Ragunath On Mon, Jun 29, 2015 at 12:49 PM, Sebastian Huber wrote: > > > 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

[RSB Graphics Library] add patch for library source

2015-06-30 Thread QIAO YANG
Hi, I'm now working on moving the graphic libraries from rtems-graphic-tool-kits into rsb, based on the existing work for libjpeg and the rtems-graphic-tool-kits's buid script. The port of libpng, libtiff, freetype2 can be review on my github: https://github.com/yangqiao/rtems-source-builder/c