Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Sujay Raj
cmake works fine if the variables are over-ridden. And things aren't that difficult while using pc386 bsp. But if we are dealing with arm or other archs, the best way ( and the recommended one ) to do during cross-compiling would be to create a toolchain file, forcing cmake to use the cross compili

Re: Building RTEMS hello world image using CMake

2016-03-13 Thread Sujay Raj
Note: the RTEMS_TOOLS and BSP_DIR variables in the above mail point to the toolchain directory and BSP directory respectively and need to be passed to cmake while calling it using the ( -D ) flag. On Sun, Mar 13, 2016 at 5:22 PM, Sujay Raj wrote: > cmake works fine if the variables are o

Re: i386 build fail

2015-08-07 Thread Sujay Raj
d portions. Thanks and Regards, Sujay Raj On Sat, Aug 8, 2015 at 10:39 AM, punit vara wrote: > Sorry I have mistakenly attached another screenshot. Here is build > error screen shot .I have followed GSoC getting started guide. > > ../source-builder/sb-set-builder --log=l-i386.tx

Using tar to access files

2015-06-29 Thread Sujay Raj
are about 10 files, 10 errors). There are no build errors, and since my application recognizes files present in the tar archive, I think possibly I am missing to initialize something. Help would be really appreciated. Thanks and Regards, Sujay Raj ___

Re: Sendfile for Rtems

2015-06-23 Thread Sujay Raj
Okay, So I will dig in to the details of the implementation of sendfile on freebsd to find if it does indeed use mmap, or if there is an implementation that doesn't. I will inform as soon as I figure it out if this is the correct way out. Thanks and Regards, Sujay Raj On Wed, Jun 24, 2015

Re: Sendfile for Rtems

2015-06-23 Thread Sujay Raj
, Sujay Raj On Wed, Jun 24, 2015 at 12:21 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > I would use the sendfile system call implementation from FreeBSD and add > it to the libbsd. Its not a big win if you use read() and write() to > implement sendfile(). This m

Sendfile for Rtems

2015-06-23 Thread Sujay Raj
matter, if we should work on getting sendfile in newlib, or if there is any portable solution that we can use in its place. cc to Joel and Eduardo. Thanks and Regards, Sujay Raj ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo

Re: multiple definition of __getreent

2015-06-21 Thread Sujay Raj
I am updating my github repo after cleaning the code, for you all to verify. I will drop a mail when its ready. Regards, Sujay Raj On Sun, Jun 21, 2015 at 10:54 PM, Sujay Raj wrote: > @Chris , I used 'target_link_libraries' in mk_bin/CMakeLists.txt to link > libc.a and libbsd

Re: multiple definition of __getreent

2015-06-21 Thread Sujay Raj
now have a working version of monkey on rtems using libbsd, which is ready to be tested on qemu. Though, this is not the ideal circumstances that we would have hoped for, and I certainly would want monkey to be using the default sendfile from the library. Regards, Sujay Raj On Sun, Jun 21, 2015 at

multiple definition of __getreent

2015-06-19 Thread Sujay Raj
ps, timegm, and sendfile. note: I am working on a cmake build system If the information given here is insufficient, kindly ask. Thanks and regards, Sujay Raj ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Test selectpollkqueue01 in rtems-libbsd fails for kqueue.

2015-06-09 Thread Sujay Raj
I am working on the xilinx_zynq_a9_qemu bsp. The output just prior to the error is : test kqueue timer test kqueue timer test kqueue connect worker: create new connect socket worker: connect test kqueue read worker: write test kqueue write assertion "event.data == 20428" failed: file "../../test

Re: rtems-libbsd waf params

2015-06-05 Thread Sujay Raj
>From what I could make out from the documentation in README.waf, in waf configure , --prefix is where you would like to install rtems-libbsd, --rtems is where you installed your bsp, that is, the '--prefix' you passed while configuring the bsp. '--rtems-tools' points to the tool-set you built usin

Re: Build of rtems-libbsd for all BSPs

2015-05-28 Thread Sujay Raj
On i386/pc386, adding a line : extern u_int64_t tsc_freq; to freebsd/sys/contrib/altq/altq/altq_subr.c gets it to build successfully. Though I wonder what its repercussions would be. On Thu, May 28, 2015 at 8:43 PM, Joel Sherrill wrote: > Hi > > I decided to attempt to build rtems-libbsd for a

Network Demos on QEMU

2015-05-10 Thread Sujay Raj
Hi, netdemo of 'network-demos' doesn't run as expected. I set up tap successfully, and am trying to run netdemo using the rtems-testing/qemu-support scripts. 1. The echoServer starts, as visible in the terminal : Create socket. Bind socket. Listen. Accept. But neither telnet or ping work. 2. ru

Getting Networking to work on QEMU : Monkey Port

2015-05-06 Thread Sujay Raj
Kindly have a look. With Regards, Sujay Raj ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

GSOC 2015 Proposal Review: Monkey HTTP server

2015-03-25 Thread Sujay Raj
Dear community members, I successfully uploaded my proposal for GSOC 2015 at http://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/sujayraaj/5629499534213120 I welcome you all for any reviews/suggestions/criticism for the same. The proposal is public. With regards, Sujay Raj

Re: GSOC 2015 Monkey HTTP Server

2015-03-24 Thread Sujay Raj
Thanks. I submitted the proposal online at the GSOC website. Also, I included lwIP in the proposal. On Mon, Mar 23, 2015 at 8:52 PM, Gedare Bloom wrote: > On Sun, Mar 22, 2015 at 6:56 PM, Sujay Raj wrote: >> I submitted the tentative proposal on the proposal page >> devel.rtem

Re: GSOC 2015 Monkey HTTP Server

2015-03-22 Thread Sujay Raj
I include lwIP too? ii. Is anyone else working on it? Should that affect my including lwIP in my proposal? iii. Does the project look too ambitious to be completed in the timeframe? iv. Will the inclusion of lwIP in the things to be done make the project too big? Regards, Sujay Raj

Re: GSOC 2015 Monkey HTTP Server

2015-03-20 Thread Sujay Raj
BSP: pc386 simulated on QEMU On Fri, Mar 20, 2015 at 9:27 PM, Gedare Bloom wrote: > On Fri, Mar 20, 2015 at 11:39 AM, Sujay Raj wrote: >> Well I started writing the first draft of the project proposal ( which >> I shall hopefully finish by tonight, Its 9 PM here ). >> &g

Re: GSOC 2015 Monkey HTTP Server

2015-03-20 Thread Sujay Raj
Well I started writing the first draft of the project proposal ( which I shall hopefully finish by tonight, Its 9 PM here ). I am making "porting the Monkey web server to RTEMS as well as a partial reorganization of the network stacks present in RTEMS to make it more modular", as the primary deliv

GSOC 2015 Monkey HTTP Server

2015-03-11 Thread Sujay Raj
Hi, I am interested in working on porting the Monkey HTTP Server to RTEMS as a GSOC project. This is the first time I am applying to GSOC and though I have written a lot of code, it is also my first attempt at working in an Open Source project. Some personal projects that I have worked on include