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

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

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

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

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

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

[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

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

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

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

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

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

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 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 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-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 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 rtems 0/2] Add Peek Support to libblock and use in dosfs

2021-01-29 Thread Christian MAUDERER
Any changes except the ones requested by Gedare? Am 22.01.21 um 14:24 schrieb Christian Mauderer: Hello, the first patch allows filesystems to have an influence on the read ahead of libblock. The second one uses it in our FAT implementation during reads. I tested the patches on a SD card

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

2021-01-29 Thread Christian MAUDERER
Hello Niteesh, Am 29.01.21 um 09:58 schrieb Niteesh G. S.: Hello Christian, On Fri, Jan 29, 2021 at 1:47 PM Christian MAUDERER <mailto:christian.maude...@embedded-brains.de>> wrote: Hello Niteesh, Am 29.01.21 um 07:33 schrieb Niteesh G. S.: > Hello, &g

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

2021-01-29 Thread Christian MAUDERER
offset, "ranges", ); -    if (len < 0) { +    if (ptr == NULL) {        break;      } -- 2.17.1 -- ---- embedded brains GmbH Herr Christian MAUDERER Dornierstr. 4 82178 Puchheim Germany email: christian.maude...@embedded-b

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

2021-01-27 Thread Christian MAUDERER
Am 28.01.21 um 06:28 schrieb Chris Johns: On 28/1/21 4:12 am, Niteesh G. S. wrote: Hello Christian, On Wed, Jan 27, 2021 at 3:59 PM Christian MAUDERER mailto:christian.maude...@embedded-brains.de>> wrote: Hello Niteesh, I think there is an open Question from Chris for that

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: Raspberry Pi Pico

2021-01-22 Thread Christian MAUDERER
github.com/raspberrypi/openocd/tree/rp2040 Best regards Christian --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- embedded brains GmbH Herr Christian

Re: [PATCH v2] bsps/shared: Build fsl-edma only for certain BSP

2021-01-22 Thread Christian MAUDERER
Am 22.01.21 um 15:48 schrieb Sebastian Huber: On 22/01/2021 15:44, Christian Mauderer wrote: Move the Freescale EDMA driver to it's own object and build it only for the BSP that is currently using it. Looks good. Thanks. I pushed

[PATCH v2] bsps/shared: Build fsl-edma only for certain BSP

2021-01-22 Thread Christian Mauderer
Move the Freescale EDMA driver to it's own object and build it only for the BSP that is currently using it. --- spec/build/bsps/arm/imxrt/bspimxrt.yml | 2 ++ spec/build/bsps/obj.yml| 5 - spec/build/bsps/objdevfsledma.yml | 18 ++ 3 files changed, 20

Re: [PATCH] bsps/shared: Build fsl-edma only for certain BSP

2021-01-22 Thread Christian MAUDERER
Am 22.01.21 um 15:30 schrieb Sebastian Huber: On 22/01/2021 15:15, Christian Mauderer wrote: Move the Freescale EDMA driver to it's own object and build it only for the BSP that is currently using it. I think the removal part is missing. I shouldn't send patches on a Friday afternoon. I'll

Re: [rtems commit] bsps/shared: Adapt fsl-edma driver for imxrt

2021-01-22 Thread Christian MAUDERER
I have sent a patch for review: https://lists.rtems.org/pipermail/devel/2021-January/064009.html Am 22.01.21 um 14:07 schrieb Christian MAUDERER: Am 22.01.21 um 14:04 schrieb Sebastian Huber: On 21/01/2021 10:26, Christian Mauderer wrote:   spec/build/bsps/obj.yml

[PATCH] bsps/shared: Build fsl-edma only for certain BSP

2021-01-22 Thread Christian Mauderer
Move the Freescale EDMA driver to it's own object and build it only for the BSP that is currently using it. --- spec/build/bsps/arm/imxrt/bspimxrt.yml | 2 ++ spec/build/bsps/objdevfsledma.yml | 18 ++ 2 files changed, 20 insertions(+) create mode 100644

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

2021-01-22 Thread Christian MAUDERER
Am 22.01.21 um 14:59 schrieb Gedare Bloom: On Fri, Jan 22, 2021 at 6:24 AM Christian Mauderer <mailto:christian.maude...@embedded-brains.de>> wrote: Adds a peek function that allows (for example) a file system to suggest the next blocks that should be used for read ahead.

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

2021-01-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 | 27 -

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

2021-01-22 Thread Christian Mauderer
Hello, the first patch allows filesystems to have an influence on the read ahead of libblock. The second one uses it in our FAT implementation during reads. I tested the patches on a SD card attached to an i.MX6ULL based system. To test it I used an empty 16 MB FAT partition. The bdbuf cache in

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

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

Re: [rtems commit] bsps/shared: Adapt fsl-edma driver for imxrt

2021-01-22 Thread Christian MAUDERER
Am 22.01.21 um 14:04 schrieb Sebastian Huber: On 21/01/2021 10:26, Christian Mauderer wrote:   spec/build/bsps/obj.yml  |   5 + This is the wrong place for these files. Please add a separate object for the driver and link to this object in all BSPs which use the driver

Re: [PATCH] bsp/imx: Fix system counter init for imx6

2021-01-19 Thread Christian MAUDERER
Am 18.01.21 um 22:45 schrieb Chris Johns: On 18/1/21 8:05 pm, Christian MAUDERER wrote: I want to backport that patch to RTEMS 5 too because this problem occurred multiple times on the mailing list. If that is OK I'll create a separate ticket for RTEMS 5 that describes that problem. For RTEMS 6

Re: [PATCH] bsp/imx: Fix system counter init for imx6

2021-01-18 Thread Christian MAUDERER
et. Best regards Christian Am 18.01.21 um 10:02 schrieb Christian Mauderer: For i.MX7 U-Boot initializes the system counter. On i.MX6 Barebox is often used which doesn't initialize the counter. With this patch, we try to auto-detect whether the counter is initialized or not and do the init

[PATCH] bsp/imx: Fix system counter init for imx6

2021-01-18 Thread Christian Mauderer
For i.MX7 U-Boot initializes the system counter. On i.MX6 Barebox is often used which doesn't initialize the counter. With this patch, we try to auto-detect whether the counter is initialized or not and do the initialization ourself if necessary. Closes #3869 --- bsps/arm/imx/start/bspstart.c |

Re: [PATCH v3 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-12-27 Thread Christian Mauderer
Hello Niteesh, I pushed the two patches. Best regards Christian On 22/12/2020 19:01, Niteesh G. S. wrote: Hello Christian, On Tue, Dec 22, 2020 at 6:33 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Niteesh, On 19/12/2020 16:57, Niteesh G. S. wrote:

Re: [PATCH v3 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-12-22 Thread Christian Mauderer
Hello Niteesh, On 19/12/2020 16:57, Niteesh G. S. wrote: Hello Christian, On Sat, Dec 19, 2020 at 7:11 PM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Niteesh, sorry, I somehow forget to check that patch set. I'll do it in the next few days. No proble

Re: [PATCH v3 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-12-19 Thread Christian Mauderer
Hello Niteesh, sorry, I somehow forget to check that patch set. I'll do it in the next few days. Best regards Christian On 17/12/2020 12:15, Niteesh G. S. wrote: ping. On Fri, Dec 4, 2020 at 1:41 PM G S Niteesh Babu > wrote: This commit adds a basic

[PATCH rtems 4/6] bsps/imxrt: Add DMA numbers to dtsi

2020-12-14 Thread Christian Mauderer
Also currently no driver uses these numbers, it is usefull for applications that want to use the DMA. Update #4180 --- bsps/arm/imxrt/dts/imxrt1050-evkb.c | 1037 ++- bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi | 45 + 2 files changed, 604 insertions(+), 478

[PATCH rtems 1/6] bsps/imxrt: Use standard names to avoid warnings

2020-12-14 Thread Christian Mauderer
If spi or i2c slaves are "connected" to the spi or i2c bus, the device tree compiler complains if the busses are not named spi or i2c. Update #4180 --- bsps/arm/imxrt/dts/imxrt1050-evkb.c | 193 ++-- bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi | 16 +- 2 files changed,

[PATCH rtems 3/6] bsps/shared: Adapt fsl-edma driver for imxrt

2020-12-14 Thread Christian Mauderer
Note: The changes have been done with portability in mind. The driver should (in theory) be able to replace the original one in the MPC BSPs too. For full compatibility an adaption layer and especially a test would be necessary. Because both are missing, don't integrate it into the MPC BSP now.

[PATCH rtems 2/6] bsps/shared: Copy fsl-edma from mpc55xx

2020-12-14 Thread Christian Mauderer
This is a preparation for making the driver universal. Update #4180 --- bsps/include/fsl/edma.h| 329 +++ bsps/include/fsl/regs-edma.h | 710 + bsps/shared/dev/dma/fsl-edma.c | 329 +++ 3 files changed, 1368 insertions(+) create

[PATCH rtems 6/6] bsps/imxrt: Add ioctl to LPSPI to get registers

2020-12-14 Thread Christian Mauderer
This allows an application to get the registers of the LPSPI. That is usefull for applications that want to use DMA for a very specialized and highly optimized communication. Update #4180 --- bsps/arm/imxrt/include/imxrt/lpspi.h | 54 ++ bsps/arm/imxrt/spi/imxrt-lpspi.c

[PATCH rtems 5/6] cpukit/spi: Allow driver specific ioctl

2020-12-14 Thread Christian Mauderer
This allows a SPI driver to add a hardware specific ioctl. --- cpukit/dev/spi/spi-bus.c | 3 +++ cpukit/include/dev/spi/spi.h | 7 +++ 2 files changed, 10 insertions(+) diff --git a/cpukit/dev/spi/spi-bus.c b/cpukit/dev/spi/spi-bus.c index 5308603216..42b70aa6c9 100644 ---

Re: Fwd: [rtems-bsp-builder] 2020-12-11 12:57:21: Profile(s): everything

2020-12-14 Thread Christian MAUDERER
Hello Joel, Am 14.12.20 um 15:23 schrieb Joel Sherrill: On Sun, Dec 13, 2020 at 3:32 AM Christian Mauderer <mailto:o...@c-mauderer.de>> wrote: Hello Joel, that patch should most likely fix that problem: Great! https://lists.rtems.org/pipermail/devel/2020-Decemb

Re: [PATCH rtems] cpu/armv7m: Fix table based init for ARMV7M_MPU

2020-12-14 Thread Christian MAUDERER
Thanks. I pushed them both (together with some other pending patches). Am 14.12.20 um 12:01 schrieb Sebastian Huber: On 14/12/2020 11:31, Christian Mauderer wrote: Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been

[PATCH rtems] cpu/armv7m: Fix table based init for ARMV7M_MPU

2020-12-14 Thread Christian Mauderer
Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been applied multiple times. Update #4180 --- cpukit/score/cpu/arm/include/rtems/score/armv7m.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

Re: Fwd: [rtems-bsp-builder] 2020-12-11 12:57:21: Profile(s): everything

2020-12-13 Thread Christian Mauderer
Hello Joel, that patch should most likely fix that problem: https://lists.rtems.org/pipermail/devel/2020-December/063708.html I haven't pushed it yet because I just posted it on Thursday and it was only one day of review time on Friday. I'll push it on Monday (together with some other

[PATCH rtems] bsps/arm/imx*: Fix location of shared headers

2020-12-10 Thread Christian Mauderer
When moving the headers from the imx BSP to the shared area, the wrong directory has been selected. This patch fixes that problem. Update #4180 --- .../include/arm/freescale/imx/imx_iomuxreg.h | 0 .../include/arm/freescale/imx/imx_iomuxvar.h | 0 bsps/arm/{shared =>

Re: [PATCH rtems] bsps/imxrt: Split up dts.

2020-12-04 Thread Christian Mauderer
(which doesn't exist yet in the official kernel for i.MXRT) or have some other special sources. Currently there is only a very short note that the device tree can be changed in the BSP. I'll extend it a bit. Best regards Christian On Fri, Dec 4, 2020 at 2:07 AM Christian Mauderer

[PATCH rtems] bsps/imxrt: Split up dts.

2020-12-04 Thread Christian Mauderer
This allows simpler creation of own dts files for custom boards. Update #4180 --- bsps/arm/imxrt/dts/imxrt1050-evkb.dts | 287 +- bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi | 309 spec/build/bsps/arm/imxrt/bspimxrt.yml | 1 + 3 files changed,

Re: [PATCH rtems-docs] shell: Document i2c and spi commands.

2020-12-01 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äftsführer

[PATCH rtems-docs v2] shell: Document i2c and spi commands.

2020-12-01 Thread Christian Mauderer
--- shell/general_commands.rst | 215 + 1 file changed, 215 insertions(+) diff --git a/shell/general_commands.rst b/shell/general_commands.rst index c74ae45..5913f54 100644 --- a/shell/general_commands.rst +++ b/shell/general_commands.rst @@ -44,6 +44,14 @@

Re: [PATCH rtems-docs] shell: Document i2c and spi commands.

2020-11-30 Thread Christian Mauderer
Hello Gedare, thanks for the review. On 30/11/2020 18:43, Gedare Bloom wrote: On Mon, Nov 30, 2020 at 7:14 AM Christian Mauderer <mailto:christian.maude...@embedded-brains.de>> wrote: ---  shell/general_commands.rst | 200 +  1 fil

[PATCH rtems-docs] shell: Document i2c and spi commands.

2020-11-30 Thread Christian Mauderer
--- shell/general_commands.rst | 200 + 1 file changed, 200 insertions(+) diff --git a/shell/general_commands.rst b/shell/general_commands.rst index c74ae45..a6f7e18 100644 --- a/shell/general_commands.rst +++ b/shell/general_commands.rst @@ -44,6 +44,14 @@

Re: [PATCH] shell: Add i2c and spi commands

2020-11-26 Thread Christian MAUDERER
Anyone against this patch? Otherwise I would like to push it somewhen in the near future. Best regards Christian Am 18.11.20 um 08:36 schrieb Christian Mauderer: This adds some commands that are usefull for debugging simple serial interfaces. Even if they are a complete re-implementation

Re: [PATCH v2 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-11-22 Thread Christian Mauderer
Hello Niteesh, Am 20.11.20 um 20:18 schrieb Niteesh G. S.: On Fri, Nov 20, 2020 at 2:50 PM Christian Mauderer <mailto:christian.maude...@embedded-brains.de>> wrote: On a last test before I wanted to push it, I found a problem (sorry). On BSPs that rely on a FDT the tes

Re: [PATCH v2 2/2] libtests/ofw01: Added a test for RTEMS OFW

2020-11-20 Thread Christian Mauderer
t;; + + q { + reg = <0x4800 0x200>; + status = "okay"; + }; + }; +}; diff --git a/testsuites/libtests/ofw01/some.h b/testsuites/libtests/ofw01/some.h new file mode 100644 index 00..e2e0135e68 --- /dev/null

Re: [PATCH rtems v3 0/7] Add imxrt BSP

2020-11-20 Thread Christian Mauderer
Thanks for the reviews. I pushed the patches with changes like discussed. Best regards Christian Am 19.11.20 um 09:51 schrieb Christian Mauderer: Hello, again an updated version. There haven't been relevant changes beneath patch 3 (some follow up ones in 7) so I'm only sending patch 3

Re: [PATCH rtems v3 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-19 Thread Christian Mauderer
ions and some others in the same file. So I would lean towards what Sebastian suggested. Otherwise the new functions wouldn't fit the scheme of the existing ones. > >> >> On Thu, Nov 19, 2020 at 3:17 AM Christian Mauderer >> wrote: >>> >>> Am 1

Re: [PATCH rtems v3 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-19 Thread Christian Mauderer
Am 19.11.20 um 10:22 schrieb Christian Mauderer: Am 19.11.20 um 10:15 schrieb Sebastian Huber: On 19/11/2020 09:51, Christian Mauderer wrote: +  mpu = _ARMV7M_MPU; +  scb = _ARMV7M_SCB; + +  scb->shcsr &= ~ARMV7M_SCB_SHCSR_MEMFAULTENA; I think it is not necessary to touch the shcsr. Di

Re: [PATCH rtems v3 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-19 Thread Christian Mauderer
Am 19.11.20 um 10:15 schrieb Sebastian Huber: On 19/11/2020 09:51, Christian Mauderer wrote: +  mpu = _ARMV7M_MPU; +  scb = _ARMV7M_SCB; + +  scb->shcsr &= ~ARMV7M_SCB_SHCSR_MEMFAULTENA; I think it is not necessary to touch the shcsr. Disabling the MPU should be enough. OK. I

Re: [PATCH rtems v3 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-19 Thread Christian Mauderer
Am 19.11.20 um 10:14 schrieb Sebastian Huber: On 19/11/2020 09:51, Christian Mauderer wrote: +  _Assert(cfg_count > region_count);  _Assert(cfg_count <= region_count) With this change it is fine to check in. Stupid mistake. Sorry. I'll fix it before check in. I'll give the

[PATCH rtems v3 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-19 Thread Christian Mauderer
Modify the MPU functions of the stm32h7 BSP to be table based and available for all ARMV7M BSPs. Update #4180 --- bsps/arm/stm32h7/include/stm32h7/mpu-config.h | 44 +++ bsps/arm/stm32h7/start/bspstarthooks.c| 120 +- bsps/arm/stm32h7/start/mpu-config.c |

[PATCH rtems v3 0/7] Add imxrt BSP

2020-11-19 Thread Christian Mauderer
Hello, again an updated version. There haven't been relevant changes beneath patch 3 (some follow up ones in 7) so I'm only sending patch 3. Changes: - renames like suggested by Sebastian - the MPU is now disabled, set up and re-enabled - every MPU region is only set up once due to that - I

Re: [PATCH rtems v2 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-18 Thread Christian Mauderer
Am 19.11.20 um 08:19 schrieb Sebastian Huber: On 18/11/2020 15:45, Christian Mauderer wrote: +/** + * Higher level region configuration. + * + * Allows to configure with begin and end which is more convenient for + * calculating the sizes from linker command file. Note that you still have

<    1   2   3   4   5   6   7   8   9   10   >