Re: [PATCH 3/6] waf: Fix freebsd-to-rtems.py.

2018-04-09 Thread Christian Mauderer
Am 09.04.2018 um 03:36 schrieb Chris Johns: > On 06/04/2018 22:26, Christian Mauderer wrote: >> Update #3351 >> --- >> builder.py | 3 +++ >> freebsd-to-rtems.py | 3 ++- >> waf_libbsd.py | 7 +-- >> 3 files changed, 10 insertions(+), 3 deletions(-) >> >> diff --git a/builder.py

Re: [PATCH 6/6] waf: Add configurations with different modules.

2018-04-09 Thread Christian Mauderer
Am 09.04.2018 um 03:50 schrieb Chris Johns: > On 06/04/2018 22:26, Christian Mauderer wrote: >> This allows multiple build configurations (buildsets) with different >> modules enabled. >> >> Update #3351 >> --- >> CONTRIBUTING.md | 7 ++- >> README.waf | 3 +- >> builder.py

Re: [PATCH 3/6] waf: Fix freebsd-to-rtems.py.

2018-04-09 Thread Chris Johns
On 9/4/18 5:13 pm, Christian Mauderer wrote: > Am 09.04.2018 um 03:36 schrieb Chris Johns: >> On 06/04/2018 22:26, Christian Mauderer wrote: >>> Update #3351 >>> --- >>> builder.py | 3 +++ >>> freebsd-to-rtems.py | 3 ++- >>> waf_libbsd.py | 7 +-- >>> 3 files changed, 10 inser

Re: error while running rtems-test with coverage

2018-04-09 Thread Vijay Kumar Banerjee
On Fri, 6 Apr 2018, 02:24 Vijay Kumar Banerjee, wrote: > I tried to solve the empty get in the way shown in the patch , but it > doesn't seems to work, I'm getting the following error now > > RTEMS Testing - Tester, 5 (1ed6e2e64090) > Traceback (most recent call last): > File "/home/lunatic/dev

Mentors - Please Check Box for Projects You Are Willing to Mentor

2018-04-09 Thread Joel Sherrill
Hi We need to make sure every project has mentors. If you are already signed up as a mentor, please go to https://summerofcode.withgoogle.com and indicate which projects you are willing to mentor. If you haven't signed up yet to be a mentor, please email myself or Gedare. Thanks. --joel ___

[no subject]

2018-04-09 Thread Christian Mauderer
Hello, this version now contains some changes like discussed with Chris Johns: - I moved the fragment composers to builder.py. With that the freebsd_to_rtems dependency to waf_libbsd is removed again. - The ini files have now a section "modules" instead of "modules-enabled". The modules are n

[PATCH v2 5/6] freebsd-to-rtems.py: Use all modules.

2018-04-09 Thread Christian Mauderer
Update #3351 --- builder.py | 8 ++-- freebsd-to-rtems.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/builder.py b/builder.py index e334f1a1..8e5b2292 100755 --- a/builder.py +++ b/builder.py @@ -801,8 +801,12 @@ class ModuleManager(object): self.co

[PATCH v2 4/6] waf: Remove module without sources.

2018-04-09 Thread Christian Mauderer
There are no imported sources for a number of modules. Some of them doesn't even have the right paths for freebsd-org anymore. Therefore this patch removes the following modules: - dev_usb_add_on - dev_usb_bluetooth - dev_usb_controller_add_on - dev_usb_misc - dev_usb_storage_add_on - dev_usb_temp

[PATCH v2 6/6] waf: Add configurations with different modules.

2018-04-09 Thread Christian Mauderer
--- CONTRIBUTING.md | 7 ++- README.waf | 12 +++-- builder.py | 13 ++--- buildset/default.ini | 58 + buildset/sample.ini | 10 libbsd.py| 2 +- rtems_waf| 2 +- waf_libbsd.py| 9 wscript

[PATCH v2 3/6] waf: Fix freebsd-to-rtems.py.

2018-04-09 Thread Christian Mauderer
--- builder.py| 153 waf_libbsd.py | 156 -- 2 files changed, 153 insertions(+), 156 deletions(-) diff --git a/builder.py b/builder.py index 2faf98d0..e334f1a1 100755 --- a/builder

Re: (should have been v2 libbsd: Make modules configurable via ini files.)

2018-04-09 Thread Christian Mauderer
Sorry, missed the subject line in git send-email. This description is to the v2-patch-set for the libbsd waf changes. Am 09.04.2018 um 15:53 schrieb Christian Mauderer: > Hello, > > this version now contains some changes like discussed with Chris Johns: > > - I moved the fragment composers to bu

multiple definition of __getreent (in newlib's crt0.c and RTEMS' confdefs.h)

2018-04-09 Thread Amaan Cheval
Hi! As part of getting a stub x86_64 stub port to compile using the x86_64 tools, I've come across the same error as in ticket #3176: https://devel.rtems.org/ticket/3176 _However_ the proposed patches to fix this, which are already in Newlib 3.0.0 and the RSB, are part of what cause this error -

