Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-10 Thread vivek kukreja
Hello Chris, Joel, Isaac,

Sorry for the delay in getting back. I was ill for the last couple days.

Here is a quick status update,

* Setup my work environment. Earlier I was using RTEMS version 4.11 because
I could not download the source code for 4.12 from GIT in my university
network. I have not moved to the new version.

* Compiled the Xilinx Qemu BSP. I am unable to find help on how to run the
BSP on Qemu however. I will send another mail to ask for help on the list.

* Prepared some documents to plan the project and track progress. Please
take a look at these documents, and recommend any changes.
https://drive.google.com/open?id=0B2FBdgOy1yWXWE44RnhNLXUwLVU

* Started studying Babeltrace to understand its capabilities.

In the rest of the week, I will

* Study the source code for scheduler events tracing in User Extensions.

* Ensure that I have the BSP running on Qemu.

* Port my experimental changes in RTEMS TLD to the version 4.12 and share
patches with you, to get some feedback.

On Wed, Apr 27, 2016 at 6:45 PM, vivek kukreja 
wrote:

> Hello all
>
> Thank you for your help and support. My proposal for Tracing tool
> improvements has been accepted in GSOC 2016.
>
> I will be occupied with university exams for the rest of this week. I
> will update the RTEMS page over the weekend. I will be able to commit
> full-time to the project in the coming weeks during my vacations.
>
> I am thrilled to start working on this project!
>
> Regards,
> Vivek
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Require help with running Xilinx Zynq Qemu BSP

2016-05-10 Thread vivek kukreja
Hello all,

I have compiled the RTEMS 4.12 to generate BSP for Xilinx Zynq Qemu.
However, I am unable to find any documents on how to run the BSP.

I tried using this document
https://devel.rtems.org/wiki/Developer/Simulators/QEMU
but this does not mention the steps for Xilinx Zynq, and also some of the
links in the document are dead.

I haven't used Qemu, and will appreciate if someone can point me to the
right document or give me tips to get this running.

Regards,
Vivek
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-10 Thread vivek kukreja
On Tue, May 10, 2016 at 11:10 AM, vivek kukreja 
wrote:

> Hello Chris, Joel, Isaac,
>
> Sorry for the delay in getting back. I was ill for the last couple days.
>
> Here is a quick status update,
>
> * Setup my work environment. Earlier I was using RTEMS version 4.11
> because I could not download the source code for 4.12 from GIT in my
> university network. I have not moved to the new version.
>

Typo! I meant, I have NOW moved to the new version.


>
> * Compiled the Xilinx Qemu BSP. I am unable to find help on how to run the
> BSP on Qemu however. I will send another mail to ask for help on the list.
>
> * Prepared some documents to plan the project and track progress. Please
> take a look at these documents, and recommend any changes.
> https://drive.google.com/open?id=0B2FBdgOy1yWXWE44RnhNLXUwLVU
>
> * Started studying Babeltrace to understand its capabilities.
>
> In the rest of the week, I will
>
> * Study the source code for scheduler events tracing in User Extensions.
>
> * Ensure that I have the BSP running on Qemu.
>
> * Port my experimental changes in RTEMS TLD to the version 4.12 and share
> patches with you, to get some feedback.
>
>
On Wed, Apr 27, 2016 at 6:45 PM, vivek kukreja 
> wrote:
>
>> Hello all
>>
>> Thank you for your help and support. My proposal for Tracing tool
>> improvements has been accepted in GSOC 2016.
>>
>> I will be occupied with university exams for the rest of this week. I
>> will update the RTEMS page over the weekend. I will be able to commit
>> full-time to the project in the coming weeks during my vacations.
>>
>> I am thrilled to start working on this project!
>>
>> Regards,
>> Vivek
>>
>
>

Regards,
Vivek
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Require help with running Xilinx Zynq Qemu BSP

2016-05-10 Thread Jan Sommer

Am 2016-05-10 11:22, schrieb vivek kukreja:

Hello all,

I have compiled the RTEMS 4.12 to generate BSP for Xilinx Zynq Qemu.
However, I am unable to find any documents on how to run the BSP.

I tried using this document
https://devel.rtems.org/wiki/Developer/Simulators/QEMU
but this does not mention the steps for Xilinx Zynq, and also some of 
the

links in the document are dead.

I haven't used Qemu, and will appreciate if someone can point me to the
right document or give me tips to get this running.



I built a recent mainline qemu and could run an application with the 
following command


qemu-system-arm  -no-reboot \
 -serial null -serial mon:stdio \
 -net none -nographic \
 -M xilinx-zynq-a9 \
 -m 256M \
 -kernel ticker/ticker.exe

However this only works for the xilinx_zynq_a9_qemu bsp. It might be 
possible to run applications for the zedboard bsp on qemu as well with 
the right device tree configuration, but I haven't tried that yet.


Best regards,

   Jan


Regards,
Vivek

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Status Update of Porting Rock to RTEMS

2016-05-10 Thread Sambeet Panigrahi
I have been updating my progress in blog posts but this would be my first
updating in devel mailing list.

