Re: Report on failing tests with thread stack protection and their resolution.

2021-01-22 Thread Utkarsh Rai
On Mon, Dec 7, 2020 at 8:00 AM Utkarsh Rai wrote: > > > On Thu, Dec 3, 2020 at 10:22 PM Gedare Bloom wrote: > >> >> >> On Wed, Dec 2, 2020 at 5:53 PM Utkarsh Rai >> wrote: >> >>> Hello, >>> As discussed in this >>> thread, >>>

Re: Quick question: How do I get rtems-test

2021-01-22 Thread Richi Dubey
Thanks! On Fri, Jan 22, 2021 at 6:46 PM Gedare Bloom wrote: > > > On Fri, Jan 22, 2021 at 1:15 AM Richi Dubey wrote: > >> Hi, >> >> I want to clone the rtems-tools/tester repository, but when I run: >> >> ~/quick-start/rtems/6$ git clone https://git.rtems.org/rtems-tools/ >> > > git://git.rtems

Re: Instructions for RTEMS waf build

2021-01-22 Thread Gedare Bloom
https://docs.rtems.org/branches/master/user/start/bsp-build.html that should help. more detail is also at https://docs.rtems.org/branches/master/user/bld/index.html On Fri, Jan 22, 2021 at 10:44 AM Eshan Dhawan wrote: > Hello everyone, > Where can I find instructions for waf build of rtems kern

Re: Status of clang-llvm builds? Related to powerpc-spe.

2021-01-22 Thread dufault
Actually, replying to myself: I bet the context-switching code is broken for platforms that use the SPE via a Freescale library. That's something I'll need to look at. > On Jan 22, 2021, at 14:26 , Peter Dufault wrote: > > Signed PGP part > The PowerPC Signal Processing Engine (powerpc-spe) i

Status of clang-llvm builds? Related to powerpc-spe.

2021-01-22 Thread Peter Dufault
The PowerPC Signal Processing Engine (powerpc-spe) is now gone from gcc and therefore from RTEMS (on the master branch). It *appears* to be supported with Clang/LLVM on FreeBSD, apparently primarily to support some Amiga platforms (I think), I think it's supported beginning in FreeBSD 12. RTEM

Instructions for RTEMS waf build

2021-01-22 Thread Eshan Dhawan
Hello everyone, Where can I find instructions for waf build of rtems kernel -- Thanks - Eshan ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Largest Partition and File Size for RTEMS FAT Filesystem?

2021-01-22 Thread Joel Sherrill
Hi Based on this wikipedia article, I think the maximum file size for FAT32 is 4GB and the partition size is 16TB with 4KB sectors. https://en.wikipedia.org/wiki/File_Allocation_Table#FAT32 Assuming we had a driver to handle the media, does this match the limits of the RTEMS FAT32 implementation

Re: Raspberry Pi Pico

2021-01-22 Thread Christian MAUDERER
Hello, Raspberry Pi creating their own chips? Sounds like a stupid idea... Am 21.01.21 um 16:44 schrieb Joel Sherrill: Hi Is a BSP for this feasible? If it is feasible, is is a GSoC size project? It is an M0+ with 264k SRAM. Although I'm not sure what six independent banks does to the amount

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

2021-01-22 Thread Jan.Sommer
Thank you. The pipeline works again. Have a nice week-end, Jan > -Original Message- > From: devel On Behalf Of Christian MAUDERER > Sent: Friday, January 22, 2021 3:52 PM > To: Sebastian Huber ; RTEMS > > Subject: Re: [PATCH v2] bsps/shared: Build fsl-edma only for certain BSP > >

[PATCH] Improve file header comment in generated files

2021-01-22 Thread Sebastian Huber
--- cpukit/doxygen/appl-config.h| 10 +++--- cpukit/include/rtems.h | 10 +++--- cpukit/include/rtems/config.h | 10 +++--- cpukit/include/rtems/io.h | 10 +++--- cpukit/include/rte

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 it. -- embedded

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

2021-01-22 Thread 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. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de pho

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

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: [PATCH] bsps/shared: Build fsl-edma only for certain BSP

2021-01-22 Thread 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. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu.

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

