Re: Advice Needed on Where to Put Some Items in Documentation

2018-11-20 Thread Sebastian Huber
Hello Joel, I think we need an FAQ in the user manual. The select() vs. CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS is also a candidate for this. -- 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-0

Re: [PATCH] score: Remove support for RTEMS_USE_16_BIT_OBJECT

2018-11-20 Thread Chris Johns
> On 21 Nov 2018, at 5:50 pm, Sebastian Huber > wrote: > >> On 17/11/2018 02:02, Chris Johns wrote: >>> On 16/11/18 5:08 pm, Sebastian Huber wrote: >>> The RTEMS_USE_16_BIT_OBJECT define is not set by an RTEMS port. Remove >>> support for 16-bit object identifiers. If someone really wants to

Re: [PATCH] score: Remove support for RTEMS_USE_16_BIT_OBJECT

2018-11-20 Thread Sebastian Huber
On 17/11/2018 02:02, Chris Johns wrote: On 16/11/18 5:08 pm, Sebastian Huber wrote: The RTEMS_USE_16_BIT_OBJECT define is not set by an RTEMS port. Remove support for 16-bit object identifiers. If someone really wants to use RTEMS on a 16-bit target, then it is better to use self-contained obj

[PATCH 3/3] libdl: Add object file dependencies to track references

2018-11-20 Thread chrisj
From: Chris Johns Tracking references lets us manage when an object file can be unloaded. If an object file has references to it, it cannot be unloaded. Modules that depend on each other cannot be unloaded. Updates #3605 --- cpukit/include/rtems/rtl/rtl-obj-fwd.h | 6 + cpukit/include/rtems/

[PATCH 2/3] ilibdl: Reindex unresolved names after removing used records.

2018-11-20 Thread chrisj
From: Chris Johns Updates #3194 --- cpukit/include/rtems/rtl/rtl-unresolved.h | 7 +- cpukit/libdl/rtl-unresolved.c | 140 +- 2 files changed, 126 insertions(+), 21 deletions(-) diff --git a/cpukit/include/rtems/rtl/rtl-unresolved.h b/cpukit/include/rt

[PATCH] RTL Fixes

2018-11-20 Thread chrisj
Hi, These 3 patches fix 3 issues in libdl. 1. The first patch adds support for common variables. I suspect this started to happen when we switch to separate text and data sections for functions. Libdl now allocates the address of uninitialised variables when loading. 2. A bug in the po

[PATCH 1/3] libdl: Manage the allocation of common uninitialised variables.

2018-11-20 Thread chrisj
From: Chris Johns The use of separate text and data results in uninitialised variables being placed in the common section. There is no section in ELF for the common variables so the loader needs to create the section and allocate the variables in that section. This patch does that. The patch add

Re: qemu command line for arm zynq

2018-11-20 Thread Chris Johns
On 21/11/2018 13:24, Joel Sherrill wrote: > On Tue, Nov 20, 2018, 8:10 PM Chris Johns wrote: > > Hi, > > I have tracked down the issue I am having with an RSB qemu on FreeBSD > with the > xilinx_zynq_a9_qemu BSP. It is ... > > https://git.rtems.org/rte

Re: qemu command line for arm zynq

2018-11-20 Thread Joel Sherrill
On Tue, Nov 20, 2018, 8:10 PM Chris Johns Hi, > > I have tracked down the issue I am having with an RSB qemu on FreeBSD with > the > xilinx_zynq_a9_qemu BSP. It is ... > > https://git.rtems.org/rtems-tools/tree/tester/rtems/testing/qemu.cfg#n51 > > FreeBSD needs the commented line and I assume Lin

qemu command line for arm zynq

2018-11-20 Thread Chris Johns
Hi, I have tracked down the issue I am having with an RSB qemu on FreeBSD with the xilinx_zynq_a9_qemu BSP. It is ... https://git.rtems.org/rtems-tools/tree/tester/rtems/testing/qemu.cfg#n51 FreeBSD needs the commented line and I assume Linux works with the uncommented line. Could someone on L

