Re: [PATCH 09/10] libbsd.txt: Describe current state of WLAN.

2017-11-08 Thread Christian Mauderer
Am 09.11.2017 um 06:01 schrieb Chris Johns: > On 08/11/2017 23:33, Christian Mauderer wrote: >> +- Create your wlan device using ifconfig: >> + +ifconfig wlan0 create wlandev rtwn0 up+ > > Any rc.conf support? > > Chris > Hello Chris, currently there is still no rc.conf support. I took a look

Re: [PATCH] Upgrade to 5.0.0

2017-11-08 Thread Sebastian Huber
On 09/11/17 05:58, Chris Johns wrote: On 08/11/2017 23:29, Sebastian Huber wrote: I can build RTEMS with the updated RTEMS tools and RSB (patches sent today). I plan to commit this tomorrow. With respect to the documentation of the release process please see also: https://lists.rtems.org/piperm

Re: [PATCH] tests: Use rtems_test_begin and rtems_test_end.

2017-11-08 Thread Chris Johns
On 08/11/2017 17:12, Sebastian Huber wrote: > My intention for suggesting the enum was to get rid of the uniqueness test and > change rtems-test-check and rtems-test-check.py accordingly. There are loops > in > these scripts, e.g. > > for test in tests: > if mode == 'exclude': > if 'e

Re: [PATCH 09/10] libbsd.txt: Describe current state of WLAN.

2017-11-08 Thread Chris Johns
On 08/11/2017 23:33, Christian Mauderer wrote: > +- Create your wlan device using ifconfig: > + +ifconfig wlan0 create wlandev rtwn0 up+ Any rc.conf support? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Upgrade to 5.0.0

2017-11-08 Thread Chris Johns
On 08/11/2017 23:29, Sebastian Huber wrote: > I can build RTEMS with the updated RTEMS tools and RSB (patches sent today). I > plan to commit this tomorrow. With respect to the documentation of the release > process please see also: > > https://lists.rtems.org/pipermail/devel/2017-November/019400.

Re: New "RTEMS Contributor Guide"

2017-11-08 Thread Chris Johns
On 08/11/2017 20:33, Sebastian Huber wrote: > Hello, > > I would like to merge the "RTEMS BSP and Driver Guide", the "RTEMS Porting > Guide", parts of the "RTEMS CPU Architecture Supplement", the > https://devel.rtems.org/wiki/Developer/Coding/Conventions and the > https://devel.rtems.org/wiki/Dev

Re: [rtems-test] arm/imx7: Passed:613 Failed:1 Timeout:0 Invalid:0

2017-11-08 Thread Chris Johns
On 08/11/2017 19:59, Sebastian Huber wrote: > On 07/11/17 15:49, Chris Johns wrote: >>> Failures: >>> debugger01.exe >> I suggest you tag this test as expected fail for the arm/imx7. > > Does this test fail on every ARM target? > Just on ARMs not supported. Cortex-A9's, ie Zynq work. Other ARM

Re: [PATCH 2/2] Port BBB sd driver files to RTEMS.

2017-11-08 Thread Christian Mauderer
Hello Sichen, just tested it here and it runs fine. media01 creates it normal test.txt files without any problems. Regards Christian Am 08.11.2017 um 14:43 schrieb Sichen Zhao: > So BBB can mount and read eMMC and SD card. > --- > Makefile.todo | 26 > lib

[PATCH] posix: Change created_with_explicit_scheduler

2017-11-08 Thread Sebastian Huber
Remove POSIX_API_Control::created_with_explicit_scheduler. Add Thread_Control::was_created_with_inherited_scheduler. This fixes also pthread_getattr_np() for Classic tasks. Update #2514. --- cpukit/posix/include/rtems/posix/threadsup.h | 3 -- cpukit/posix/src/pthreadcreate.c | 4

Re: [PATCH 0/3] Addition to the wpa patches: KRACK

2017-11-08 Thread Christian Mauderer
The first patch that imports the files has been to big again. You can find it here: https://github.com/grisp/rtems-libbsd/commit/aae371d167efe7af9e5b6c6dff236613e4155106.patch Am 08.11.2017 um 15:10 schrieb Christian Mauderer: > Hello, > > as an addition to the earlier patch set for the wpa_supp

[PATCH 2/3] wpa: Port to new files to RTEMS.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/contrib/wpa/src/rsn_supp/tdls.c | 2 ++ freebsd/contrib/wpa/wpa_supplicant/wnm_sta.c | 2 ++ libbsd.py| 12 libbsd_waf.py| 4 4 files changed, 20 insertions(+) diff

[PATCH 3/3] Update wpa_supplicant/hostapd for 2017-01 vulnerability release.

2017-11-08 Thread Christian Mauderer
From: gordon hostapd: Avoid key reinstallation in FT handshake Prevent reinstallation of an already in-use group key Extend protection of GTK/IGTK reinstallation of WNM-Sleep Mode cases Fix TK configuration to the driver in EAPOL-Key 3/4 retry case Prevent installation of an all-zero TK Fix PTK r

