[PATCH 15/40] bsps/m68k/gen68360/spi/m360_spi.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/gen68360/spi/m360_spi.h | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/bsps/m68k/gen68360/spi/m360_spi.h b/bsps/m68k/gen68360/spi/m360_spi.h index 1a18707fe9..9e6bc5c9c1 100644 --- a/bsps/m68k/gen6836

[PATCH 32/40] bsps/powerpc: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/powerpc/include/bsp/tsec.h | 31 ++--- bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h | 32 ++ bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h | 34 +++--- bsps/powerpc/virtex/include/bsp/irq.h | 32 ++ bsps/powerpc

[PATCH 33/40] testsuites: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- testsuites/libtests/block10/init.c | 6 -- testsuites/sptests/spinternalerror02/init.c | 6 -- 2 files changed, 12 deletions(-) diff --git a/testsuites/libtests/block10/init.c b/testsuites/libtests/block10/init.c index b50c731d6d..d699968975 100644 --- a/tests

Re: [PATCH 01/40] License Header Clean Up

2022-03-10 Thread Christian MAUDERER
I pushed the patches. Am 07.03.22 um 15:33 schrieb Joel Sherrill: On Mon, Mar 7, 2022 at 7:25 AM Christian Mauderer <mailto:christian.maude...@embedded-brains.de>> wrote: Hello, during the re-license efforts, Joel noted that there are a lot of really odd old headers fr

Re: [PATCH 11/40] bsps/include/libchip/disp_hcms29xx.h: Manual file header clean up

2022-03-10 Thread Christian MAUDERER
rains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-brains.de phone: +49-89-18 94 741 - 18 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas

Re: [PATCH 01/26] cpukit/libdl/rtl-alloc-check.py: Change to BSD-2 by hand

2022-03-22 Thread Christian MAUDERER
BILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. from __future__ import print_function -- embedded brains GmbH Herr Christian MAUDERER Dorn

Re: [PATCH 07/26] cpukit/libds/src/ftpfs/tftpDriver.c: Manually update license to BSD-2

2022-03-22 Thread Christian MAUDERER
f HAVE_CONFIG_H -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-brains.de phone: +49-89-18 94 741 - 18 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertret

Re: [PATCH 14/26] cpukit/libmisc/capture: Manually change license to BSD-2

2022-03-22 Thread Christian MAUDERER
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ #ifdef HAVE_CONFIG_H #include "config.h" -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germa

Re: [PATCH 22/26] cpukit/libmisc/redirector: Manually change license to BSD-2

2022-03-22 Thread Christian MAUDERER
ded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-brains.de phone: +49-89-18 94 741 - 18 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmu

Re: [PATCH 00/26] Bulk Relicense to BSD-2

2022-03-22 Thread Christian MAUDERER
25 +++- cpukit/libtest/testwrappers.c | 25 +++- 204 files changed, 4702 insertions(+), 860 deletions(-) -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-brains

[PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-21 Thread Christian Mauderer
From: Christian Mauderer This patch allows the user to configure the PHY address for the DWMAC driver by giving a pointer to a dwmac_user_cfg structure to network stak via rtems_bsdnet_config.ifconfig->drv_ctrl. --- c/src/libchip/network/dwmac-common.h | 1 + c/src/libchip/network/dwma

[PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-21 Thread Christian Mauderer
From: Christian Mauderer This patch allows the user to configure the PHY address for the DWMAC driver by giving a pointer to a dwmac_user_cfg structure to network stak via rtems_bsdnet_config.ifconfig->drv_ctrl. --- c/src/lib/libbsp/arm/altera-cyclone-v/README | 21 +++ c/

Re: [PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-21 Thread Christian Mauderer
Hi Joel, I've changed the name of the structure to a more speaking one and added a few lines of example-code to the README of the altcycv-BSP. Kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/ma

Re: [PATCH v2 1/2] waf: Support building from libbsd.py directly from waf.

2018-04-03 Thread Christian Mauderer
Am 27.03.2018 um 09:56 schrieb Christian Mauderer: > Am 27.03.2018 um 09:00 schrieb Christian Mauderer: >> Am 26.03.2018 um 14:59 schrieb Christian Mauderer: >>> Hello Chris, >>> >>> I took the liberty to rebase the patches to the latest master. See the >>

Re: [PATCH v2 1/2] waf: Support building from libbsd.py directly from waf.

2018-04-03 Thread Christian Mauderer
Am 04.04.2018 um 07:28 schrieb Chris Johns: > On 04/04/2018 00:43, Christian Mauderer wrote: >> Am 27.03.2018 um 09:56 schrieb Christian Mauderer: >>> Am 27.03.2018 um 09:00 schrieb Christian Mauderer: >>>> Am 26.03.2018 um 14:59 schrieb Christian Mauderer: >>

Re: [PATCH v2 1/2] waf: Support building from libbsd.py directly from waf.

2018-04-03 Thread Christian Mauderer
Am 04.04.2018 um 08:20 schrieb Chris Johns: > On 04/04/2018 15:51, Christian Mauderer wrote: >> Am 04.04.2018 um 07:28 schrieb Chris Johns: >>> On 04/04/2018 00:43, Christian Mauderer wrote: >>>> Am 27.03.2018 um 09:56 schrieb Christian Mauderer: >>>>

Re: [PATCH v2 1/2] waf: Support building from libbsd.py directly from waf.

2018-04-04 Thread Christian Mauderer
Am 04.04.2018 um 09:00 schrieb Chris Johns: > On 04/04/2018 16:35, Christian Mauderer wrote: >> Am 04.04.2018 um 08:20 schrieb Chris Johns: >>> On 04/04/2018 15:51, Christian Mauderer wrote: >>>> Am 04.04.2018 um 07:28 schrieb Chris Johns: >>>>>

Re: [PATCH v2 1/2] waf: Support building from libbsd.py directly from waf.

2018-04-04 Thread Christian Mauderer
Am 04.04.2018 um 09:36 schrieb Chris Johns: > On 04/04/2018 17:14, Christian Mauderer wrote: >> Am 04.04.2018 um 09:00 schrieb Chris Johns: >>> On 04/04/2018 16:35, Christian Mauderer wrote: >>>> Am 04.04.2018 um 08:20 schrieb Chris Johns: >>>>>

Re: [PATCH v2 1/2] waf: Support building from libbsd.py directly from waf.

2018-04-05 Thread Christian Mauderer
different environment parameter. For the current set up that means that I can't pass information via the builder object directly. Either I'll have to pass information via the environment or I have to select the correct builder based on the environment. I'll evaluate the

Patch for rtems_waf to support build configurations in libbsd

2018-04-05 Thread Christian Mauderer
cept that patch? Best regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH] Add post-init hook.

2018-04-05 Thread Christian Mauderer
--- rtems.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rtems.py b/rtems.py index b2e3285..0882c74 100644 --- a/rtems.py +++ b/rtems.py @@ -67,7 +67,7 @@ def options(opt): dest = 'show_commands', help = 'Print the commands as s

[PATCH v2] Add post-init hook.

2018-04-05 Thread Christian Mauderer
--- rtems.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rtems.py b/rtems.py index be44edc..713066d 100644 --- a/rtems.py +++ b/rtems.py @@ -69,7 +69,7 @@ def options(opt): dest = 'show_commands', help = 'Print the commands a

Re: [PATCH v2] Add post-init hook.

2018-04-05 Thread Christian Mauderer
Just noted: I should have changed the commit message. Please take a look at V3 instead. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH v3] Add bsp_init hook.

2018-04-05 Thread Christian Mauderer
--- rtems.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rtems.py b/rtems.py index be44edc..713066d 100644 --- a/rtems.py +++ b/rtems.py @@ -69,7 +69,7 @@ def options(opt): dest = 'show_commands', help = 'Print the commands a

Re: [PATCH v3] Add bsp_init hook.

2018-04-06 Thread Christian Mauderer
Am 06.04.2018 um 08:58 schrieb Chris Johns: > On 06/04/2018 16:54, Christian Mauderer wrote: >> --- >> rtems.py | 9 +++-- >> 1 file changed, 7 insertions(+), 2 deletions(-) > > Pushed. Thank you. > > Chris > Hello Chris, I just noted a bug: I either h

[PATCH 2/2] Don't silently drop exception during init.

2018-04-06 Thread Christian Mauderer
--- rtems.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems.py b/rtems.py index f974e25..af17dbd 100644 --- a/rtems.py +++ b/rtems.py @@ -139,8 +139,8 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init = if bsp_init:

[PATCH 1/2] Fix bsp_init hook.

2018-04-06 Thread Christian Mauderer
--- rtems.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtems.py b/rtems.py index 713066d..f974e25 100644 --- a/rtems.py +++ b/rtems.py @@ -136,12 +136,12 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init = else:

Re: [PATCH 1/2] Fix bsp_init hook.

2018-04-06 Thread Christian Mauderer
Writing patches at Friday is just not a good idea ... I found out why the silent drop of the exception is necessary: There is a file not found exception if the .lock-waf_linux2_build does not exist. This patch implements the alternative solution: Fixing the scope of contexts and env. ___

[PATCH v2] Fix bsp_init hook.

2018-04-06 Thread Christian Mauderer
--- rtems.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtems.py b/rtems.py index 713066d..6907709 100644 --- a/rtems.py +++ b/rtems.py @@ -89,6 +89,8 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init = # rtems_long_commands = lo

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

2018-04-06 Thread Christian Mauderer
This allows multiple build configurations (buildsets) with different modules enabled. Update #3351 --- CONTRIBUTING.md | 7 ++- README.waf | 3 +- builder.py | 13 ++--- buildset/default.ini | 58 ++ buildset/sample.ini | 10 libbsd.py

libbsd: Make modules configurable via ini files.

2018-04-06 Thread Christian Mauderer
ctionality like the legacy stack, a 'default' one that has the most common functionality and a 'full' one which can do everything). Best regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

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

