Re: BBB Framebuffer driver : Project status

2019-05-15 Thread Christian Mauderer
Hello Vijay, On 14/05/2019 23:13, Vijay Kumar Banerjee wrote: > Hello everyone! > > I have been active on the project and had offlist discussions about it > with the mentors. To update the devel about the ongoing work I'm  > writing this status report and planning to write such status reports  >

Re: I2C adaption layer driver for libbsd (was: Re: rtems-libbsd build error)

2019-04-22 Thread Christian Mauderer
Am 22.04.19 um 20:57 schrieb Vijay Kumar Banerjee: > > > > On Sun, Apr 21, 2019 at 12:08 AM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 18.04.19 um 21:11 schrieb Vijay Kumar Banerjee: > > > > > > On Thu

Re: I2C adaption layer driver for libbsd (was: Re: rtems-libbsd build error)

2019-04-17 Thread Christian Mauderer
First: Please note that I changed the toppic. The old one just didn't represent the content any more. Am 17.04.19 um 20:40 schrieb Vijay Kumar Banerjee: [...] > >     > > >     >     Am 09.04.19 um 18:12 schrieb Vijay Kumar Banerjee: > >     >     > Hi, > >     >     > > >     

Re: rtems-libbsd build error

2019-04-16 Thread Christian Mauderer
Am 16.04.19 um 11:28 schrieb Vijay Kumar Banerjee: > > > > On Fri, Apr 12, 2019 at 9:16 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 12.04.19 um 16:26 schrieb Vijay Kumar Banerjee: > > > > > > On Wed

Re: rtems-libbsd build error

2019-04-12 Thread Christian Mauderer
Am 12.04.19 um 16:26 schrieb Vijay Kumar Banerjee: > > > On Wed, Apr 10, 2019 at 12:50 PM Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > Am 09.04.19 um 18:12 schrieb Vijay Kumar Banerjee: > > Hi, >

Re: rtems-libbsd build error

2019-04-10 Thread Christian Mauderer
019 at 5:28 AM Chris Johns <mailto:chr...@rtems.org>> wrote: > > On 8/4/19 12:30 am, Vijay Kumar Banerjee wrote: > > On Sun, Apr 7, 2019 at 6:24 PM Christian Mauderer > mailto:l...@c-mauderer.de> > > <mailto:l...@c-mauderer.de <mailto:l...@c-m

Re: rtems-libbsd build error

2019-04-08 Thread Christian Mauderer
Am 07.04.19 um 16:30 schrieb Vijay Kumar Banerjee: > > > On Sun, Apr 7, 2019 at 6:24 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 07.04.19 um 14:50 schrieb Vijay Kumar Banerjee: > > > > > > On Sun, Apr 7, 2019 at

Re: rtems-libbsd build error

2019-04-07 Thread Christian Mauderer
Am 07.04.19 um 14:50 schrieb Vijay Kumar Banerjee: > > > On Sun, Apr 7, 2019 at 6:08 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 07.04.19 um 14:35 schrieb Vijay Kumar Banerjee: > > > > > > > > O

Re: rtems-libbsd build error

2019-04-07 Thread Christian Mauderer
Am 07.04.19 um 14:35 schrieb Vijay Kumar Banerjee: > > > > On Sun, Apr 7, 2019 at 5:37 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 07.04.19 um 13:08 schrieb Vijay Kumar Banerjee: > > Hi,  > > > > I had a look at

Re: rtems-libbsd build error

2019-04-07 Thread Christian Mauderer
Am 07.04.19 um 13:08 schrieb Vijay Kumar Banerjee: > Hi,  > > I had a look at the files related to HDMI drivers, to figure out separate  > compilable parts that can be imported together and ported to RTEMS. > I figured that the import can be done in two parts, one for am335x_lcd > and one for the

Re: rtems-libbsd build error

2019-04-01 Thread Christian Mauderer
big block is necessary because the small parts can't work on their own: Keep it in one import + one port commit. > [...] -- 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

Re: GSoC Proposal : BeagleBoard project

2019-03-31 Thread Christian Mauderer
Am 31.03.19 um 19:33 schrieb Vijay Kumar Banerjee: > > > On Sun, Mar 31, 2019 at 1:25 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 31.03.19 um 09:08 schrieb Vijay Kumar Banerjee: > > > > > > On Sun, Mar 31, 20

