Re: Adding capture support to score

2014-07-10 Thread Chris Johns
On 10/07/2014 6:09 pm, Sebastian Huber wrote: Hello Jennifer, I am about to go on vacation so I can only give some short comments. Have fun. This patch looks a bit like approach of the Timeline Tool from Edisoft: http://lists.rtems.org/pipermail/users/2007-October/017112.html I am more

Re: [PATCH] Fix RTL archive file load

2014-07-15 Thread Chris Johns
On 14/07/2014 11:23 pm, Peng Fan wrote: When the first time executing such a command dlo libxx.ra:yy.rap or dlo libxx.a:yy.o, RTL complains no format loader found. when executing the command the second time, the archive files can be loaded correctly. It is because cache flush uses `file_size =

Re: nios2 build failure on RTEMS

2014-07-16 Thread Chris Johns
On 17/07/2014 6:25 am, Joel Sherrill wrote: Hi sys/cdefs.h in the nios2 tools is too old to build the current RTEMS. Newer versions provide __DEVOLATILE Support is in 4.9.x but it is lacking the RTEMS specifics to allow us to built it.

Re: Fwd: GCC 4.9.1 Released

2014-07-16 Thread Chris Johns
On 17/07/2014 12:46 am, Joel Sherrill wrote: Just passing along. Sebastian had two patches he wanted to see on the 4.9 branch and gcc head. Are there any others? What issues do we have moving to a 4.9.x release? I recall there being code generation issues but not the details. I think there

Re: nios2 build failure on RTEMS

2014-07-16 Thread Chris Johns
On 17/07/2014 8:47 am, Joel Sherrill wrote: On 7/16/2014 5:27 PM, Chris Johns wrote: On 17/07/2014 6:25 am, Joel Sherrill wrote: Hi sys/cdefs.h in the nios2 tools is too old to build the current RTEMS. Newer versions provide __DEVOLATILE Support is in 4.9.x but it is lacking the RTEMS

Re: capture engine use of workspace_allocate

2014-07-23 Thread Chris Johns
On 22/07/2014 1:47 am, Joel Sherrill wrote: On July 21, 2014 10:44:15 AM CDT, Gedare Bloom ged...@rtems.org wrote: Either account for it in workspace sizing or use malloc. On principle, I guess any dynamic allocated memory that isn't mandatory to get RTEMS to work should come from malloc.

Re: [PATCH] RTL: Remove duplicated objects before writing to rap file for rtl-host

2014-07-24 Thread Chris Johns
On 24/07/2014 5:04 pm, Peng Fan wrote: This patch fixes that before merging the objects to a rap file, first remove duplicated object files. When using STL unique, first should call STL sort method. Thanks and merged. Note, this fixes RAP format sizes as reported by a user with a LEON3 and

Re: Zynq BSP

2014-07-24 Thread Chris Johns
On 22/07/2014 1:00 am, emanuel stiebler wrote: On 2014-07-18 18:54, Chris Johns wrote: We still use the U-Boot to load it? I do not use uboot, rather we have a taken the Xilinx FSBL and reworked it. Could you at least share this part? And thanks for this already, I thought that I had to use

Re: [PATCH] capture: change to use malloc/vs/rtems_workspace_alloc.

2014-07-24 Thread Chris Johns
On 24/07/2014 11:54 pm, Jennifer Averett wrote: --- cpukit/libmisc/capture/capture.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/cpukit/libmisc/capture/capture.c b/cpukit/libmisc/capture/capture.c index 9ec07b8..1fac4a0 100644 ---

Re: [PATCH] RTEMS thread model configuration

2014-07-27 Thread Chris Johns
On 26/07/2014 9:01 pm, Sebastian Huber wrote: The command line to build a GCC for RTEMS contained virtually always a '--enable-threads'. This patch helps to avoid this extra configuration command line parameter and makes the GCC build a bit more user friendly for RTEMS. +1 This patch

Re: Pass multiple same options to rtems_linkflags

2014-07-27 Thread Chris Johns
. The examples-v2 repo does this now. Are you able to look into this for me ? 2014-07-27 22:00 GMT+08:00 Peng Fan van.free...@gmail.com mailto:van.free...@gmail.com: Hi, 2014-07-26 9:28 GMT+08:00 Chris Johns chr...@rtems.org mailto:chr...@rtems.org: On 26/07/2014 12:25 am

Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-28 Thread Chris Johns
On 28/07/2014 5:17 pm, Christian Mauderer wrote: just that there is no confusion about it: The second patch contains some large headers from the Altera hwlib. Therefore it is bigger than the maximum mail size for the list and has to be reviewed by a list administrator. Therefore it can need

Re: Pass multiple same options to rtems_linkflags

2014-07-28 Thread Chris Johns
On 28/07/2014 11:22 pm, Peng Fan wrote: Hi, 2014-07-28 9:13 GMT+08:00 Chris Johns chr...@rtems.org mailto:chr...@rtems.org: On 28/07/2014 12:01 am, Peng Fan wrote: Sorry. The patch is in the attachment. Missed it just now. The patch looks fine and it is nice solution. Maybe

Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-28 Thread Chris Johns
On 28/07/2014 6:43 pm, Christian Mauderer wrote: Am 28.07.2014 10:17, schrieb Chris Johns: On 28/07/2014 5:17 pm, Christian Mauderer wrote: just that there is no confusion about it: The second patch contains some large headers from the Altera hwlib. Therefore it is bigger than the maximum

Re: Pass multiple same options to rtems_linkflags

2014-07-28 Thread Chris Johns
On 29/07/2014 12:15 am, Peng Fan wrote: We are in need of user documentation for the RTL code. Hah! what kind of doc do you prefer? doxgen doc in patch format or just wiki? And the documentation is about how to let user can easily integrate RTL

Re: [PATCH 1/3] rbtree: Format

2014-07-29 Thread Chris Johns
On 22/07/2014 11:38 pm, Gedare Bloom wrote: Thanks, I have added a section at http://www.rtems.org/wiki/index.php/Coding_Conventions#Tools and uploaded/linked to your configuration. Why not add to the source tree with a note ? Wiki pages are great if you know they exist !! Chris

RSB 0.4.0

2014-07-29 Thread Chris Johns
Hi, I have pushed RSB 0.4.0. It contains the following: - GCC 4.8.3 targets are arm, avr, bfin, h8300, i386, m32c, m32r, m68k, microblaze, mips, moxie, powerpc, sh, sparc, sparc64. Newlib is CVS 26-Jul-2014. - GCC 4.9.1 targets are lm32, nios2. Newlib is CVS 26-Jul-201.4 - Show

Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-29 Thread Chris Johns
On 29/07/2014 5:37 pm, Christian Mauderer wrote: After that problem is resolved, you can find the resubmission of the second patch as an answer to this mail. The original message has been approved. Chris ___ devel mailing list devel@rtems.org

Re: Python RAP and Reloc related for RTL

2014-08-04 Thread Chris Johns
On 4/08/2014 12:18 am, Peng Fan wrote: Hi, Create this new thread to talk about this topic and the reloc related. 1. As you suggested, I have compiled toolchain for arm using option `-mlong-calls` on arm realview qemu platform, and now the python.rap file can be correctly loaded and python

RSB rtems-4.11 Tools for Windows.

2014-08-07 Thread Chris Johns
Hi, The latest build of tools for Windows can be found here: http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/4.11/mingw32/latest/ All architectures are supported. On some architecture's gdb does not support the simulator option because of errors when building for Windows.

Re: Using rtl-host in covor - some questions

2014-08-13 Thread Chris Johns
Hi, Sorry about not responding before now. It had dropped of my list and I had forgotten about it. On 12/08/2014 9:58 pm, Krzysztof Mięsowicz wrote: Hi, I'm currently working on adding symbol generation to covoar. I'm going to use rtl::process::execute function to run nm from covoar (as

Re: Using rtl-host in covor - some questions

2014-08-13 Thread Chris Johns
On 14/08/2014 7:34 am, Joel Sherrill wrote: On 8/13/2014 3:49 PM, Krzysztof Mięsowicz wrote: Hi, Thanks for your replies :-) I didn't see librld.a because I had old version of repo and after updating it appears :-) I think for now it would be better to get everything integrated with old

Re: [PATCH] RTL: Fix options handle and add a new option to rtems-ld

2014-08-15 Thread Chris Johns
On 15/08/2014 7:37 pm, Peng Fan wrote: On 08/15/2014 04:15 PM, Chris Johns wrote: On 14/08/2014 11:21 am, Peng Fan wrote: Hi, I have a two days travel, so this reply is late. 2014-08-12 10:56 GMT+08:00 Chris Johns chr...@rtems.org mailto:chr...@rtems.org: On 11/08/2014 12:24 am, Peng

Re: [PATCH 2/2] rtems: Add more clock tick functions

2014-08-24 Thread Chris Johns
On 24/08/2014 6:57 pm, Sebastian Huber wrote: On 08/24/2014 05:02 AM, Chris Johns wrote: The calls names make sense from a programming point of view but from a user point of view they are sort of forwards and backwards. For example rtems_clock_ticks_later_us is the the clock tick so many micro

rtems-tools and rtems-source-builder commit emails.

2014-08-24 Thread Chris Johns
Hi, I have configured the rtems-tools and rtems-source-builder repos to send commit messages to the v...@rtems.org mailing list. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: BSP Build Failures Appeal

2014-08-24 Thread Chris Johns
On 24/08/2014 7:59 pm, Pavel Pisa wrote: Hello Chris, On Sunday 24 of August 2014 05:33:45 Chris Johns wrote: On 23/08/2014 1:57 am, Joel Sherrill wrote: The build failures I reported were with the latest RSB tools Please pitch in and let's resolve them. I have a regression build

Re: [PATCH] Adding eth linker script section for arm bsp.

2014-08-27 Thread Chris Johns
On 27/08/2014 11:29 pm, Sebastian Huber wrote: On 27/08/14 15:18, Federico Casares wrote: diff --git a/c/src/lib/libbsp/arm/lpc176x/Makefile.am b/c/src/lib/libbsp/arm/lpc176x/Makefile.am index 3a1d4b2..36711a6 100644 --- a/c/src/lib/libbsp/arm/lpc176x/Makefile.am +++

Re: [rtems commit] preinstall: Regenerated files differ from the repo.

2014-08-28 Thread Chris Johns
the problem ? For me this patch gives the same output before Joel's patch (which may need to be reverted). Chris From 93d0ddd41b6eec7e250eaad1f799cab6cdfb27f8 Mon Sep 17 00:00:00 2001 From: Chris Johns chr...@rtems.org Date: Fri, 29 Aug 2014 11:39:29 +1000 Subject: [PATCH] bootstrap: Sort the various

Re: [RSB] [PATCH 1/2] Fix bug of uncompressing zip files.

2014-08-28 Thread Chris Johns
On 29/08/2014 3:14 am, Hesham ALMatary wrote: This patch uses __unzip macro for uncompressing zip files instead of the wrong __zip macro which is not defined in defaults.mc file. Merged. Thank you. Chris --- source-builder/sb/download.py | 2 +- 1 file changed, 1 insertion(+), 1

Re: [RSB] [PATCH 2/2] Add support for building bare-metal or1ksim.

2014-08-28 Thread Chris Johns
On 29/08/2014 3:14 am, Hesham ALMatary wrote: This patch adds support to enable RSB to build or1ksim emulator (the main OpenRISC 1000 simulator) from latest or1ksim github repo. Merged. Thanks. This is really great work. Chris ___ devel mailing

Re: [PATCH] RTL: Fixed comparison of ELF object names

2014-08-31 Thread Chris Johns
On 4/11/2013 1:01 pm, Mohammed Khoory wrote: Hi, While using RTL with ELF files, I noticed that if I load 2 ELF files via dlopen(), the first one loads correctly, but the second load call returns the same pointer to the first ELF handle. After looking a bit further I noticed that the ELF names

Re: compile rtems source code error

2014-09-02 Thread Chris Johns
On 3/09/2014 12:05 pm, 贾超 wrote: tools: sparc-rtems4.11. host: x86_64ubuntu. When I compile the source code in the sparc-rtems4.11 target, always appear the following error. ../../../sis/lib/include/rtems/rtems_bsdnet_internal.h:54:7: note: expected 'void *' but argument is of type 'volatile

Re: [rtems commit] or1k: Implement context validate and context volatile clobber functions.

2014-09-02 Thread Chris Johns
On 3/09/2014 12:21 am, Joel Sherrill wrote: cpukit/score/cpu/or1k/preinstall.am|6 +- Did this patch happen before my fix to the preinstall went in ? I am seeing an issue with this one. Chris ___ devel mailing list

Re: [PATCH 1/2] capture: Split user extension methods out.

2014-09-03 Thread Chris Johns
--- /dev/null +++ b/cpukit/libmisc/capture/capture_user_extension.c @@ -0,0 +1,435 @@ +/* + + + Copyright Objective Design Systems Pty Ltd, 2002 + All rights reserved Objective Design Systems Pty Ltd, 2002 + Chris Johns (c

Re: OpenRISC/or1ksim RTEMS Tester results

2014-09-06 Thread Chris Johns
On 7/09/2014 9:30 am, Joel Sherrill wrote: Not bad for a first run. :) Yeah nice work. I would love to commit a patch for this. Now look at timeouts and see if they can be addressed easily. May just need more run time. Or the failures? Timeouts can be tricky with different host and

Re: [PATCH] [RTEMS TESTER] Add new OpenRISC/or1ksim BSP script using qemu

2014-09-07 Thread Chris Johns
On 7/09/2014 4:25 pm, Hesham Moustafa wrote: The test results improved a little bit from yesterday. Here are the results: Passed: 365 Failed: 6 Timeouts: 130 Invalid:2 Total:503 Average test time: 0:00:22.877361 Testing time : 3:11:47.312905 The full log file is attached.

Re: [PATCH] RTL: Fix options handle and add a new option to rtems-ld

2014-09-08 Thread Chris Johns
On 18/08/2014 12:17 am, Peng Fan wrote: 2014-08-16 10:51 GMT+08:00 Chris Johns chr...@rtems.org mailto:chr...@rtems.org: On 15/08/2014 7:37 pm, Peng Fan wrote: On 08/15/2014 04:15 PM, Chris Johns wrote: I think the user should manage this in their build

Re: [PATCH] RTL: Fix options handle and add a new option to rtems-ld

2014-09-08 Thread Chris Johns
On 9/09/2014 12:32 am, Peng Fan wrote: 2014-09-08 14:16 GMT+08:00 Chris Johns chr...@rtems.org mailto:chr...@rtems.org: The rtems-tld currently has a little bit more code to set the compiler and linker. This is useful if you want to use absolute paths to the compiler and linker

rtems-tld tracing with printk

2014-09-09 Thread Chris Johns
Chris Johns (chr...@rtems.org) # # This file's license is 2-clause BSD as in this distribution's LICENSE.2 file. # # Waf build script for an RTEMS Hello import rtems_waf.rtems as rtems def build(bld): rtems.build(bld) if rtems.check_env(bld, 'RTEMS_TLD'): bld(features = 'c rtrace

RTEMS Linkers merged into The RTEMS Tools Project

2014-09-12 Thread Chris Johns
Hello, I have merged the chrisj/rtl-host.git repo into The RTEMS Tools repo (rtems-tools.git) under the 'linkers' directory. Many thanks to all the people especially the GSoC students over the past few years who have contributed to this code base. Your efforts have been fantastic. The RTEMS

[PATCH] shell: Add a ping command.

2014-09-14 Thread Chris Johns
This patch adds a ping command to the RTEMS shell. It pings for a count of 5 or so and then stops because there is not ^C in the RTEMS shell. A flood ping also works with the -c option. As stated in the commit message some options work and some do not and I suspect the age of our TCP/IP stack is

[PATCH] shell: Add a ping command.

2014-09-14 Thread Chris Johns
The ping code is taken from a recent FreeBSD release. Some options have been tested, other not tested or do not work. This could be due to the age of our TCP/IP stack. This version of ping will not work if more than 64 file descriptors are open at once because the select FD size is 64 as set in

[PATCH] libmisc: Add a stdio redirector helper.

2014-09-14 Thread Chris Johns
@@ -0,0 +1,333 @@ +/* + * Copyright (C) 2014 Chris Johns (chr...@rtems.org) + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution. + * + * This software with is provided ``as is'' and with NO WARRANTY. + */ + +/* + * RTEMS std redirector

[PATCH] shell: Add an md5 hash command for files.

2014-09-14 Thread Chris Johns
This command lets you get an MD5 hash for a file in an RTEMS file system. --- cpukit/libmisc/Makefile.am | 6 +- cpukit/libmisc/shell/main_md5.c| 110 cpukit/libmisc/shell/shellconfig.h | 6 ++ doc/shell/file.t | 206

ls broken in shell.

2014-09-14 Thread Chris Johns
Hello, It looks like 'ls' is broken in the shell. On sparc/sis running fileio, selecting 's' for shell, logging in and then 'ls' exits the simulator. I saw this with mksh and assumed something was not working with mksh however this now looks like something in 'ls'. With mksh I traced the

[PATCH] doc: Sort the shell file commands into alphabetical order.

2014-09-14 Thread Chris Johns
--- doc/shell/file.t | 3039 -- 1 file changed, 1559 insertions(+), 1480 deletions(-) diff --git a/doc/shell/file.t b/doc/shell/file.t index 2db057d..bda3d3d 100644 --- a/doc/shell/file.t +++ b/doc/shell/file.t @@ -11,32 +11,33 @@ The RTEMS

Re: capture engine _States_Is_dormant check

2014-09-16 Thread Chris Johns
On 17/09/2014 3:22 am, Jennifer Averett wrote: I am converting the capture engine to remove capture tasks and use a combination of a special capture record and data moved to the tcb to replace it. I have a question on the rtems_capture_switch_task method where it is using a check for dormant

[PATCH] cpukit: Move zlib into librtemcpu.a and do not install libz.a.

2014-09-16 Thread Chris Johns
The JFFS2 file system can optionally use zlib as a compressor and if this is the only reference to zlib the application will not link. Adding -lz does not work because librtemscpu.a is added to the end of ld's command line via the bsp_specs hack and user added libraries appear before this. ---

Re: [PATCH] redirector: Rename rtems_stdio_redirect_t

2014-09-16 Thread Chris Johns
On 17/09/2014 3:24 pm, Sebastian Huber wrote: Rename rtems_stdio_redirect_t to rtems_stdio_redirect since the namespace *_t is reserved by POSIX, see also The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition, 2.2.2 The Name Space. Thanks. Please commit. Chris

Re: rtems capture: ctload and stack usage functionality

2014-09-17 Thread Chris Johns
On 18/09/2014 3:30 am, Jennifer Averett wrote: Are there any objections to getting rid of the cpu usage and the stack checking capability in the capture engine. I think rtems cpu usage and rtems stack checker should be used instead. Keeping this information in the capture engine seems

Re: dynamic checking tools

2014-09-17 Thread Chris Johns
On 18/09/2014 4:01 am, Daniel Gutson wrote: are there any dynamic checking tools (a la valgrind/helgrind/memcheck/drd and *sanitizer) for RTEMS? More specifically, I'm interested in memory and concurrency checking, more specifically for ARM. None that I know of. My limited understanding

Re: [PATCH] cpukit: Move zlib into librtemcpu.a and do not install libz.a.

2014-09-18 Thread Chris Johns
On 18/09/2014 11:05 pm, Ralf Corsepius wrote: On 09/17/2014 02:26 AM, Chris Johns wrote: The JFFS2 file system can optionally use zlib as a compressor and if this is the only reference to zlib the application will not link. Moving libz.a into librtemscpu.a is not a wise idea. Why ? RTEMS

Re: bsp/tms570: actual state

2014-09-18 Thread Chris Johns
On 19/09/2014 6:55 am, Pavel Pisa wrote: We need proper automated test suite setup - probably in Python and for sure with OpenOCD. Like this: http://www.rtems.org/ftp/pub/rtems/people/chrisj/rtems-tester/rtems-tester.html ? Anyway, for real grade target project, they (in house), you, OAR,

Re: Moving to GCC 4.9

2014-09-19 Thread Chris Johns
On 19/09/2014 9:17 pm, Joel Sherrill wrote: On September 19, 2014 12:00:26 AM CDT, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: On 18/09/14 23:47, Joel Sherrill wrote: Hi Is it possible to move all platforms to GCC 4.9.x? If not, which ones have issues and do these issues

Re: or1ksim: Updated results from RTEMS Tester

2014-09-19 Thread Chris Johns
On 20/09/2014 12:56 am, Hesham Moustafa wrote: However, when I tested failures and timeouts separately, most of them work on QEMU, the others miss the trailing end-of-test line, which exists when I run them on or1ksim simulator. How many cores do you have and what host OS ? I assume this is

Re: or1ksim: Updated results from RTEMS Tester

2014-09-19 Thread Chris Johns
On 20/09/2014 3:13 pm, Hesham Moustafa wrote: I have 4 physical cores, and I usually run make with J8. My host OS is fedora 20. Try with --jobs=4 and see if you get any time outs. Anything else running at the same time may effect the result. Chris

Re: or1ksim: Updated results from RTEMS Tester

2014-09-20 Thread Chris Johns
On 21/09/2014 8:57 am, Hesham Moustafa wrote: On Sat, Sep 20, 2014 at 7:53 AM, Chris Johns chr...@rtems.org mailto:chr...@rtems.org wrote: On 20/09/2014 3:13 pm, Hesham Moustafa wrote: I have 4 physical cores, and I usually run make with J8. My host OS is fedora

rtems-tld update.

2014-09-20 Thread Chris Johns
Hello, I have pushed updates to rtems-tld to rtems-tools.git plus changes to examples-v2 to trace into RTEMS. The trace for sparc/sis is attached. To run build and install the rtems-tools and install to the same location as my tools using the same prefix: $ git clone

Re: Moving to GCC 4.9

2014-09-21 Thread Chris Johns
On 19/09/2014 9:17 pm, Joel Sherrill wrote: On September 19, 2014 12:00:26 AM CDT, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: On 18/09/14 23:47, Joel Sherrill wrote: Hi Is it possible to move all platforms to GCC 4.9.x? If not, which ones have issues and do these issues

Re: rtems-tld update.

2014-09-21 Thread Chris Johns
On 21/09/2014 10:56 pm, Gedare Bloom wrote: Thanks Chris. If you have any ideas on useful ways to visualize these traces, I think it could make a good open project for a student. There are few possible solutions and I have not really looked at any of them. I see the user interface as part 4

Re: [PATCH 1/5] capture: Removal of capture task tracking.

2014-09-22 Thread Chris Johns
On 23/09/2014 12:00 am, Jennifer Averett wrote: This patch removes functionality for stack checking from the capture engine and requiresi the use of existing rtems functions for this information. It modifies ctload to use functionality similar to rtems cpuusage. It removes the capture task and

Re: [PATCH 1/5] capture: Removal of capture task tracking.

2014-09-23 Thread Chris Johns
On 23/09/2014 10:29 pm, Jennifer Averett wrote: I tried to limit how much functionality I removed from the capture engine with this set of patches and limit it to what had to be removed in order to support removal of capture tasks. I have no problem with it moving to cpuuse, but I think it

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Chris Johns
On 24/09/2014 3:27 pm, Sebastian Huber wrote: On 23/09/14 18:27, Gedare Bloom wrote: On Tue, Sep 23, 2014 at 11:38 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: The code is m68k and the comment is PowerPC. Sorry, a copy and paste error. I did performance tests on both platforms with

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Chris Johns
On 24/09/2014 3:42 pm, Sebastian Huber wrote: On 24/09/14 07:34, Chris Johns wrote: On 24/09/2014 3:27 pm, Sebastian Huber wrote: Yes, we should move to 64-bit time_t after the next release or even now. What is involved ? Something like this: diff --git a/newlib/libc/include/machine

Re: Separation of RTEMS sources and tool chain patches

2014-09-29 Thread Chris Johns
On 30/09/2014 3:26 am, Peter Dufault wrote: On Sep 29, 2014, at 02:15 , Chris Johns chr...@rtems.org wrote: I can add the scripts to INI file format. I feel XML is too heavy a requirement for parsing. There is a single C++ file that does it and Python handles the format easily. I also think

Re: Separation of RTEMS sources and tool chain patches

2014-09-30 Thread Chris Johns
On 30/09/2014 6:28 pm, Sebastian Huber wrote: On 30/09/14 00:48, Chris Johns wrote: On 30/09/2014 3:26 am, Peter Dufault wrote: On Sep 29, 2014, at 02:15 , Chris Johns chr...@rtems.org wrote: I can add the scripts to INI file format. I feel XML is too heavy a requirement for parsing

Re: Separation of RTEMS sources and tool chain patches

2014-09-30 Thread Chris Johns
On 30/09/2014 6:40 pm, Sebastian Huber wrote: On 29/09/14 08:15, Chris Johns wrote: Why do we not move the tool chain patches back to the RTEMS sources? I think it would be nice if you can check out a particular RTEMS version and then use the RSB and say: build me the tool chain

Re: rtems-tester coverage patches break or1k/sis runs

2014-10-01 Thread Chris Johns
On 2/10/2014 3:44 am, Joel Sherrill wrote: Krzysztof/Hesham, And devel@ since this needs to be public now. I am trying to test or1ksim and sis using rtems-tester. We need to get Krzysztof's patches merged and I am just trying to run down all the issues I can. You both have made some changes

Re: Problem to resolve sqrt symbol from shell/main_ping.c for lpc17xx_ea_ram BSP

2014-10-01 Thread Chris Johns
On 2/10/2014 11:57 am, Pavel Pisa wrote: Hello all, when have tested recent master branch (fbe59f7c6756edc2952b13167893b85fe6e7aecb) build configured for lpc17xx_ea_ram BSP, I am experiencing next error for my code with networking enabled. It seems to be related to add of ping command. Even

Re: [rtems commit] libmisc/shell: Remove the need for -lm when linking from the ping command.

2014-10-03 Thread Chris Johns
On 4/10/2014 10:05 am, Gedare Bloom wrote: On Fri, Oct 3, 2014 at 8:04 PM, Gedare Bloom ged...@rtems.org wrote: On Fri, Oct 3, 2014 at 6:48 PM, Chris Johns chr...@rtems.org wrote: Module:rtems Branch:master Commit:56ed56a641b69be42f5a38046307b33096014c84 Changeset: http

[PATCH 1/2] libcsupport: Add realpath.

2014-10-03 Thread Chris Johns
--- cpukit/libcsupport/Makefile.am| 2 +- cpukit/libcsupport/src/realpath.c | 253 ++ 2 files changed, 254 insertions(+), 1 deletion(-) create mode 100644 cpukit/libcsupport/src/realpath.c diff --git a/cpukit/libcsupport/Makefile.am

[PATCH 2/2] shell: Add an editor to the shell.

2014-10-03 Thread Chris Johns
This is a small (21K on sparc) editor that provides some powerful features useful when a file needs editing on an embedded board. No need for copy off, edit, copy back --- cpukit/libmisc/Makefile.am |2 +- cpukit/libmisc/shell/main_edit.c | 2255

GCC 4.9.1 changes.

2014-10-05 Thread Chris Johns
Hi, There are a few issues with 4.9.1 which need to be looked at. I have not attempted a Windows build yet. My question is: Do we move the architectures that *do* build to 4.9.1 ? If there are patches or known option required to build the failing architectures please let me know. Is

Re: RSB on Solaris 11.

2014-10-05 Thread Chris Johns
On 6/10/2014 7:24 am, Karel Gardas wrote: Hello, I've been tempted to build latest/greatest RTEMS tool-chain on Solaris 11/i386 using RSB. The problem is that even sb-check fails in a way I'm not sure what to install or what's missing or in general wrong with the platform: $

Re: GCC 4.9.1 changes.

2014-10-08 Thread Chris Johns
[ Add AG for the moxie issue ] On 9/10/2014 8:31 am, Joel Sherrill wrote: On 10/5/2014 1:23 AM, Chris Johns wrote: Hi, There are a few issues with 4.9.1 which need to be looked at. I have not attempted a Windows build yet. My question is: Do we move the architectures that *do* build

Re: Prototype for Init in confdefs.h

2014-10-10 Thread Chris Johns
On 10/10/2014 9:17 pm, Sebastian Huber wrote: Hello, what was the reason for this change? Maybe commit 2549b4d9a83d310e32329255a5a02604eb9e028b ? commit d8b74dbebd341073f0c5b03e589d3fcd349745d1 Author: Chris Johns chr...@rtems.org Date: Tue Apr 28 06:39:24 2009 + 2009-04-28

Re: warning in main_cp.c

2014-10-12 Thread Chris Johns
On 13/10/2014 7:07 am, Joel Sherrill wrote: Hi I assume Chris knows the root cause of this. :) arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../altcycv_devkit/lib/include -I../../../../../../rtems/c/src/../../cpukit/libmisc/shell -march=armv7-a -mthumb -mfpu=neon

Re: Outstanding Qemu Patches

2014-10-28 Thread Chris Johns
On 29/10/2014 9:31 am, Joel Sherrill wrote: I am back from the GSoC mentor summit and Chris will be home soon I guess. I tracked down the qemu project person who was there. Once again, he wasn't THE right person to address the patches we care about not getting in but he gave some hints. First

Re: Redundant Logging on User Extensions

2014-10-29 Thread Chris Johns
On 30/10/2014 8:06 am, Joel Sherrill wrote: On 10/29/2014 4:01 PM, Gedare Bloom wrote: On Wed, Oct 29, 2014 at 2:42 PM, Joel Sherrill joel.sherr...@oarcorp.com wrote: Hi As Jennifer has reviewed the output from an SMP capture test, it is clear that something which was no big deal in the old

Re: 4.11 Branching To Do

2014-10-30 Thread Chris Johns
On 30/10/2014 10:49 am, Joel Sherrill wrote: + Run-Time Loader merged and tested A patch has been posted but it needs at least a v2 before being merged. I need to add tests and this needs a tool to generate a suitable kernel symbol table. I am working on adding this to the rtems-syms tool

libdl: rtems.git dependence on rtems-tools.git

2014-10-30 Thread Chris Johns
Hi, Libdl tests in the testsuite depend on tools in rtems-tools.git/linkers. Should I raise a configure error if the tools are not found or not build the tests ? Raising an error is my preferred option because libdl for the supported archs is tested however it creates a dependency between

Re: libdl: rtems.git dependence on rtems-tools.git

2014-10-30 Thread Chris Johns
On 31/10/2014 6:42 am, Gedare Bloom wrote: On Thu, Oct 30, 2014 at 3:40 PM, Gedare Bloom ged...@rtems.org wrote: On Thu, Oct 30, 2014 at 3:32 PM, Chris Johns chr...@rtems.org wrote: Hi, Libdl tests in the testsuite depend on tools in rtems-tools.git/linkers. Should I raise a configure error

Re: Sb-check and libz

2014-11-01 Thread Chris Johns
On 2/11/2014 9:11 am, Joel Sherrill wrote: I know we have discussed this before but even if GCC were fixed to detect the missing library, you still get a long way into the build before it dies. I checked the source and didn't see any examples of checking for libraries. What can or should we

Re: RTL arm load failed

2014-11-02 Thread Chris Johns
On 2/11/2014 8:28 pm, Peng Fan wrote: qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 -m 256M -kernel `find . -name dl01.exe` -s -S *** BEGIN OF TEST libdl (RTL) Loader 1 *** load: /dl-o1.o rtl: unsupported section: 15: type=1879048195 flags=00 handle: 0x212b10 has

Re: m32c libdl build error

2014-11-03 Thread Chris Johns
On 4/11/2014 8:26 am, Joel Sherrill wrote: Hi Looks like a Makefile/configure issue. Seems so. There is no relocation code for m32c. There is for m32r. Chris gmake[6]: Entering directory

Re: m32c libdl build error

2014-11-03 Thread Chris Johns
On 4/11/2014 8:30 am, Joel Sherrill wrote: On 11/3/2014 3:29 PM, Chris Johns wrote: On 4/11/2014 8:26 am, Joel Sherrill wrote: Hi Looks like a Makefile/configure issue. Seems so. There is no relocation code for m32c. There is for m32r. Got a quick fix? This looks like the easiest

Re: lm32 rtl-error.c causes gcc ICE

2014-11-03 Thread Chris Johns
On 4/11/2014 8:25 am, Joel Sherrill wrote: Hi I suppose this needs to be narrowed down and fed into gcc's bugzilla. But I wanted to here from Chris first. lm32-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../lm32_evr/lib/include -DRTEMS_RTL_RAP_LOADER=1

Re: RTL arm load failed

2014-11-03 Thread Chris Johns
On 2/11/2014 8:28 pm, Peng Fan wrote: Hi, qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 -m 256M -kernel `find . -name dl01.exe` -s -S *** BEGIN OF TEST libdl (RTL) Loader 1 *** load: /dl-o1.o rtl: unsupported section: 15: type=1879048195 flags=00 handle: 0x212b10 has

Re: [PATCH 1/7] libdl/Makefile.am: Need preinstall on all targets

2014-11-04 Thread Chris Johns
Hi Joel, These look fine. Chris On 5/11/2014 8:25 am, Joel Sherrill wrote: --- cpukit/libdl/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libdl/Makefile.am b/cpukit/libdl/Makefile.am index 11f1478..5c3cd15 100644 --- a/cpukit/libdl/Makefile.am

Re: Test failures on arm/realview_pbx_a9_qemu

2014-11-05 Thread Chris Johns
On 5/11/2014 6:14 pm, Sebastian Huber wrote: on the latest Git master the following new tests fail on arm/realview_pbx_a9_qemu due to a timeout after 180 seconds: top, dl01.pre and dl02.pre. The dl01.pre and dl02.pre are not to be run. They are the first link of two to get a suitable set of

Re: [rtems-tools commit] linkers: Disable .type statements in symbol code.

2014-11-05 Thread Chris Johns
On 6/11/2014 12:15 pm, Joel Sherrill wrote: Which targets do you think this fixes? The i386 now builds. See my other email. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Is there plan for stable 4.10.3 release branching?

2014-11-06 Thread Chris Johns
On 7/11/2014 4:05 am, Joel Sherrill wrote: Also Chris has RSB support for 4.10 tools so he should also comment to make sure he thinks it is ready. The 4.10 released binaries still exist and I have fixed all reported 4.10 issues. This will also be a good exercise for the new hosting.

Re: rtems-tools: Fix libpath failed for rtems-ld

2014-11-07 Thread Chris Johns
On 8/11/2014 1:39 pm, Peng Fan wrote: we should not clear input parameter 'se' in rld::split, otherwise paths passed using '--lib-path' to rtems-ld will be cleared if standlibs are used. Thanks for this. I also have a patch for this in my repo. I will push it once git has been relocated

Re: where to set newlib hash to bump git version

2014-11-10 Thread Chris Johns
On 11/11/2014 3:59 am, Joel Sherrill wrote: Hi I would like to bump newlib to include my latest patches. The git tag is: commit ef252a3b72dffda2cc358a921c9c3487246852cc Where should this get changed in the RSB?

Re: gdb patches to RBS

2014-11-14 Thread Chris Johns
On 15/11/2014 10:30 am, Jiri Gaisler wrote: On 11/14/2014 02:34 AM, Chris Johns wrote: On 14/11/2014 9:12 am, Jiri Gaisler wrote: What is the procedure to add gdb patches to RBS? Patches are first accepted by the RTEMS Project as the definition of the tools belongs to the project

Re: RTEMS Rehosting Update

2014-11-19 Thread Chris Johns
On 20/11/2014 4:41 am, Hesham Moustafa wrote: + www.rtems.org http://www.rtems.org is alive there. (accept the certificate) + mailing lists never went down. They had been relocated months ago. This one is still down for me even after I accept the certificate. Make sure

Re: [PATCH 4/4] libtests/malloctest/init.c: Fix warning

2014-11-19 Thread Chris Johns
On 20/11/2014 6:59 am, Joel Sherrill wrote: + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored -Wnonnull Do we allow the use of #pragma in RTEMS ? Chris ___ devel mailing list devel@rtems.org

Re: Coverity Issue with bdbuf.c

2014-11-19 Thread Chris Johns
On 20/11/2014 2:10 pm, Joel Sherrill wrote: On November 19, 2014 8:37:47 PM CST, Gedare Bloom ged...@rtems.org wrote: I'm more concerned with the hard-coded cache alignment value, than I am with the dead code. The code is likely not doing what the surge intended but Chris needs to comment

Re: upcoming set of capture engine patches

2014-11-20 Thread Chris Johns
On 21/11/2014 8:04 am, Jennifer Averett wrote: The upcoming set of capture engine patches were submitted previously, requested changes made, and I tried to split the largest patch into 3 as suggested. They look fine to me. Love the trace at the end of the patch. Great work. Chris

Re: [PATCH] Update newlib to 20 Nov 2014 and hash de616601501c4f82968683e80c112604a2d40222

2014-11-20 Thread Chris Johns
On 21/11/2014 9:03 am, Joel Sherrill wrote: This picks up at least these RTEMS Project patches: + Joel Sherrill to ensure the PRIxxPTR defines are correct on all targets. + Sebastian Huber NGROUPS adjusted to have even value. This is ok to push. Chris ---

  1   2   3   4   5   6   7   8   9   10   >