2018-04-06 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 ac199a9b..bb5791a8 100755 --- a/builder.py +++ b/builder.py @@ -674,8 +674,12 @@ class ModuleManager(object): self.co

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

2018-04-06 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 3/6] waf: Fix freebsd-to-rtems.py.

2018-04-06 Thread Christian Mauderer
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 b/builder.py index 2faf98d0..ac199a9b 100755 --- a/builder.py +++ b/builder.py @@ -677,3 +677,6 @@ class ModuleMana

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 insertion

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 ++- >>

[no subject]

2018-04-09 Thread Christian Mauderer
en the builders are generated in wscript. Again: Any feedback is welcome. With kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[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 fragme

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

2018-04-10 Thread Christian Mauderer
Am 10.04.2018 um 02:07 schrieb 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 Mauder

[PATCH 0/3] libbsd: Create some basic buildsets.

2018-04-26 Thread Christian Mauderer
irst feedback for these patches. With kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 1/3] waf: Fix usage of build-include from config.

2018-04-26 Thread Christian Mauderer
--- waf_libbsd.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/waf_libbsd.py b/waf_libbsd.py index 54a60a78..589d21a2 100644 --- a/waf_libbsd.py +++ b/waf_libbsd.py @@ -185,6 +185,7 @@ class Builder(builder.ModuleManager): # Include paths #

[PATCH 3/3] buildset: Add minimal and everything config.

2018-04-26 Thread Christian Mauderer
Update #3351. --- buildset/default.ini | 16 ++-- buildset/everything.ini| 15 +++ buildset/minimal.ini | 22 ++ buildset/sample.ini|

[PATCH 2/3] waf: Generate a rtems/bsd/modules.h

2018-04-26 Thread Christian Mauderer
The generated file defines a RTEMS_BSD_MODULE_xxx for each enabled module. That is usefull for conditional compilation depending on whether a module is build not. Update #3351. --- waf_libbsd.py | 32 1 file changed, 32 insertions(+) diff --git a/waf_libbsd.py b/

Re: [PATCH 0/3] libbsd: Create some basic buildsets.