Re: [PATCH 1/3] bsps/arm: Simplify start.S

2018-11-20 Thread Chris Johns
Thank you for the patches and the quick response. I have built my RTL changes with these patches without error. +1 from me to push. Now I need to figure out why xilinx_zynq_a9_qemu does not output anything in an RSB built qemu. Chris On 20/11/2018 23:10, Sebastian Huber wrote: > The boot_card()

Re: Advice Needed on Where to Put Some Items in Documentation

2018-11-20 Thread Chris Johns
On 21/11/2018 01:50, Joel Sherrill wrote: > Hi > > I have been reviewing the wiki > page https://devel.rtems.org/wiki/TBR/Review/Debugging/Start > and removed most of the content as horribly out of date or covered elsewhere > better. But the content either needs a second opinion on its value or wh

Re: Spike Fails to Build on CentOS 7 (Possible RSB Issue)

2018-11-20 Thread Chris Johns
On 21/11/2018 03:43, Joel Sherrill wrote: > > > On Fri, Nov 16, 2018 at 6:57 PM Chris Johns > wrote: > > On 17/11/18 1:45 am, Joel Sherrill wrote: > > Hi > > > > Hesham was nice enough to bump the Spike version in the RSB so others > have a > > ch

Re: Spike Fails to Build on CentOS 7 (Possible RSB Issue)

2018-11-20 Thread Joel Sherrill
On Fri, Nov 16, 2018 at 6:57 PM Chris Johns wrote: > On 17/11/18 1:45 am, Joel Sherrill wrote: > > Hi > > > > Hesham was nice enough to bump the Spike version in the RSB so others > have a > > chance of using it to test RISC-V executables. Unfortunately, it now > doesn't > > build for me. I am no

Advice Needed on Where to Put Some Items in Documentation

2018-11-20 Thread Joel Sherrill
Hi I have been reviewing the wiki page https://devel.rtems.org/wiki/TBR/Review/Debugging/Start and removed most of the content as horribly out of date or covered elsewhere better. But the content either needs a second opinion on its value or where it place it in the documentation. (1) First secti

[PATCH 1/3] bsps/arm: Simplify start.S

2018-11-20 Thread Sebastian Huber
The boot_card() function does not return. --- bsps/arm/shared/start/start.S | 12 1 file changed, 12 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index e4df46f656..c43c81e14c 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/shared/s

[PATCH 3/3] bsps/arm: Avoid short range branch in start.S

2018-11-20 Thread Sebastian Huber
--- bsps/arm/shared/start/start.S | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index 9a946887ce..4893564cc4 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/shared/start/star

[PATCH 2/3] bsps/arm: Use local labels in start.S

2018-11-20 Thread Sebastian Huber
--- bsps/arm/shared/start/start.S | 84 +-- 1 file changed, 40 insertions(+), 44 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index c43c81e14c..9a946887ce 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/s

Re: [PATCH] arm: Use bl for the boot_start_hook_0 calls to avoid JUMP11 calls.

2018-11-20 Thread Chris Johns
On 20/11/18 8:47 pm, Sebastian Huber wrote: > On 20/11/2018 10:32, chr...@rtems.org wrote: >> From: Chris Johns >> >> --- >>   bsps/arm/shared/start/start.S | 4 ++-- >>   1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.

Re: [PATCH] arm: Use bl for the boot_start_hook_0 calls to avoid JUMP11 calls.

2018-11-20 Thread Sebastian Huber
On 20/11/2018 10:32, chr...@rtems.org wrote: From: Chris Johns --- bsps/arm/shared/start/start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index e4df46f656..f9f2baec32 100644 --- a/bsps/arm/shared/sta

[PATCH] arm: Use bl for the boot_start_hook_0 calls to avoid JUMP11 calls.

2018-11-20 Thread chrisj
From: Chris Johns --- bsps/arm/shared/start/start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index e4df46f656..f9f2baec32 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/shared/start/start.S @@