[PATCH 0/3] Addition to the wpa patches: KRACK

2017-11-08 Thread Christian Mauderer
Hello, as an addition to the earlier patch set for the wpa_supplicant: These three patches add the KRACK patches from FreeBSD. Kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 2/2] Port BBB sd driver files to RTEMS.

2017-11-08 Thread Sichen Zhao
So BBB can mount and read eMMC and SD card. --- Makefile.todo | 26 libbsd.py | 36 + libbsd_waf.py | 8 + rtemsbsd/include/bsp/nexus-devices.h | 2 + rtemsbsd/include/machin

[PATCH] posix: Remove POSIX_API_Control::schedpolicy

2017-11-08 Thread Sebastian Huber
Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514. --- cpukit/posix/include/rtems/posix/pthreadimpl.h | 4 cpukit/posix/include/rtems/posix/threadsup.h | 3 --- cpukit/posix/src/psxtransschedpara

[PATCH 3/4] freebsd/bus: Check return value of bus_accessor.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/sys/bus.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/freebsd/sys/sys/bus.h b/freebsd/sys/sys/bus.h index 61cb5b9cabf..e882823d402 100644 --- a/freebsd/sys/sys/bus.h +++ b/freebsd/sys/sys/bus.h @@ -781,6 +781,7 @@ DECLARE_

[PATCH 4/4] at91_mci: Add timing to read_ivar.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/arm/at91/at91_mci.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/freebsd/sys/arm/at91/at91_mci.c b/freebsd/sys/arm/at91/at91_mci.c index 5d448d1cc5c..b34f86f56ac 100644 --- a/freebsd/sys/arm/at91/at91_mci.c +++ b/freebsd/sys/arm/at91/at

[PATCH 2/4] at91_mci: Port to RTEMS and adapt for atsam.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/arm/at91/at91_mci.c| 272 - freebsd/sys/arm/at91/at91_mcireg.h | 25 +++ libbsd.py | 6 + libbsd_waf.py | 3 +- rtemsbsd/include

[PATCH 1/4] at91_mci: Import from FreeBSD

2017-11-08 Thread Christian Mauderer
From: Sebastian Huber FreeBSD trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd. --- freebsd/sys/arm/at91/at91_mci.c| 1417 freebsd/sys/arm/at91/at91_mcireg.h | 156 freebsd/sys/arm/at91/at91_pdcreg.h | 48 ++ freebsd/sys/arm/at91/at91re

[PATCH 2/2] saf1761_otg: Port to RTEMS.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/sys/dev/usb/controller/saf1761_otg.c | 55 ++-- freebsd/sys/dev/usb/controller/saf1761_otg_fdt.c | 34 ++- libbsd.py| 4 ++ libbsd_waf.py| 2 + r

[PATCH 1/2] usb/saf1761: Import from FreeBSD.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer Import the files for the SAF1761 USB controller from FreeBSD commit: 642b174daddbd0efd9bb5f242c43f4ab4db6869f Tue Apr 4 04:01:02 2017 --- freebsd/sys/dev/usb/controller/saf1761_otg.c | 3715 ++ freebsd/sys/dev/usb/controller/saf1761_otg.h

[PATCH 03/10] Add wpa_supplicant command in test suite.

2017-11-08 Thread Christian Mauderer
From: Sichen Zhao <1473996...@qq.com> Add wpa supplicant command in media01. --- testsuite/include/rtems/bsd/test/default-network-init.h | 3 ++- testsuite/media01/test_main.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/testsuite/include/rtems

[PATCH 09/10] libbsd.txt: Describe current state of WLAN.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- libbsd.txt | 52 1 file changed, 52 insertions(+) diff --git a/libbsd.txt b/libbsd.txt index f57faba37da..71d5cc8d214 100644 --- a/libbsd.txt +++ b/libbsd.txt @@ -1154,6 +1154,58 @@ The following is necessary to u

[PATCH 04/10] Add wpa_supplicant_fork command.

2017-11-08 Thread Christian Mauderer
From: Sichen Zhao <1473996...@qq.com> Add fork command for wpa supplicant to start a new task. --- freebsd/contrib/wpa/wpa_supplicant/main.c | 65 ++ libbsd.py | 1 + libbsd_waf.py | 1 +

[PATCH 08/10] wpa_supplicant: Fix getopt.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/contrib/wpa/wpa_supplicant/main.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/freebsd/contrib/wpa/wpa_supplicant/main.c b/freebsd/contrib/wpa/wpa_supplicant/main.c index 77d6a5bb535..e1c13df322a 100644 --- a/freebsd/contrib/wpa/wpa_suppl

[PATCH 06/10] wpa_supplicant: Add lock.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/contrib/wpa/wpa_supplicant/main.c | 6 +- libbsd.py | 1 + libbsd_waf.py | 1 + .../include/machine/rtems-bsd-wpa-supplicant.h | 55 + rtemsbsd/rtems

