Progress notes on hacking on RPi2 with new firmware

2016-06-30 Thread Pavel Pisa
Hello all, I have borrowed Raspberry Pi board from my colleague and thought that I can make it work in reasonable time. Result is that things are getting more complicated after two full days of hacking. I know cause why loading and running RTEMS application by new firmware fails. New firmware sta

Re: [PATCH v2 2/2] Subject: Update PWM driver imported from BBBIO

2016-06-30 Thread Martin Galvan
Thanks for re-sending. FYI the "v2" goes for all the patches in the thread, not just the one you actually changed. If you want to be extra-clear you could add a "Changes in v2:" header to each patch. On Thu, Jun 30, 2016 at 6:04 PM, Punit Vara wrote: > + if((pwm_id <3) && (pwm_id >=0)) { > + sw

[PATCH v2 2/2] Subject: Update PWM driver imported from BBBIO

2016-06-30 Thread Punit Vara
This patch performs following things: - adds registers to appropriate header file - Changes APIs to build RTEMS successful I have tested PWM driver with RGB LED and multimeter https://youtu.be/jhjZO9amdSA This code generate m

[PATCH v2 1/2] Subject: Add original BBBIO PWM driver to BBB BSP

2016-06-30 Thread Punit Vara
This patch perform following things: - adds original BBBIO PWM code as it is. - not added to Makefile otherwise it will break build This code is added from https://github.com/VegetableAvenger/BBBIOlib/blob/master/BBBio_lib/BBBiolib_PWMSS.c --- c/src/lib/li

CFP - EWiLi'16, the 6th Embedded Operating System Workshop

2016-06-30 Thread Joel Sherrill
*** Call For Papers EWiLi'16, the 6th Embedded Operating System Workshop held in conjunction with ESWEEK October 6th, PITTSBURGH, PA, USA Submission deadline: 11 July 2016 http://syst.univ-brest.fr/ewili2016 **

Re: [PATCH 2/2] Subject: Update PWM driver imported from BBBIO

2016-06-30 Thread Martin Galvan
Thanks for the patch. FYI we usually tag patches as [PATCH v2], [PATCH v3] and so on for patch versions greater than 1. One thing I've noticed (and that I missed for v1) is that in many places you have things like if((pwmid<3) & (pwmid >=0)), using bitwise & instead of logical &&. Your tests must'

Re: Error while adding usb ethernet driver

2016-06-30 Thread Deval Shah
On Tue, Jun 28, 2016 at 3:12 AM, Chris Johns wrote: > On 27/06/2016 22:29, Deval Shah wrote: > >> Hello all, >> >> I am trying to add USB-Ethernet driver for Raspberry Pi. I added >> required files to libbsd.py and tried to compile. >> >> I am getting the following error which is very strange bec

[PATCH 2/2] Subject: Update PWM driver imported from BBBIO

2016-06-30 Thread Punit Vara
This patch performs following things: - adds registers to appropriate header file - Changes APIs to build RTEMS successful I have tested PWM driver with RGB LED and multimeter https://youtu.be/jhjZO9amdSA This code generate more

[PATCH 1/2] Subject: Add original BBBIO PWM driver to BBB BSP

2016-06-30 Thread Punit Vara
This patch perform following things: - adds original BBBIO PWM code as it is. - not added to Makefile otherwise it will break build This code is added from https://github.com/VegetableAvenger/BBBIOlib/blob/master/BBBio_lib/BBBiolib_PWMSS.c --- c/src/lib/li

Re: [PATCH] rtems: ensure that rtems_cache_aligned_malloc do not align less than to CPU_CACHE_LINE_BYTES.

2016-06-30 Thread Sebastian Huber
On 29/06/16 13:14, Pavel Pisa wrote: Hello Sebastian, On Wednesday 29 of June 2016 07:28:46 Sebastian Huber wrote: >Hallo Pavel, > >On 25/06/16 17:06, Pavel Pisa wrote: > >There are architectures (for example some/many ARM Cortex-A) which have > >different cache line sizes for data and instruc

Re: Strong APA Scheduler Implementation

2016-06-30 Thread Sebastian Huber
Hello Darshit, I update the smpstrongapa01 test to use table driven test actions to carry out test cases: https://git.rtems.org/rtems/tree/testsuites/smptests/smpstrongapa01/init.c#n103 This should be enough to thoroughly test this scheduler. You can run the test via: qemu-system-arm -no-r