2018-04-27 Thread Christian Mauderer
Am 27.04.2018 um 04:00 schrieb Joel Sherrill: > > > On Thu, Apr 26, 2018, 8:29 PM Chris Johns <mailto:chr...@rtems.org>> wrote: > > On 26/04/2018 19:50, Christian Mauderer wrote: > > > > But it would be great if I could already get some firs

Re: [PATCH 0/3] libbsd: Create some basic buildsets.

2018-04-27 Thread Christian Mauderer
Am 27.04.2018 um 09:24 schrieb Chris Johns: > On 27/04/2018 17:01, Christian Mauderer wrote: >> Basically I think that the target version of this minimal buildset will >> have about the features of the legacy stack - maybe a little less. > > This is a really good point and

[PATCH v2 1/4] waf: Fix usage of build-include from config.

2018-04-27 Thread Christian Mauderer
--- waf_libbsd.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/waf_libbsd.py b/waf_libbsd.py index 54a60a78..589d21a2 100644 --- a/waf_libbsd.py +++ b/waf_libbsd.py @@ -185,6 +185,7 @@ class Builder(builder.ModuleManager): # Include paths #

[PATCH v2 3/4] tcpdump: Remove unused file.

2018-04-27 Thread Christian Mauderer
--- freebsd/contrib/tcpdump/print-sunrpc.c | 182 - 1 file changed, 182 deletions(-) delete mode 100644 freebsd/contrib/tcpdump/print-sunrpc.c diff --git a/freebsd/contrib/tcpdump/print-sunrpc.c b/freebsd/contrib/tcpdump/print-sunrpc.c deleted file mode 100644 in

[PATCH v2 0/4] libbsd: Create some basic buildsets.

2018-04-27 Thread Christian Mauderer
An updated patch set for this toppic: The last patch should now cleanly disable all INET6 in the minimal configuration. That reduced the code size of the media01 test in the minimal configuration for another 60k: > arm-rtems5-size build/arm-rtems5-atsamv-*/media01.exe textdata bss

[PATCH v2 2/4] waf: Generate a rtems/bsd/modules.h

2018-04-27 Thread Christian Mauderer
The generated file defines a RTEMS_BSD_MODULE_xxx for each enabled module. That is usefull for conditional compilation depending on whether a module is build not. Update #3351. --- waf_libbsd.py | 32 1 file changed, 32 insertions(+) diff --git a/waf_libbsd.py b/

[PATCH v2 4/4] buildset: Add minimal and everything config.

2018-04-27 Thread Christian Mauderer
This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced b

Re: replying to mailing list

2018-04-28 Thread Christian Mauderer
Am 28.04.2018 um 14:23 schrieb Vijay Kumar Banerjee: > Ok, thanks. Can you please also tell ne how to switch ?  > is it by subscribing to the list again and selecting no in the daily > digest option ? > > On Sat, 28 Apr 2018, 17:49 Joel Sherrill, > wrote: > > > > On

Re: replying to mailing list

2018-04-28 Thread Christian Mauderer
Am 28.04.2018 um 16:53 schrieb Vijay Kumar Banerjee: > > Hello Vijay, > > when you first registered, you should have received a mail with a > password that you can use here: > >     https://lists.rtems.org/mailman/listinfo/devel >

Re: Source File Permissions

2018-04-29 Thread Christian Mauderer
tions (e.g. one working tree that only pushes to a build bot tree). Any special reasons, use cases or experiences where the 664 and 775 would be superior to 644 and 755? Best regards Christian Mauderer > >> Thoughts >> >> ___ &g

Re: Source File Permissions

2018-04-30 Thread Christian Mauderer
Am 29.04.2018 um 23:08 schrieb Joel Sherrill: > > > On Sun, Apr 29, 2018, 3:32 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 28.04.2018 um 21:45 schrieb Gedare Bloom: > > On Thu, Apr 26, 2018 at 7:52 PM, Joel Sherrill <mailto:j.

Re: Source File Permissions