leon3 mutltiprocessing build fails.

2018-04-09 Thread Chris Johns
Hi, /opt/work/chris/rtems/kernel/rtems.git/configure \ --prefix=/opt/work/rtems/bsps/5 \ --target=sparc-rtems5 \ --enable-rtemsbsp=leon3 \ --enable-posix \ --enable-networking \ --enable-multiprocessing \ --enable-tests \ --enable-maintainer-mode fails with: gmake[6]: Entering di

Re: (should have been v2 libbsd: Make modules configurable via ini files.)

2018-04-09 Thread Chris Johns
On 09/04/2018 23:58, Christian Mauderer wrote: > Sorry, missed the subject line in git send-email. This description is to > the v2-patch-set for the libbsd waf changes. > > Am 09.04.2018 um 15:53 schrieb Christian Mauderer: >> Hello, >> >> this version now contains some changes like discussed with

[PATCH] Generate an error if a BSP in the --enable-rtemsbsp list is not valid

2018-04-09 Thread Chris Johns
Also generate an error if the architecure does not match the --target architecture given to configure's command line. Close #2641. --- aclocal/enable-rtemsbsp.m4| 37 ++- c/src/aclocal/enable-rtemsbsp.m4 | 13 testsuites/aclocal/enable

Re: [PATCH] Make bit addressing consistent in rtems_rfs_group.c

2018-04-09 Thread Chris Johns
On 11/10/2017 10:11, Fan Deng wrote: > This change fixes https://devel.rtems.org/ticket/3089. > > Briefly, rtems_rfs_group.c contains conflicting conversions between > block numbers and group number and bit offset pairs. This caused the > actual bit stored on the bitmask to be one bit displaced fr

[PATCH 3/5] Fixes bitmap allocation accounting logic in rtems-rfs-bitmaps.c

2018-04-09 Thread Chris Johns
From: Fan Deng The bitmap allocation accounting logic in rtems-rfs-bitmaps.c is flawed around control->free. Specifically: In rtems_rfs_bitmap_map_set(): control->free is only decremented when its corresponding search bit is toggled. This is wrong and will miss on average 31/32 set updates. In

[PATCH 2/5] Reset free count properly in rtems_rfs_bitmap_map_clear_all().

2018-04-09 Thread Chris Johns
From: Fan Deng In rtems_rfs_bitmap_map_clear_all(), control->free is set to 'elements', which is the number of elements in the bitmap. This is incorrect, as control->free should contain the number of free bits, not elements. This change fixes the logic and resets control->free to a correct value

Patches for RFS Bitmap

2018-04-09 Thread Chris Johns
Hi, This is an updated version of the patches posted by Fan Deng: https://lists.rtems.org/pipermail/devel/2017-October/019155.html https://lists.rtems.org/pipermail/devel/2017-October/019156.html https://lists.rtems.org/pipermail/devel/2017-October/019157.html https://lists.rtems.org/pipermai

[PATCH 1/5] Make bit addressing consistent in rtems_rfs_group.c

2018-04-09 Thread Chris Johns
From: Fan Deng This change fixes https://devel.rtems.org/ticket/3089. Briefly, rtems_rfs_group.c contains conflicting conversions between block numbers and group number and bit offset pairs. This caused the actual bit stored on the bitmask to be one bit displaced from its intended location. For

[PATCH 4/5] Fill in the correct d_off in rtems_rfs_dir_read.

2018-04-09 Thread Chris Johns
From: Fan Deng rtems_rfs_dir_read searches the directory inode's entries list starting at the specified offset until an empty entry (last entry) is encountered. It fills in a struct dirent with the name of the entry, length of the name, ino of the entry, and the absolute offset of the entry in th

[PATCH 5/5] fstest/fsrfsbitmap01: Update RFS bitmap tests to test fixes.

2018-04-09 Thread Chris Johns
Add tests to check the patches for this ticket exist and are fixed. Close #3089 --- testsuites/fstests/fsrfsbitmap01/test.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/testsuites/fstests/fsrfsbitmap01/test.c b/testsuites/fstests/fsrfsbitmap01/test.c index 7a7a5d4ea6.

[PATCH] cpukit/mttpd: Add a callback to generate a per file HTTP etag

2018-04-09 Thread Chris Johns
Close #3323. --- cpukit/include/mghttpd/mongoose.h | 13 + cpukit/mghttpd/mongoose.c | 19 +-- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/cpukit/include/mghttpd/mongoose.h b/cpukit/include/mghttpd/mongoose.h index 330ed6701b..f975dfb66f 100

[PATCH] configure: Add subdir-objects to all automake flags.

2018-04-09 Thread Chris Johns
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387. --

[PATCH] Updated README.

2018-04-09 Thread Chris Johns
--- README | 67 +- 1 file changed, 50 insertions(+), 17 deletions(-) diff --git a/README b/README index 88a4999f20..519e8536ae 100644 --- a/README +++ b/README @@ -1,24 +1,57 @@ -This is the Real-Time Executive for Multiprocessing S