Re: [PATCH rtems-docs] bsps/imxrt: Remove superfluous options from dtc

2021-05-17 Thread Christian MAUDERER
Hello Joel, Am 17.05.21 um 14:04 schrieb Joel Sherrill: On Mon, May 17, 2021, 2:35 AM Christian Mauderer <mailto:christian.maude...@embedded-brains.de>> wrote: The -@ option adds symbols that are used when applying an overlay. RTEMS doesn't support overlays or re-parsing

Re: [PATCH 2/5] bsps/imxrt: Reduce devicetree size

2021-05-12 Thread Christian Mauderer
). Best regards Christian On Wed, May 12, 2021 at 3:49 AM Christian Mauderer wrote: Remove symbols that would be necessary for overlays and decrease padding that would be necessary for adding stuff during run-time. Update #4180 --- bsps/arm/imxrt/dts/imxrt1050-evkb.c | 1235

Re: [PATCH rtems-libbsd v2] ipsec-tools/pfkey: Fix socket leak

2021-05-10 Thread Christian MAUDERER
Only change is a better description. Am 10.05.21 um 08:50 schrieb Christian Mauderer: setkey uses pfkey_open to open a socket. But setkey doesn't close the socket. The libipsec functions are used only by user space applications (setkey and racoon). Adding the wrapper for socket makes sure

[PATCH rtems-libbsd v2] ipsec-tools/pfkey: Fix socket leak

2021-05-10 Thread Christian Mauderer
setkey uses pfkey_open to open a socket. But setkey doesn't close the socket. The libipsec functions are used only by user space applications (setkey and racoon). Adding the wrapper for socket makes sure that the opened socket is registered and closes if the application exits. Fixes #4404 ---

Re: [GSoC 2021] Beagle BSP USB OTG Support

2021-05-10 Thread Christian MAUDERER
------ 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 Vertretungsberechtigte Geschä

Re: RTEMS_VERSION on 5 branch

2021-05-26 Thread Christian MAUDERER
, Christian MAUDERER wrote: Hello, Great question :) if I build a BSP on the 5 branch, I still have the following defines in cpuopts.h: #define RTEMS_VERSION "5.0.0" #define __RTEMS_MAJOR__ 5 #define __RTEMS_MINOR__ 0 #define __RTEMS_REVISION__ 0 We are past 5.1. Is it an expecte

Re: RTEMS_VERSION on 5 branch

2021-05-26 Thread Christian MAUDERER
Am 26.05.21 um 09:22 schrieb Chris Johns: On 26/5/21 6:47 pm, Christian MAUDERER wrote: thanks for the detailed response. Should we add a bit of that to the doxygen documentation of the rtems_version_* functions so that I don't ask it again because I have forgotten it in a year? Yes we should

[PATCH rtems] thread-API: Add rtems_*mutex_try_lock

2021-05-26 Thread Christian Mauderer
This adds a rtems_mutex_try_lock and a rtems_recursive_mutex_try_lock. Update #4440. --- cpukit/include/rtems/thread.h| 12 + testsuites/sptests/spthread01/init.c | 79 2 files changed, 91 insertions(+) diff --git a/cpukit/include/rtems/thread.h

[PATCH] c-users: Add rtems_*mutex_try_lock

2021-05-26 Thread Christian Mauderer
--- c-user/self_contained_objects.rst | 35 +++ 1 file changed, 35 insertions(+) diff --git a/c-user/self_contained_objects.rst b/c-user/self_contained_objects.rst index 0be1423..3351b98 100644 --- a/c-user/self_contained_objects.rst +++

[PATCH] cpukit: Add description of release version numbers

2021-05-26 Thread Christian Mauderer
The release version in the git sources doesn't change. Add a note why that is the case. --- cpukit/include/rtems/version.h | 12 1 file changed, 12 insertions(+) diff --git a/cpukit/include/rtems/version.h b/cpukit/include/rtems/version.h index a8aff732f3..2e068cd976 100644 ---

Re: Minimum.exe Text Size Outliers

2021-05-26 Thread Christian Mauderer
On 26/05/2021 19:23, Joel Sherrill wrote: On Wed, May 26, 2021 at 6:02 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 25/05/2021 20:33, Christian Mauderer wrote: > >> >> I thought Sebastian added a "mall

[PATCH rtems] i2c: Add non blocking read / write

2021-05-26 Thread Christian Mauderer
This adds the possibility to open an I2C bus with O_NONBLOCK (or set it later via fcntl) to get non-blocking transmissions. This means that if the bus is busy, a read, write or transfer ioctl will return with a EAGAIN errno. --- NOTE: This patch needs

RTEMS_VERSION on 5 branch

2021-05-25 Thread Christian MAUDERER
ill tells that it is a 5.0.0? Did I do something unexpected when compiling and everyone else gets a 5.1? Any pointers what would have to be fixed? Best regards Christian -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Ger

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Christian MAUDERER
and/or explaining is appreciated. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178

