Re: [PATCH 00/23] Relicense multiple BSPs

2022-07-08 Thread Joel Sherrill
On Fri, Jul 8, 2022, 6:39 PM Chris Johns wrote: > On 9/7/2022 12:02 am, Joel Sherrill wrote: > > Another round of license changes for the bsps/ subdirectory. Again this > > only touches files which have one copyright notice and that sole one is > > from OAR, embedded brains, Chris Johns, or

Re: [PATCH 00/23] Relicense multiple BSPs

2022-07-08 Thread Chris Johns
On 9/7/2022 12:02 am, Joel Sherrill wrote: > Another round of license changes for the bsps/ subdirectory. Again this > only touches files which have one copyright notice and that sole one is > from OAR, embedded brains, Chris Johns, or Gedare Bloom. I have split > them per BSP, shared, etc

[PATCH 23/23] bsps/m68k/uC5282: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/uC5282/start/bspreset.c | 25 ++--- bsps/m68k/uC5282/start/start.S| 25 ++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/bsps/m68k/uC5282/start/bspreset.c b/bsps/m68k/uC5282/start/bspreset.c index

[PATCH 22/23] bsps/m68k/shared: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/shared/cache/cache-mcf5223x.c | 25 ++--- bsps/m68k/shared/cache/cache-mcf5235.c | 25 ++--- bsps/m68k/shared/m68kidle.c | 25 ++--- bsps/m68k/shared/start/linkcmds.base| 25

[PATCH 21/23] bsps/m68k/mvme162: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mvme162/start/linkcmds | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bsps/m68k/mvme162/start/linkcmds b/bsps/m68k/mvme162/start/linkcmds index 26c85007a4..656aa56e71 100644 --- a/bsps/m68k/mvme162/start/linkcmds +++

[PATCH 18/23] bsps/m68k/mrm332: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mrm332/btimer/btimer.c | 25 ++--- bsps/m68k/mrm332/clock/ckinit.c| 25 ++--- bsps/m68k/mrm332/console/console.c | 25 ++--- bsps/m68k/mrm332/include/bsp.h | 25 ++---

[PATCH 20/23] bsps/m68k/mvme147s: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mvme147s/include/bsp.h| 25 ++--- bsps/m68k/mvme147s/mpci/addrconv.c | 25 ++--- bsps/m68k/mvme147s/mpci/getcfg.c| 25 ++--- bsps/m68k/mvme147s/mpci/lock.c | 25 ++---

[PATCH 19/23] bsps/m68k/mvme147: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mvme147/btimer/btimer.c | 25 ++--- bsps/m68k/mvme147/clock/ckinit.c| 25 ++--- bsps/m68k/mvme147/console/console.c | 25 ++--- bsps/m68k/mvme147/include/bsp.h | 25 ++---

[PATCH 17/23] bsps/m68k/mcf5329: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mcf5329/start/bspstart.c| 25 ++--- bsps/m68k/mcf5329/start/linkcmds | 25 ++--- bsps/m68k/mcf5329/start/linkcmdsflash | 25 ++--- bsps/m68k/mcf5329/start/start.S | 25 ++---

[PATCH 15/23] bsps/m68k/mcf5225x: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mcf5225x/start/bspclean.c | 25 ++--- bsps/m68k/mcf5225x/start/bspstart.c | 25 ++--- bsps/m68k/mcf5225x/start/linkcmds | 25 ++--- bsps/m68k/mcf5225x/start/start.S| 25 ++--- 4

[PATCH 16/23] bsps/m68k/mvf5235: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mcf5235/start/bspgetcpuclockspeed.c | 25 --- bsps/m68k/mcf5235/start/bspstart.c| 25 --- bsps/m68k/mcf5235/start/linkcmds | 25 --- bsps/m68k/mcf5235/start/linkcmdsflash | 25

[PATCH 14/23] bsps/m68k/mcf52235: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- .../m68k/mcf52235/start/bspgetcpuclockspeed.c | 25 --- bsps/m68k/mcf52235/start/linkcmds | 25 --- bsps/m68k/mcf52235/start/start.S | 25 --- 3 files changed, 66 insertions(+), 9 deletions(-) diff --git

[PATCH 13/23] bsps/m68k/mcf5206elite: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/mcf5206elite/dev/ckinit.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bsps/m68k/mcf5206elite/dev/ckinit.c b/bsps/m68k/mcf5206elite/dev/ckinit.c index bbd4f20f46..42b4564198 100644 ---