[PATCH 05/10] wpa_supplicant: Move forking command into own file.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer The malloc wrapper must not be disabled. Therefore the command that uses malloc without a wrapper has to live in another file. --- freebsd/contrib/wpa/wpa_supplicant/main.c | 65 -- .../rtems/rtems-bsd-shell-wpa_supplicant_fork.c| 64

[PATCH 07/10] wpa_supplicant: Include rtems-bsd-program.h.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer --- freebsd/contrib/wpa/src/eap_peer/eap_methods.c | 3 +++ freebsd/contrib/wpa/src/utils/includes.h | 7 +++ 2 files changed, 10 insertions(+) diff --git a/freebsd/contrib/wpa/src/eap_peer/eap_methods.c b/freebsd/contrib/wpa/src/eap_peer/eap_methods.c index

[PATCH 02/10] Port wpa supplicant to RTEMS.

2017-11-08 Thread Christian Mauderer
From: Sichen Zhao <1473996...@qq.com> Add wpa_supplicant lib support and shell command support in RTEMS. --- builder.py | 1 + freebsd/contrib/wpa/src/utils/os_unix.c| 11 +- freebsd/contrib/wpa/wpa_supplicant/config.h| 3 + freebsd

[PATCH 10/10] dhcpcd: Don't ignore interface on transient errors.

2017-11-08 Thread Christian Mauderer
From: Christian Mauderer In case of WPA on a WiFi interface, the interface isn't yet ready when the dhcpcd starts. Sending a packet during that time returns with a ENOBUFS. That caused the interface to be ignored. On the upstream repository of dhcpcd, that transient error (and some others) are a

[PATCH 00/10] Add wpa_supplicant to libbsd.

2017-11-08 Thread Christian Mauderer
Hello, I added a few bugfixes to the wpa_supplicant patches from Sichen Zhao. Beneath that, I also added a short chapter in the libbsd.py describing shortly how to use the WLAN support. Beneath that there is also a list of points that still need work. In case the import commit doesn't reach the m

Re: [PATCH] Upgrade to 5.0.0

2017-11-08 Thread Sebastian Huber
I can build RTEMS with the updated RTEMS tools and RSB (patches sent today). I plan to commit this tomorrow. With respect to the documentation of the release process please see also: https://lists.rtems.org/pipermail/devel/2017-November/019400.html -- Sebastian Huber, embedded brains GmbH Add

[PATCH] Change RSB version from 4.12 to 5

2017-11-08 Thread Sebastian Huber
--- source-builder/sb/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/sb/version.py b/source-builder/sb/version.py index da6aa02..0148614 100644 --- a/source-builder/sb/version.py +++ b/source-builder/sb/version.py @@ -35,7 +35,7 @@ import sources #

[PATCH 1/2] Change RTEMS version from 4.12 to 5

2017-11-08 Thread Sebastian Huber
--- rtems/config/4.12/rtems-all.bset | 20 rtems/config/4.12/rtems-tier-3.bset | 18 -- rtems/config/{4.12 => 5}/rtems-aarch64.bset | 2 +- rtems/config/5/rtems-all.bset| 20

[PATCH 2/2] 5: Add Newlib patches

2017-11-08 Thread Sebastian Huber
Update #3185. Close #3189. --- rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170922-1.cfg | 6 ++ rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170922-1.cfg | 6 ++ rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170922-1.cfg | 6 ++ rtems/config/tools/rtems-gcc-6.3.0-newlib-

New "RTEMS Contributor Guide"

2017-11-08 Thread Sebastian Huber
Hello, I would like to merge the "RTEMS BSP and Driver Guide", the "RTEMS Porting Guide", parts of the "RTEMS CPU Architecture Supplement", the https://devel.rtems.org/wiki/Developer/Coding/Conventions and the https://devel.rtems.org/wiki/Developer/Release into a new document "RTEMS Contribut

Re: [rtems-test] arm/imx7: Passed:613 Failed:1 Timeout:0 Invalid:0

2017-11-08 Thread Sebastian Huber
On 07/11/17 15:49, Chris Johns wrote: Failures: debugger01.exe I suggest you tag this test as expected fail for the arm/imx7. Does this test fail on every ARM target? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 F

[PATCH] Change RTEMS version from 4.12 to 5

2017-11-08 Thread Sebastian Huber
--- rtemstoolkit/version.py | 2 +- tester/rtems/version.cfg | 2 +- wscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtemstoolkit/version.py b/rtemstoolkit/version.py index b90b3ea..6c2e5e6 100644 --- a/rtemstoolkit/version.py +++ b/rtemstoolkit/ver

[PATCH] sptests/spconsole01: New test

2017-11-08 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am | 1 + testsuites/sptests/configure.ac| 1 + testsuites/sptests/spconsole01/Makefile.am | 20 + testsuites/sptests/spconsole01/init.c | 333 +++ testsuites/sptests/spconsole01/spconsole01.doc | 11 +