Re: SPARC GCC Version

2014-12-04 Thread Sebastian Huber
On 04/12/14 08:18, Sebastian Huber wrote: Hello, we use currently GCC 4.9.2 for the SPARC. Unfortunately two patches are missing in this version: 2014-11-07 Daniel Hellstrom Backport from mainline * config.gcc (sparc-*-rtems*): Clean away unused t-elf. * config

Re: Missing vc message

2014-12-04 Thread Amar Takhar
On 2014-12-04 13:37 -0500, Gedare Bloom wrote: > Hi, > > I did not see a commit message on rtems-vc for > http://git.rtems.org/rtems/commit/?id=4081032ce01d206d2c8e7d7b73dcdc59f85683d4 > > Probably Ben's account must be added to something? I forgot to ask him to sign up. I just did that for him

Re: Epiphany port - printf prints wrong values of vars argument list

2014-12-04 Thread Joel Sherrill
On December 4, 2014 2:03:13 PM EST, Hesham Moustafa wrote: >Hi Gedare, > >Thanks for your reply. > >On Thu, Dec 4, 2014 at 6:51 PM, Gedare Bloom wrote: >> With only a string, printf goes to puts. So it sounds like the printf >> with arguments is broken. There is a slew of code hiding underneat

Re: Epiphany port - printf prints wrong values of vars argument list

2014-12-04 Thread Hesham Moustafa
Hi Gedare, Thanks for your reply. On Thu, Dec 4, 2014 at 6:51 PM, Gedare Bloom wrote: > With only a string, printf goes to puts. So it sounds like the printf > with arguments is broken. There is a slew of code hiding underneath > the printf interface, and tiny problems in register ABI and memory

Re: Epiphany port - printf prints wrong values of vars argument list

2014-12-04 Thread Gedare Bloom
With only a string, printf goes to puts. So it sounds like the printf with arguments is broken. There is a slew of code hiding underneath the printf interface, and tiny problems in register ABI and memory layout easily render printf broken. I would start by modifying hello world to print a formatte

Re: [PATCH] beagle bsp - disable watchdog

2014-12-04 Thread Gedare Bloom
OK On Thu, Dec 4, 2014 at 12:46 PM, Ben Gras wrote: > On recent u-boots, the watchdog is turned on / left enabled. The > Beaglebone Black rev. C ships with such a u-boot internally so any OS > booting from it must disable the watchdog or the user is required to > change the stock uboot. > > _

Missing vc message

2014-12-04 Thread Gedare Bloom
Hi, I did not see a commit message on rtems-vc for http://git.rtems.org/rtems/commit/?id=4081032ce01d206d2c8e7d7b73dcdc59f85683d4 Probably Ben's account must be added to something? Gedare ___ devel mailing list devel@rtems.org http://lists.rtems.org/ma

Epiphany port - printf prints wrong values of vars argument list

2014-12-04 Thread Hesham Moustafa
Hi, I have a problem with getting printf working correctly. printf is working totally fine with just one string argument (hello world for example), however when printf is passed some variable arguments, it totally prints some garbage strings. Printing time function (in ticker) is an example for th

[PATCH] beagle bsp - disable watchdog

2014-12-04 Thread Ben Gras
On recent u-boots, the watchdog is turned on / left enabled. The Beaglebone Black rev. C ships with such a u-boot internally so any OS booting from it must disable the watchdog or the user is required to change the stock uboot. From 4132f23920c743ec2dca0ffd63f8dcf833eb0a1b Mon Sep 17 00:00:00 2001

Re: [rtems commit] capture: Add SMP support.

2014-12-04 Thread Sebastian Huber
On 24/11/14 21:16, Jennifer Averett wrote: Module:rtems Branch:master Commit:66bf2af2784dd96aa3d9e86505b11f11c63a1654 Changeset:http://git.rtems.org/rtems/commit/?id=66bf2af2784dd96aa3d9e86505b11f11c63a1654 Author:Jennifer Averett Date: Thu Nov 6 08:37:54 2014 -0600 captu