Before starting the phase one of my work I had to understand all rock
dependencies namely
1) Boost
2)Eigen
3)Libxml
4)Xerces
5)OmniORB

I have tried out examples of Boost serialization library and eigen as
well.I have also worked with libxml.I used a small hello world program for
this purpose. I used gccxml to generate an xml version of C code and then
parsed it with libxml.Xerces is also used for parsing xml but with C++. It
is not used frequently anymore. It was used when the last port took place.

Before that I had setup a RTEMS environment using QEMU for i386 run a few
examples like Ticker and Hello World.

Only OmniORB is left. There are instructions available for porting OmniORB
to RTEMS. But the port has not been  not updated since a long time.I would
start porting once I set up the OmniORB, which currently I am stuck up with.

Meanwhile I have learnt a lot abou CORBA and IDL from

http://www.ciaranmchale.com/corba-explained-simply

and looking forrward to write some CORBA code to understand working of
OmniORB.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Multiple Failures on GCC Master

2016-05-10 Thread Joel Sherrill
Hi

With a newlib snapshot approaching, I thought I would build tools off the
master for binutils, gdb, gcc, and newlib.  Some failures:

It looks like most targets fail looking for lock.c. This is from
sparc-rtems4.12
but there are others.

make[4]: Entering directory
`/data/home/joel/test-gcc/b-sparc-rtems4.12-gcc/sparc-rtems4.12/libatomic'
make[4]: *** No rule to make target `lock.c', needed by `lock.lo'.  Stop.
make[4]: Leaving directory
`/data/home/joel/test-gcc/b-sparc-rtems4.12-gcc/sparc-rtems4.12/libatomic'

Looks like a tiny bit is missing on the gcc master.

--joel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

GCC on Master

2016-05-10 Thread Joel Sherrill
Hi

My gcc update failed and rtems/lock.c was missing. Trying again
now that it is present.

Sorry for the report.

--joel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Multiple Failures on GCC Master

2016-05-10 Thread Sebastian Huber
Should be fixed already.

- Joel Sherrill  schrieb:
> Hi
> 
> With a newlib snapshot approaching, I thought I would build tools off the
> master for binutils, gdb, gcc, and newlib.  Some failures:
> 
> It looks like most targets fail looking for lock.c. This is from
> sparc-rtems4.12
> but there are others.
> 
> make[4]: Entering directory
> `/data/home/joel/test-gcc/b-sparc-rtems4.12-gcc/sparc-rtems4.12/libatomic'
> make[4]: *** No rule to make target `lock.c', needed by `lock.lo'.  Stop.
> make[4]: Leaving directory
> `/data/home/joel/test-gcc/b-sparc-rtems4.12-gcc/sparc-rtems4.12/libatomic'
> 
> Looks like a tiny bit is missing on the gcc master.
> 
> --joel

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Require help with running Xilinx Zynq Qemu BSP

2016-05-10 Thread vivek kukreja
Hello,

Sorry for not framing the question properly.

I know how to run an application on the baremetal, with the command you
have mentioned. But I want to know how to run a complete RTEMS boot image,
along with OS components on the emulator.

In the document that I have given a link above, the steps for running a
boot image for i386 have been mentioned. Is the similar possible for the
Xilinx Zynq too?

On Tue, May 10, 2016 at 4:02 PM, Jan Sommer 
wrote:

> Am 2016-05-10 11:22, schrieb vivek kukreja:
>
>> Hello all,
>>
>> I have compiled the RTEMS 4.12 to generate BSP for Xilinx Zynq Qemu.
>> However, I am unable to find any documents on how to run the BSP.
>>
>> I tried using this document
>> https://devel.rtems.org/wiki/Developer/Simulators/QEMU
>> but this does not mention the steps for Xilinx Zynq, and also some of the
>> links in the document are dead.
>>
>> I haven't used Qemu, and will appreciate if someone can point me to the
>> right document or give me tips to get this running.
>>
>>
> I built a recent mainline qemu and could run an application with the
> following command
>
> qemu-system-arm  -no-reboot \
>  -serial null -serial mon:stdio \
>  -net none -nographic \
>  -M xilinx-zynq-a9 \
>  -m 256M \
>  -kernel ticker/ticker.exe
>
> However this only works for the xilinx_zynq_a9_qemu bsp. It might be
> possible to run applications for the zedboard bsp on qemu as well with the
> right device tree configuration, but I haven't tried that yet.
>
> Best regards,
>
>Jan
>
> Regards,
>> Vivek
>>
>> ___
>> devel mailing list
>> devel@rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Require help with running Xilinx Zynq Qemu BSP

2016-05-10 Thread Chris Johns

On 11/05/2016 02:57, vivek kukreja wrote:

Hello,

Sorry for not framing the question properly.

I know how to run an application on the baremetal, with the command you
have mentioned. But I want to know how to run a complete RTEMS boot
image, along with OS components on the emulator.

In the document that I have given a link above, the steps for running a
boot image for i386 have been mentioned.


Those instructions are for a PC and assume PC type hardware.


Is the similar possible for the Xilinx Zynq too?


With the Zynq all you need to pass to qemu is the kernel image.

What are wanting to do with the qemu and the Zynq BSP?

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel