Re: LwIP port using directly RTEMS semaphores and message queues

2015-10-12 Thread ragu nath
Hi, lwIP can be built using RTEMS Source builder now. We have RTEMS + lwIP OS glue(cc.h & sys_arch.c etc) . But it uses posix lib functions instead of RTEMS native library. https://github.com/ragunath3252/lwip-nodrv . It's tested and working but not fully optimized.

Re: About cache enabling in LWIP port of BBB in RTEMS

2015-09-22 Thread ragu nath
On Mon, Sep 21, 2015 at 5:44 PM, ragu nath <ragunath3...@gmail.com> wrote: > >> Hi Marcos, >> >> I upgraded the image. I cannot boot the RTEMS image using tftp. Seems >> there was a bug in u-boot & fixed later. It propagated to BBB image. I am >> having t

Re: About cache enabling in LWIP port of BBB in RTEMS

2015-09-21 Thread ragu nath
Hi, >>>>> > >>>>> >How did you see the revision number? if you are >>>>> using u-boot you can >>>>> >pause the start and write printenv and enter to see >>>>> that: >>>>> > >>>>>

Re: About cache enabling in LWIP port of BBB in RTEMS

2015-09-17 Thread ragu nath
so I can check if is the revision, or perhaps is >>>> >something else in u-boot initialization. >>>> > >>>> > >>>> >For the question Joel asked there is a way: >>>> > >>>> > >>>> http://dumb-looks-free.

Re: libbsd - USB Host Stack for HID, WirelessLAN

2015-08-26 Thread ragu nath
Hi Thomas, There is no need to manually edit the makefile. You can add whatever files you need from freebsd to libbsd.py file. I can see, there is already a dev_usb_input module. It is currently disabled. You can just enable it add additional files to it if you need. Then you run the

lwIP with RTEMS BBB

2015-08-15 Thread ragu nath
Hi All, I have written a blog explaining how to use lwIP with RTEMS. The BSP supported is BeagleBone Black(BBB). It basically has four steps 1. Build BBB BSP with cache disabled. 2. Build lwIP library. We can build it using RSB 3. Build driver library using RSB 4. Build the application All the

Re: RTEMS lwIP porting

2015-08-10 Thread ragu nath
10, 2015 at 10:48 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 8/9/2015 4:57 AM, ragu nath wrote: Hi All, I have sent the patches for building lwIP from RSB. First patch contains changes for RTEMS Resource Builder. The second patch is RTEMS specific changes that will be applied

Re: devel Digest, Vol 45, Issue 25

2015-08-10 Thread ragu nath
Hi Yurii, For RPi USB support, can you pls try including default-network-init.h in the application (I tested with netshell01) instead of default-init.h and see if it works. If we use default-init.h, nexus.content is empty and device is not probed. Thanks, Ragunath On Mon, Aug 10, 2015 at 7:15

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

2015-07-10 Thread ragu nath
Hi Sebastian, If we want to use cache flush/invalidate calls, what is the general method one has to follow? I saw the if_cgem driver, but it is somewhat different from cpsw driver. What are all the places which may need these calls? Thanks, Ragunath On Fri, Jul 10, 2015 at 4:29 AM, ragu nath

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

2015-07-09 Thread ragu nath
Hi Sebastian, I read about rtems_cache_coherent_allocate(). I understand first we need to add an area to use this. I added rtems_cache_coherent_add_area(bsp_nocache_heap_begin,(uintptr_t) bsp_nocache_heap_size); in bsp start. Is that right? I do not know how bsp_nocache_heap_begin

Re: Cache issue with BBB networking

2015-07-01 Thread ragu nath
the descriptors ring was not properly sized (ie no modulus cache line). El 29/6/2015 17:23, ragu nath ragunath3...@gmail.com escribió: 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

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 sebastian.hu...@embedded-brains.de wrote: On 25/06/15 18:20, ragunath wrote: This patch has two changes that are needed for networking to work

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

Re: Cache issue with BBB networking

2015-06-29 Thread ragu nath
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, 2015 at 3:16 PM, ragu nath ragunath3...@gmail.com wrote: Hi Marcos, I am working on porting ethernet driver

Re: [PATCH] Ethernet driver For BBB ported from FreeBSD