Re: [PATCH 1/2] LEON3: use new mcpu=leon3v7 build flag

2014-12-04 Thread Sebastian Huber
On 04/12/14 15:54, Daniel Hellstrom wrote: On 12/04/2014 03:26 PM, Sebastian Huber wrote: On 04/12/14 13:10, Daniel Hellstrom wrote: The LEON3 BSP has been using mcpu=cypress which is a SPARCV7 that is compatible with SPARCv8 CPUs. This patch enables the relatively new LEON3 model and generate

Re: SPARC GCC Version

2014-12-04 Thread Gedare Bloom
On Thu, Dec 4, 2014 at 3:13 AM, Daniel Hellstrom wrote: > What is the procedure for updates to GCC/newlib/binutils, if I add a LEON > patch to GCC should I email rtems-devel about this or submit patches to the > source builder? Post a patch against RSB with a relevant commit message, and push for

Re: [PATCH 1/2] LEON3: use new mcpu=leon3v7 build flag

2014-12-04 Thread Daniel Hellstrom
On 12/04/2014 03:26 PM, Sebastian Huber wrote: On 04/12/14 13:10, Daniel Hellstrom wrote: The LEON3 BSP has been using mcpu=cypress which is a SPARCV7 that is compatible with SPARCv8 CPUs. This patch enables the relatively new LEON3 model and generates SPARCv7 compatible code. This shuold be com

Re: SPARC GCC Version

2014-12-04 Thread Daniel Hellstrom
On 12/04/2014 03:20 PM, Sebastian Huber wrote: On 04/12/14 14:25, Sebastian Huber wrote: On 04/12/14 13:22, Sebastian Huber wrote: On 04/12/14 13:10, Daniel Hellstrom wrote: I have now posted the two BSP build changes for LEON3+NGMP BSPs that reflect the updated GCC-4.9.2 toolchain multilibs

Re: [PATCH 1/2] LEON3: use new mcpu=leon3v7 build flag

2014-12-04 Thread Sebastian Huber
On 04/12/14 13:10, Daniel Hellstrom wrote: The LEON3 BSP has been using mcpu=cypress which is a SPARCV7 that is compatible with SPARCv8 CPUs. This patch enables the relatively new LEON3 model and generates SPARCv7 compatible code. This shuold be comptabile with all single-core LEON3/4 systems. Th

Re: SPARC GCC Version

2014-12-04 Thread Sebastian Huber
On 04/12/14 14:25, Sebastian Huber wrote: On 04/12/14 13:22, Sebastian Huber wrote: On 04/12/14 13:10, Daniel Hellstrom wrote: I have now posted the two BSP build changes for LEON3+NGMP BSPs that reflect the updated GCC-4.9.2 toolchain multilibs and muser-mode flag. Note that it is important

Re: SPARC GCC Version

2014-12-04 Thread Sebastian Huber
On 04/12/14 13:22, Sebastian Huber wrote: On 04/12/14 13:10, Daniel Hellstrom wrote: I have now posted the two BSP build changes for LEON3+NGMP BSPs that reflect the updated GCC-4.9.2 toolchain multilibs and muser-mode flag. Note that it is important that the toolchain is updated first so tha

Re: [PATCH 2/2] NGMP BSP: add GCC muser-mode switch

2014-12-04 Thread Daniel Hellstrom
On 12/04/2014 01:20 PM, Sebastian Huber wrote: This option is already in the master. Ok, I missed that. Thanks! DanielH On 04/12/14 13:10, Daniel Hellstrom wrote: Recent GCC have SPARC multilib with muser-mode. This makes CAS instruction operating in both user and priveleged mode. It is req

[PATCH] rtems: Change GCC vendor message