2018-05-01 Thread Christian Mauderer
Am 01.05.2018 um 00:23 schrieb Joel Sherrill: > > > On Mon, Apr 30, 2018 at 3:18 AM, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 29.04.2018 um 23:08 schrieb Joel Sherrill: > > > > > > On Sun, Apr 29, 2018,

[PATCH] waf: Allow to add libs per test.

2018-05-02 Thread Christian Mauderer
Update #3419. --- builder.py| 11 +++ libbsd.py | 33 +++-- waf_libbsd.py | 4 +++- 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/builder.py b/builder.py index 93363590..c183f7d6 100755 --- a/builder.py +++ b/builder.py @@ -495,25 +49

[PATCH v3 5/6] buildset: Add minimal and everything config.

2018-05-02 Thread Christian Mauderer
This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced b

[PATCH v3 0/6] libbsd: Create some basic buildsets.

2018-05-02 Thread Christian Mauderer
I noted some problem with freebsd-to-rtems.py with the approach I used for testing for INET6 in the minimal config. So I changed that to include that into the general rtems-bsd-user-space.h. That has the advantage that it's not that easy to forget to look whether INET6 is used in some header. I'm

[PATCH v3 3/6] waf: Generate a rtems/bsd/modules.h

2018-05-02 Thread Christian Mauderer
The generated file defines a RTEMS_BSD_MODULE_xxx for each enabled module. That is usefull for conditional compilation depending on whether a module is build not. Update #3351. --- waf_libbsd.py | 32 1 file changed, 32 insertions(+) diff --git a/waf_libbsd.py b/

[PATCH v3 1/6] waf: Fix usage of build-include from config.

2018-05-02 Thread Christian Mauderer
--- waf_libbsd.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/waf_libbsd.py b/waf_libbsd.py index a1d8ad2b..65591feb 100644 --- a/waf_libbsd.py +++ b/waf_libbsd.py @@ -185,6 +185,7 @@ class Builder(builder.ModuleManager): # Include paths #

[PATCH v3 6/6] pfctl: Undef INET6 to avoid warning.

2018-05-02 Thread Christian Mauderer
--- freebsd/sbin/pfctl/parse.c | 826 ++--- freebsd/sbin/pfctl/parse.y | 1 + 2 files changed, 412 insertions(+), 415 deletions(-) diff --git a/freebsd/sbin/pfctl/parse.c b/freebsd/sbin/pfctl/parse.c index c09d4ba4..6041735a 100644 --- a/freebsd/sbin/pfct

[PATCH v3 4/6] tcpdump: Remove unused file.

2018-05-02 Thread Christian Mauderer
--- freebsd/contrib/tcpdump/print-sunrpc.c | 182 - 1 file changed, 182 deletions(-) delete mode 100644 freebsd/contrib/tcpdump/print-sunrpc.c diff --git a/freebsd/contrib/tcpdump/print-sunrpc.c b/freebsd/contrib/tcpdump/print-sunrpc.c deleted file mode 100644 in

Re: [PATCH v3 0/6] libbsd: Create some basic buildsets.

2018-05-02 Thread Christian Mauderer
Am 03.05.2018 um 01:55 schrieb Chris Johns: > On 02/05/2018 23:15, Christian Mauderer wrote: >> I noted some problem with freebsd-to-rtems.py with the approach I used >> for testing for INET6 in the minimal config. So I changed that to >> include that into the general rtems-b

[PATCH] dev/sc16is752: Add ioctl calls for modem controll.

2018-05-02 Thread Christian Mauderer
This add ths following ioctl calls to the sc16is752 driver: - TIOCMGET - TIOCMSET - TIOCMBIS - TIOCMBIC --- cpukit/dev/serial/sc16is752-regs.h | 18 - cpukit/dev/serial/sc16is752.c | 79 ++ 2 files changed, 96 insertions(+), 1 deletion(-) diff --gi

Re: rtems-libbsd build error on

2018-05-03 Thread Christian Mauderer
a to all tests would work but maybe wouldn't be the ideal solution because we potentially link in a lot of stuff we don't need. Best regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: rtems-libbsd build error on

