[PATCH 3/6] add cmdline support for rpi bsp

2015-08-12 Thread YANG QIAO
From: YANG Qiao --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 1 + c/src/lib/libbsp/arm/raspberrypi/include/bsp.h | 5 +++ .../lib/libbsp/arm/raspberrypi/startup/bspstart.c | 1 + .../libbsp/arm/raspberrypi/startup/bspstarthooks.c | 2 ++ c/src/lib/libbsp/arm/raspberrypi/star

[PATCH 5/6] add video outch support for rpi bsp

2015-08-12 Thread YANG QIAO
From: YANG Qiao --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am |1 + .../lib/libbsp/arm/raspberrypi/console/font_data.h | 4639 c/src/lib/libbsp/arm/raspberrypi/console/outch.c | 405 ++ c/src/lib/libbsp/arm/raspberrypi/include/bsp.h |3 + .../lib/libb

[PATCH 6/6] add fbcons support for rpi bsp

2015-08-12 Thread YANG QIAO
From: YANG Qiao --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 4 +- .../arm/raspberrypi/console/console-config.c | 12 +- .../arm/raspberrypi/console/console_select.c | 113 + c/src/lib/libbsp/arm/raspberrypi/console/fbcons.c | 184 + c/

[PATCH 4/6] add fb support for rpi bsp

2015-08-12 Thread YANG QIAO
From: YANG Qiao --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 5 +- c/src/lib/libbsp/arm/raspberrypi/console/fb.c | 331 + c/src/lib/libbsp/arm/raspberrypi/include/bsp.h | 2 + .../arm/raspberrypi/startup/bspgetworkarea.c | 61 c/src/lib/li

[PATCH 2/6] add vc support for rpi bsp

2015-08-12 Thread YANG QIAO
From: YANG Qiao --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 4 + c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 140 +++ c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 248 c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 436 +

[PATCH 1/6] add mailbox support for rpi bsp

2015-08-12 Thread YANG QIAO
From: YANG Qiao --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 4 ++ c/src/lib/libbsp/arm/raspberrypi/include/mailbox.h | 32 + .../libbsp/arm/raspberrypi/include/raspberrypi.h | 49 +++ c/src/lib/libbsp/arm/raspberrypi/misc/mailbox.c| 56

cppcheck errors

2015-08-12 Thread Daniel Gutson
Hi guys, we will be posting patches for a number of errors reported by cppcheck (errors that we can confirm are not false positives). Please hold on any release. Daniel. -- Daniel F. Gutson Chief Engineering Officer, SPD San Lorenzo 47, 3rd Floor, Office 5 Córdoba, Argentina Phone: +5

Re: Fwd: SMP support for Raspberry Pi 2

2015-08-12 Thread Rohini Kulkarni
Hi, It would be great if somebody can help here. [1] How are the mailbox registers available for each core of Pi2 to be used. [2] Another thing is that I don't know which registers of Pi 1 are available for Pi2 as well. The ones in this link

Re: Protected and Unprotected operations on Chain_control

2015-08-12 Thread Gedare Bloom
thread dispatch occurs due to an interrupt. if interrupts are disabled, then no dispatch. On Wed, Aug 12, 2015 at 2:23 PM, Saurabh Gadia wrote: > Hi, > > #define _ISR_Disable( _level ) \ > do { \ > _CPU_ISR_Disable( _level ); \ > _Assert( _Debug_Is_owner_of_giant() ); \ > RTEMS_COMP

Question about atomic builtin functions in gcc for rtems.

2015-08-12 Thread Marcos Díaz
Hi, i was using some c++11 concurrency classes on ARM (with gcc 4.9.2) that have an underlying use of libgcc atomic functions, for example __gnu_cxx::__atomic_add_dispatch. In its implementation, (in the file gcc-sources/libstdc++-v3/include/ext/atomicity.h) I can see that the macro _GLIBCXX_ATOMIC