Re: GSoC Proposal : BeagleBoard project

2019-03-31 Thread Christian Mauderer
Am 31.03.19 um 09:08 schrieb Vijay Kumar Banerjee: > > > On Sun, Mar 31, 2019 at 7:27 AM Chris Johns > wrote: > > On 31/3/19 5:05 am, Vijay Kumar Banerjee wrote: > > On Sat, Mar 30, 2019 at 5:09 PM Gedare Bloom > >

[PATCH 3/3] Import FreeBSD license files.

2019-03-29 Thread Christian Mauderer
--- freebsd/COPYRIGHT | 126 ++ freebsd/contrib/expat/COPYING | 21 ++ freebsd/contrib/libpcap/LICENSE | 19 + freebsd/contrib/libxo/LICENSE | 23 +++ freebsd/contrib/tcpdump/LICENSE | 19 +

[PATCH 0/3] libbsd: Import FreeBSD license files.

2019-03-29 Thread Christian Mauderer
Hello, this patch set does three things: 1. Add a (improvable) script that helps finding license files and unused files. 2. Allows to import plain text files. 3. Imports LICENSE and COPY* files from FreeBSD. That is relevant so that we archive the licenses together with the imported code even

[PATCH 2/3] builder.py: Add case for plain text files.

2019-03-29 Thread Christian Mauderer
--- builder.py | 8 1 file changed, 8 insertions(+) diff --git a/builder.py b/builder.py index 1679b6cb..2921bab8 100755 --- a/builder.py +++ b/builder.py @@ -202,6 +202,9 @@ def revertFixLocalIncludes(data): data = re.sub('#include ]*)>', '#include "\\1"', data) return data

[PATCH 1/3] Add helper script to find licenses and unused files.

2019-03-29 Thread Christian Mauderer
--- find_unused_files_and_license.sh | 106 +++ 1 file changed, 106 insertions(+) create mode 100755 find_unused_files_and_license.sh diff --git a/find_unused_files_and_license.sh b/find_unused_files_and_license.sh new file mode 100755 index

Re: libbsd: Add openssl tool

2019-03-28 Thread Christian Mauderer
Am 27.03.19 um 20:40 schrieb Chris Johns: > On 27/3/19 9:11 pm, Christian Mauderer wrote: >> Hello, >> >> I've added a port of the openssl tool together with a test for `openssl >> speed` (benchmark) and `openssl req` (generating server certificates). >> >>

libbsd: Add openssl tool

2019-03-27 Thread Christian Mauderer
=d1dac7891cd3234c935ce7e4d742b6f87663a5e1 If everything is OK, I'll commit the patches and backport them to the 5-freebsd-12 branch. Best regards Christian -- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email

Re: rtems-libbsd build error

2019-03-19 Thread Christian Mauderer
Am 19.03.19 um 20:37 schrieb Vijay Kumar Banerjee: > > > > On Tue, 19 Mar 2019 at 02:44, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 18.03.19 um 20:31 schrieb Vijay Kumar Banerjee: > > > > > > > >

Re: rtems-libbsd build error

2019-03-18 Thread Christian Mauderer
ible module) one import commit where unchanged files are imported and one port commit where the files are added to libbsd.py and necessary changes are made. > > > On Sun, 17 Mar 2019 at 14:30, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 16.

Re: rtems-libbsd build error

2019-03-17 Thread Christian Mauderer
Am 16.03.19 um 23:52 schrieb Vijay Kumar Banerjee: > > > On Sat, 16 Mar 2019 at 01:00, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 15.03.19 um 19:20 schrieb Vijay Kumar Banerjee: > > > > > > On Fri, 15 Mar 2019 at 21:

Re: rtems-libbsd build error

2019-03-15 Thread Christian Mauderer
Am 15.03.19 um 19:20 schrieb Vijay Kumar Banerjee: > > > On Fri, 15 Mar 2019 at 21:47, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 15.03.19 um 15:48 schrieb Vijay Kumar Banerjee: > > Hello,  > > > > I am trying to `

Re: rtems-libbsd build error

2019-03-15 Thread Christian Mauderer
Am 15.03.19 um 15:48 schrieb Vijay Kumar Banerjee: > Hello,  > > I am trying to `./waf install` the libbsd but getting some error, need help > with that. The commands used and the errors are given below ... > > configured using: `./waf configure --buildset=buildset/default.ini >