2018-05-03 Thread Christian Mauderer
Am 03.05.2018 um 22:15 schrieb Chris Johns: > On 4/5/18 1:25 am, Christian Mauderer wrote: >> Am 03.05.2018 um 16:07 schrieb jameszxj: >>> *HI, >>> I compile the current libbsd (newest github version) use >>> "--buildset=buildset/minimal.ini" , >

[PATCH] waf: Fix python3 compatibility.

2018-05-17 Thread Christian Mauderer
From: Christian Mauderer --- waf_libbsd.py | 5 + 1 file changed, 5 insertions(+) diff --git a/waf_libbsd.py b/waf_libbsd.py index 0972cf2c..bbc8b42c 100644 --- a/waf_libbsd.py +++ b/waf_libbsd.py @@ -33,6 +33,11 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE

[PATCH] bsp/atsam: Reserve one region for applications.

2018-05-24 Thread Christian Mauderer
This allows a user to overwrite some MPU settings. That can for example be usefull for devices with special requirements that are connected to the external bus interface. --- bsps/arm/atsam/include/libchip/include/mpu.h | 4 1 file changed, 4 insertions(+) diff --git a/bsps/arm/atsam/include

Re: [PATCH] bsp/atsam: Reserve one region for applications.

2018-05-24 Thread Christian Mauderer
n this ARM Core works. A general purpose interface would need a lot more flexibility and abstraction. Best regards Christian > > On Thu, May 24, 2018 at 4:32 AM, Christian Mauderer > wrote: >> This allows a user to overwrite some MPU settings. That can for example >> be u

[PATCH] bsp/atsam: Remove side effect from gmac functions.

2018-05-24 Thread Christian Mauderer
Quite a number of GMAC_... functions had a side effect of enabling the transmit and receive. During the initialization of the ethernet driver, that lead to the situation that the receive has been already enabled while the DMA isn't set up correctly. Therefore the DMA interpreted the values at addre

Re: Compiler error with U_FORTIFY_SOURCE, D_FORTIFY_SOURCE options

2018-05-25 Thread Christian Mauderer
Am 25.05.2018 um 17:14 schrieb Joel Sherrill: > > > On Fri, May 25, 2018 at 10:09 AM, Amaan Cheval > wrote: > > Hi! > > I don't know the specifics of the thing you're talking about here, > so others should definitely weigh in on that if they can, but

[PATCH] beagle: Disable WiFi if libbsd is build without it.

2018-05-30 Thread Christian Mauderer
Update #3351. --- rtemsbsd/include/bsp/nexus-devices.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 13d51ceb..f7003923 100644 --- a/rtemsbsd/include/bsp/nexus-devices.h +++ b/rtemsbsd/include/bsp/nexus-dev

[PATCH] Fix --show-commands.

2018-06-06 Thread Christian Mauderer
In the current version of libbsd, if the --show-commands option is used, the cwd is passed as a Nod3. Popen does not work with that. Therefore create a string from cwd if it isn't already. --- rtems.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtems.py b/rtems.py index 6907709..a88c679

Re: [PATCH] Fix --show-commands.

2018-06-07 Thread Christian Mauderer
Am 06.06.2018 um 09:48 schrieb Christian Mauderer: > In the current version of libbsd, if the --show-commands option is used, > the cwd is passed as a Nod3. Popen does not work with that. Therefore > create a string from cwd if it isn't already. > --- > rtems.py | 2 ++

Re: [PATCH] Fix --show-commands.

2018-06-08 Thread Christian Mauderer
Am 08.06.2018 um 15:35 schrieb Chris Johns: > > >> On 8 Jun 2018, at 4:21 pm, Christian Mauderer >> wrote: >> >>> Am 06.06.2018 um 09:48 schrieb Christian Mauderer: >>> In the current version of libbsd, if the --show-commands option is used, >>&g

Re: [PATCH] Fix --show-commands.

2018-06-12 Thread Christian Mauderer
Am 12.06.2018 um 07:08 schrieb Chris Johns: > On 09/06/2018 02:45, Christian Mauderer wrote: >> >> Did you also note Gedares suggestion to move the rtems_waf.git to the >> public repos? Maybe that would be a good idea. >> > > Yes I did and it is a good idea. I ha