Re: [PATCH] c-users: Add rtems_*mutex_try_lock

2021-05-28 Thread Christian MAUDERER
Thanks for the review. Am 28.05.21 um 04:31 schrieb Gedare Bloom: looks alright to me. On Wed, May 26, 2021 at 3:34 AM Christian Mauderer wrote: --- c-user/self_contained_objects.rst | 35 +++ 1 file changed, 35 insertions(+) diff --git a/c-user

Re: [PATCH rtems 2/2] bsps/imxrt: Simplify linkcmds and make it flexible

2021-06-07 Thread Christian Mauderer
as soon as I get back to work on this after my vacation (about two weeks). Best regards Christian On 04/06/2021 19:45, Gedare Bloom wrote: does this one need doco update for the option changes? On Fri, Jun 4, 2021 at 1:48 AM Christian Mauderer wrote: Calling the memory FLASH and EXTRAM instead

[PATCH rtems 1/2] bsps/imxrt: Allow different ARM PLL setting

2021-06-04 Thread Christian Mauderer
Update #4180 --- .../nxp/boards/evkbimxrt1050/clock_config.c | 5 +++ bsps/arm/imxrt/start/clock-arm-pll-config.c | 33 +++ spec/build/bsps/arm/imxrt/bspimxrt.yml| 1 + 3 files changed, 39 insertions(+) create mode 100644 bsps/arm/imxrt/start/clock-arm-pll-config.c

[PATCH rtems 2/2] bsps/imxrt: Simplify linkcmds and make it flexible

2021-06-04 Thread Christian Mauderer
Calling the memory FLASH and EXTRAM instead of FLEXSPI and SDRAM makes it simpler to support other types of external RAM. This patch also removes some of the calculations and improves names and documentation to avoid pitfalls. It removes a unnecessary memory definition. Update #4180 ---

[PATCH rtems 1/2] cpu/armv7m: Avoid regions with negative size

2021-06-04 Thread Christian Mauderer
Don't initialze regions that have a negative size (for example due to a wrong calculation). Update #4450 --- cpukit/score/cpu/arm/include/rtems/score/armv7m.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/cpu/arm/include/rtems/score/armv7m.h

[PATCH rtems 2/2] cpu/armv7m: Fix initialization of MPU regions

2021-06-04 Thread Christian Mauderer
The write to RBAR didn't have the valid flag set. Therefore the write to RASR had an influence on the previously set region. That means for example that if Region 0 had been enabled but 1 should be disabled due to a size of 0, the previous code would have disabled region 0 instead. This patch

Re: Selection of ethernet peripheral by application