2014-12-04 Thread Sebastian Huber
Drop the GCC version since this is already part of the normal GCC version message. Drop the release number from the RSB since the Git commit identifies the RSB version uniquely. Use a "Name Version, ..." pattern. --- rtems/config/rtems-base.bset | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: SPARC GCC Version

2014-12-04 Thread Sebastian Huber
On 04/12/14 13:10, Daniel Hellstrom wrote: I have now posted the two BSP build changes for LEON3+NGMP BSPs that reflect the updated GCC-4.9.2 toolchain multilibs and muser-mode flag. Note that it is important that the toolchain is updated first so that the multilibs exists before using the new

Re: [PATCH 2/2] NGMP BSP: add GCC muser-mode switch

2014-12-04 Thread Sebastian Huber
This option is already in the master. On 04/12/14 13:10, Daniel Hellstrom wrote: Recent GCC have SPARC multilib with muser-mode. This makes CAS instruction operating in both user and priveleged mode. It is required to allow the CAS in systems where RTEMS run in user mode. --- c/src/lib/libbsp/

Re: SPARC GCC Version

2014-12-04 Thread Daniel Hellstrom
Hello, I have now posted the two BSP build changes for LEON3+NGMP BSPs that reflect the updated GCC-4.9.2 toolchain multilibs and muser-mode flag. Note that it is important that the toolchain is updated first so that the multilibs exists before using the new built flags. DanielH On 12/04/201

[PATCH 2/2] NGMP BSP: add GCC muser-mode switch

2014-12-04 Thread Daniel Hellstrom
Recent GCC have SPARC multilib with muser-mode. This makes CAS instruction operating in both user and priveleged mode. It is required to allow the CAS in systems where RTEMS run in user mode. --- c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg |2 +- 1 files changed, 1 insertions(+), 1 delet

[PATCH 1/2] LEON3: use new mcpu=leon3v7 build flag

2014-12-04 Thread Daniel Hellstrom
The LEON3 BSP has been using mcpu=cypress which is a SPARCV7 that is compatible with SPARCv8 CPUs. This patch enables the relatively new LEON3 model and generates SPARCv7 compatible code. This shuold be comptabile with all single-core LEON3/4 systems. The LEON3 model is required for SMP to make GCC

Re: [PATCH] libmisc: More useful default configuration

2014-12-04 Thread Chris Johns
On 4/12/2014 7:45 pm, Sebastian Huber wrote: This one is the latest. I renamed the new test to defaultconfig01 Thanks for cleaning this up. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Add an --enable-httpd-websocket configure option to enable WebSocket in the Mongoose HTTP server

2014-12-04 Thread Nick Withers
Understood - I'll post a new patch with a test case (thanks for being on top of such things!). (Sorry about the formatting...) From: Sebastian Huber Sent: Wednesday, 3 December 2014 6:12 PM To: Nick Withers Cc: rtems-de...@rtems.org Subject: Re: Add an --

[PATCH] Update bug report URL

2014-12-04 Thread Sebastian Huber
--- c/configure.ac | 2 +- c/src/ada-tests/configure.ac | 2 +- c/src/configure.ac | 2 +- c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac | 2 +- c/src/lib/libbsp/arm/configure.ac

Re: [PATCH] libmisc: More useful default configuration

2014-12-04 Thread Sebastian Huber
This one is the latest. I renamed the new test to defaultconfig01 -- 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.hu...@embedded-brains.de PGP : Public key available o

[PATCH] libmisc: More useful default configuration

2014-12-04 Thread Sebastian Huber
The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide p

[PATCH v3] libmisc: More useful default configuration

2014-12-04 Thread Sebastian Huber
The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide p

Re: SPARC GCC Version

2014-12-04 Thread Daniel Hellstrom
Hello, We use the 4.9.2 + all the commits up to the commit of the below multilib patch. This, because it was the simplest approach. We might just as well add the two patches on top of 4.9.2. There are some information about this here (http://www.gaisler.com/anonftp/rcc/smp/nov2014/). What is