Re: Protected and Unprotected operations on Chain_control

2015-08-12 Thread Saurabh Gadia
Hi, #define _ISR_Disable( _level ) \ do { \ _CPU_ISR_Disable( _level ); \ _Assert( _Debug_Is_owner_of_giant() ); \ RTEMS_COMPILER_MEMORY_BARRIER(); \ } while (0) the above macro has description: @brief Disables interrupts on this processor. * * This macro disables all interrup

Re: Protected and Unprotected operations on Chain_control

2015-08-12 Thread Gedare Bloom
On Wed, Aug 12, 2015 at 11:48 AM, Saurabh Gadia wrote: > Hi, > > For operations related to manipulation of Chain_Node we have two modes for > that: protected and unprotected. In protected access to chain we guard the > operation by disabling the interrupts while in unprotected we don't guard > it.

Protected and Unprotected operations on Chain_control

2015-08-12 Thread Saurabh Gadia
Hi, For operations related to manipulation of Chain_Node we have two modes for that: protected and unprotected. In protected access to chain we guard the operation by disabling the interrupts while in unprotected we don't guard it. Is it that we don't disable interrupts in unprotected mode because

Re: python dependencies Ubuntu 15.04

2015-08-12 Thread Christian Mauderer
Hello, just a wild guess: Which python Version is default on Ubuntu? Most distributions use python2 as default. I know that e.g. Arch uses python3. Just try a python --version to find out. Kind regards Christian Mauderer Am 12.08.2015 um 10:38 schrieb punit vara: > sudo apt-get install py

Re: [PATCH 1/1] add t1lib patch

2015-08-12 Thread QIAO YANG
On Aug 12, 2015, at 03:01 AM, Joel Sherrill wrote: On 8/12/2015 8:18 AM, QIAO YANG wrote: Hi, So here I patch the configure.in file instead of its output. If this one is good to go, I'll send you the two other patches for microwindows-bset and t1lib-bset , with its' correct patch urls.

Re:

2015-08-12 Thread Gedare Bloom
It's looking for python2.7. See if there is a package that provides it from your distro, like python2.7-dev it should be for Ubuntu. On Wed, Aug 12, 2015 at 1:18 AM, punit vara wrote: > I am facing problem with python .I installed python but don't know why > still same problem .Can anybody tell m

Re: Uniprocessor configuration.

2015-08-12 Thread Gedare Bloom
The uniprocessor is used by default. So the way you ran RTEMS for your Getting Started will do. On Tue, Aug 11, 2015 at 9:39 PM, Saurabh Gadia wrote: > Hi, > how should I make sure that testcases I am implementing are running under > uniprocessor configuration? > > What do we have to do to run rt

Re: [PATCH 1/1] add t1lib patch

2015-08-12 Thread QIAO YANG
Hi, So here I patch the configure.in file instead of its output. If this one is good to go, I'll send you the two other patches for microwindows-bset and t1lib-bset , with its' correct patch urls. Best wishes On Aug 12, 2015, at 02:16 AM, YANG QIAO wrote: From: YANG Qiao --- tools/4.11

python dependencies Ubuntu 15.04

2015-08-12 Thread punit vara
sudo apt-get install python-all-dev I have done this .Still python error. Any help will be appreciated. RTEMS Tools Project - Source Builder Error Report Build: error: building i386-rtems4.11-gdb-7.9-x86_64-linux-gnu-1 Command Line: ../source-builder/sb-set-builder --log=l-i386.txt --prefix=/ho

python dependencies

2015-08-12 Thread punit vara
Not able to build RTEMS in ubuntu. I have already tried sudo apt-get install python-dev,sudo apt-get install python-all-dev. any help will be appreciated. RTEMS Tools Project - Source Builder Error Report Build: error: building i386-rtems4.11-gdb-7.9-x86_64-linux-gnu-1 Command Line: ../source-bu