2021-06-04 Thread Christian MAUDERER
f modules for your application. Best regards Christian -- 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 Regis

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Christian Mauderer
mips-malta-minimum.exe = Already a quite short list where it's unclear why they are so big. I assume the ones with close() need some work. But at least it's already at least a trace why they are so big. Best regards Christian On 25/05/2021 20:33, Christian Mauderer wrote: Hello Joel, On 25/05/

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Christian Mauderer
T blob? Best regards Christian --joel On Tue, May 25, 2021 at 10:13 AM Christian MAUDERER <mailto:christian.maude...@embedded-brains.de>> wrote: Hello Joel, I think we currently have very few BSPs with a linked in device tree blob. I know only of the new imxrt (which isn'

[PATCH rtems v2] cpukit: Add description of release version numbers

2021-05-27 Thread Christian Mauderer
The release version in the git sources doesn't change. Add a note why that is the case. --- v2: Integrate suggestions from Chris Johns. cpukit/include/rtems/version.h | 21 + 1 file changed, 21 insertions(+) diff --git a/cpukit/include/rtems/version.h

Re: Minimum.exe Text Size Outliers

2021-05-27 Thread Christian MAUDERER
reasons. And I wouldn't even guarantee that I didn't add some myself. So it will be a case by case decision. Best regards Christian --joel On Wed, May 26, 2021 at 1:14 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: On 26/05/2021 19:23, Joel Sherr

Re: [PATCH v1 0/2] [libbsd] Install correct machine include headers

2021-06-01 Thread Christian Mauderer
On 01/06/2021 19:24, Gedare Bloom wrote: On Mon, May 10, 2021 at 11:26 AM Jan Sommer wrote: Hello, This is a follow-up on this discussion regarding the installed header files in libbsd: https://lists.rtems.org/pipermail/devel/2021-April/066211.html The current situation is, that for example

[PATCH] bsps/imxrt: Fix undefined symbol

2021-07-07 Thread Christian Mauderer
--- bsps/arm/imxrt/start/linkcmds.flexspi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/imxrt/start/linkcmds.flexspi b/bsps/arm/imxrt/start/linkcmds.flexspi index ceed164894..b4e77b7061 100644 --- a/bsps/arm/imxrt/start/linkcmds.flexspi +++

Re: [PATCH] bsps/imxrt: Fix undefined symbol

2021-07-08 Thread Christian MAUDERER
Thanks. I pushed it. Am 08.07.21 um 07:45 schrieb Sebastian Huber: Thanks, looks good. -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-brains.de phone: +49-89-18 94 741 - 18

Re: Throughput/Goodput analysis on RTEMS

2021-07-02 Thread Christian Mauderer
Hello Vijay, On 01/07/2021 22:16, Vijay Kumar Banerjee wrote: Hi Kinsey, On Thu, Jul 1, 2021 at 12:57 PM Kinsey Moore wrote: On 7/1/2021 13:40, Vijay Kumar Banerjee wrote: Hi all, I'm planning to do a throughput analysis on the RTEMS network stacks and I'm looking for some suggestions on

Re: [PATCH v2] bsps/arm: Move optfdt* files to shared parent directory

2021-06-29 Thread Christian Mauderer
PS: Wouldn't it make sense to move these even further up? There is for example ./spec/build/bsps/riscv/riscv/optfdtcpyro.yml too. A short md5 shows that it's the same file again. Best regards Christian On 29/06/2021 20:23, Christian Mauderer wrote: arm/imx7, arm/altcycv_devkit, arm

Re: stm32h7 on libbsd?

2021-06-29 Thread Christian Mauderer
Hello Gedare, I _think_ Sebastian tested it on the same evaluation board that I used for writing the SD driver: STM32H743I-EVAL2. I'm not entirely sure whether the "2" is really relevant or whether that's part of an order number at a distributor. Best regards Christian On 29/06/2021

Re: [PATCH v2] bsps/arm: Move optfdt* files to shared parent directory

2021-06-29 Thread Christian Mauderer
arm/imx7, arm/altcycv_devkit, arm/raspberrypi and arm/beagleboneblack compile with the patch. I tried libbsd media01 on beagleboneblack and it works. Best regards Christian On 29/06/2021 18:56, Gedare Bloom wrote: I don't have an arm toolchain, if someone can pick this up and test compile

Re: Testing SDIO drivers for ZynqMP in RTEMS-libbsd

2021-06-29 Thread Christian Mauderer
Hello Stephen, testing SD drivers is a bit tricky. You can use the media01 and a SD card. As soon as the driver works, media01 will mount the SD card and you can write to it. I wrote a SD driver just recently. What was really useful for me was a logic analyzer that can be handled by sigrok

Re: GSoC Project - Beagle BSP Projects

2021-05-02 Thread Christian Mauderer
Husni. On Fri, Apr 2, 2021 at 6:16 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: On 02/04/2021 08:36, Ahamed Husni wrote: >         >     Yes, this seems like an area that can be chipped away at, with a >         >     strong plan of a

Re: tcpreplay for testing network stacks

2021-04-28 Thread Christian MAUDERER
g http://lists.rtems.org/mailman/listinfo/devel -- 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: Amtsg

Re: tcpreplay for testing network stacks

2021-04-29 Thread Christian MAUDERER
Am 29.04.21 um 00:54 schrieb Vijay Kumar Banerjee: On Wed, Apr 28, 2021 at 3:27 PM Chris Johns wrote: On 29/4/21 3:00 am, Vijay Kumar Banerjee wrote: On Wed, Apr 28, 2021 at 10:49 AM Christian Mauderer wrote: Hello Vijay, On 28/04/2021 18:25, Vijay Kumar Banerjee wrote: On Wed, Apr 28

Re: [PATCH RTEMS v2 0/1] bsp/beagle: Refactored i2c driver and Updated

2021-04-22 Thread Christian Mauderer
Hello Niteesh, thanks for the reminder and the patches. I pushed them. Best regards Christian On 22/04/2021 05:54, Niteesh G. S. wrote: Hello Christian, Reminder to push the patches. Thanks, Niteesh On Sun, Apr 18, 2021 at 11:57 PM Christian Mauderer <mailto:o...@c-mauderer.de>&

Re: tcpreplay for testing network stacks

2021-04-28 Thread Christian Mauderer
Hello Vijay, On 28/04/2021 18:25, Vijay Kumar Banerjee wrote: On Wed, Apr 28, 2021 at 12:41 AM Christian MAUDERER wrote: Hello Vijay, Am 27.04.21 um 18:48 schrieb Vijay Kumar Banerjee: Hi, I came across the tcpreplay tool and it looks like a nice tool for testing the network stacks

Re: [PATCH v2 0/4] bsps/shared/ofw: Bug and Coverity defect fixes

2021-02-08 Thread Christian Mauderer
Hello Gedare and Niteesh, the patches look fine. I pushed them. @Niteesh: Thanks for creating them. Best regards Christian On 08/02/2021 19:13, Gedare Bloom wrote: Christian, These look good to me, please push if you are happy with them too. Thanks! On Sat, Feb 6, 2021 at 10:41 AM G S

Re: [PATCH v3] bsps/shared/ofw: Fix coverity reported defects

2021-02-05 Thread Christian MAUDERER
Am 05.02.21 um 09:45 schrieb Niteesh G. S.: On Fri, Feb 5, 2021 at 12:22 AM Christian Mauderer mailto:cont...@c-mauderer.de>> wrote: On 04/02/2021 17:34, Gedare Bloom wrote: > > > On Thu, Feb 4, 2021 at 1:58 AM Niteesh G. S. mailto:nitee

Re: [PATCH rtems 0/2] Add Peek Support to libblock and use in dosfs

2021-02-09 Thread Christian MAUDERER
ler to read. - Catch peeks of zero length in rtems_bdbuf_peek (small bugfix) Does someone want to see a v2 for these or can I commit directly? Am 29.01.21 um 14:07 schrieb Christian MAUDERER: Any changes except the ones requested by Gedare? Am 22.01.21 um 14:24 schrieb Christian Mauderer: He

[PATCH] bsps/arm/imxrt: Add FDT and FDT helper for QTMR

2021-02-11 Thread Christian Mauderer
Makes it simpler to access the QTMR in an application via a FDT name or link in an application specific FDT entry. --- bsps/arm/imxrt/include/fsl_qtmr.h | 34 bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi | 24 +++ .../nxp/devices/MIMXRT1052/drivers/fsl_qtmr.c

Re: [patch libBSD] dev/ofw: Use RTEMS OFW FDT implementation

2021-01-27 Thread Christian MAUDERER
 #define        ofw_bus_assigned_addresses_to_rl _bsd_ofw_bus_assigned_addresses_to_rl  #define        ofwbus_driver _bsd_ofwbus_driver -- 2.17.1 -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...

Re: GSoC Project - Beagle BSP Projects

2021-03-23 Thread Christian MAUDERER
s.rtems.org/mailman/listinfo/devel -- ---- 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:

Re: GSoC Project - Beagle BSP Projects

2021-03-23 Thread Christian MAUDERER
Hello Gedare, Am 23.03.21 um 16:48 schrieb Gedare Bloom: CC: Nils, Utkarsh On Tue, Mar 23, 2021 at 9:17 AM Christian MAUDERER wrote: Hello Ahamed, Am 23.03.21 um 11:24 schrieb Ahamed Husni: Hi everyone, I'm really interested to work on the *Beagle BSP Projects* [#2891 <ht

libbsd: Backport fd_set size fixes for racoon and ping6 to 5

2021-03-26 Thread Christian MAUDERER
: https://devel.rtems.org/ticket/4361 Is that OK? Best regards Christian -- 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

Re: GSoC Project - Beagle BSP Projects

2021-03-26 Thread Christian MAUDERER
Also I don't think that this project should be continued without a full DEBUGGING Setup. +1, without a proper debugging setup I found it hard to precisely pin point the problem when I initially took up this task. Best, Nils On Tue, 2

[PATCH rtems-libbsd 1/3] testsuite/media01: Enable md5 command

2021-03-25 Thread Christian Mauderer
--- testsuite/media01/test_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c index dcab32208..9c05fc077 100644 --- a/testsuite/media01/test_main.c +++ b/testsuite/media01/test_main.c @@ -262,6 +262,7 @@

[PATCH rtems-libbsd 2/3] testsuite/media01: Add pattern test.

2021-03-25 Thread Christian Mauderer
--- libbsd.py| 2 +- testsuite/media01/pattern-test.c | 337 +++ testsuite/media01/pattern-test.h | 44 testsuite/media01/test_main.c| 5 +- 4 files changed, 386 insertions(+), 2 deletions(-) create mode 100644

[PATCH rtems-libbsd 3/3] STM32H7: Add SDMMC driver

2021-03-25 Thread Christian Mauderer
--- libbsd.py | 2 + rtemsbsd/include/bsp/nexus-devices.h | 2 + rtemsbsd/include/bsp/st-sdmmc-config.h| 71 ++ .../include/machine/rtems-bsd-nexus-bus.h | 22 + rtemsbsd/sys/dev/mmc/st-sdmmc-config.c| 46 +

[PATCH rtems-docs] user/bsps: Add STM32H7 SDMMC driver

2021-03-25 Thread Christian Mauderer
--- user/bsps/arm/stm32h7.rst | 26 ++ 1 file changed, 26 insertions(+) diff --git a/user/bsps/arm/stm32h7.rst b/user/bsps/arm/stm32h7.rst index 3eee511..483d029 100644 --- a/user/bsps/arm/stm32h7.rst +++ b/user/bsps/arm/stm32h7.rst @@ -31,3 +31,29 @@ USB Host Driver

[PATCH rtems 2/2] stm32h7: Add init for sdmmc pins.

2021-03-25 Thread Christian Mauderer
--- bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c| 2 + bsps/arm/stm32h7/start/stm32h7-hal-sdmmc.c | 88 ++ spec/build/bsps/arm/stm32h7/bspstm32h7.yml | 1 + 3 files changed, 91 insertions(+) create mode 100644 bsps/arm/stm32h7/start/stm32h7-hal-sdmmc.c diff --git

STM32H7 BSP: Add SDMMC-driver (Note: Extends libbsd media01)

2021-03-25 Thread Christian Mauderer
Hello, the patch set for RTEMS, libbsd and docs add a SDMMC driver for STM32H7 to libbsd. Note that I added the md5 command to media01 which is useful when testing storage devices. Beneath that I added a command that can fill a disk or a file with an incrementing number which - again - can be

[PATCH rtems 1/2] stm32h7: Add SDMMC modules to clock.

2021-03-25 Thread Christian Mauderer
--- bsps/arm/stm32h7/include/stm32h7/hal.h | 4 +++- bsps/arm/stm32h7/start/stm32h7-hal.c | 14 -- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/bsps/arm/stm32h7/include/stm32h7/hal.h b/bsps/arm/stm32h7/include/stm32h7/hal.h index de38f1a5e8..e1bbd49ceb 100644

Re: STM32H7 BSP: Add SDMMC-driver (Note: Extends libbsd media01)

2021-03-25 Thread Christian MAUDERER
it into media01 which is the test that (from my point of view) will be used most often to develop storage drivers in libbsd. Best regards Christian On Thu, Mar 25, 2021 at 2:35 AM Christian Mauderer wrote: Hello, the patch set for RTEMS, libbsd and docs add a SDMMC driver for STM32H7

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-30 Thread Christian MAUDERER
Joel Sherrill wrote: On Sun, Mar 21, 2021, 4:45 AM Christian Mauderer wrote: Hello Ayushman, On 21/03/2021 04:15, Ayushman Mishra wrote: Ayushman Hello everyone , I am very much interested in taking https://devel.rtems.org/ticket/4334 as a GSOC 2021 project. I know some basic networking

Re: [PATCH rtems-docs v2] User/BSPs/Beagle: Add JTAG debugger section

2021-03-30 Thread Christian Mauderer
Hello Gedare and Chris, thanks for the review. I pushed the patch. Best regards Christian Am 30.03.21 um 09:19 schrieb Chris Johns: And me. Thanks. Chris On 30/3/21 7:47 am, Gedare Bloom wrote: looks fine to me On Mon, Mar 29, 2021 at 1:12 PM Christian Mauderer wrote: --- user/bsps

Re: [PATCH rtems-littlevgl] wscript: Upgrade rtems_version number

2021-03-29 Thread Christian MAUDERER
7 @@ from __future__ import print_function import lvgl import sys -rtems_version = "5" +rtems_version = "6" try: import rtems_waf.rtems as rtems -- -------- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178

Re: libbsd: Backport fd_set size fixes for racoon and ping6 to 5

2021-03-29 Thread Christian MAUDERER
and the 5 branch shouldn't be updated with fixes? Or have the fixes just not been applied to 5? Best regards Christian On Fri, Mar 26, 2021 at 7:14 AM Christian MAUDERER wrote: Hello, I would like to backport the following patches to 5 and 5-freebsd-12: https://git.rtems.org/rtems-libbsd

Re: [PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-03-29 Thread Christian MAUDERER
Hello Chris, Am 28.03.21 um 04:43 schrieb Chris Johns: On 22/3/21 7:45 pm, Christian MAUDERER wrote: Hello Chris, Am 19.03.21 um 02:11 schrieb Chris Johns: On 3/3/21 7:41 pm, Christian MAUDERER wrote: Hello Chris, Am 03.03.21 um 02:17 schrieb Chris Johns: On 2/3/21 7:26 pm, Christian

Re: [PATCH] Open firmware: restore FDT in ofw01 to avoid test timeout

2021-03-30 Thread Christian MAUDERER
devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- 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

Re: GSoC Project - Beagle BSP Projects

2021-04-02 Thread Christian Mauderer
's the tricky part. It has something to do with the usb_temp_init functions. But I didn't manage to get it working in an hour or so and stopped trying after that. So finding out how to configure and set up the stuff will be part of your Project. Best regards Christian Best regards, On Fri

Re: libbsd: Backport fd_set size fixes for racoon and ping6 to 5

2021-03-29 Thread Christian MAUDERER
Hello Gedare, Am 29.03.21 um 16:40 schrieb Gedare Bloom: On Mon, Mar 29, 2021 at 1:31 AM Christian MAUDERER wrote: Hello Gedare, Am 26.03.21 um 16:03 schrieb Gedare Bloom: seems fine to me. Thanks. I just wanted to push the patches and noted that there haven't been any changes to the 5

Re: GSOC : Ticket#3892

2021-03-29 Thread Christian MAUDERER
z guide me about this project . Thank you ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Ger

[PATCH rtems-docs v2] User/BSPs/Beagle: Add JTAG debugger section

2021-03-29 Thread Christian Mauderer
--- user/bsps/arm/beagle.rst | 67 ++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/user/bsps/arm/beagle.rst b/user/bsps/arm/beagle.rst index ac49b1c..5789bb8 100644 --- a/user/bsps/arm/beagle.rst +++ b/user/bsps/arm/beagle.rst @@ -102,8

Re: [PATCH rtems-docs] User/BSPs/Beagle: Add JTAG debugger section

2021-03-29 Thread Christian Mauderer
Hello Gedare, thanks for the review. I've sent a v2. I changed the first sentence (with "thought") a bit. Otherwise I followed your suggestions. Best regards Christian On 29/03/2021 21:08, Gedare Bloom wrote: thanks, just a couple tweaks On Mon, Mar 29, 2021 at 12:13 PM Christia

Re: [Beagle BSP] How to run all tests on a Beaglebone Black in an automated way

2021-03-28 Thread Christian Mauderer
On 28/03/2021 03:16, Chris Johns wrote: On 28/3/21 6:16 am, Ahamed Husni wrote: Hi, I ran the hello program on the BBB using a bootable SD card. The SD card has two partitions. 1. BOOT - primary, bootable, FAT32 2. ROOT - primary, ext4 The BOOT partition has the following files. 1.

Re: [Beagle BSP] How to run all tests on a Beaglebone Black in an automated way

2021-03-29 Thread Christian Mauderer
On 29/03/2021 00:29, Chris Johns wrote: On 28/3/21 8:04 pm, Christian Mauderer wrote: On 28/03/2021 03:16, Chris Johns wrote: On 28/3/21 6:16 am, Ahamed Husni wrote: Hi, I ran the hello program on the BBB using a bootable SD card. The SD card has two partitions.   1. BOOT - primary

[PATCH rtems-docs] User/BSPs/Beagle: Add JTAG debugger section

2021-03-29 Thread Christian Mauderer
--- user/bsps/arm/beagle.rst | 67 ++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/user/bsps/arm/beagle.rst b/user/bsps/arm/beagle.rst index ac49b1c..dedd01b 100644 --- a/user/bsps/arm/beagle.rst +++ b/user/bsps/arm/beagle.rst @@ -102,8

Re: [PATCH 0/4] Import and Port Beagle pinmux driver

2021-03-16 Thread Christian MAUDERER
mode 100644 bsps/shared/freebsd/sys/arm/ti/ti_pinmux.c -- 2.17.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- embedded brains GmbH Herr Christian MAUDERER Dornierstr

Re: code reformatting was Re: Regarding gsoc project 3860

2021-03-16 Thread Christian MAUDERER
evel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- -------- 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: Amtsgeric

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-21 Thread Christian Mauderer
Hello Ayushman, On 21/03/2021 04:15, Ayushman Mishra wrote: Ayushman Hello everyone , I am very much interested in taking https://devel.rtems.org/ticket/4334 as a GSOC 2021 project. I know some basic networking concepts and would like to learn more about it and how its applied to OS like RTEMS

Re: [PATCH 4/4] bsp/beagle: Ported Beagle pinmux driver to RTEMS

2021-03-21 Thread Christian Mauderer
Hello Niteesh, thanks for the patches. I tested them (together with the libbsd one) with BBB and a littlevgl demo and they work fine. I pushed them. Best regards Christian PS: Sorry for the double mail. I used the wrong sender for the list (again). On 13/03/2021 12:19, Niteesh G. S. wrote:

Re: [PATCH] rtems-fdt/rtems-fdt.c: Fix bug in loop termination

2021-03-21 Thread Christian Mauderer
Hello Gedare and Niteesh, I pushed the patch on master and 5. Niteesh: Thanks for finding and fixing that bug. Best regards Christian On 21/03/2021 08:04, Niteesh G. S. wrote: On Sat, Mar 20, 2021 at 11:39 AM Gedare Bloom > wrote: This looks good to me. Is

Re: GSoC project: #3850 Modular Network Stacks

2021-03-21 Thread Christian Mauderer
On 21/03/2021 18:53, Joel Sherrill wrote: On Sun, Mar 21, 2021, 12:47 PM Vijay Kumar Banerjee > wrote: Hi Rajiv and Joel, On Sun, Mar 21, 2021 at 9:06 AM Joel Sherrill mailto:j...@rtems.org>> wrote: > > > > On Sun, Mar 21, 2021, 9:20 AM

Re: [PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-03-22 Thread Christian MAUDERER
Hello Chris, Am 19.03.21 um 02:11 schrieb Chris Johns: On 3/3/21 7:41 pm, Christian MAUDERER wrote: Hello Chris, Am 03.03.21 um 02:17 schrieb Chris Johns: On 2/3/21 7:26 pm, Christian MAUDERER wrote: Hello Chris, Am 02.03.21 um 01:03 schrieb Chris Johns: On 1/3/21 7:24 pm, Christian

[PATCH rtems v2 1/2] libblock: Add rtems_bdbuf_peek()

2021-03-22 Thread Christian Mauderer
Adds a peek function that allows (for example) a file system to suggest the next blocks that should be used for read ahead. This can increase the read speed of fragmented files. --- cpukit/include/rtems/bdbuf.h | 21 cpukit/include/rtems/diskdevs.h | 24 -

[PATCH rtems v2 2/2] dosfs: Use peek support

2021-03-22 Thread Christian Mauderer
This speeds up reading fragmented files. --- cpukit/libfs/src/dosfs/fat.c | 10 ++ cpukit/libfs/src/dosfs/fat.h | 5 + cpukit/libfs/src/dosfs/fat_file.c | 21 - 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/cpukit/libfs/src/dosfs/fat.c

[PATCH rtems v2 0/2] Add Peek Support to libblock and use in dosfs

2021-03-22 Thread Christian Mauderer
Hello, I noted that I missed to push these patches. The first version had been in this mailing list thread: https://lists.rtems.org/pipermail/devel/2021-January/064004.html Changes since then (most suggested by Gedare - thanks for that): - rename read_ahead_transfers_with_size to

Re: [PATCH rtems v2 1/2] libblock: Add rtems_bdbuf_peek()

2021-03-22 Thread Christian MAUDERER
Am 22.03.21 um 15:55 schrieb Gedare Bloom: On Mon, Mar 22, 2021 at 2:27 AM Christian Mauderer wrote: Adds a peek function that allows (for example) a file system to suggest the next blocks that should be used for read ahead. This can increase the read speed of fragmented files. --- cpukit

Re: [PATCH v4 1/2] bsps/beagle: Adding QEP driver support to BeagleBoneBlack BSP

2021-03-02 Thread Christian Mauderer
Hello James, thanks for the patches. I pushed them. Best regards Christian On 23/02/2021 09:18, James Fitzsimons wrote: --- bsps/arm/beagle/headers.am | 2 + bsps/arm/beagle/include/bsp/bbb-pwm.h | 11 - bsps/arm/beagle/include/bsp/pwmss.h | 54 +++

[PATCH rtems-libbsd 2/2] ping6: Honor file descriptor maximum

2021-02-25 Thread Christian Mauderer
This is basically the same as the patch for ping. --- freebsd/sbin/ping6/ping6.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/freebsd/sbin/ping6/ping6.c b/freebsd/sbin/ping6/ping6.c index a56aae1dc..2d6e5adef 100644 --- a/freebsd/sbin/ping6/ping6.c +++

[PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-02-25 Thread Christian Mauderer
Dynamically allocate a big enough file descriptor set for select(). A better solution would be to use kqueue() instead of select(). --- .../racoon/rtems-bsd-racoon-session-data.h| 6 +-- ipsec-tools/src/racoon/session.c | 40 +++ 2 files changed, 43

Re: [PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-03-01 Thread Christian MAUDERER
Hello Chris, thanks for the review. Am 26.02.21 um 19:04 schrieb Chris Johns: On 26/2/21 2:01 am, Christian Mauderer wrote: Dynamically allocate a big enough file descriptor set for select(). A better solution would be to use kqueue() instead of select(). --- .../racoon/rtems-bsd-racoon

Re: [PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-03-02 Thread Christian MAUDERER
Hello Chris, Am 02.03.21 um 01:03 schrieb Chris Johns: On 1/3/21 7:24 pm, Christian MAUDERER wrote: Hello Chris, thanks for the review. Am 26.02.21 um 19:04 schrieb Chris Johns: On 26/2/21 2:01 am, Christian Mauderer wrote: Dynamically allocate a big enough file descriptor set for select

Re: [PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-03-03 Thread Christian MAUDERER
Hello Chris, Am 03.03.21 um 02:17 schrieb Chris Johns: On 2/3/21 7:26 pm, Christian MAUDERER wrote: Hello Chris, Am 02.03.21 um 01:03 schrieb Chris Johns: On 1/3/21 7:24 pm, Christian MAUDERER wrote: Hello Chris, thanks for the review. Am 26.02.21 um 19:04 schrieb Chris Johns: On 26/2/21

Re: Unchecked return value on third party code

2021-02-23 Thread Christian MAUDERER
___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- 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

Re: Unchecked return value on third party code

2021-02-23 Thread Christian MAUDERER
Am 23.02.21 um 17:14 schrieb Joel Sherrill: On Tue, Feb 23, 2021 at 9:50 AM Christian MAUDERER <mailto:christian.maude...@embedded-brains.de>> wrote: Hello Joel, Am 23.02.21 um 16:23 schrieb Joel Sherrill: > Hi > > Ryan has wandered into the land o

Re: [PATCH RTEMS] bsps/beagle: Refactored i2c driver

2021-04-08 Thread Christian MAUDERER
unit++; +} RTEMS_SYSINIT_ITEM( bbb_drivers_initialize, -- 2.17.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org

Re: [PATCH rtems-libbsd 2/2] st-sdmmc: Handle short not cache aligned buffers

2021-04-15 Thread Christian MAUDERER
Hello Gedare, thanks for the review. Best regards Christian Am 14.04.21 um 18:31 schrieb Gedare Bloom: These two look good if no one complains go ahead. (I'm not 100% on this libbsd stuff yet.) On Wed, Apr 14, 2021 at 1:21 AM Christian Mauderer wrote: Possible data sources for SD driver

Re: [PATCH libBSD] iicbus/rtems-i2c.c: Add rtems, path as an additional bus path

2021-04-19 Thread Christian Mauderer
Hello Niteesh, On 19/04/2021 18:45, Niteesh G. S. wrote: On Mon, Apr 19, 2021 at 9:55 PM Gedare Bloom > wrote: On Sun, Apr 18, 2021 at 9:12 AM G S Niteesh Babu mailto:niteesh...@gmail.com>> wrote: > > Adds "rtems,path" as an additional bus path for

Re: [PATCH RTEMS v2 0/1] bsp/beagle: Refactored i2c driver and Updated

2021-04-18 Thread Christian Mauderer
Hello Niteesh, sorry for not taking a look earlier. The patches seem OK for me. Just a tiny change request: I know that I suggested the "rtems,path" for the device tree. When testing I noted that we have the rtems-i2c driver in libbsd which is more or less just a compatibility layer between

Re: [PATCH RTEMS v2 0/1] bsp/beagle: Refactored i2c driver and Updated

2021-04-18 Thread Christian Mauderer
:54 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Niteesh, sorry for not taking a look earlier. No problem The patches seem OK for me. Just a tiny change request: I know that I suggested the "rtems,path" for the device tree. When test

[PATCH rtems-libbsd 1/2] MMCSD: Use cache aligned alloc for ioctl

2021-04-14 Thread Christian Mauderer
Some drivers can't easily work with buffers that are not cache aligned and have an arbitrary length. Therefore use an aligned malloc instead. --- freebsd/sys/dev/mmc/mmcsd.c | 4 1 file changed, 4 insertions(+) diff --git a/freebsd/sys/dev/mmc/mmcsd.c b/freebsd/sys/dev/mmc/mmcsd.c index

[PATCH rtems-libbsd 2/2] st-sdmmc: Handle short not cache aligned buffers

2021-04-14 Thread Christian Mauderer
Possible data sources for SD driver: - mmc_sd_switch(): - length: 64 byte; - buffer on stack - mmc_test_bus_width(): - length: 4 or 8 byte - buffer in program memory or on stack - mmc_app_send_scr(): - length: 8 byte - buffer from device ivar structure -

Re: [PATCH 2/4] bsps/shared/ofw: Use memcpy instead of strncpy

2021-02-05 Thread Christian Mauderer
On 05/02/2021 19:22, Gedare Bloom wrote: On Fri, Feb 5, 2021 at 10:41 AM G S Niteesh Babu > wrote: Changed rtems_ofw_get_prop to use memcpy instead of strncpy ---  bsps/shared/ofw/ofw.c | 10 +-  1 file changed, 9 insertions(+), 1

Re: Standalone repository for libnetworking stack

2021-02-05 Thread Christian Mauderer
Hello Vijay, On 05/02/2021 19:41, Vijay Kumar Banerjee wrote: Hello, I'm currently working on separating the libnetworking stack into its standalone repository that can be built separately with waf. The current status of the project is that I have a working rtems-libnetworking repository

Re: [PATCH v3] bsps/shared/ofw: Fix coverity reported defects

2021-02-04 Thread Christian Mauderer
On 04/02/2021 19:52, Christian Mauderer wrote: On 04/02/2021 17:34, Gedare Bloom wrote: On Thu, Feb 4, 2021 at 1:58 AM Niteesh G. S. <mailto:niteesh...@gmail.com>> wrote:     On Thu, Feb 4, 2021 at 1:21 AM Gedare Bloom mailto:ged...@rtems.org>> wrote:     On W

Re: [PATCH 2/4] bsps/shared/ofw: Use memcpy instead of strncpy

2021-02-06 Thread Christian Mauderer
On 06/02/2021 06:02, Niteesh G. S. wrote: Hello Christian, On Sat, Feb 6, 2021 at 2:33 AM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: On 05/02/2021 19:22, Gedare Bloom wrote: > > > On Fri, Feb 5, 2021 at 10:41 AM G S Niteesh Babu mailto:ni

Re: [PATCH v3 0/1] Resubmission of patch previously submitted Sept 2020

2021-02-22 Thread Christian Mauderer
Hello James, thanks for the patch and sorry that it get lost on the first submission. The patch compiles fine and it doesn't seem to change interfaces a lot. So I would say it is OK. I'll give it two or three more days of review before pushing it. Please remind me again in a week in case I

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