Re: [PATCH] Fix --show-commands.

2018-06-12 Thread Christian Mauderer
Am 12.06.2018 um 09:18 schrieb Christian Mauderer: > The first one has a longer backward compatibility (relative URLs are > there since 2007: https://github.com/git/git/commit/f31a522a2d which > should be somewhere between git 1.5 and git 1.6). Just noted: That feature has been merged

Re: [PATCH] Fix --show-commands.

2018-06-12 Thread Christian Mauderer
Am 12.06.2018 um 09:29 schrieb Chris Johns: > On 12/06/2018 17:18, Christian Mauderer wrote: >> Am 12.06.2018 um 07:08 schrieb Chris Johns: >>> On 09/06/2018 02:45, Christian Mauderer wrote: >>>> >>>> Did you also note Gedares suggestion to move the rte

Re: [PATCH] Fix --show-commands.

2018-06-13 Thread Christian Mauderer
Am 13.06.2018 um 00:24 schrieb Chris Johns: > On 12/06/2018 17:45, Christian Mauderer wrote: >> Am 12.06.2018 um 09:29 schrieb Chris Johns: >>> On 12/06/2018 17:18, Christian Mauderer wrote: >>>> Am 12.06.2018 um 07:08 schrieb Chris Johns: >>>>>

Re: [PATCH] Fix --show-commands.

2018-06-14 Thread Christian Mauderer
Am 14.06.2018 um 09:31 schrieb Chris Johns: > On 14/6/18 4:27 pm, Sebastian Huber wrote: >> Hello, >> >> On 13/06/18 13:27, Christian Mauderer wrote: >>> OK. I'll have a look at all repos in the next few days where the >>> submodule is used and change

Re: [PATCH] Fix --show-commands.

2018-06-14 Thread Christian Mauderer
Am 14.06.2018 um 09:43 schrieb Sebastian Huber: > On 14/06/18 09:40, Chris Johns wrote: >> On 14/6/18 5:34 pm, Christian Mauderer wrote: >>> Am 14.06.2018 um 09:31 schrieb Chris Johns: >>>> On 14/6/18 4:27 pm, Sebastian Huber wrote: >>>>> Hello, >

examples-v2 and libbsd: MANUAL STEP NECESSARY: rtems_waf is now in the public set of repositories.

2018-06-18 Thread Christian Mauderer
uring the next update. With kind regards Christian Mauderer -- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 0

[PATCH 03/12] userspace-header-gen: Special case for Yacc / Lex.

2018-08-01 Thread Christian Mauderer
Some variables generated by Yacc / Lex need a special treatment. That had been done by manual editing of the generated headers in the past. This patch integrate these changes into the generator. --- userspace-header-gen.py | 32 +++- 1 file changed, 31 insertions(+), 1

[PATCH 02/12] random: Implement read_random via getentropy.

2018-08-01 Thread Christian Mauderer
--- freebsd/sys/sys/random.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/freebsd/sys/sys/random.h b/freebsd/sys/sys/random.h index 396ec2b1..996ca5c1 100644 --- a/freebsd/sys/sys/random.h +++ b/freebsd/sys/sys/random.h @@ -50,11 +50,21 @@ read_random_uio(void *a __unused, u_int

[PATCH 01/12] crypto/sha2: Remove left over file.

2018-08-01 Thread Christian Mauderer
This file seems to be imported from a long gone version. --- freebsd/sys/crypto/sha2/sha2.h | 141 - 1 file changed, 141 deletions(-) delete mode 100644 freebsd/sys/crypto/sha2/sha2.h diff --git a/freebsd/sys/crypto/sha2/sha2.h b/freebsd/sys/crypto/sha2/sh

[PATCH 06/12] if_ipsec: Port and add to everything-buildset.

2018-08-01 Thread Christian Mauderer
This ports the kernel space parts for ipsec and adds them to the everything-buildset. --- buildset/default.ini | 1 + buildset/everything.ini | 1 + freebsd/sys/net/if_ipsec.c | 4 libbsd.py| 2

[PATCH 05/12] if_ipsec: Import from FreeBSD.

2018-08-01 Thread Christian Mauderer
--- freebsd/sys/net/if_ipsec.c | 1004 freebsd/sys/net/if_ipsec.h | 39 ++ 2 files changed, 1043 insertions(+) create mode 100644 freebsd/sys/net/if_ipsec.c create mode 100644 freebsd/sys/net/if_ipsec.h diff --git a/freebsd/sys/net/if_ipsec.c b/fre

[PATCH 00/12] Add ipsec to libbsd.

2018-08-01 Thread Christian Mauderer
rc.conf support for ipsec and 12 adds information on how to use ipsec in libbsd. Best regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 10/12] buildset/everything: Add some usefull comments.

2018-08-01 Thread Christian Mauderer
--- buildset/everything.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildset/everything.ini b/buildset/everything.ini index e5593f59..0eee99e7 100644 --- a/buildset/everything.ini +++ b/buildset/everything.ini @@ -8,9 +8,12 @@ name = everything extends = default.ini [modules] +#

[PATCH 08/12] ipsec-tools: Apply patches from FreeBSD ports.

2018-08-01 Thread Christian Mauderer
Source: https://svnweb.freebsd.org/ports/head/security/ipsec-tools/files/ revision 468617. --- ipsec-tools/src/libipsec/libpfkey.h | 2 +- ipsec-tools/src/libipsec/pfkey.c | 33 --- ipsec-tools/src/racoon/gssapi.c | 5 ++ ipsec-tools/src/racoon/handler.h | 3 +- i

[PATCH 12/12] libbsd.txt: Add ipsec.

2018-08-01 Thread Christian Mauderer
--- libbsd.txt | 120 + 1 file changed, 120 insertions(+) diff --git a/libbsd.txt b/libbsd.txt index c7a90f64..d2bbf77c 100644 --- a/libbsd.txt +++ b/libbsd.txt @@ -1233,6 +1233,126 @@ workaround is to just restart it every time it exits

[PATCH 04/12] waf: Allow to only generate lex and yacc.

2018-08-01 Thread Christian Mauderer
In some applications, it's usefull if the files generated by lex or yacc are not build automatically. With that it is for example possible to create a wrapper source file that sets some defines before the generated code is parsed. --- builder.py| 12 waf_libbsd.py | 26 +++

[PATCH 11/12] Add ipsec to rc.conf.

2018-08-01 Thread Christian Mauderer
--- libbsd.py | 7 + .../include/machine/rtems-bsd-rc-conf-services.h | 2 + rtemsbsd/include/rtems/ipsec.h | 53 ++ rtemsbsd/rtems/rtems-bsd-racoon.c | 143 ++ rtemsbsd/rtems/rtems-bsd-rc-conf-ips

Re: [PATCH 00/12] Add ipsec to libbsd.

2018-08-01 Thread Christian Mauderer
Am 01.08.2018 um 10:04 schrieb Christian Mauderer: > Hello, > > this patch set adds IPSec functionality to libbsds everything build set. > > The first four patches prepare some necessary functionality. Patch 5 and > 6 add the if_ipsec driver. 7 to 9 import ipsec-tools from t

Re: [PATCH 02/12] random: Implement read_random via getentropy.

2018-08-01 Thread Christian Mauderer
have a good idea how to make a user aware of the security problem if he doesn't use a good crypto source. Best regards Christian > > On Wed, Aug 1, 2018 at 4:04 AM, Christian Mauderer > wrote: >> --- >> freebsd/sys/sys/random.h | 10 ++ >> 1 file

[PATCH v2 03/15] userspace-header-gen: Special case for Yacc / Lex.

2018-08-02 Thread Christian Mauderer
Some variables generated by Yacc / Lex need a special treatment. That had been done by manual editing of the generated headers in the past. This patch integrate these changes into the generator. --- userspace-header-gen.py | 32 +++- 1 file changed, 31 insertions(+), 1

<    4   5   6   7   8   9   10   11   12   13   >