[PATCH 12/23] bsps/m68k/include: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/include/bsp/linker-symbols.h | 25 ++--- bsps/m68k/include/mcf548x/mcdma_glue.h | 25 ++--- bsps/m68k/include/mcf548x/mcf548x.h| 25 ++--- bsps/m68k/include/mvme16x_hw.h | 25

[PATCH 11/23] bsps/m68k/genmcf548x: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/genmcf548x/btimer/btimer.c | 25 --- bsps/m68k/genmcf548x/clock/clock.c| 25 --- bsps/m68k/genmcf548x/console/console.c| 25 --- bsps/m68k/genmcf548x/include/bsp.h| 25

[PATCH 09/23] bsps/m68k/gen68340: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/gen68340/btimer/btimer.c | 25 ++--- bsps/m68k/gen68340/clock/ckinit.c | 25 ++--- bsps/m68k/gen68340/console/console.c | 25 ++--- bsps/m68k/gen68340/console/m340uart.c | 25

[PATCH 08/23] bsps/m68k/csv360: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/csb360/console/console-io.c | 25 ++--- bsps/m68k/csb360/start/idle-mcf5272.c | 25 ++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/bsps/m68k/csb360/console/console-io.c

[PATCH 10/23] bsps/m68k/gen68360: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/gen68360/spi/m360_spi.h | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bsps/m68k/gen68360/spi/m360_spi.h b/bsps/m68k/gen68360/spi/m360_spi.h index 9e6bc5c9c1..63d38f3808 100644 --- a/bsps/m68k/gen68360/spi/m360_spi.h

[PATCH 07/23] m68k/bsps/av5282: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/m68k/av5282/start/bspstart.c| 25 ++--- bsps/m68k/av5282/start/linkcmds | 25 ++--- bsps/m68k/av5282/start/linkcmdsflash | 25 ++--- bsps/m68k/av5282/start/linkcmdsram | 25 ++---

[PATCH 06/23] bsps/lm32/shared: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/lm32/shared/btimer/btimer.c | 25 ++--- bsps/lm32/shared/clock/ckinit.c| 25 ++--- bsps/lm32/shared/clock/clock.h | 25 ++--- bsps/lm32/shared/console/console.c | 25 ++---

[PATCH 05/23] bsps/lm32/lm32_evr: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/lm32/lm32_evr/include/bsp.h | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bsps/lm32/lm32_evr/include/bsp.h b/bsps/lm32/lm32_evr/include/bsp.h index 26a393e689..68d1bdb093 100644 --- a/bsps/lm32/lm32_evr/include/bsp.h +++

[PATCH 03/23] bsps/include: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/include/bsp/bootcard.h | 25 +--- bsps/include/bsp/console-termios.h | 25 +--- bsps/include/bsp/fdt.h | 25 +--- bsps/include/bsp/stackalloc.h| 25

[PATCH 04/23] bsps/lm32/include: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/lm32/include/bsp/irq.h | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bsps/lm32/include/bsp/irq.h b/bsps/lm32/include/bsp/irq.h index 6e6b74feaf..709538d192 100644 --- a/bsps/lm32/include/bsp/irq.h +++

[PATCH 01/23] bsps/i386/pc386: Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/i386/pc386/clock/ckinit.c| 25 --- bsps/i386/pc386/console/conscfg.c | 25 --- bsps/i386/pc386/console/console_control.c | 25 --- bsps/i386/pc386/console/console_select.c | 25

[PATCH 02/23] bsps/i386/shared/pci/pci_io.c:Change license to BSD-2

2022-07-08 Thread Joel Sherrill
Updates #3053. --- bsps/i386/shared/pci/pci_io.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bsps/i386/shared/pci/pci_io.c b/bsps/i386/shared/pci/pci_io.c index b6cd1005f0..60b855ed81 100644 --- a/bsps/i386/shared/pci/pci_io.c +++

[PATCH 00/23] Relicense multiple BSPs

2022-07-08 Thread Joel Sherrill
Hi Another round of license changes for the bsps/ subdirectory. Again this only touches files which have one copyright notice and that sole one is from OAR, embedded brains, Chris Johns, or Gedare Bloom. I have split them per BSP, shared, etc directory. Slowly making progress. Hopefully OK to