2015-06-25 Thread ragu nath
Hi Gedare, I will send them separately. Thanks, Ragunath On Thu, Jun 25, 2015 at 10:29 PM, Gedare Bloom ged...@gwu.edu wrote: Can you split the commits so that the import from BSD is separate from your modifications to it? On Thu, Jun 25, 2015 at 12:18 PM, ragunath ragunath3...@gmail.com

rtems-libbsd sample testsuite explanation

2015-06-21 Thread ragu nath
Hi All, I am porting ethernet driver for Beaglebone black from FreeBSD. I would like to know how to execute the following test cases. I would like to know how to execute the test? what is the expected result? any setup that needs to be done etc. 1. arphole 2. foobarclient 3. foobarserver 4.

Re: Porting ethernet driver from FREEBSD to rtems-libbsd

2015-05-28 Thread ragu nath
bsp_interrupt_vector_enable in dispatch function. There is no hang and packets are received. What can be the correct fix for the issue as there are other interrupts that are not processed in this way? Thanks, Ragunath On Fri, May 15, 2015 at 12:39 PM, ragu nath ragunath3...@gmail.com wrote: Thank you. I

Re: Porting ethernet driver from FREEBSD to rtems-libbsd

2015-05-15 Thread ragu nath
, ragu nath wrote: Hi All, My name is ragunath. I am selected for Google Summer of Code 2015 with RTEMS. I will be working on improving Beagle BSP. I am in the process of porting ethernet driver for Beaglebone black from FreeBSD to rtems-libbsd. I would like to know what are the necessary

Porting ethernet driver from FREEBSD to rtems-libbsd

2015-05-15 Thread ragu nath
Hi All, My name is ragunath. I am selected for Google Summer of Code 2015 with RTEMS. I will be working on improving Beagle BSP. I am in the process of porting ethernet driver for Beaglebone black from FreeBSD to rtems-libbsd. I would like to know what are the necessary changes we need to make

RTC patch for BBB

2015-05-03 Thread ragu nath
Hi All, I have attached the RTC patch for BBB. I have addressed the comments given for my earlier submission. I am having problems with sending patch using git send-email. I understand this is the preferred way but I not able to send patch using git send-email. I am behind a http proxy and git

Re: Beagle bsp improvements RTC driver for beaglebone black

2015-04-20 Thread ragu nath
noticed this wasn't merged. Ben.. ? some comments interspersed. On 3/10/2015 4:21 PM, ragu nath wrote: Hi All, I was exploring the beagle code base to find a task to get hands on experience with RTEMS internals. I found that Real time Clock (RTC) support is missing for beaglebone. I made

Re: RTEMS libbsd port: how to link the driver

2015-04-07 Thread ragu nath
-devices.h and the tests. On 06/04/15 21:12, ragu nath wrote: Hi, What is the procedure to link a network driver to the application in rtems libbsd port? The drivers are compiled and available in the libbsd archive. I dont know how to link the driver to the application. I followed the RTEMS

RTEMS libbsd port: how to link the driver

2015-04-06 Thread ragu nath
Hi, What is the procedure to link a network driver to the application in rtems libbsd port? The drivers are compiled and available in the libbsd archive. I dont know how to link the driver to the application. I followed the RTEMS NETWORKING supplement document and tried defining the following

lwIP for beaglebone black

2015-03-13 Thread ragu nath
Hi, I would like to know what is the status of running lwIP on beaglebone black on RTEMS. I understand that there was some considerable amount of work already done on running lwIP on BBB. It would be really helpful if I can get the details on what has already been done and what are the

Beagle bsp improvements RTC driver for beaglebone black

2015-03-10 Thread ragu nath
Hi All, I was exploring the beagle code base to find a task to get hands on experience with RTEMS internals. I found that Real time Clock (RTC) support is missing for beaglebone. I made the effort to add the driver for the device. Included the patch for the driver. RTEMS already have a RTC

GSOC 2015 Beagleboard BSP improvements

2015-03-05 Thread ragu nath
Hi All, Congratulations on getting accepted as a mentoring organization. My name is Ragunath. I am currently pursuing my master's degree in computer science from IIT Kharagpur, India. My area of interests are operating systems and embedded systems development. I am interested in working with