2021-01-22 Thread Gedare Bloom
On Fri, Jan 22, 2021 at 7:08 AM Christian MAUDERER < christian.maude...@embedded-brains.de> wrote: > Am 22.01.21 um 14:59 schrieb Gedare Bloom: > > > > > > On Fri, Jan 22, 2021 at 6:24 AM Christian Mauderer > > > > wrote: > > > > Adds a peek funct

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 spec/build/bsps/objd

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

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

2021-01-22 Thread Gedare Bloom
On Fri, Jan 22, 2021 at 6:24 AM Christian Mauderer < 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. This can increase > the read speed of fragmented files. > --- > cpukit

[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 - cpukit/li

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

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

Re: Phrases for CONSTRAINTS section in the directive documentation

2021-01-22 Thread Gedare Bloom
On Fri, Jan 22, 2021 at 5:55 AM Andrew Butterfield < andrew.butterfi...@scss.tcd.ie> wrote: > Hi Sebastian, > > I'd prefer 2. > > The directive may be called from an interrupt context > > (substituting "must", "must not", as appropriate) > > Yes, I agree. (Use of "in" is ambiguous here, because

Re: Quick question: How do I get rtems-test

2021-01-22 Thread Gedare Bloom
On Fri, Jan 22, 2021 at 1:15 AM Richi Dubey wrote: > Hi, > > I want to clone the rtems-tools/tester repository, but when I run: > > ~/quick-start/rtems/6$ git clone https://git.rtems.org/rtems-tools/ > git://git.rtems.org/rtems-tools.git should work > > Cloning into 'rtems-tools'... > > It doe

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: [rtems commit] bsps/shared: Adapt fsl-edma driver for imxrt

2021-01-22 Thread 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. -- embedded brains GmbH Herr Sebastian HUBER Dor

Re: Phrases for CONSTRAINTS section in the directive documentation

2021-01-22 Thread Andrew Butterfield
Hi Sebastian, I'd prefer 2. The directive may be called from an interrupt context (substituting "must", "must not", as appropriate) Regards, Andrew > On 22 Jan 2021, at 12:09, Sebastian Huber > wrote: > > Hello, > > since there is an agreement to add a CONSTRAINTS section to the directiv

Build failure with current master

2021-01-22 Thread Jan.Sommer
Hello, Our nightly build of the current master of some ARM BSPs failed today (e.g. raspberrypi, zedboard). It seems to be related to commit a434cc80cb00e: bsps/shared: Adapt fsl-edma driver for imxrt The error I get is: [ 60/4060] Compiling bsps/shared/dev/dma/fsl-edma.c [ 62/4060] Compiling

Phrases for CONSTRAINTS section in the directive documentation

2021-01-22 Thread Sebastian Huber
Hello, since there is an agreement to add a CONSTRAINTS section to the directive documentation, I need some standard phrases. 1. The directive may be called in interrupt context. 2. The directive may be called from interrupt context. 3. The directive can be called ... interrupt context.

Re: Quick question: How do I get rtems-test

2021-01-22 Thread Richi Dubey
Nevermind, This works: git clone https://github.com/RTEMS/rtems-tools.git On Fri, Jan 22, 2021 at 1:44 PM Richi Dubey wrote: > Hi, > > I want to clone the rtems-tools/tester repository, but when I run: > > ~/quick-start/rtems/6$ git clone https://git.rtems.org/rtems-tools/ > Cloning into 'rtems-

Quick question: How do I get rtems-test

2021-01-22 Thread Richi Dubey
Hi, I want to clone the rtems-tools/tester repository, but when I run: ~/quick-start/rtems/6$ git clone https://git.rtems.org/rtems-tools/ Cloning into 'rtems-tools'... It does not progress any further from this. What may be wrong? Thanks, Richi. ___

Re: stm32f4 bsp flash address

2021-01-22 Thread Juan Solano
Thanks Andrei, I thought 0x0800 was common across all F4s. Rgds, Juan. On Thu, 21 Jan 2021, at 10:41 PM, Mr. Andrei Chichak wrote: > Hi Juan, > > On the original stm32f4 board for this BSP (STM32F407 on a STMF4 > Discovery board), the FLASH memory resides at 0x0. > > I have a BSP for STM3