Re: Beagleboard BSP Framebuffer

2019-03-12 Thread Christian Mauderer
Am 12.03.19 um 11:35 schrieb Vijay Kumar Banerjee: > > > > On Tue, 12 Mar 2019 at 15:27, Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > Am 12.03.19 um 10:52 schrieb Vijay Kumar Banerjee: > > > > >

Re: Beagleboard BSP Framebuffer

2019-03-12 Thread Christian Mauderer
t; > I would really appreciate any remarks/comments or > details you'd like to add, it will help me understand it > better. > > ping :) > > > Thanks, > --vijay > > ___ >

Re: Project for GSoC 2019

2019-03-07 Thread Christian Mauderer
Am 07.03.19 um 15:18 schrieb Gedare Bloom: > > > On Thu, Mar 7, 2019 at 8:45 AM Sebastian Huber > > wrote: > > On 06/03/2019 22:39, Vaibhav Gupta wrote: > > After suggestions and response from Sebastian, Christian and Udit I > > started to

Re: Beagleboard BSP Framebuffer

2019-03-04 Thread Christian Mauderer
atible with the RTEMS license (neither the current one nor the planned BSD style license). FreeBSD is the better source for that in most cases. Best regards Christian > > > Thank you > > --Vijay > > _______ > devel mailing list > devel@rtems.o

Re: Query for GSOC Project

2019-03-04 Thread Christian Mauderer
hange in the project. For SDIO the stack would have to be updated to the latest version of libbsd and some debugging would be necessary. That is most likely not enough work left for a complete project. Kind regards Christian > > Please also have a look at the open projects page: > >

Re: Interest/Intent to port OpenSSH?

2019-03-01 Thread Christian Mauderer
Am 01.03.19 um 17:01 schrieb Gedare Bloom: > > > On Fri, Mar 1, 2019 at 10:52 AM Joel Sherrill > wrote: > > > > On Fri, Mar 1, 2019 at 2:57 AM Sebastian Huber > > wrote: > > Hello Gedare, > > we

[PATCH] dev/sc16is752: Fix parity generation.

2019-02-20 Thread Christian Mauderer
--- cpukit/dev/serial/sc16is752.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/dev/serial/sc16is752.c b/cpukit/dev/serial/sc16is752.c index 068a2d3817..a58b87bfb7 100644 --- a/cpukit/dev/serial/sc16is752.c +++ b/cpukit/dev/serial/sc16is752.c @@ -183,6 +183,7 @@ static bool

Re: RTEMS Executive vs. Kernel

2019-01-23 Thread Christian Mauderer
Am 23.01.19 um 08:11 schrieb Chris Johns: [...] > >> The "OS repo" is also good. > > What about "RTOS", eg RTOS repo? This leave 'OS' as the collective term of the > pieces we have and I think that is a good thing to have. Just a note regarding that term: Although RTOS is a generic term, it's

Re: waf and Python 3.7

2018-12-22 Thread Christian Mauderer
>> First of all: I tried a pdf build. But I receive the same error >> on a html build. > > I do not see this error. > >> See attached log for the complete output with python2 >> on the current HEAD (75f24638b3f). > > I cannot see what is wrong. There is a waf configure option to add verbose >

Re: [PATCH] 5/rtems-tools: Update RTEMS tools

2018-12-21 Thread Christian Mauderer
Hello Joel, thanks for the OK and sorry for the delayed reaction. I've been knocked out by a cold. Best regards Christian Am 19.12.18 um 22:01 schrieb Joel Sherrill: > Please push this > > On Wed, Dec 19, 2018, 6:43 AM Christian Mauderer <mailto:l...@c-mauderer.de> wrote

[PATCH 1/2] freebsd/if_cpsw: Import.

2018-12-19 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/arm/ti/cpsw/if_cpsw.c| 2991 ++ freebsd/sys/arm/ti/cpsw/if_cpswreg.h | 210 ++ freebsd/sys/arm/ti/cpsw/if_cpswvar.h | 151 ++ 3 files changed, 3352 insertions(+) create mode 100644 freebsd/sys/arm/ti/cpsw/if_cpsw.c create

[PATCH 2/2] freebsd/if_cpsw: Port.

