Re: [PATCH v3 00/38] Integrate pre-qualified LEON3 BSP

2023-07-13 Thread Martin Åberg
On 2023-07-12 15:49, Sebastian Huber wrote: v3: * Restore previous behaviour of gptimer_tlib_reset(). * Use new IRQ(A)MP register block API also for LEON_Enable_interrupt_broadcast() and LEON_Disable_interrupt_broadcast(). * Add GRCAN - CanTxIRQ. * Expand GRCLKGATE register bit fields.

[PATCH rtems 4/6] bsps/imx*: Support more GPIO controllers

2023-07-13 Thread Christian Mauderer
The imx-gpio driver used in i.MX and i.MXRT BSPs generates a name based on a fixed string. The original code only used one digit for the controller. With the 13 GPIO controllers of the i.MXRT1166, that isn't enough any more. This patch extends the name to two digits which should be enough for the

[PATCH rtems 1/6] bsps/imxrt1050: Install device tree sources

2023-07-13 Thread Christian Mauderer
Useful for creating an application specific device tree that is based on the evaluation board. --- spec/build/bsps/arm/imxrt/bspimxrt1052.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/arm/imxrt/bspimxrt1052.yml b/spec/build/bsps/arm/imxrt/bspimxrt1052.yml index

[PATCH rtems 5/6] bsps/imsrt: Make flash config more flexible

2023-07-13 Thread Christian Mauderer
The flash configuration is something very board specific. So move the file to a board specific location. Beneath that, not all controllers and configurations need the flash config right at the address 0 of the flash. For example on the i.MXRT11xx, the config has an offset for some flash types. ---

[PATCH rtems-docs] user/bsps/imxrt: Add new BSP variant

2023-07-13 Thread Christian Mauderer
Add information about the new i.MXRT1166 BSP. Rework some parts that have been changed during or as preparation for that variant: * The BSP now adapts to the Chip variant. It's no longer necessary to overwrite the PLL settings in an application. * Improve documentation on how to adapt to

[PATCHES] Add i.MXRT1166 based BSP

2023-07-13 Thread Christian Mauderer
Hello, some weeks back, I mentioned that I want to add a new BSP variant to the i.MXRT family. Now I have finally a version that is clean enough to publish it. I'm sure that some more patches for further components will follow (like USB). But the current version is stable and usable enough to

[PATCH rtems 3/6] imxrt/mcux-sdk: Add HREQ-related bits

2023-07-13 Thread Christian Mauderer
According to the reference manual the bits exist and they can be used. Also confirmed by NXP support in the community forum: https://community.nxp.com/t5/i-MX-RT/i-MXRT1160-LPSPI-HREQ-supported/m-p/1668647#M25512 --- .../devices/MIMXRT1166/MIMXRT1166_cm7.h | 25 +++ 1 file

[PATCH rtems 2/6] bsps/imxrt: Fix getting qtmr clock for i.MXRT11xx

2023-07-13 Thread Christian Mauderer
The function returned a multiplexer value instead of the frequency. --- bsps/arm/imxrt/mcux-sdk/drivers/qtmr_1/fsl_qtmr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/imxrt/mcux-sdk/drivers/qtmr_1/fsl_qtmr.c b/bsps/arm/imxrt/mcux-sdk/drivers/qtmr_1/fsl_qtmr.c

[PATCH rtems-libbsd] imx: Enable GPIO driver for imxrt too

2023-07-13 Thread Christian Mauderer
--- rtemsbsd/sys/arm/freescale/imx/imx_rtems_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/sys/arm/freescale/imx/imx_rtems_gpio.c b/rtemsbsd/sys/arm/freescale/imx/imx_rtems_gpio.c index c24732cc..da64922f 100644 ---

Ping: github.com mirroring of RTEMS repositories not working.

2023-07-13 Thread Karel Gardas
Hello Amar, github.com mirroring of RTEMS repositories is not working since March 23[1] of this year. This was reported several times IIRC on devel@ and discord channels. Since this is already several months of outage, I would like to ask you if you plan to make that working again or shall

Re: [PATCH] bsps/arm: replace CMSIS v4 with CMSIS v5 files

2023-07-13 Thread Joel Sherrill
On Thu, Jul 13, 2023 at 4:11 PM Karel Gardas wrote: > > Folks, > > please take this patch as an attempt to renew old discussion or rather > start a new one focused solely on importing new ARM CMSIS code which is > (i) under Apache 2 license but (ii) without any NOTICE file. > The absence of a

Re: [PATCH] bsps/arm: replace CMSIS v4 with CMSIS v5 files

2023-07-13 Thread Karel Gardas
Folks, please take this patch as an attempt to renew old discussion or rather start a new one focused solely on importing new ARM CMSIS code which is (i) under Apache 2 license but (ii) without any NOTICE file. I hope technical advantages are huge and there is no hinder involved like