<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>This patch looks good.</div><div><br></div><div>Kinsey<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 18, 2024 at 11:30 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Add a BSP variant without a board-specific name.<br>
---<br>
.../arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml | 87 +------------------<br>
.../bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml | 17 ++++<br>
spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml | 69 +++++++++++++++<br>
spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml | 42 +++++++++<br>
4 files changed, 132 insertions(+), 83 deletions(-)<br>
create mode 100644 spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml<br>
create mode 100644 spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml<br>
create mode 100644 spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml<br>
<br>
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml<br>
index 3fa210d8e7..f6c228c79d 100644<br>
--- a/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml<br>
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml<br>
@@ -8,89 +8,10 @@ copyrights:<br>
cppflags: []<br>
enabled-by: true<br>
family: xilinx-zynqmp-rpu<br>
-includes:<br>
-- bsps/include/xil/<br>
-- bsps/include/xil/${XIL_SUPPORT_PATH}/<br>
-install:<br>
-- destination: ${BSP_INCLUDEDIR}<br>
- source:<br>
- - bsps/arm/xilinx-zynqmp-rpu/include/bsp.h<br>
-- destination: ${BSP_INCLUDEDIR}/bsp<br>
- source:<br>
- - bsps/arm/xilinx-zynqmp-rpu/include/bsp/irq.h<br>
-- destination: ${BSP_INCLUDEDIR}/peripheral_maps<br>
- source:<br>
- - bsps/include/peripheral_maps/xilinx_zynqmp.h<br>
+includes: []<br>
+install: []<br>
links:<br>
- role: build-dependency<br>
- uid: ../grp<br>
-- role: build-dependency<br>
- uid: ../start<br>
-- role: build-dependency<br>
- uid: abi<br>
-- role: build-dependency<br>
- uid: optclkfastidle<br>
-- role: build-dependency<br>
- uid: optclkuart<br>
-- role: build-dependency<br>
- uid: optconirq<br>
-- role: build-dependency<br>
- uid: ../../optconminor<br>
-- role: build-dependency<br>
- uid: optint0len<br>
-- role: build-dependency<br>
- uid: optint0ori<br>
-- role: build-dependency<br>
- uid: optint1len<br>
-- role: build-dependency<br>
- uid: optint1ori<br>
-- role: build-dependency<br>
- uid: optramlen<br>
-- role: build-dependency<br>
- uid: optramori<br>
-- role: build-dependency<br>
- uid: optresetvec<br>
-- role: build-dependency<br>
- uid: optnocachelen<br>
-- role: build-dependency<br>
- uid: ../../obj<br>
-- role: build-dependency<br>
- uid: ../../objirq<br>
-- role: build-dependency<br>
- uid: ../../objdevserialzynq<br>
-- role: build-dependency<br>
- uid: ../../objdevspizynq<br>
-- role: build-dependency<br>
- uid: ../../objdevspixil<br>
-- role: build-dependency<br>
- uid: ../../objmem<br>
-- role: build-dependency<br>
- uid: ../../opto0<br>
-- role: build-dependency<br>
- uid: linkcmds<br>
-- role: build-dependency<br>
- uid: ../../bspopts<br>
-- role: build-dependency<br>
- uid: ../../objxilinxsupport<br>
-source:<br>
-- bsps/shared/cache/nocache.c<br>
-- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c<br>
-- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c<br>
-- bsps/arm/shared/start/bsp-start-memcpy.S<br>
-- bsps/arm/xilinx-zynqmp-rpu/console/console-config.c<br>
-- bsps/arm/xilinx-zynqmp-rpu/start/bspreset.c<br>
-- bsps/arm/xilinx-zynqmp-rpu/start/bspstart.c<br>
-- bsps/arm/xilinx-zynqmp-rpu/start/bspstarthooks.c<br>
-- bsps/arm/xilinx-zynqmp-rpu/start/bspstartmpu.c<br>
-- bsps/shared/dev/clock/xil-ttc.c<br>
-- bsps/shared/dev/btimer/btimer-cpucounter.c<br>
-- bsps/shared/dev/getentropy/getentropy-cpucounter.c<br>
-- bsps/shared/dev/irq/arm-gicv2.c<br>
-- bsps/shared/dev/irq/arm-gicv2-zynqmp.c<br>
-- bsps/shared/dev/serial/console-termios.c<br>
-- bsps/shared/irq/irq-default-handler.c<br>
-- bsps/shared/start/bspfatal-default.c<br>
-- bsps/shared/start/gettargethash-default.c<br>
-- bsps/shared/start/sbrk.c<br>
-- bsps/shared/start/stackalloc.c<br>
+ uid: grp<br>
+source: []<br>
type: build<br>
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml<br>
new file mode 100644<br>
index 0000000000..d4073d8248<br>
--- /dev/null<br>
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml<br>
@@ -0,0 +1,17 @@<br>
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
+arch: arm<br>
+bsp: xilinx_zynqmp_rpu<br>
+build-type: bsp<br>
+cflags: []<br>
+copyrights:<br>
+- Copyright (C) 2024 embedded brains GmbH<br>
+cppflags: []<br>
+enabled-by: true<br>
+family: xilinx-zynqmp-rpu<br>
+includes: []<br>
+install: []<br>
+links:<br>
+- role: build-dependency<br>
+ uid: grp<br>
+source: []<br>
+type: build<br>
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml<br>
new file mode 100644<br>
index 0000000000..b886948d47<br>
--- /dev/null<br>
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml<br>
@@ -0,0 +1,69 @@<br>
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
+build-type: group<br>
+cflags: []<br>
+copyrights:<br>
+- Copyright (C) 2023 Reflex Aerospace GmbH<br>
+cppflags: []<br>
+cxxflags: []<br>
+enabled-by: true<br>
+includes:<br>
+- bsps/include/xil<br>
+- bsps/include/xil/${XIL_SUPPORT_PATH}<br>
+install: []<br>
+ldflags: []<br>
+links:<br>
+- role: build-dependency<br>
+ uid: ../grp<br>
+- role: build-dependency<br>
+ uid: ../start<br>
+- role: build-dependency<br>
+ uid: abi<br>
+- role: build-dependency<br>
+ uid: optclkfastidle<br>
+- role: build-dependency<br>
+ uid: optclkuart<br>
+- role: build-dependency<br>
+ uid: optconirq<br>
+- role: build-dependency<br>
+ uid: ../../optconminor<br>
+- role: build-dependency<br>
+ uid: optint0len<br>
+- role: build-dependency<br>
+ uid: optint0ori<br>
+- role: build-dependency<br>
+ uid: optint1len<br>
+- role: build-dependency<br>
+ uid: optint1ori<br>
+- role: build-dependency<br>
+ uid: optramlen<br>
+- role: build-dependency<br>
+ uid: optramori<br>
+- role: build-dependency<br>
+ uid: optresetvec<br>
+- role: build-dependency<br>
+ uid: optnocachelen<br>
+- role: build-dependency<br>
+ uid: obj<br>
+- role: build-dependency<br>
+ uid: ../../obj<br>
+- role: build-dependency<br>
+ uid: ../../objirq<br>
+- role: build-dependency<br>
+ uid: ../../objdevserialzynq<br>
+- role: build-dependency<br>
+ uid: ../../objdevspizynq<br>
+- role: build-dependency<br>
+ uid: ../../objdevspixil<br>
+- role: build-dependency<br>
+ uid: ../../objmem<br>
+- role: build-dependency<br>
+ uid: ../../opto0<br>
+- role: build-dependency<br>
+ uid: linkcmds<br>
+- role: build-dependency<br>
+ uid: ../../bspopts<br>
+- role: build-dependency<br>
+ uid: ../../objxilinxsupport<br>
+type: build<br>
+use-after: []<br>
+use-before: []<br>
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml<br>
new file mode 100644<br>
index 0000000000..4fb536c96a<br>
--- /dev/null<br>
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml<br>
@@ -0,0 +1,42 @@<br>
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
+build-type: objects<br>
+cflags: []<br>
+copyrights:<br>
+- Copyright (C) 2023 Reflex Aerospace GmbH<br>
+cppflags: []<br>
+cxxflags: []<br>
+enabled-by: true<br>
+includes: []<br>
+install:<br>
+- destination: ${BSP_INCLUDEDIR}<br>
+ source:<br>
+ - bsps/arm/xilinx-zynqmp-rpu/include/bsp.h<br>
+- destination: ${BSP_INCLUDEDIR}/bsp<br>
+ source:<br>
+ - bsps/arm/xilinx-zynqmp-rpu/include/bsp/irq.h<br>
+- destination: ${BSP_INCLUDEDIR}/peripheral_maps<br>
+ source:<br>
+ - bsps/include/peripheral_maps/xilinx_zynqmp.h<br>
+links: []<br>
+source:<br>
+- bsps/shared/cache/nocache.c<br>
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c<br>
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c<br>
+- bsps/arm/shared/start/bsp-start-memcpy.S<br>
+- bsps/arm/xilinx-zynqmp-rpu/console/console-config.c<br>
+- bsps/arm/xilinx-zynqmp-rpu/start/bspreset.c<br>
+- bsps/arm/xilinx-zynqmp-rpu/start/bspstart.c<br>
+- bsps/arm/xilinx-zynqmp-rpu/start/bspstarthooks.c<br>
+- bsps/arm/xilinx-zynqmp-rpu/start/bspstartmpu.c<br>
+- bsps/shared/dev/clock/xil-ttc.c<br>
+- bsps/shared/dev/btimer/btimer-cpucounter.c<br>
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c<br>
+- bsps/shared/dev/irq/arm-gicv2.c<br>
+- bsps/shared/dev/irq/arm-gicv2-zynqmp.c<br>
+- bsps/shared/dev/serial/console-termios.c<br>
+- bsps/shared/irq/irq-default-handler.c<br>
+- bsps/shared/start/bspfatal-default.c<br>
+- bsps/shared/start/gettargethash-default.c<br>
+- bsps/shared/start/sbrk.c<br>
+- bsps/shared/start/stackalloc.c<br>
+type: build<br>
-- <br>
2.35.3<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>