2018-12-19 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/arm/ti/cpsw/if_cpsw.c | 21 + libbsd.py | 3 +++ rtemsbsd/include/bsp/nexus-devices.h| 2 ++ rtemsbsd/include/rtems/bsd/local/opt_cpsw.h | 0 4 files changed, 26 insertions

[PATCH] 5/rtems-tools: Update RTEMS tools

2018-12-19 Thread Christian Mauderer
From: Christian Mauderer Picks up the new waf in rtems-tools to be compatible with python 3.7 and some tester updates. Update #3569. --- rtems/config/tools/rtems-tools-5-1.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-5-1.cfg b

Re: waf and Python 3.7

2018-12-19 Thread Christian Mauderer
Am 19.12.18 um 10:46 schrieb Chris Johns: > On 19/12/18 8:20 pm, Christian Mauderer wrote: >> I think you are discussing some other bug(s) than the one I originally >> meant. > > Yes we are discussing something else that is wrong with the docs builds. Sorry > ab

[PATCH] SLEEPQUEUE(9): Fix typo that prevent non-SMP build.

2018-12-19 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/kern/subr_sleepqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freebsd/sys/kern/subr_sleepqueue.c b/freebsd/sys/kern/subr_sleepqueue.c index 6712da55..9aa9d7fa 100644 --- a/freebsd/sys/kern/subr_sleepqueue.c +++ b/freebsd/sys

[PATCH] common/waf.py: Fix indentation.

2018-12-19 Thread Christian Mauderer
From: Christian Mauderer Python 3 produces an error if indentation is mixed tabs and spaces. --- common/waf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/waf.py b/common/waf.py index 98ce56f..d2cb432 100644 --- a/common/waf.py +++ b/common/waf.py @@ -481,7 +481,7

Re: waf and Python 3.7

2018-12-19 Thread Christian Mauderer
ns > <mailto:chr...@rtems.org> >> > <mailto:chr...@rtems.org <mailto:chr...@rtems.org>>> wrote: >> >     On 19/12/2018 06:12, Christian Mauderer wrote: >> >     > I updated waf in rtems-tools with a reference to the ticket. I

Re: waf and Python 3.7

2018-12-18 Thread Christian Mauderer
Am 17.12.18 um 22:32 schrieb Chris Johns: > On 18/12/2018 07:38, Joel Sherrill wrote: >> On Mon, Dec 17, 2018, 2:21 PM Christian Mauderer > <mailto:l...@c-mauderer.de> wrote: >> >> Hello, >> >> I have trouble building rtems-tools (via sourc

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-26 Thread Christian Mauderer
Am 26.11.18 um 20:22 schrieb Joel Sherrill: > > > On Mon, Nov 26, 2018, 1:10 PM Christian Mauderer <mailto:l...@c-mauderer.de> wrote: > > Hello Peter, > > yes, that sounds about right. I'm not entirely sure about the name of > the file we used as

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-26 Thread Christian Mauderer
e Package > >> On Nov 25, 2018, at 14:45 , Christian Mauderer > <mailto:l...@c-mauderer.de>> wrote: >> >> Hello Peter, >> >> Thomas mentioned already the bug that has been reported to Microchip. >> Please note that I had two more problems

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-25 Thread Christian Mauderer
. There is a newer version of them somewhere on github. If there is funding for it, I would suggest to update the ones that are integrated in the ATSAM BSP by the newer ones. They contain quite some bug fixes. But it will need some work to do that. With kind regards Christian Mauderer Am 25.11.18

Re: RFC: Value of New Section on Tools Build Time Expectations

2018-10-21 Thread Christian Mauderer
Am 21.10.18 um 19:07 schrieb Joel Sherrill: > Hi > > I am in the middle of reconfiguring my old (~2013 i7) laptop as an email > and remote workstation for home. Between helping students and doing two > Kick Starts in the past 6 weeks, VM configuration, disk space > expectations, and time required

Re: No program named Python

2018-10-02 Thread Christian Mauderer
ases). So I would say that it's not unlikely that some distributions start to experiment with dropping the symlink "python" to find incompatible scripts. Best regards Christian -- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82

[PATCH] Add PHY-driver for KSZ8091RNB with 50MHz.

2018-09-20 Thread Christian Mauderer
This adds a driver for the KSZ8091RNB PHY. This PHY needs some special treatment if it is clocked with a 50MHz clock. --- libbsd.py | 6 ++ rtemsbsd/sys/dev/mii/ksz8091rnb_50MHz.c | 185 2 files changed, 191 insertions(+) create