Re: [PATCH v2] irq/arm-gicv3.h: Customize ICC_IGRPEN0/1 init

2022-07-08 Thread Chris Johns
> On 8 Jul 2022, at 6:15 pm, Sebastian Huber > wrote: > > On 08.07.22 09:55, Chris Johns wrote: >> I have finally managed to test this patch and it does not work on a >> secure/non-secure Versal. I did a `distclean configure` and rebuild so it >> would >> pick up the option changes. >> The

[PATCH v3 5/5] bsps: Update license text

2022-07-08 Thread Duc Doan
This patch updates the license text of GPIO API files and STM32F4 GPIO files. --- bsps/arm/stm32f4/gpio/gpio.c| 35 +++ bsps/arm/stm32f4/include/bsp/stm32f4_gpio.h | 27 --- bsps/include/bsp/gpio2.h| 37 +

[PATCH v3 4/5] bsps/stm32f4: Add GPIO implementation for STM32F4

2022-07-08 Thread Duc Doan
--- bsps/arm/stm32f4/gpio/gpio.c | 555 ++ bsps/arm/stm32f4/include/bsp.h| 4 - bsps/arm/stm32f4/include/bsp/stm32f4_gpio.h | 37 ++ bsps/arm/stm32f4/include/bsp/stm32f4_hal.h| 17 + bsps/arm/stm32f4/start/bspstart.c | 7 +-

[PATCH v3 3/5] bsps: Add GPIO API

2022-07-08 Thread Duc Doan
This is the new GPIO API. The header file is gpio2.h. --- bsps/include/bsp/gpio2.h| 526 bsps/shared/dev/gpio/gpio.c | 189 + spec/build/bsps/obj.yml | 2 +- 3 files changed, 716 insertions(+), 1 deletion(-) create mode 100644

[PATCH v3 2/5] bsps/arm: Integrate and build STM32F4 HAL

2022-07-08 Thread Duc Doan
This patch is too large so I cannot send via email. Please find it here: https://github.com/dtbpkmte/GSoC-2022-RTEMS/tree/2baea7f3ffb178d581b3c6b6b7c1b63f8ac55852 --- .gitignore| 1 + bsps/arm/include/cmsis_compiler.h | 266 +

[PATCH v3 1/5] bsps/stm32f4 Include STM32F4 HAL

2022-07-08 Thread Duc Doan
This patch is too large so I cannot send via email. Please find it here: https://github.com/dtbpkmte/GSoC-2022-RTEMS/tree/f7ed35b5ce25a5410e72e4950d27ea86afbfe5c4 --- .../stm32f4/hal/Legacy/stm32f4xx_hal_can.c| 1679 .../stm32f4/hal/Legacy/stm32f4xx_hal_eth.c| 2307 +

[PATCH v3 0/5] *** New GPIO API and implementation for STM32F4 BSP ***

2022-07-08 Thread Duc Doan
Hello, This patch adds a new GPIO API that aims at portability. GPIO of STM32F4 BSP has been implemented using this API. The sample application code can be found at https://github.com/dtbpkmte/GSoC-2022-RTEMS-Sample-Apps. v2: - Made get_gpio_from_base() a macro instead of a function - Added

Re: [PATCH] bsps/microblaze: Fix build option definition order

2022-07-08 Thread Sebastian Huber
On 07.07.22 21:19, Alex White wrote: The build option definitions were rearranged such that the option definitions used in the linker script were not available. This caused linker errors when building. Sorry for breaking the BSP. The patch looks good. -- embedded brains GmbH Herr Sebastian

Re: [PATCH v2] irq/arm-gicv3.h: Customize ICC_IGRPEN0/1 init

2022-07-08 Thread Sebastian Huber
On 08.07.22 09:55, Chris Johns wrote: I have finally managed to test this patch and it does not work on a secure/non-secure Versal. I did a `distclean configure` and rebuild so it would pick up the option changes. The `BSP_ARM_GIC_ICC_IGRPEN0 write is still in the build and it is a secure

Re: [PATCH v2] irq/arm-gicv3.h: Customize ICC_IGRPEN0/1 init

2022-07-08 Thread Chris Johns
Hi, I have finally managed to test this patch and it does not work on a secure/non-secure Versal. I did a `distclean configure` and rebuild so it would pick up the option changes. The `BSP_ARM_GIC_ICC_IGRPEN0 write is still in the build and it is a secure access: /* Initialize the group 0