[PATCH] bsp/atsam: Fix handling of slow SPI speeds.

2018-08-06 Thread Christian Mauderer
This patch fixes an overflow in the frequency calculation of the SPI driver for slow SPI speeds. --- bsps/arm/atsam/spi/atsam_spi_bus.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/bsps/arm/atsam/spi/atsam_spi_bus.c

Re: Inlined code

2018-08-06 Thread Christian Mauderer
Am 06.08.2018 um 07:31 schrieb Chris Johns: > On 06/08/2018 10:51, Chris Johns wrote: >> On 05/08/2018 19:39, Christian Mauderer wrote: >>> Am 05.08.2018 um 04:00 schrieb Chris Johns: >>>> Hi, >>>> >>>> I have been working on migrating covoar

[PATCH] libbsd.txt: Update version info and manpage links.

2018-08-05 Thread Christian Mauderer
The information is clearly outdated. This patch updates it to the latest release. --- libbsd.txt | 50 -- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/libbsd.txt b/libbsd.txt index c7a90f64..7945b6d1 100644 --- a/libbsd.txt +++

Re: Version of FreeBSD for libbsd

2018-08-05 Thread Christian Mauderer
Am 05.08.2018 um 19:21 schrieb Joel Sherrill: > > > On Sun, Aug 5, 2018, 8:59 AM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Am 03.08.2018 um 19:30 schrieb Joel Sherrill: > > Hi > > > > libbsd.txt says this is based o

Re: Version of FreeBSD for libbsd

2018-08-05 Thread Christian Mauderer
Am 03.08.2018 um 19:30 schrieb Joel Sherrill: > Hi > > libbsd.txt says this is based on FreeBSD 9.2 but I thought it > had been updated past that. > > Also how could I have figured this out otherwise? > > If it matters, there are also man pages references to FreeBSD 9.2. > > And is the Changes

[PATCH v2 15/15] libbsd.txt: Add ipsec.

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

[PATCH v2 14/15] testsuite/ipsec01: Add.

2018-08-02 Thread Christian Mauderer
--- libbsd.py | 1 + .../include/rtems/bsd/test/network-config.h.in | 2 + testsuite/ipsec01/README | 5 + .../setup_FreeBSD_as_communication_partner.sh | 82 +++ testsuite/ipsec01/test_main.c

[PATCH v2 13/15] rc.conf: Fix cloned interface setup.

2018-08-02 Thread Christian Mauderer
The cloned interfaces have to be set up befor the interface list is created. Otherwise it's not possible to configure a cloned interface with a `ifconfig_gifX` line. --- rtemsbsd/rtems/rtems-bsd-rc-conf-net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 11/15] Add ipsec to rc.conf.

2018-08-02 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 ++

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

2018-08-02 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 v2 05/15] if_ipsec: Import from FreeBSD.

2018-08-02 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

[PATCH v2 12/15] Add RTEMS_BSD_CONFIG_IPSEC.

2018-08-02 Thread Christian Mauderer
--- rtemsbsd/include/machine/rtems-bsd-config.h | 21 + rtemsbsd/include/machine/rtems-bsd-sysinit.h | 6 ++ 2 files changed, 27 insertions(+) diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h index

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

2018-08-02 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,

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

2018-08-02 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 +-

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

2018-08-02 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 v2 04/15] waf: Allow to only generate lex and yacc.

2018-08-02 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 v2 00/12] Add ipsec to libbsd.

2018-08-02 Thread Christian Mauderer
-tools-port-libipsec-setkey-and-racoon-patch Best regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[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

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

2018-08-02 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

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

2018-08-01 Thread Christian Mauderer
dea 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 changed, 10 insertions(+)

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

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

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

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

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

[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

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

2018-06-18 Thread Christian Mauderer
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 - 08 PGP

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

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 the

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

[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

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

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

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

2018-05-25 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

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

2018-05-24 Thread Christian Mauderer
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 > <christian.maude...@embedded-brains.de> wrote: >> This allows a user to overwrite some MPU settings. Tha

[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

[PATCH] waf: Fix python3 compatibility.

2018-05-17 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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

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

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

2018-05-03 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

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 r

[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

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

[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

<    7   8   9   10   11   12   13   14   15   16   >