diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-05-23 09:49:48 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 10:43:43 -0600 |
commit | 3fb0ec778d76d509c30dcf1e07dcdd659f823be7 (patch) | |
tree | cbc9c3a8458add6f673b3124ccbd8688767c934e /meta-xilinx-standalone-sdt | |
parent | afad32c5d133a1f8a6e59e51d228161b9f47bb10 (diff) | |
download | meta-xilinx-3fb0ec778d76d509c30dcf1e07dcdd659f823be7.tar.gz |
meta-xilinx-standalone-sdt: Rename from ...-experimental
Add symlink to old name for temporarily compatibility.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-sdt')
252 files changed, 4208 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-sdt/README.md b/meta-xilinx-standalone-sdt/README.md new file mode 100644 index 00000000..d2d54c2e --- /dev/null +++ b/meta-xilinx-standalone-sdt/README.md | |||
@@ -0,0 +1,180 @@ | |||
1 | # meta-xilinx-standalone-sdt | ||
2 | |||
3 | This layer contains System Device Tree items that are related to the | ||
4 | meta-xilinx-standalone layer. | ||
5 | |||
6 | ## Build Instructions | ||
7 | |||
8 | The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. | ||
9 | Be sure to read everything below. | ||
10 | |||
11 | > **Pre-requisites:** | ||
12 | > * To use this layer you must REMOVE meta-xilinx-tools from your project. | ||
13 | meta-xilinx-tools is not compatible with this SDT approach. You may | ||
14 | also have to remove other layers that depend on meta-xilinx-tools, such as | ||
15 | meta-kria and meta-system-controller. | ||
16 | > * Follow [System Device Tree Instructions](https://github.com/Xilinx/system-device-tree-xlnx/blob/master/README.md) | ||
17 | > to generate the SDT output. | ||
18 | > * To use the SDT version of the embedded software (firmware) as well | ||
19 | as system configuration, you must build through gen-machineconf tool. This tool | ||
20 | is passed a output of system device tree directory. | ||
21 | |||
22 | 1. Follow [Building Instructions](../README.building.md) upto step 2. | ||
23 | |||
24 | 2. Clone the meta-openamp repository. | ||
25 | |||
26 | ``` | ||
27 | $ git clone -b <rel-version> https://github.com/Xilinx/meta-openamp | ||
28 | ``` | ||
29 | 3. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | ||
30 | from step 3 to step 4. | ||
31 | |||
32 | 4. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as | ||
33 | meta-kria and meta-system-controller if included in bblayers.conf), then add | ||
34 | the meta-xilinx-standalone-sdt and meta-openamp layer. | ||
35 | |||
36 | > **Note:** SDT builds for following devices are not supported in 2024.1 release. | ||
37 | > * Zynq 7000 | ||
38 | > * MicoBlaze | ||
39 | > * Kria | ||
40 | > * System Controller | ||
41 | |||
42 | ``` | ||
43 | $ bitbake-layers remove-layer meta-xilinx-tools | ||
44 | $ bitbake-layers remove-layer meta-kria | ||
45 | $ bitbake-layers remove-layer meta-system-controller | ||
46 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone-sdt | ||
47 | $ bitbake-layers add-layer ./<path-to-layer>/meta-openamp | ||
48 | ``` | ||
49 | |||
50 | 5. Export gen-machineconf tool. | ||
51 | ``` | ||
52 | $ export PATH=$PATH:<ABSOLUTE_PATH>/gen-machine-conf | ||
53 | ``` | ||
54 | |||
55 | 6. Run the script from the build or ${TOPDIR} directory. This step describes | ||
56 | System Device Tree (SDT) with and without pl overlays. Configruations are same | ||
57 | for both SDT with and without pl overlays except for linux dts content. | ||
58 | |||
59 | > **Note:** | ||
60 | > 1. The -l option will automatically add the necessary parameters to the | ||
61 | local.conf file. If you need to re-run this comment, you just clear the | ||
62 | parameters from the end of the file. Without the -l option the items are | ||
63 | printed to the screen and must be manually added to your conf/local.conf | ||
64 | > 2. The --soc-family argument is an optional argument and user can skip this. | ||
65 | > 3. By default minimal set of multiconfigs are generated by gen-machineconf tool. | ||
66 | > To enable full multiconfig(APU/RPU baremetal or FreeRTOS) then use | ||
67 | > `--multiconfigfull` option. | ||
68 | |||
69 | a. Without SDT pl overlay: | ||
70 | ``` | ||
71 | $ gen-machineconf --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf | ||
72 | ``` | ||
73 | |||
74 | b. With SDT pl overlay: | ||
75 | To generate SDT pl overlay run gen-machineconf command with | ||
76 | `-g {full|dfx}` option. Once SDT pl overlay command is executed successfully | ||
77 | pl.dtsi will be generated under <conf>/dts/${MACHINE}/pl-overlay-{full|dfx} | ||
78 | directory. User can use this pl.dtsi as input to full or dfx static firmware | ||
79 | recipes. | ||
80 | |||
81 | > **Note:** DFx partial dtsi is not processed by gen-machineconf(lopper) tool, User | ||
82 | > needs to use the *_partial.dtsi and *_partial.pdi/bit from sdtgen output | ||
83 | > artifacts to DFx partial firmware recipes. | ||
84 | |||
85 | * ZynqMP Full bitstream or Versal Segmented Configuration: | ||
86 | ``` | ||
87 | $ gen-machineconf parse-sdt --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf -g full | ||
88 | ``` | ||
89 | |||
90 | * ZynqMP or Versal DFx: | ||
91 | ``` | ||
92 | $ gen-machineconf parse-sdt --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf -g dfx | ||
93 | ``` | ||
94 | |||
95 | For example, zynqmp: | ||
96 | ``` | ||
97 | $ gen-machineconf --soc-family zynqmp --hw-description <path_to_sdtgen_output_directory> -c conf/ -l conf/local.conf | ||
98 | ``` | ||
99 | The following will be written to the end of the conf/local.conf file: | ||
100 | |||
101 | ``` | ||
102 | # Use the newly generated MACHINE | ||
103 | MACHINE = "xlnx-zynqmp-zcu102-rev1-0" | ||
104 | |||
105 | # Avoid errors in some baremetal configs as these layers may be present | ||
106 | # but are not used. Note the following lines are optional and can be | ||
107 | # safetly disabled. | ||
108 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
109 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
110 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
111 | |||
112 | # Each generated multiconfig defines it's own TMPDIR, either edit the | ||
113 | # multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below | ||
114 | #MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" | ||
115 | ``` | ||
116 | |||
117 | For example, versal: | ||
118 | ``` | ||
119 | $ gen-machineconf --soc-family versal --hw-description <path_to_sdtgen_output_directory> -c conf/ -l conf/local.conf | ||
120 | ``` | ||
121 | |||
122 | The following will be written to the end of the conf/local.conf file: | ||
123 | |||
124 | ``` | ||
125 | # Use the newly generated MACHINE | ||
126 | MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva" | ||
127 | |||
128 | # Avoid errors in some baremetal configs as these layers may be present | ||
129 | # but are not used. Note the following lines are optional and can be | ||
130 | # safetly disabled. | ||
131 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
132 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
133 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
134 | |||
135 | # Each generated multiconfig defines it's own TMPDIR, either edit the | ||
136 | # multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below | ||
137 | #MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" | ||
138 | ``` | ||
139 | > **Bitbake Performance Note:** | ||
140 | Each BBMULTICONFIG value requires all of the recipes to be parsed for that | ||
141 | configuration. Thus each multiconfig will add more parsing time. A long list | ||
142 | can lead to a very slow parse (many minutes). To speed up parsing, it is | ||
143 | suggested that you trim this down to only the configurations you require. | ||
144 | A minimum configuration is included with the generated configuration. | ||
145 | |||
146 | |||
147 | 7. Build your project, You should now be able to build your project normally. | ||
148 | See the Yocto Project documentation if you have questions on how to work with | ||
149 | the multiconfig recipes. The following is a simple build for testing. | ||
150 | |||
151 | 8. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | ||
152 | from step 6. | ||
153 | |||
154 | ## Dependencies | ||
155 | |||
156 | This layer depends on: | ||
157 | |||
158 | URI: https://git.yoctoproject.org/poky | ||
159 | layers: meta, meta-poky | ||
160 | branch: scarthgap | ||
161 | |||
162 | URI: https://git.openembedded.org/meta-openembedded | ||
163 | layers: meta-oe | ||
164 | branch: scarthgap | ||
165 | |||
166 | URI: | ||
167 | https://git.yoctoproject.org/meta-xilinx (official version) | ||
168 | https://github.com/Xilinx/meta-xilinx (development and amd xilinx release) | ||
169 | layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone | ||
170 | branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) | ||
171 | |||
172 | URI: | ||
173 | https://git.yoctoproject.org/meta-virtualization (official version) | ||
174 | https://github.com/Xilinx/meta-virtualization (development and amd xilinx release) | ||
175 | branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) | ||
176 | |||
177 | URI: | ||
178 | https://github.com/OpenAMP/meta-openamp (official version) | ||
179 | https://github.com/Xilinx/meta-openamp (development and amd xilinx release) | ||
180 | branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) | ||
diff --git a/meta-xilinx-standalone-sdt/README.sdt.bsp.md b/meta-xilinx-standalone-sdt/README.sdt.bsp.md new file mode 100644 index 00000000..2b2ce4b0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/README.sdt.bsp.md | |||
@@ -0,0 +1,46 @@ | |||
1 | # SDT BSP | ||
2 | |||
3 | This section describes the SDT BSP settings which must be added to the generated | ||
4 | machine configuration file, following [Build Instructions](README.md) step 4, in | ||
5 | order to use the runqemu command. | ||
6 | |||
7 | ## SDT BSP settings | ||
8 | |||
9 | The following board settings need to be added in sdt machine configuration file | ||
10 | to define which QEMU device trees should be used. | ||
11 | |||
12 | > **Variable usage examples:** | ||
13 | > | ||
14 | > QEMU Device tree deploy directory: `QEMU_HW_DTB_PATH = "${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch"` | ||
15 | > | ||
16 | > QEMU PMU Device tree: `QEMU_HW_DTB_PMU = "${QEMU_HW_DTB_PATH}/zynqmp-pmu.dtb"` | ||
17 | > | ||
18 | > QEMU PS Device tree: `QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vck190.dtb"` | ||
19 | > | ||
20 | > QEMU PMC Board Device tree: `QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmc-virt.dtb"` | ||
21 | > | ||
22 | > QEMU Memory: Some boards for example VEK280 and VH158 memory configurations are | ||
23 | > different, Hence we need to adjust the same in QB_MEM to match board dtsi files. | ||
24 | > Below are some examples. | ||
25 | > * ZynqMP `QB_MEM = "-m 4096"` | ||
26 | > * Versal VEK280 `QB_MEM = "-m 12G"` | ||
27 | |||
28 | |||
29 | | Devices | Evaluation Board | QEMU PMC or PMU DTB file | QEMU PS DTB file | QB Mem | | ||
30 | |---------|-------------------------------------------------------------------------------|-----------------------------|-------------------------------|--------| | ||
31 | | ZynqMP | [ZCU102](https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
32 | | | [ZCU104](https://www.xilinx.com/products/boards-and-kits/zcu104.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
33 | | | [ZCU106](https://www.xilinx.com/products/boards-and-kits/zcu106.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
34 | | | [ZCU111](https://www.xilinx.com/products/boards-and-kits/zcu111.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
35 | | | [ZCU208](https://www.xilinx.com/products/boards-and-kits/zcu208.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
36 | | | [ZCU216](https://www.xilinx.com/products/boards-and-kits/zcu216.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
37 | | | [ZCU670](https://www.xilinx.com/products/boards-and-kits/zcu670.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | | ||
38 | | Versal | [VCK190](https://www.xilinx.com/products/boards-and-kits/vck190.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vck190.dtb` | 8G | | ||
39 | | | [VMK180](https://www.xilinx.com/products/boards-and-kits/vmk180.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vmk180.dtb` | 8G | | ||
40 | | | [VPK120](https://www.xilinx.com/products/boards-and-kits/vpk120.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vpk120.dtb` | 8G | | ||
41 | | | [VPK180](https://www.xilinx.com/products/boards-and-kits/vpk180.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vpk180.dtb` | 8G | | ||
42 | | | [VEK280](https://www.xilinx.com/products/boards-and-kits/vek280.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vek280.dtb` | 12G | | ||
43 | | | [VHK158](https://www.xilinx.com/products/boards-and-kits/vhk158.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vhk158.dtb` | 32G | | ||
44 | |||
45 | > **Note:** Additional information on Xilinx architectures can be found at: | ||
46 | https://www.xilinx.com/products/silicon-devices.html | ||
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass new file mode 100644 index 00000000..7d0a2e5d --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass | |||
@@ -0,0 +1,159 @@ | |||
1 | inherit python3native xlnx-embeddedsw pkgconfig cmake | ||
2 | |||
3 | # Poky always tries to enable EXPORT_COMPILE_COMMANDS, but ESW changes | ||
4 | # behavior when this is enabled and will generate: | ||
5 | # -isystem /usr/include | ||
6 | # which will cause a build failures. | ||
7 | OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON" | ||
8 | |||
9 | SRCREV_FORMAT = "src_decouple" | ||
10 | |||
11 | S = "${UNPACKDIR}/git" | ||
12 | B = "${UNPACKDIR}/build" | ||
13 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" | ||
14 | LICFILENAME = "license.txt" | ||
15 | |||
16 | SPECFILE_PATH:arm = "${S}/scripts/specs/arm/Xilinx.spec" | ||
17 | SPECFILE_PATH:aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" | ||
18 | SPECFILE_PATH:microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" | ||
19 | |||
20 | ESW_MACHINE ?= "${MACHINE}" | ||
21 | |||
22 | ESW_CFLAGS += "-specs=${SPECFILE_PATH}" | ||
23 | |||
24 | inherit ccmake | ||
25 | |||
26 | COMPATIBLE_HOST = ".*-elf" | ||
27 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" | ||
28 | |||
29 | CONFIG_DTFILE ??= "" | ||
30 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts','.dtb'))}" | ||
31 | |||
32 | DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" | ||
33 | |||
34 | # We need the deployed output | ||
35 | do_configure[depends] += "device-tree:do_deploy" | ||
36 | do_compile[depends] += "device-tree:do_deploy" | ||
37 | do_install[depends] += "device-tree:do_deploy" | ||
38 | |||
39 | def get_xlnx_cmake_machine(fam, variant, d): | ||
40 | cmake_machine = fam | ||
41 | if (fam == 'zynqmp'): | ||
42 | cmake_machine = 'ZynqMP' | ||
43 | elif (fam == 'versal'): | ||
44 | cmake_machine = 'Versal' | ||
45 | if (variant == 'net'): | ||
46 | cmake_machine = 'VersalNet' | ||
47 | elif (fam == 'zynq'): | ||
48 | cmake_machine = 'Zynq' | ||
49 | return cmake_machine | ||
50 | |||
51 | def get_xlnx_cmake_processor(tune, machine, variant, d): | ||
52 | cmake_processor = tune | ||
53 | if tune.startswith('microblaze'): | ||
54 | if (machine == 'psu_pmu_0'): | ||
55 | cmake_processor = 'pmu_microblaze' | ||
56 | elif (machine in [ 'psv_pmc_0', 'psx_pmc_0' ]): | ||
57 | cmake_processor = 'plm_microblaze' | ||
58 | else: | ||
59 | cmake_processor = 'microblaze' | ||
60 | elif (tune in [ 'cortexr5', 'cortexr5hf' ]): | ||
61 | cmake_processor = 'cortexr5' | ||
62 | elif (tune in [ 'cortexr52', 'cortexr52hf' ]): | ||
63 | cmake_processor = 'cortexr52' | ||
64 | elif tune.startswith('cortexa9'): | ||
65 | cmake_processor = 'cortexa9' | ||
66 | elif (tune in [ 'cortexa53', 'cortexa72-cortexa53' ]): | ||
67 | cmake_processor = 'cortexa53' | ||
68 | elif tune == 'cortexa72': | ||
69 | cmake_processor = 'cortexa72' | ||
70 | if (variant == 'net'): | ||
71 | cmake_processor = 'cortexa78' | ||
72 | return cmake_processor | ||
73 | |||
74 | XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d.getVar('SOC_VARIANT'), d)}" | ||
75 | XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d.getVar('SOC_VARIANT'), d)}" | ||
76 | XLNX_CMAKE_SYSTEM_NAME ?= "Generic" | ||
77 | XLNX_CMAKE_BSP_VARS ?= "" | ||
78 | |||
79 | cmake_do_generate_toolchain_file:append() { | ||
80 | cat >> ${UNPACKDIR}/toolchain.cmake <<EOF | ||
81 | include(CMakeForceCompiler) | ||
82 | CMAKE_FORCE_C_COMPILER("${OECMAKE_C_COMPILER}" GNU) | ||
83 | CMAKE_FORCE_CXX_COMPILER("${OECMAKE_CXX_COMPILER}" GNU) | ||
84 | set( CMAKE_SYSTEM_PROCESSOR "${XLNX_CMAKE_PROCESSOR}" ) | ||
85 | set( CMAKE_MACHINE "${XLNX_CMAKE_MACHINE}" ) | ||
86 | # Will need this in the future to make cmake understand esw variables | ||
87 | # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) | ||
88 | set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" ) | ||
89 | set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake) | ||
90 | set( CMAKE_LIBRARY_PATH ${B}) | ||
91 | if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze") | ||
92 | set( CMAKE_BUILD_TYPE Release) | ||
93 | endif() | ||
94 | add_definitions( "${XLNX_CMAKE_BSP_VARS} -DSDT" ) | ||
95 | EOF | ||
96 | } | ||
97 | |||
98 | do_install() { | ||
99 | install -d ${D}${libdir} | ||
100 | install -d ${D}${includedir} | ||
101 | install -m 0755 ${B}/${ESW_COMPONENT_NAME} ${D}${libdir} | ||
102 | install -m 0644 ${B}/include/*.h ${D}${includedir} | ||
103 | } | ||
104 | |||
105 | CFLAGS:append = " ${ESW_CFLAGS}" | ||
106 | EXTRA_OECMAKE += "-DYOCTO=ON" | ||
107 | |||
108 | do_configure:prepend() { | ||
109 | ( | ||
110 | cd ${S} | ||
111 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx ${ESW_MACHINE} ${S}/lib/bsp/standalone/src/ hwcmake_metadata ${S} | ||
112 | install -m 0755 StandaloneExample.cmake ${S}/cmake/Findcommonmeta.cmake | ||
113 | ) | ||
114 | } | ||
115 | |||
116 | # We need to find the license file, which vaires depending on the component | ||
117 | # recurse a maximum of x times, could be fancier but it gets complicated since | ||
118 | # we dont know for certain we are running devtool or just externalsrc | ||
119 | python(){ | ||
120 | import os.path | ||
121 | if bb.data.inherits_class('externalsrc', d) and d.getVar('EXTERNALSRC'): | ||
122 | externalsrc = d.getVar('EXTERNALSRC') | ||
123 | lic_file = d.getVar('LIC_FILES_CHKSUM', False) | ||
124 | licpath=externalsrc | ||
125 | for i in range(5): | ||
126 | if os.path.isfile(licpath + '/' + d.getVar('LICFILENAME',True)): | ||
127 | lic_file = lic_file.replace('${S}',licpath) | ||
128 | d.setVar('LIC_FILES_CHKSUM', lic_file) | ||
129 | return | ||
130 | licpath=os.path.dirname(licpath) | ||
131 | bb.error("Couldn't find license file: %s, within directory %s or his parent directories" % (d.getVar('LICFILENAME',True), externalsrc)) | ||
132 | } | ||
133 | |||
134 | do_generate_driver_data[dirs] = "${B}" | ||
135 | do_generate_driver_data[depends] += "device-tree:do_deploy" | ||
136 | python do_generate_driver_data() { | ||
137 | import glob, subprocess, os | ||
138 | |||
139 | system_dt = glob.glob(d.getVar('DTS_FILE')) | ||
140 | src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) | ||
141 | machine = d.getVar('ESW_MACHINE') | ||
142 | |||
143 | driver_name = d.getVar('REQUIRED_MACHINE_FEATURES') | ||
144 | |||
145 | if len(system_dt) == 0: | ||
146 | bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) | ||
147 | |||
148 | if len(src_dir) == 0: | ||
149 | bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) | ||
150 | |||
151 | os.chdir(d.getVar('B')) | ||
152 | command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] | ||
153 | subprocess.run(command, check = True) | ||
154 | src_file = glob.glob('*_g.c') | ||
155 | if os.path.exists(src_file[0]): | ||
156 | bb.note("Generated config file for driver %s" % driver_name) | ||
157 | command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]] | ||
158 | subprocess.run(command, check = True) | ||
159 | } | ||
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass new file mode 100644 index 00000000..134d3cd2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass | |||
@@ -0,0 +1,31 @@ | |||
1 | # | ||
2 | # Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | # This bbclass is inherited by esw application recipes. This class provides | ||
7 | # common code for elf name, bitbake install and deploy task functionality for | ||
8 | # multiconfig target images. | ||
9 | |||
10 | inherit deploy image-artifact-names | ||
11 | |||
12 | APP_IMAGE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${BB_CURRENT_MC}${IMAGE_VERSION_SUFFIX}" | ||
13 | |||
14 | ESW_EXECUTABLE_NAME ?= "" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}/${base_libdir}/firmware | ||
18 | # Note that we have to make the ELF executable for it to be stripped | ||
19 | install -m 0755 ${B}/${ESW_EXECUTABLE_NAME}* ${D}/${base_libdir}/firmware | ||
20 | } | ||
21 | |||
22 | do_deploy() { | ||
23 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
24 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf | ||
25 | ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf | ||
26 | ${OBJCOPY} -O binary ${UNPACKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${UNPACKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin | ||
27 | install -m 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin | ||
28 | ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin | ||
29 | } | ||
30 | |||
31 | addtask deploy before do_build after do_package | ||
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass new file mode 100644 index 00000000..ae1a9bbb --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass | |||
@@ -0,0 +1,36 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer" | ||
4 | |||
5 | do_configure:prepend() { | ||
6 | ( | ||
7 | cd ${S} | ||
8 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
9 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
10 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
11 | ) | ||
12 | } | ||
13 | |||
14 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
15 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
16 | |||
17 | do_generate_eglist () { | ||
18 | cd ${S} | ||
19 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata | ||
20 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
21 | } | ||
22 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot | ||
23 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
24 | |||
25 | do_install() { | ||
26 | install -d ${D}/${base_libdir}/firmware | ||
27 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
28 | } | ||
29 | |||
30 | do_deploy() { | ||
31 | install -d ${DEPLOYDIR}/${BPN}/ | ||
32 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
33 | } | ||
34 | addtask deploy before do_build after do_package | ||
35 | |||
36 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf b/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf new file mode 100644 index 00000000..84638022 --- /dev/null +++ b/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | require conf/distro/xilinx-standalone.inc | ||
2 | |||
3 | DISTRO_NAME:append = " (freertos)" | ||
4 | |||
5 | XLNX_CMAKE_SYSTEM_NAME = "FreeRTOS" | ||
6 | |||
7 | # We need to pass FREERTOS_BSP compliler flag it is consumed | ||
8 | # esw components. | ||
9 | ESW_CFLAGS += " -DFREERTOS_BSP" | ||
diff --git a/meta-xilinx-standalone-sdt/conf/layer.conf b/meta-xilinx-standalone-sdt/conf/layer.conf new file mode 100644 index 00000000..1116f72b --- /dev/null +++ b/meta-xilinx-standalone-sdt/conf/layer.conf | |||
@@ -0,0 +1,272 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have recipes-* directories, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
6 | ${LAYERDIR}/recipes-*/*/*.bbappend \ | ||
7 | ${LAYERDIR}/recipes-*/*.bb \ | ||
8 | ${LAYERDIR}/recipes-*/*.bbappend \ | ||
9 | " | ||
10 | |||
11 | BBFILE_COLLECTIONS += "xilinx-standalone-sdt" | ||
12 | BBFILE_PATTERN_xilinx-standalone-sdt = "^${LAYERDIR}/" | ||
13 | BBFILE_PRIORITY_xilinx-standalone-sdt = "7" | ||
14 | |||
15 | # Allow other layers to find the root of this layer if necessary | ||
16 | META_XILINX_STANDALONE_EXP_PATH = "${LAYERDIR}" | ||
17 | |||
18 | LAYERDEPENDS_xilinx-standalone-sdt = "core \ | ||
19 | xilinx \ | ||
20 | xilinx-standalone \ | ||
21 | xilinx-microblaze \ | ||
22 | virtualization-layer \ | ||
23 | openamp-layer \ | ||
24 | " | ||
25 | |||
26 | LAYERSERIES_COMPAT_xilinx-standalone-sdt = "scarthgap" | ||
27 | |||
28 | # Aid debugging, show where the device trees are we are using | ||
29 | BUILDCFG_VARS:append = " SYSTEM_DTFILE CONFIG_DTFILE" | ||
30 | |||
31 | # These are the recipes-library items, they should all be from the same ESW version | ||
32 | PREFERRED_VERSION_freertos10-xilinx ??= "${PREFERRED_VERSION_esw}%" | ||
33 | PREFERRED_VERSION_libxil ??= "${PREFERRED_VERSION_esw}%" | ||
34 | PREFERRED_VERSION_lwip ??= "${PREFERRED_VERSION_esw}%" | ||
35 | PREFERRED_VERSION_xilffs ??= "${PREFERRED_VERSION_esw}%" | ||
36 | PREFERRED_VERSION_xilffs-example ??= "${PREFERRED_VERSION_esw}%" | ||
37 | PREFERRED_VERSION_xilfpga ??= "${PREFERRED_VERSION_esw}%" | ||
38 | PREFERRED_VERSION_xilfpga-example ??= "${PREFERRED_VERSION_esw}%" | ||
39 | PREFERRED_VERSION_xilloader ??= "${PREFERRED_VERSION_esw}%" | ||
40 | PREFERRED_VERSION_xilmailbox ??= "${PREFERRED_VERSION_esw}%" | ||
41 | PREFERRED_VERSION_xilmailbox-example ??= "${PREFERRED_VERSION_esw}%" | ||
42 | PREFERRED_VERSION_xilnvm ??= "${PREFERRED_VERSION_esw}%" | ||
43 | PREFERRED_VERSION_xilnvm-example ??= "${PREFERRED_VERSION_esw}%" | ||
44 | PREFERRED_VERSION_xilpdi ??= "${PREFERRED_VERSION_esw}%" | ||
45 | PREFERRED_VERSION_xilplmi ??= "${PREFERRED_VERSION_esw}%" | ||
46 | PREFERRED_VERSION_xilpm ??= "${PREFERRED_VERSION_esw}%" | ||
47 | PREFERRED_VERSION_xilpuf ??= "${PREFERRED_VERSION_esw}%" | ||
48 | PREFERRED_VERSION_xilpuf-example ??= "${PREFERRED_VERSION_esw}%" | ||
49 | PREFERRED_VERSION_xilsecure ??= "${PREFERRED_VERSION_esw}%" | ||
50 | PREFERRED_VERSION_xilsecure-example ??= "${PREFERRED_VERSION_esw}%" | ||
51 | PREFERRED_VERSION_xilsem ??= "${PREFERRED_VERSION_esw}%" | ||
52 | PREFERRED_VERSION_xilskey ??= "${PREFERRED_VERSION_esw}%" | ||
53 | PREFERRED_VERSION_xilskey-example ??= "${PREFERRED_VERSION_esw}%" | ||
54 | PREFERRED_VERSION_xilstandalone ??= "${PREFERRED_VERSION_esw}%" | ||
55 | PREFERRED_VERSION_xiltimer ??= "${PREFERRED_VERSION_esw}%" | ||
56 | |||
57 | # The following are the recipes-drivers used by the library items above | ||
58 | # they should come from the same ESW version as the library. | ||
59 | PREFERRED_VERSION_avbuf ??= "${PREFERRED_VERSION_esw}%" | ||
60 | PREFERRED_VERSION_axicdma ??= "${PREFERRED_VERSION_esw}%" | ||
61 | PREFERRED_VERSION_axicdma-example ??= "${PREFERRED_VERSION_esw}%" | ||
62 | PREFERRED_VERSION_axidma ??= "${PREFERRED_VERSION_esw}%" | ||
63 | PREFERRED_VERSION_axidma-example ??= "${PREFERRED_VERSION_esw}%" | ||
64 | PREFERRED_VERSION_axiethernet ??= "${PREFERRED_VERSION_esw}%" | ||
65 | PREFERRED_VERSION_axiethernet-example ??= "${PREFERRED_VERSION_esw}%" | ||
66 | PREFERRED_VERSION_axipmon ??= "${PREFERRED_VERSION_esw}%" | ||
67 | PREFERRED_VERSION_axipmon-example ??= "${PREFERRED_VERSION_esw}%" | ||
68 | PREFERRED_VERSION_axis-switch ??= "${PREFERRED_VERSION_esw}%" | ||
69 | PREFERRED_VERSION_axivdma ??= "${PREFERRED_VERSION_esw}%" | ||
70 | PREFERRED_VERSION_axivdma-example ??= "${PREFERRED_VERSION_esw}%" | ||
71 | PREFERRED_VERSION_bram ??= "${PREFERRED_VERSION_esw}%" | ||
72 | PREFERRED_VERSION_bram-example ??= "${PREFERRED_VERSION_esw}%" | ||
73 | PREFERRED_VERSION_can ??= "${PREFERRED_VERSION_esw}%" | ||
74 | PREFERRED_VERSION_can-example ??= "${PREFERRED_VERSION_esw}%" | ||
75 | PREFERRED_VERSION_canfd ??= "${PREFERRED_VERSION_esw}%" | ||
76 | PREFERRED_VERSION_canfd-example ??= "${PREFERRED_VERSION_esw}%" | ||
77 | PREFERRED_VERSION_canps ??= "${PREFERRED_VERSION_esw}%" | ||
78 | PREFERRED_VERSION_canps-example ??= "${PREFERRED_VERSION_esw}%" | ||
79 | PREFERRED_VERSION_cframe ??= "${PREFERRED_VERSION_esw}%" | ||
80 | PREFERRED_VERSION_cfupmc ??= "${PREFERRED_VERSION_esw}%" | ||
81 | PREFERRED_VERSION_clk-wiz ??= "${PREFERRED_VERSION_esw}%" | ||
82 | PREFERRED_VERSION_clk-wiz-example ??= "${PREFERRED_VERSION_esw}%" | ||
83 | PREFERRED_VERSION_clockps ??= "${PREFERRED_VERSION_esw}%" | ||
84 | PREFERRED_VERSION_clockps-example ??= "${PREFERRED_VERSION_esw}%" | ||
85 | PREFERRED_VERSION_common ??= "${PREFERRED_VERSION_esw}%" | ||
86 | PREFERRED_VERSION_coresightps-dcc ??= "${PREFERRED_VERSION_esw}%" | ||
87 | PREFERRED_VERSION_csudma ??= "${PREFERRED_VERSION_esw}%" | ||
88 | PREFERRED_VERSION_csudma-example ??= "${PREFERRED_VERSION_esw}%" | ||
89 | PREFERRED_VERSION_ddrcpsu ??= "${PREFERRED_VERSION_esw}%" | ||
90 | PREFERRED_VERSION_devcfg ??= "${PREFERRED_VERSION_esw}%" | ||
91 | PREFERRED_VERSION_devcfg-example ??= "${PREFERRED_VERSION_esw}%" | ||
92 | PREFERRED_VERSION_dfeccf ??= "${PREFERRED_VERSION_esw}%" | ||
93 | PREFERRED_VERSION_dfeccf-example ??= "${PREFERRED_VERSION_esw}%" | ||
94 | PREFERRED_VERSION_dfeequ ??= "${PREFERRED_VERSION_esw}%" | ||
95 | PREFERRED_VERSION_dfeequ-example ??= "${PREFERRED_VERSION_esw}%" | ||
96 | PREFERRED_VERSION_dfemix ??= "${PREFERRED_VERSION_esw}%" | ||
97 | PREFERRED_VERSION_dfemix-example ??= "${PREFERRED_VERSION_esw}%" | ||
98 | PREFERRED_VERSION_dfeofdm ??= "${PREFERRED_VERSION_esw}%" | ||
99 | PREFERRED_VERSION_dfeofdm-example ??= "${PREFERRED_VERSION_esw}%" | ||
100 | PREFERRED_VERSION_dfeprach ??= "${PREFERRED_VERSION_esw}%" | ||
101 | PREFERRED_VERSION_dfeprach-example ??= "${PREFERRED_VERSION_esw}%" | ||
102 | PREFERRED_VERSION_dfxasm ??= "${PREFERRED_VERSION_esw}%" | ||
103 | PREFERRED_VERSION_dfxasm-example ??= "${PREFERRED_VERSION_esw}%" | ||
104 | PREFERRED_VERSION_dmaps ??= "${PREFERRED_VERSION_esw}%" | ||
105 | PREFERRED_VERSION_dmaps-example ??= "${PREFERRED_VERSION_esw}%" | ||
106 | PREFERRED_VERSION_dp14 ??= "${PREFERRED_VERSION_esw}%" | ||
107 | PREFERRED_VERSION_dp14rxss ??= "${PREFERRED_VERSION_esw}%" | ||
108 | PREFERRED_VERSION_dpdma ??= "${PREFERRED_VERSION_esw}%" | ||
109 | PREFERRED_VERSION_dppsu ??= "${PREFERRED_VERSION_esw}%" | ||
110 | PREFERRED_VERSION_emaclite ??= "${PREFERRED_VERSION_esw}%" | ||
111 | PREFERRED_VERSION_emaclite-example ??= "${PREFERRED_VERSION_esw}%" | ||
112 | PREFERRED_VERSION_emacps ??= "${PREFERRED_VERSION_esw}%" | ||
113 | PREFERRED_VERSION_emacps-example ??= "${PREFERRED_VERSION_esw}%" | ||
114 | PREFERRED_VERSION_emc ??= "${PREFERRED_VERSION_esw}%" | ||
115 | PREFERRED_VERSION_gpio ??= "${PREFERRED_VERSION_esw}%" | ||
116 | PREFERRED_VERSION_gpio-example ??= "${PREFERRED_VERSION_esw}%" | ||
117 | PREFERRED_VERSION_gpiops ??= "${PREFERRED_VERSION_esw}%" | ||
118 | PREFERRED_VERSION_gpiops-example ??= "${PREFERRED_VERSION_esw}%" | ||
119 | PREFERRED_VERSION_hwicap ??= "${PREFERRED_VERSION_esw}%" | ||
120 | PREFERRED_VERSION_i2srx ??= "${PREFERRED_VERSION_esw}%" | ||
121 | PREFERRED_VERSION_i2stx ??= "${PREFERRED_VERSION_esw}%" | ||
122 | PREFERRED_VERSION_i3cpsx ??= "${PREFERRED_VERSION_esw}%" | ||
123 | PREFERRED_VERSION_i3cpsx-example ??= "${PREFERRED_VERSION_esw}%" | ||
124 | PREFERRED_VERSION_iic ??= "${PREFERRED_VERSION_esw}%" | ||
125 | PREFERRED_VERSION_iic-example ??= "${PREFERRED_VERSION_esw}%" | ||
126 | PREFERRED_VERSION_iicps ??= "${PREFERRED_VERSION_esw}%" | ||
127 | PREFERRED_VERSION_iicps-example ??= "${PREFERRED_VERSION_esw}%" | ||
128 | PREFERRED_VERSION_intc ??= "${PREFERRED_VERSION_esw}%" | ||
129 | PREFERRED_VERSION_intc-example ??= "${PREFERRED_VERSION_esw}%" | ||
130 | PREFERRED_VERSION_iomodule ??= "${PREFERRED_VERSION_esw}%" | ||
131 | PREFERRED_VERSION_ipipsu ??= "${PREFERRED_VERSION_esw}%" | ||
132 | PREFERRED_VERSION_ipipsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
133 | PREFERRED_VERSION_llfifo ??= "${PREFERRED_VERSION_esw}%" | ||
134 | PREFERRED_VERSION_llfifo-example ??= "${PREFERRED_VERSION_esw}%" | ||
135 | PREFERRED_VERSION_mbox ??= "${PREFERRED_VERSION_esw}%" | ||
136 | PREFERRED_VERSION_mbox-example ??= "${PREFERRED_VERSION_esw}%" | ||
137 | PREFERRED_VERSION_mcdma ??= "${PREFERRED_VERSION_esw}%" | ||
138 | PREFERRED_VERSION_mcdma-example ??= "${PREFERRED_VERSION_esw}%" | ||
139 | PREFERRED_VERSION_mutex ??= "${PREFERRED_VERSION_esw}%" | ||
140 | PREFERRED_VERSION_mutex-example ??= "${PREFERRED_VERSION_esw}%" | ||
141 | PREFERRED_VERSION_nandps ??= "${PREFERRED_VERSION_esw}%" | ||
142 | PREFERRED_VERSION_nandpsu ??= "${PREFERRED_VERSION_esw}%" | ||
143 | PREFERRED_VERSION_nandpsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
144 | PREFERRED_VERSION_ospipsv ??= "${PREFERRED_VERSION_esw}%" | ||
145 | PREFERRED_VERSION_ospipsv-example ??= "${PREFERRED_VERSION_esw}%" | ||
146 | PREFERRED_VERSION_pciepsu ??= "${PREFERRED_VERSION_esw}%" | ||
147 | PREFERRED_VERSION_pciepsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
148 | PREFERRED_VERSION_prc ??= "${PREFERRED_VERSION_esw}%" | ||
149 | PREFERRED_VERSION_prd ??= "${PREFERRED_VERSION_esw}%" | ||
150 | PREFERRED_VERSION_qspips ??= "${PREFERRED_VERSION_esw}%" | ||
151 | PREFERRED_VERSION_qspips-example ??= "${PREFERRED_VERSION_esw}%" | ||
152 | PREFERRED_VERSION_qspipsu ??= "${PREFERRED_VERSION_esw}%" | ||
153 | PREFERRED_VERSION_qspipsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
154 | PREFERRED_VERSION_resetps ??= "${PREFERRED_VERSION_esw}%" | ||
155 | PREFERRED_VERSION_resetps-example ??= "${PREFERRED_VERSION_esw}%" | ||
156 | PREFERRED_VERSION_rfdc ??= "${PREFERRED_VERSION_esw}%" | ||
157 | PREFERRED_VERSION_rfdc-example ??= "${PREFERRED_VERSION_esw}%" | ||
158 | PREFERRED_VERSION_rtcpsu ??= "${PREFERRED_VERSION_esw}%" | ||
159 | PREFERRED_VERSION_rtcpsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
160 | PREFERRED_VERSION_scugic ??= "${PREFERRED_VERSION_esw}%" | ||
161 | PREFERRED_VERSION_scugic-example ??= "${PREFERRED_VERSION_esw}%" | ||
162 | PREFERRED_VERSION_scutimer ??= "${PREFERRED_VERSION_esw}%" | ||
163 | PREFERRED_VERSION_scuwdt ??= "${PREFERRED_VERSION_esw}%" | ||
164 | PREFERRED_VERSION_sd-fec ??= "${PREFERRED_VERSION_esw}%" | ||
165 | PREFERRED_VERSION_sdps ??= "${PREFERRED_VERSION_esw}%" | ||
166 | PREFERRED_VERSION_sdps-example ??= "${PREFERRED_VERSION_esw}%" | ||
167 | PREFERRED_VERSION_spi ??= "${PREFERRED_VERSION_esw}%" | ||
168 | PREFERRED_VERSION_spips ??= "${PREFERRED_VERSION_esw}%" | ||
169 | PREFERRED_VERSION_spips-example ??= "${PREFERRED_VERSION_esw}%" | ||
170 | PREFERRED_VERSION_sysmon ??= "${PREFERRED_VERSION_esw}%" | ||
171 | PREFERRED_VERSION_sysmon-example ??= "${PREFERRED_VERSION_esw}%" | ||
172 | PREFERRED_VERSION_sysmonpsu ??= "${PREFERRED_VERSION_esw}%" | ||
173 | PREFERRED_VERSION_sysmonpsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
174 | PREFERRED_VERSION_sysmonpsv ??= "${PREFERRED_VERSION_esw}%" | ||
175 | PREFERRED_VERSION_sysmonpsv-example ??= "${PREFERRED_VERSION_esw}%" | ||
176 | PREFERRED_VERSION_tft ??= "${PREFERRED_VERSION_esw}%" | ||
177 | PREFERRED_VERSION_tmrctr ??= "${PREFERRED_VERSION_esw}%" | ||
178 | PREFERRED_VERSION_tmrctr-example ??= "${PREFERRED_VERSION_esw}%" | ||
179 | PREFERRED_VERSION_tmr-inject ??= "${PREFERRED_VERSION_esw}%" | ||
180 | PREFERRED_VERSION_tmr-manager ??= "${PREFERRED_VERSION_esw}%" | ||
181 | PREFERRED_VERSION_trafgen ??= "${PREFERRED_VERSION_esw}%" | ||
182 | PREFERRED_VERSION_trafgen-example ??= "${PREFERRED_VERSION_esw}%" | ||
183 | PREFERRED_VERSION_trngpsv ??= "${PREFERRED_VERSION_esw}%" | ||
184 | PREFERRED_VERSION_trngpsx ??= "${PREFERRED_VERSION_esw}%" | ||
185 | PREFERRED_VERSION_ttcps ??= "${PREFERRED_VERSION_esw}%" | ||
186 | PREFERRED_VERSION_ttcps-example ??= "${PREFERRED_VERSION_esw}%" | ||
187 | PREFERRED_VERSION_uartlite ??= "${PREFERRED_VERSION_esw}%" | ||
188 | PREFERRED_VERSION_uartlite-example ??= "${PREFERRED_VERSION_esw}%" | ||
189 | PREFERRED_VERSION_uartns550 ??= "${PREFERRED_VERSION_esw}%" | ||
190 | PREFERRED_VERSION_uartns550-example ??= "${PREFERRED_VERSION_esw}%" | ||
191 | PREFERRED_VERSION_uartps ??= "${PREFERRED_VERSION_esw}%" | ||
192 | PREFERRED_VERSION_uartps-example ??= "${PREFERRED_VERSION_esw}%" | ||
193 | PREFERRED_VERSION_uartpsv ??= "${PREFERRED_VERSION_esw}%" | ||
194 | PREFERRED_VERSION_uartpsv-example ??= "${PREFERRED_VERSION_esw}%" | ||
195 | PREFERRED_VERSION_usb ??= "${PREFERRED_VERSION_esw}%" | ||
196 | PREFERRED_VERSION_usb-example ??= "${PREFERRED_VERSION_esw}%" | ||
197 | PREFERRED_VERSION_usbps ??= "${PREFERRED_VERSION_esw}%" | ||
198 | PREFERRED_VERSION_usbpsu ??= "${PREFERRED_VERSION_esw}%" | ||
199 | PREFERRED_VERSION_usbpsu-example ??= "${PREFERRED_VERSION_esw}%" | ||
200 | PREFERRED_VERSION_v-csc ??= "${PREFERRED_VERSION_esw}%" | ||
201 | PREFERRED_VERSION_v-deinterlacer ??= "${PREFERRED_VERSION_esw}%" | ||
202 | PREFERRED_VERSION_v-demosaic ??= "${PREFERRED_VERSION_esw}%" | ||
203 | PREFERRED_VERSION_v-demosaic-example ??= "${PREFERRED_VERSION_esw}%" | ||
204 | PREFERRED_VERSION_v-frmbuf-rd ??= "${PREFERRED_VERSION_esw}%" | ||
205 | PREFERRED_VERSION_v-frmbuf-rd-example ??= "${PREFERRED_VERSION_esw}%" | ||
206 | PREFERRED_VERSION_v-frmbuf-wr ??= "${PREFERRED_VERSION_esw}%" | ||
207 | PREFERRED_VERSION_v-frmbuf-wr-example ??= "${PREFERRED_VERSION_esw}%" | ||
208 | PREFERRED_VERSION_v-gamma-lut ??= "${PREFERRED_VERSION_esw}%" | ||
209 | PREFERRED_VERSION_v-gamma-lut-example ??= "${PREFERRED_VERSION_esw}%" | ||
210 | PREFERRED_VERSION_v-hcresampler ??= "${PREFERRED_VERSION_esw}%" | ||
211 | PREFERRED_VERSION_v-hdmi-common ??= "${PREFERRED_VERSION_esw}%" | ||
212 | PREFERRED_VERSION_v-hdmiphy1 ??= "${PREFERRED_VERSION_esw}%" | ||
213 | PREFERRED_VERSION_v-hdmirx1 ??= "${PREFERRED_VERSION_esw}%" | ||
214 | PREFERRED_VERSION_v-hdmirxss1 ??= "${PREFERRED_VERSION_esw}%" | ||
215 | PREFERRED_VERSION_v-hdmitx1 ??= "${PREFERRED_VERSION_esw}%" | ||
216 | PREFERRED_VERSION_v-hdmitxss1 ??= "${PREFERRED_VERSION_esw}%" | ||
217 | PREFERRED_VERSION_v-hscaler ??= "${PREFERRED_VERSION_esw}%" | ||
218 | PREFERRED_VERSION_video-common ??= "${PREFERRED_VERSION_esw}%" | ||
219 | PREFERRED_VERSION_v-letterbox ??= "${PREFERRED_VERSION_esw}%" | ||
220 | PREFERRED_VERSION_v-mix ??= "${PREFERRED_VERSION_esw}%" | ||
221 | PREFERRED_VERSION_v-mix-example ??= "${PREFERRED_VERSION_esw}%" | ||
222 | PREFERRED_VERSION_v-multi-scaler ??= "${PREFERRED_VERSION_esw}%" | ||
223 | PREFERRED_VERSION_v-multi-scaler-example ??= "${PREFERRED_VERSION_esw}%" | ||
224 | PREFERRED_VERSION_vphy ??= "${PREFERRED_VERSION_esw}%" | ||
225 | PREFERRED_VERSION_vprocss ??= "${PREFERRED_VERSION_esw}%" | ||
226 | PREFERRED_VERSION_vprocss-example ??= "${PREFERRED_VERSION_esw}%" | ||
227 | PREFERRED_VERSION_v-scenechange ??= "${PREFERRED_VERSION_esw}%" | ||
228 | PREFERRED_VERSION_v-scenechange-example ??= "${PREFERRED_VERSION_esw}%" | ||
229 | PREFERRED_VERSION_vtc ??= "${PREFERRED_VERSION_esw}%" | ||
230 | PREFERRED_VERSION_v-tpg ??= "${PREFERRED_VERSION_esw}%" | ||
231 | PREFERRED_VERSION_v-vcresampler ??= "${PREFERRED_VERSION_esw}%" | ||
232 | PREFERRED_VERSION_v-vscaler ??= "${PREFERRED_VERSION_esw}%" | ||
233 | PREFERRED_VERSION_v-warp-filter ??= "${PREFERRED_VERSION_esw}%" | ||
234 | PREFERRED_VERSION_v-warp-init ??= "${PREFERRED_VERSION_esw}%" | ||
235 | PREFERRED_VERSION_wdtps ??= "${PREFERRED_VERSION_esw}%" | ||
236 | PREFERRED_VERSION_wdtps-example ??= "${PREFERRED_VERSION_esw}%" | ||
237 | PREFERRED_VERSION_wdttb ??= "${PREFERRED_VERSION_esw}%" | ||
238 | PREFERRED_VERSION_wdttb-example ??= "${PREFERRED_VERSION_esw}%" | ||
239 | PREFERRED_VERSION_xadcps ??= "${PREFERRED_VERSION_esw}%" | ||
240 | PREFERRED_VERSION_xadcps-example ??= "${PREFERRED_VERSION_esw}%" | ||
241 | PREFERRED_VERSION_xdmapcie ??= "${PREFERRED_VERSION_esw}%" | ||
242 | PREFERRED_VERSION_xdmapcie-example ??= "${PREFERRED_VERSION_esw}%" | ||
243 | PREFERRED_VERSION_xxvethernet ??= "${PREFERRED_VERSION_esw}%" | ||
244 | PREFERRED_VERSION_xxvethernet-example ??= "${PREFERRED_VERSION_esw}%" | ||
245 | PREFERRED_VERSION_zdma ??= "${PREFERRED_VERSION_esw}%" | ||
246 | PREFERRED_VERSION_zdma-example ??= "${PREFERRED_VERSION_esw}%" | ||
247 | |||
248 | # The following are applications that use the libraries and drivers | ||
249 | PREFERRED_VERSION_ddr-self-refresh ??= "${PREFERRED_VERSION_esw}%" | ||
250 | PREFERRED_VERSION_empty-application ??= "${PREFERRED_VERSION_esw}%" | ||
251 | PREFERRED_VERSION_freertos-hello-world ??= "${PREFERRED_VERSION_esw}%" | ||
252 | PREFERRED_VERSION_freertos-lwip-echo-server ??= "${PREFERRED_VERSION_esw}%" | ||
253 | PREFERRED_VERSION_freertos-lwip-tcp-perf-client ??= "${PREFERRED_VERSION_esw}%" | ||
254 | PREFERRED_VERSION_freertos-lwip-tcp-perf-server ??= "${PREFERRED_VERSION_esw}%" | ||
255 | PREFERRED_VERSION_freertos-lwip-udp-perf-client ??= "${PREFERRED_VERSION_esw}%" | ||
256 | PREFERRED_VERSION_freertos-lwip-udp-perf-server ??= "${PREFERRED_VERSION_esw}%" | ||
257 | PREFERRED_VERSION_hello-world ??= "${PREFERRED_VERSION_esw}%" | ||
258 | PREFERRED_VERSION_lwip-echo-server ??= "${PREFERRED_VERSION_esw}%" | ||
259 | PREFERRED_VERSION_lwip-tcp-perf-client ??= "${PREFERRED_VERSION_esw}%" | ||
260 | PREFERRED_VERSION_lwip-tcp-perf-server ??= "${PREFERRED_VERSION_esw}%" | ||
261 | PREFERRED_VERSION_lwip-udp-perf-client ??= "${PREFERRED_VERSION_esw}%" | ||
262 | PREFERRED_VERSION_lwip-udp-perf-server ??= "${PREFERRED_VERSION_esw}%" | ||
263 | PREFERRED_VERSION_memory-tests ??= "${PREFERRED_VERSION_esw}%" | ||
264 | PREFERRED_VERSION_openamp-fw-echo-testd.bb ??= "${PREFERRED_VERSION_esw}%" | ||
265 | PREFERRED_VERSION_openamp-fw-mat-muld.bb ??= "${PREFERRED_VERSION_esw}%" | ||
266 | PREFERRED_VERSION_openamp-fw-rpc-demo.bb ??= "${PREFERRED_VERSION_esw}%" | ||
267 | PREFERRED_VERSION_peripheral-tests ??= "${PREFERRED_VERSION_esw}%" | ||
268 | PREFERRED_VERSION_sample-fw-package.bb ??= "${PREFERRED_VERSION_esw}%" | ||
269 | PREFERRED_VERSION_srec-bootloader ??= "${PREFERRED_VERSION_esw}%" | ||
270 | PREFERRED_VERSION_srec-spi-bootloader ??= "${PREFERRED_VERSION_esw}%" | ||
271 | PREFERRED_VERSION_zynq-dram-test ??= "${PREFERRED_VERSION_esw}%" | ||
272 | PREFERRED_VERSION_zynqmp-dram-test ??= "${PREFERRED_VERSION_esw}%" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb new file mode 100644 index 00000000..4287bb0a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/ddr_self_refresh/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer xilpm" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "ddr_self_refresh" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | |||
26 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
27 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
28 | |||
29 | FILES:${PN} = "${base_libdir}/firmware/ddr_self_refresh*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb new file mode 100644 index 00000000..2c70796a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/empty_application/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | do_configure:prepend() { | ||
8 | ( | ||
9 | cd ${S} | ||
10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
11 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
12 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
13 | install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | ) | ||
16 | } | ||
17 | |||
18 | CUSTOM_APP_IMAGE_NAME ??= "custom-application" | ||
19 | |||
20 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
21 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
22 | |||
23 | inherit image-artifact-names | ||
24 | |||
25 | CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${BB_CURRENT_MC}${IMAGE_VERSION_SUFFIX}" | ||
26 | |||
27 | ESW_COMPONENT ??= "empty_application.elf" | ||
28 | |||
29 | do_compile:append() { | ||
30 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/empty_application.bin | ||
31 | } | ||
32 | |||
33 | do_install() { | ||
34 | : | ||
35 | } | ||
36 | |||
37 | do_deploy() { | ||
38 | install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf | ||
39 | ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.elf | ||
40 | install -m 0644 ${B}/empty_application.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin | ||
41 | ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.bin | ||
42 | } | ||
43 | addtask deploy before do_build after do_install | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb new file mode 100644 index 00000000..97d2ba0a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" | ||
4 | |||
5 | DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "freertos_hello_world" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | FILES:${PN} = "${base_libdir}/firmware/freertos_hello_world*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb new file mode 100644 index 00000000..58d5b9c7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "freertos_lwip_echo_server" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_echo*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb new file mode 100644 index 00000000..5c00254c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "freertos_lwip_tcp_perf_client" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb new file mode 100644 index 00000000..910a6fa2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "freertos_lwip_tcp_perf_server" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb new file mode 100644 index 00000000..c20d640d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "freertos_lwip_udp_perf_client" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb new file mode 100644 index 00000000..194b0565 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "freertos_lwip_udp_perf_server" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb new file mode 100644 index 00000000..ee0afec5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | inherit esw deploy python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "hello_world" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
21 | |||
22 | FILES:${PN} = "${base_libdir}/firmware/hello_world*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb new file mode 100644 index 00000000..f3397f7f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "lwip_echo_server" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/lwip_echo*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb new file mode 100644 index 00000000..bc90046e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "lwip_tcp_perf_client" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb new file mode 100644 index 00000000..5c9cd5fa --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "lwip_tcp_perf_server" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb new file mode 100644 index 00000000..2855b08c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "lwip_udp_perf_client" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb new file mode 100644 index 00000000..149e7a6c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "lwip_udp_perf_server" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb new file mode 100644 index 00000000..8420171b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/memory_tests/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "memory_tests" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | FILES:${PN} = "${base_libdir}/firmware/memory_tests*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb new file mode 100644 index 00000000..58f08bf2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | require openamp-fw.inc | ||
2 | |||
3 | PROVIDES:append:armv7r = " openamp-fw-echo-testd " | ||
4 | |||
5 | OPENAMP_FW_SRC_NAME = "rpmsg-echo.out" | ||
6 | OPENAMP_FW_NAME = "image_echo_test" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb new file mode 100644 index 00000000..c8d4382d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | require openamp-fw.inc | ||
2 | |||
3 | PROVIDES:append:armv7r = " openamp-fw-mat-muld " | ||
4 | |||
5 | OPENAMP_FW_SRC_NAME = "matrix_multiplyd.out" | ||
6 | OPENAMP_FW_NAME = "image_matrix_multiply" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb new file mode 100644 index 00000000..4efdb4c6 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require openamp-fw.inc | ||
2 | |||
3 | PROVIDES:append:armv7r = " openamp-fw-rpc-demo " | ||
4 | |||
5 | OPENAMP_FW_SRC_NAME = "rpc_demo.out" | ||
6 | OPENAMP_FW_NAME = "image_rpc_demo" | ||
7 | OPENAMP_WITH_PROXY = "ON" | ||
8 | |||
9 | # NOTE: BSP should have flag ESW_CFLAGS:append = " -DUNDEFINE_FILE_OPS=1 " | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc new file mode 100644 index 00000000..398f8dce --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc | |||
@@ -0,0 +1,27 @@ | |||
1 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
2 | LICENSE = "MIT" | ||
3 | INSANE_SKIP:${PN} = "arch" | ||
4 | |||
5 | FW_LIB_DIR = "/lib/firmware" | ||
6 | |||
7 | OPENAMP_FW_SRC_NAME ?= "rpmsg-echo.out" | ||
8 | OPENAMP_FW_NAME ?= "image_echo_test" | ||
9 | |||
10 | FW_MACHINE:zynqmp = "cortexr5-0-zynqmp" | ||
11 | FW_MACHINE:versal = "cortexr5-0-versal" | ||
12 | FW_MACHINE:versal-net = "cortexr52-0-versal-net" | ||
13 | FW_OS ?= "baremetal" | ||
14 | |||
15 | OPENAMP_FW_DEPLOY_DIR ?= "${MC_TMPDIR_PREFIX}-${FW_MACHINE}-${FW_OS}/deploy/images/${MACHINE}" | ||
16 | DEPENDS = " open-amp-xlnx " | ||
17 | do_install[mcdepends] += "mc::${FW_MACHINE}-${FW_OS}:open-amp-xlnx:do_deploy" | ||
18 | do_install() { | ||
19 | install -d ${D}${FW_LIB_DIR} | ||
20 | src=${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} | ||
21 | dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME} | ||
22 | install -m 0644 ${src} ${dest} | ||
23 | } | ||
24 | |||
25 | do_compile[noexec] = "1" | ||
26 | |||
27 | FILES:${PN} = "/lib/firmware/${OPENAMP_FW_NAME}" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb new file mode 100644 index 00000000..d2fb106a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/peripheral_tests/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "peripheral_tests" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | python do_generate_app_data() { | ||
20 | import glob, subprocess, os | ||
21 | |||
22 | system_dt = glob.glob(d.getVar('DTS_FILE')) | ||
23 | srcdir = glob.glob(d.getVar('S')) | ||
24 | src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) | ||
25 | machine = d.getVar('ESW_MACHINE') | ||
26 | |||
27 | if len(system_dt) == 0: | ||
28 | bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) | ||
29 | |||
30 | if len(src_dir) == 0: | ||
31 | bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) | ||
32 | |||
33 | driver_name = d.getVar('REQUIRED_MACHINE_FEATURES') | ||
34 | command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]] | ||
35 | subprocess.run(command, check = True) | ||
36 | } | ||
37 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
38 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
39 | |||
40 | do_compile:append() { | ||
41 | ${OBJCOPY} -O binary ${B}/${ESW_EXECUTABLE_NAME}.elf ${B}${ESW_EXECUTABLE_NAME}.bin | ||
42 | } | ||
43 | |||
44 | do_install() { | ||
45 | : | ||
46 | } | ||
47 | |||
48 | do_deploy() { | ||
49 | install -Dm 0644 ${B}/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf | ||
50 | ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf | ||
51 | install -m 0644 ${B}/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin | ||
52 | ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin | ||
53 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb b/meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb new file mode 100644 index 00000000..5def36c3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "Sample recipe to package and deploy baremetal or freertos elf or bin to linux rootfs" | ||
2 | LICENSE = "CLOSED" | ||
3 | |||
4 | inherit fw-package | ||
5 | |||
6 | FW_NAME = "hello-world" | ||
7 | |||
8 | TARGET_MC = "cortexr5-0-zynqmp-baremetal" | ||
9 | |||
10 | FW_MCDEPENDS := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', 'mc::${TARGET_MC}:${FW_NAME}:do_deploy', '', d)}" | ||
11 | FW_DEPLOY_DIR := "${@bb.utils.contains('BBMULTICONFIG', '${TARGET_MC}', '${TOPDIR}/tmp-${TARGET_MC}/deploy/images/${MACHINE}', '${DEPLOY_DIR_IMAGE}', d)}" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb new file mode 100644 index 00000000..03ada8c1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/srec_bootloader/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "srec_bootloader" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
21 | |||
22 | FILES:${PN} = "${base_libdir}/firmware/srec_bootloader*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb new file mode 100644 index 00000000..e6f29570 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/srec_spi_bootloader/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "srec_spi_bootloader" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
21 | |||
22 | FILES:${PN} = "${base_libdir}/firmware/srec_spi_bootloader*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb new file mode 100644 index 00000000..8e0b0c06 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynq_dram_test/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "zynq_dram_test" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/zynq_dram*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb new file mode 100644 index 00000000..25215801 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | inherit esw python3native esw_apps_common | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_dram_test/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | ESW_EXECUTABLE_NAME = "zynqmp_dram_test" | ||
8 | |||
9 | do_configure:prepend() { | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
15 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | do_generate_app_data() { | ||
20 | # This script should also not rely on relative paths and such | ||
21 | cd ${S} | ||
22 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
23 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
24 | } | ||
25 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
26 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
27 | |||
28 | FILES:${PN} = "${base_libdir}/firmware/zynqmp_dram*" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb new file mode 100644 index 00000000..2ee17470 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | # Can't depend on esw since this is needed for setup! | ||
2 | inherit xlnx-embeddedsw | ||
3 | |||
4 | S = "${UNPACKDIR}/git" | ||
5 | B = "${UNPACKDIR}/build" | ||
6 | |||
7 | INHIBIT_DEFAULT_DEPS = "1" | ||
8 | |||
9 | # Installing this recipe should install the lopper tools and such | ||
10 | DEPENDS = "lopper xilinx-lops" | ||
11 | |||
12 | COMPATIBLE_HOST:forcevariable = ".*" | ||
13 | |||
14 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | ||
15 | |||
16 | do_configure[noexec] = '1' | ||
17 | do_compile[noexec] = '1' | ||
18 | |||
19 | do_install() { | ||
20 | # The configuration step requires only the yaml files, make them | ||
21 | # available to the SDK | ||
22 | cd ${S}${ESW_COMPONENT_SRC} | ||
23 | for each in `find . -name *.yaml` ; do | ||
24 | mkdir -p $(dirname ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each) | ||
25 | install -m 0644 $each ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each | ||
26 | done | ||
27 | } | ||
28 | |||
29 | FILES:${PN} += "${datadir}/embeddedsw" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend new file mode 100644 index 00000000..765fb159 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend | |||
@@ -0,0 +1,66 @@ | |||
1 | # We WANT to default to this version when available | ||
2 | DEFAULT_PREFERENCE = "100" | ||
3 | |||
4 | # Reset this | ||
5 | SRC_URI = "${EMBEDDEDSW_SRCURI}" | ||
6 | |||
7 | inherit esw | ||
8 | |||
9 | # Not compatible with Zynq | ||
10 | COMPATIBLE_MACHINE:zynq = "none" | ||
11 | COMPATIBLE_MACHINE:microblaze = "none" | ||
12 | |||
13 | ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" | ||
14 | ESW_COMPONENT_SRC:zynq = "/lib/sw_apps/zynq_fsbl/src" | ||
15 | ESW_COMPONENT_SRC:zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" | ||
16 | |||
17 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" | ||
18 | |||
19 | python() { | ||
20 | psu_init_path = d.getVar('PSU_INIT_PATH') | ||
21 | if not psu_init_path: | ||
22 | psu_init_path = os.path.dirname(d.getVar('SYSTEM_DTFILE')) | ||
23 | |||
24 | psu_init_c = os.path.join(psu_init_path, 'psu_init.c') | ||
25 | psu_init_h = os.path.join(psu_init_path, 'psu_init.h') | ||
26 | |||
27 | add_path = False | ||
28 | if os.path.exists(psu_init_c): | ||
29 | d.appendVar('SRC_URI', ' file://psu_init.c') | ||
30 | add_path = True | ||
31 | |||
32 | if os.path.exists(psu_init_h): | ||
33 | d.appendVar('SRC_URI', ' file://psu_init.h') | ||
34 | add_path = True | ||
35 | |||
36 | if add_path: | ||
37 | d.prependVar('FILESEXTRAPATHS', '%s:' % psu_init_path) | ||
38 | } | ||
39 | |||
40 | do_configure:prepend() { | ||
41 | if [ -e ${UNPACKDIR}/psu_init.c ]; then | ||
42 | install -m 0644 ${UNPACKDIR}/psu_init.c ${S}/${ESW_COMPONENT_SRC} | ||
43 | else | ||
44 | bbwarn "Using the default psu_init.c, this may not work correctly." | ||
45 | fi | ||
46 | |||
47 | if [ -e ${UNPACKDIR}/psu_init.h ]; then | ||
48 | install -m 0644 ${UNPACKDIR}/psu_init.h ${S}/${ESW_COMPONENT_SRC} | ||
49 | else | ||
50 | bbwarn "Using the default psu_init.h, this may not work correctly." | ||
51 | fi | ||
52 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
53 | } | ||
54 | |||
55 | do_install() { | ||
56 | : | ||
57 | } | ||
58 | |||
59 | addtask deploy before do_build after do_package | ||
60 | |||
61 | ESW_COMPONENT = "undefined" | ||
62 | ESW_COMPONENT:zynq = "zynq_fsbl.elf" | ||
63 | ESW_COMPONENT:zynqmp = "zynqmp_fsbl.elf" | ||
64 | |||
65 | CFLAGS:append:aarch64 = " -DARMA53_64" | ||
66 | CFLAGS:append:armv7r = " -DARMR5" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend new file mode 100644 index 00000000..202764ac --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend | |||
@@ -0,0 +1,34 @@ | |||
1 | # We WANT to default to this version when available | ||
2 | DEFAULT_PREFERENCE = "100" | ||
3 | |||
4 | # Reset this | ||
5 | SRC_URI = "${EMBEDDEDSW_SRCURI}" | ||
6 | |||
7 | inherit esw | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/lib/sw_apps/versal_plm/src/" | ||
10 | |||
11 | ESW_COMPONENT = "versal_plm.elf" | ||
12 | |||
13 | do_configure:prepend() { | ||
14 | ( | ||
15 | cd ${S} | ||
16 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
17 | ) | ||
18 | } | ||
19 | |||
20 | do_configure() { | ||
21 | cmake_do_configure | ||
22 | } | ||
23 | |||
24 | do_compile() { | ||
25 | cmake_do_compile | ||
26 | |||
27 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | : | ||
32 | } | ||
33 | |||
34 | DEPENDS += "xilstandalone xiltimer xilffs xilpdi xilplmi xilloader xilpm xilsecure xilsem xilnvm" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend new file mode 100644 index 00000000..0c51fbad --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend | |||
@@ -0,0 +1,25 @@ | |||
1 | # We WANT to default to this version when available | ||
2 | DEFAULT_PREFERENCE = "100" | ||
3 | |||
4 | # Reset this | ||
5 | SRC_URI = "${EMBEDDEDSW_SRCURI}" | ||
6 | |||
7 | inherit esw | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" | ||
10 | |||
11 | ESW_COMPONENT = "zynqmp_pmufw.elf" | ||
12 | |||
13 | |||
14 | do_configure:prepend() { | ||
15 | ( | ||
16 | cd ${S} | ||
17 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
18 | ) | ||
19 | } | ||
20 | |||
21 | do_install() { | ||
22 | : | ||
23 | } | ||
24 | |||
25 | DEPENDS += "xilstandalone xiltimer xilfpga xilskey" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend new file mode 100644 index 00000000..96cd38cd --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend | |||
@@ -0,0 +1,34 @@ | |||
1 | # We WANT to default to this version when available | ||
2 | DEFAULT_PREFERENCE = "100" | ||
3 | |||
4 | # Reset this | ||
5 | SRC_URI = "${EMBEDDEDSW_SRCURI}" | ||
6 | |||
7 | inherit esw | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/" | ||
10 | |||
11 | ESW_COMPONENT = "versal_psmfw.elf" | ||
12 | |||
13 | do_configure:prepend() { | ||
14 | ( | ||
15 | cd ${S} | ||
16 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
17 | ) | ||
18 | } | ||
19 | |||
20 | do_configure() { | ||
21 | cmake_do_configure | ||
22 | } | ||
23 | |||
24 | do_compile() { | ||
25 | cmake_do_compile | ||
26 | |||
27 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | : | ||
32 | } | ||
33 | |||
34 | DEPENDS += "xilstandalone libxil xiltimer" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/avbuf_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/avbuf_2024.1.bb new file mode 100644 index 00000000..7edd2d9d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/avbuf_2024.1.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "avbuf" | ||
4 | |||
5 | inherit esw | ||
6 | |||
7 | DEPENDS += "xilstandalone" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/avbuf/src/" | ||
10 | ESW_COMPONENT_NAME = "libavbuf.a" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axicdma-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axicdma-example_2024.1.bb new file mode 100644 index 00000000..1846b291 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axicdma-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axicdma" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axicdma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axicdma_2024.1.bb new file mode 100644 index 00000000..47111dc5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axicdma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axicdma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxicdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axidma-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axidma-example_2024.1.bb new file mode 100644 index 00000000..68a26f45 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axidma-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axidma" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axidma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axidma_2024.1.bb new file mode 100644 index 00000000..c385d13f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axidma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axidma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxidma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axiethernet-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axiethernet-example_2024.1.bb new file mode 100644 index 00000000..04c2c151 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axiethernet-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axiethernet" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axiethernet_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axiethernet_2024.1.bb new file mode 100644 index 00000000..0b635859 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axiethernet_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axiethernet" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxiethernet.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axipmon-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axipmon-example_2024.1.bb new file mode 100644 index 00000000..4aa716e7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axipmon-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axipmon" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axipmon/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axipmon_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axipmon_2024.1.bb new file mode 100644 index 00000000..ff2eae91 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axipmon_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axipmon" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axipmon/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxipmon.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axis-switch_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axis-switch_2024.1.bb new file mode 100644 index 00000000..b34dedb0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axis-switch_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axis-switch" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axis_switch/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxis_switch.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axivdma-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axivdma-example_2024.1.bb new file mode 100644 index 00000000..2866c02b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axivdma-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axivdma" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axivdma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axivdma_2024.1.bb new file mode 100644 index 00000000..15268629 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axivdma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "axivdma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxivdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/bram-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/bram-example_2024.1.bb new file mode 100644 index 00000000..a3145467 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/bram-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "bram" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/bram/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/bram_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/bram_2024.1.bb new file mode 100644 index 00000000..3c81c619 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/bram_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "bram" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/bram/src/" | ||
10 | ESW_COMPONENT_NAME = "libbram.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/can-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/can-example_2024.1.bb new file mode 100644 index 00000000..115852fa --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/can-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "can" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/can_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/can_2024.1.bb new file mode 100644 index 00000000..eb7fc473 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/can_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "can" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/src/" | ||
10 | ESW_COMPONENT_NAME = "libcan.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/canfd-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/canfd-example_2024.1.bb new file mode 100644 index 00000000..84276569 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/canfd-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "canfd" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/canfd_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/canfd_2024.1.bb new file mode 100644 index 00000000..5f2e6ea8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/canfd_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "canfd" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/src/" | ||
10 | ESW_COMPONENT_NAME = "libcanfd.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/canps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/canps-example_2024.1.bb new file mode 100644 index 00000000..574dc563 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/canps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "canps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/canps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/canps_2024.1.bb new file mode 100644 index 00000000..c9f61cd2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/canps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "canps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/" | ||
10 | ESW_COMPONENT_NAME = "libcanps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/cframe_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/cframe_2024.1.bb new file mode 100644 index 00000000..6ffdf85d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/cframe_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "cframe" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/cframe/src/" | ||
10 | ESW_COMPONENT_NAME = "libcframe.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/cfupmc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/cfupmc_2024.1.bb new file mode 100644 index 00000000..3cb675bc --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/cfupmc_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "cfupmc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/cfupmc/src/" | ||
10 | ESW_COMPONENT_NAME = "libcfupmc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz-example_2024.1.bb new file mode 100644 index 00000000..71ffdc32 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "clk-wiz" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clk_wiz/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz_2024.1.bb new file mode 100644 index 00000000..ae0453a1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "clk-wiz" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clk_wiz/src/" | ||
10 | ESW_COMPONENT_NAME = "libclk_wiz.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb new file mode 100644 index 00000000..9e9ba432 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | inherit esw deploy features_check | ||
2 | |||
3 | ESW_COMPONENT_SRC = "XilinxProcessorIPLib/drivers/clockps/examples/" | ||
4 | |||
5 | REQUIRED_MACHINE_FEATURES = "clockps" | ||
6 | |||
7 | DEPENDS += "libxil xiltimer resetps" | ||
8 | |||
9 | inherit python3native | ||
10 | |||
11 | do_configure:prepend() { | ||
12 | ( | ||
13 | cd ${S} | ||
14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | CLOCKPS_EX_IMAGE_NAME ??= "${BPN}" | ||
20 | |||
21 | inherit image-artifact-names | ||
22 | |||
23 | CLOCKPS_EX_NAME ?= "${CLOCKPS_EX_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
24 | |||
25 | ESW_COMPONENT ??= "*.elf" | ||
26 | |||
27 | addtask deploy before do_build after do_install | ||
28 | |||
29 | do_install() { | ||
30 | install -d ${D}/${base_libdir}/firmware | ||
31 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
32 | } | ||
33 | |||
34 | do_deploy() { | ||
35 | install -d ${DEPLOYDIR}/${BPN}/ | ||
36 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
37 | } | ||
38 | addtask deploy before do_build after do_package | ||
39 | |||
40 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/clockps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/clockps_2024.1.bb new file mode 100644 index 00000000..3a464480 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/clockps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "clockps" | ||
4 | |||
5 | inherit esw | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/src/" | ||
10 | ESW_COMPONENT_NAME = "libclockps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/common_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/common_2024.1.bb new file mode 100644 index 00000000..10635f7f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/common_2024.1.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "common" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | PACKAGECONFIG ?= "${@bb.utils.contains("MACHINE_FEATURES", "clockps", "clockps", "", d)} \ | ||
10 | ${@bb.utils.contains("MACHINE_FEATURES", "scugic", "scugic", "", d)} \ | ||
11 | ${@bb.utils.contains("MACHINE_FEATURES", "intc", "intc", "", d)}" | ||
12 | PACKAGECONFIG[clockps] = "${RECIPE_SYSROOT}/usr/lib/libclockps.a,,clockps,," | ||
13 | PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,," | ||
14 | PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,," | ||
15 | |||
16 | ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/common/intr/" | ||
17 | ESW_COMPONENT_NAME = "libcommon.a" | ||
18 | |||
19 | do_configure:prepend() { | ||
20 | ( | ||
21 | cd ${S}/${ESW_COMPONENT_SRC}/ | ||
22 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ | ||
23 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ | ||
24 | ) | ||
25 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/coresightps-dcc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/coresightps-dcc_2024.1.bb new file mode 100644 index 00000000..9110b51e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/coresightps-dcc_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "coresightps-dcc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/coresightps_dcc/src/" | ||
10 | ESW_COMPONENT_NAME = "libcoresightps_dcc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/csudma-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/csudma-example_2024.1.bb new file mode 100644 index 00000000..5706967a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/csudma-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "csudma" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/csudma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/csudma_2024.1.bb new file mode 100644 index 00000000..8283ce8d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/csudma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "csudma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/src/" | ||
10 | ESW_COMPONENT_NAME = "libcsudma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ddrcpsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ddrcpsu_2024.1.bb new file mode 100644 index 00000000..4728b6c5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ddrcpsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ddrcpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ddrcpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libddrcpsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/devcfg-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/devcfg-example_2024.1.bb new file mode 100644 index 00000000..dd70e09d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/devcfg-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "devcfg" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/devcfg_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/devcfg_2024.1.bb new file mode 100644 index 00000000..4b794d22 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/devcfg_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "devcfg" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/src/" | ||
10 | ESW_COMPONENT_NAME = "libdevcfg.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeccf-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeccf-example_2024.1.bb new file mode 100644 index 00000000..fd01b757 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeccf-example_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit esw_examples features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeccf" | ||
5 | |||
6 | DEPENDS += " dfeccf" | ||
7 | |||
8 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeccf/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeccf_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeccf_2024.1.bb new file mode 100644 index 00000000..86a55b9f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeccf_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeccf" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone libmetal " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeccf/src/" | ||
11 | ESW_COMPONENT_NAME = "libdfeccf.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeequ-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeequ-example_2024.1.bb new file mode 100644 index 00000000..0f4d45be --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeequ-example_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit esw_examples features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeequ" | ||
5 | |||
6 | DEPENDS += " dfeequ" | ||
7 | |||
8 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeequ/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeequ_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeequ_2024.1.bb new file mode 100644 index 00000000..8ad43c1b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeequ_2024.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeequ" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone libmetal " | ||
9 | |||
10 | |||
11 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeequ/src/" | ||
12 | ESW_COMPONENT_NAME = "libdfeequ.a" | ||
13 | |||
14 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
15 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfemix-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfemix-example_2024.1.bb new file mode 100644 index 00000000..9149e9c4 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfemix-example_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit esw_examples features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfemix" | ||
5 | |||
6 | DEPENDS += " dfemix" | ||
7 | |||
8 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfemix/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfemix_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfemix_2024.1.bb new file mode 100644 index 00000000..31c7b8ed --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfemix_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfemix" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone libmetal " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfemix/src/" | ||
11 | ESW_COMPONENT_NAME = "libdfemix.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm-example_2024.1.bb new file mode 100644 index 00000000..661c2768 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm-example_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit esw_examples features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeofdm" | ||
5 | |||
6 | DEPENDS += " dfeofdm" | ||
7 | |||
8 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeofdm/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm_2024.1.bb new file mode 100644 index 00000000..a02ceae7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeofdm" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone libmetal " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeofdm/src/" | ||
11 | ESW_COMPONENT_NAME = "libdfeofdm.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeprach-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeprach-example_2024.1.bb new file mode 100644 index 00000000..10ac2029 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeprach-example_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit esw_examples features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeprach" | ||
5 | |||
6 | DEPENDS += " dfeprach" | ||
7 | |||
8 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeprach/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfeprach_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfeprach_2024.1.bb new file mode 100644 index 00000000..0890ff3b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfeprach_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dfeprach" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone libmetal " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfeprach/src/" | ||
11 | ESW_COMPONENT_NAME = "libdfeprach.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfxasm-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfxasm-example_2024.1.bb new file mode 100644 index 00000000..974dd48b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfxasm-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "dfxasm" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfxasm/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dfxasm_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dfxasm_2024.1.bb new file mode 100644 index 00000000..81f2157b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dfxasm_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "dfxasm" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfxasm/src/" | ||
10 | ESW_COMPONENT_NAME = "libdfxasm.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dmaps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dmaps-example_2024.1.bb new file mode 100644 index 00000000..40d08e4b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dmaps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "dmaps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dmaps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dmaps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dmaps_2024.1.bb new file mode 100644 index 00000000..1dcd8404 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dmaps_2024.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "dmaps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dmaps/src/" | ||
10 | ESW_COMPONENT_NAME = "libdmaps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
14 | |||
15 | do_configure:prepend() { | ||
16 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | ||
17 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ | ||
18 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.1.bb new file mode 100644 index 00000000..ab63d3a1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dp14" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14/src/" | ||
11 | ESW_COMPONENT_NAME = "libdp14.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.1.bb new file mode 100644 index 00000000..4e98b2e4 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "dp14rxss" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14rxss/src/" | ||
11 | ESW_COMPONENT_NAME = "libdp14rxss.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dpdma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dpdma_2024.1.bb new file mode 100644 index 00000000..3adb88a6 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dpdma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "dpdma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common avbuf" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dpdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libdpdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dppsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dppsu_2024.1.bb new file mode 100644 index 00000000..87cca884 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dppsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "dppsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dppsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libdppsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/emaclite-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/emaclite-example_2024.1.bb new file mode 100644 index 00000000..6ed717fb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/emaclite-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "emaclite" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/emaclite_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/emaclite_2024.1.bb new file mode 100644 index 00000000..9ceb477f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/emaclite_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "emaclite" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/src/" | ||
10 | ESW_COMPONENT_NAME = "libemaclite.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/emacps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/emacps-example_2024.1.bb new file mode 100644 index 00000000..2c57eafe --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/emacps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "emacps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/emacps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/emacps_2024.1.bb new file mode 100644 index 00000000..8ed85984 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/emacps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "emacps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/src/" | ||
10 | ESW_COMPONENT_NAME = "libemacps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/emc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/emc_2024.1.bb new file mode 100644 index 00000000..0f46f99b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/emc_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "emc" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emc/src/" | ||
11 | ESW_COMPONENT_NAME = "libemc.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/gpio-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/gpio-example_2024.1.bb new file mode 100644 index 00000000..3f79cfec --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/gpio-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "gpio" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/gpio_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/gpio_2024.1.bb new file mode 100644 index 00000000..83a746b7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/gpio_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "gpio" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/src/" | ||
10 | ESW_COMPONENT_NAME = "libgpio.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/gpiops-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/gpiops-example_2024.1.bb new file mode 100644 index 00000000..cc2e1703 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/gpiops-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "gpiops" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/gpiops_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/gpiops_2024.1.bb new file mode 100644 index 00000000..4bd63d1e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/gpiops_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "gpiops" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/src/" | ||
10 | ESW_COMPONENT_NAME = "libgpiops.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hwicap_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hwicap_2024.1.bb new file mode 100644 index 00000000..37d70f6a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hwicap_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "hwicap" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hwicap/src/" | ||
11 | ESW_COMPONENT_NAME = "libhwicap.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/i2srx_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/i2srx_2024.1.bb new file mode 100644 index 00000000..27333e13 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/i2srx_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "i2srx" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/i2srx/src/" | ||
11 | ESW_COMPONENT_NAME = "libi2srx.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/i2stx_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/i2stx_2024.1.bb new file mode 100644 index 00000000..ca09a7f0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/i2stx_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "i2stx" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/i2stx/src/" | ||
11 | ESW_COMPONENT_NAME = "libi2stx.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx-example_2024.1.bb new file mode 100644 index 00000000..699b9d97 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "i3cpsx" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/i3cpsx/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx_2024.1.bb new file mode 100644 index 00000000..7b88520d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "i3cpsx" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/i3cpsx/src/" | ||
10 | ESW_COMPONENT_NAME = "libi3cpsx.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/iic-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/iic-example_2024.1.bb new file mode 100644 index 00000000..b781b82c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/iic-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "iic" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iic/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/iic_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/iic_2024.1.bb new file mode 100644 index 00000000..7011f90b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/iic_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "iic" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iic/src/" | ||
10 | ESW_COMPONENT_NAME = "libiic.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/iicps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/iicps-example_2024.1.bb new file mode 100644 index 00000000..e9df1cbd --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/iicps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "iicps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iicps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/iicps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/iicps_2024.1.bb new file mode 100644 index 00000000..e96dc2ac --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/iicps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "iicps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iicps/src/" | ||
10 | ESW_COMPONENT_NAME = "libiicps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/intc-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/intc-example_2024.1.bb new file mode 100644 index 00000000..0b4b95a8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/intc-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "intc" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/intc/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/intc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/intc_2024.1.bb new file mode 100644 index 00000000..331c2e32 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/intc_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "intc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/intc/src/" | ||
10 | ESW_COMPONENT_NAME = "libintc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/iomodule_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/iomodule_2024.1.bb new file mode 100644 index 00000000..1f625521 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/iomodule_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "iomodule" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iomodule/src/" | ||
10 | ESW_COMPONENT_NAME = "libiomodule.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ipipsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ipipsu-example_2024.1.bb new file mode 100644 index 00000000..0b31601d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ipipsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ipipsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ipipsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ipipsu_2024.1.bb new file mode 100644 index 00000000..3e2ccc0b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ipipsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ipipsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libipipsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/llfifo-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/llfifo-example_2024.1.bb new file mode 100644 index 00000000..6b1c211a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/llfifo-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "llfifo" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/llfifo_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/llfifo_2024.1.bb new file mode 100644 index 00000000..1fb76b18 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/llfifo_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "llfifo" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/src/" | ||
10 | ESW_COMPONENT_NAME = "libllfifo.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mbox-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mbox-example_2024.1.bb new file mode 100644 index 00000000..3c4870b4 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mbox-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "mbox" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mbox_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mbox_2024.1.bb new file mode 100644 index 00000000..5c1b8393 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mbox_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "mbox" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/src/" | ||
10 | ESW_COMPONENT_NAME = "libmbox.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mcdma-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mcdma-example_2024.1.bb new file mode 100644 index 00000000..64979470 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mcdma-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "mcdma" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mcdma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mcdma_2024.1.bb new file mode 100644 index 00000000..f13a7e54 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mcdma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "mcdma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libmcdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mutex-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mutex-example_2024.1.bb new file mode 100644 index 00000000..fc0527da --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mutex-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "mutex" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mutex_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mutex_2024.1.bb new file mode 100644 index 00000000..98abc948 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mutex_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "mutex" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/src/" | ||
10 | ESW_COMPONENT_NAME = "libmutex.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/nandps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/nandps_2024.1.bb new file mode 100644 index 00000000..ce3f7898 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/nandps_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "nandps" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandps/src/" | ||
11 | ESW_COMPONENT_NAME = "libnandps.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/nandpsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/nandpsu-example_2024.1.bb new file mode 100644 index 00000000..8b7a88b5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/nandpsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "nandpsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandpsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/nandpsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/nandpsu_2024.1.bb new file mode 100644 index 00000000..6d2a71c5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/nandpsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "nandpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libnandpsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ospipsv-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ospipsv-example_2024.1.bb new file mode 100644 index 00000000..0ded4fd2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ospipsv-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ospipsv" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ospipsv_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ospipsv_2024.1.bb new file mode 100644 index 00000000..f0548efc --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ospipsv_2024.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ospipsv" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libospipsv.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
14 | |||
15 | do_configure:prepend() { | ||
16 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | ||
17 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ | ||
18 | } | ||
19 | |||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/pciepsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/pciepsu-example_2024.1.bb new file mode 100644 index 00000000..23895fba --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/pciepsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "pciepsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/pciepsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/pciepsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/pciepsu_2024.1.bb new file mode 100644 index 00000000..ccedb1df --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/pciepsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "pciepsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/pciepsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libpciepsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/prc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/prc_2024.1.bb new file mode 100644 index 00000000..12390ae2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/prc_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "prc" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/prc/src/" | ||
11 | ESW_COMPONENT_NAME = "libprc.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/prd_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/prd_2024.1.bb new file mode 100644 index 00000000..9ea7b2d8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/prd_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "prd" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/prd/src/" | ||
11 | ESW_COMPONENT_NAME = "libprd.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/qspips-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/qspips-example_2024.1.bb new file mode 100644 index 00000000..674b879a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/qspips-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "qspips" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/qspips_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/qspips_2024.1.bb new file mode 100644 index 00000000..fa28d901 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/qspips_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "qspips" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/src/" | ||
10 | ESW_COMPONENT_NAME = "libqspips.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/qspipsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/qspipsu-example_2024.1.bb new file mode 100644 index 00000000..21231450 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/qspipsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "qspipsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/qspipsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/qspipsu_2024.1.bb new file mode 100644 index 00000000..5b4b1614 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/qspipsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "qspipsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libqspipsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/resetps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/resetps-example_2024.1.bb new file mode 100644 index 00000000..243393bb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/resetps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "resetps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/resetps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/resetps_2024.1.bb new file mode 100644 index 00000000..c753c666 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/resetps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "resetps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/src/" | ||
10 | ESW_COMPONENT_NAME = "libresetps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/rfdc-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/rfdc-example_2024.1.bb new file mode 100644 index 00000000..973e5177 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/rfdc-example_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
2 | inherit esw_examples features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "rfdc" | ||
5 | |||
6 | DEPENDS += " rfdc" | ||
7 | |||
8 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rfdc/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/rfdc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/rfdc_2024.1.bb new file mode 100644 index 00000000..cfc106b6 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/rfdc_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "rfdc" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone libmetal" | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rfdc/src/" | ||
11 | ESW_COMPONENT_NAME = "librfdc.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu-example_2024.1.bb new file mode 100644 index 00000000..ac386c4c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "rtcpsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu_2024.1.bb new file mode 100644 index 00000000..7b96bf16 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "rtcpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "librtcpsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/scugic-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/scugic-example_2024.1.bb new file mode 100644 index 00000000..cbef3ce9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/scugic-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "scugic" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/scugic_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/scugic_2024.1.bb new file mode 100644 index 00000000..f079354d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/scugic_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "scugic" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/src/" | ||
10 | ESW_COMPONENT_NAME = "libscugic.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/scutimer_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/scutimer_2024.1.bb new file mode 100644 index 00000000..9e101058 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/scutimer_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "scutimer" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scutimer/src/" | ||
11 | ESW_COMPONENT_NAME = "libscutimer.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/scuwdt_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/scuwdt_2024.1.bb new file mode 100644 index 00000000..757a5de1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/scuwdt_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "scuwdt" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scuwdt/src/" | ||
11 | ESW_COMPONENT_NAME = "libscuwdt.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sd-fec_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sd-fec_2024.1.bb new file mode 100644 index 00000000..e4f61219 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sd-fec_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "sd-fec" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sd_fec/src/" | ||
11 | ESW_COMPONENT_NAME = "libsd_fec.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sdps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sdps-example_2024.1.bb new file mode 100644 index 00000000..550d664b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sdps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sdps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sdps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sdps_2024.1.bb new file mode 100644 index 00000000..4caf0e63 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sdps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sdps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/src/" | ||
10 | ESW_COMPONENT_NAME = "libsdps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/spi_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/spi_2024.1.bb new file mode 100644 index 00000000..3e564725 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/spi_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "spi" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spi/src/" | ||
11 | ESW_COMPONENT_NAME = "libspi.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/spips-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/spips-example_2024.1.bb new file mode 100644 index 00000000..71ead5d3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/spips-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "spips" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/spips_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/spips_2024.1.bb new file mode 100644 index 00000000..ca02fda0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/spips_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "spips" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/src/" | ||
10 | ESW_COMPONENT_NAME = "libspips.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sysmon-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sysmon-example_2024.1.bb new file mode 100644 index 00000000..5bc007ad --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sysmon-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sysmon" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sysmon_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sysmon_2024.1.bb new file mode 100644 index 00000000..5353f6f8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sysmon_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sysmon" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/src/" | ||
10 | ESW_COMPONENT_NAME = "libsysmon.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu-example_2024.1.bb new file mode 100644 index 00000000..2c76a978 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sysmonpsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu_2024.1.bb new file mode 100644 index 00000000..871a77a3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sysmonpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libsysmonpsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv-example_2024.1.bb new file mode 100644 index 00000000..edce2794 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sysmonpsv" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv_2024.1.bb new file mode 100644 index 00000000..2c693809 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "sysmonpsv" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone ${@'scugic' if d.getVar('ESW_MACHINE') != 'psv_pmc_0' and d.getVar('ESW_MACHINE') != 'psv_psm_0' else ''}" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libsysmonpsv.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/tft_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/tft_2024.1.bb new file mode 100644 index 00000000..d8dcff08 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/tft_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "tft" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tft/src/" | ||
11 | ESW_COMPONENT_NAME = "libtft.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/tmr-inject_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/tmr-inject_2024.1.bb new file mode 100644 index 00000000..dbf3d364 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/tmr-inject_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "tmr-inject" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmr_inject/src/" | ||
10 | ESW_COMPONENT_NAME = "libtmr_inject.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/tmr-manager_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/tmr-manager_2024.1.bb new file mode 100644 index 00000000..dd91fed7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/tmr-manager_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "tmr-manager" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmr_manager/src/" | ||
10 | ESW_COMPONENT_NAME = "libtmr_manager.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/tmrctr-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/tmrctr-example_2024.1.bb new file mode 100644 index 00000000..8224d6fe --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/tmrctr-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "tmrctr" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/tmrctr_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/tmrctr_2024.1.bb new file mode 100644 index 00000000..cf94a9d0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/tmrctr_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "tmrctr" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/src/" | ||
10 | ESW_COMPONENT_NAME = "libtmrctr.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/trafgen-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/trafgen-example_2024.1.bb new file mode 100644 index 00000000..84c5618c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/trafgen-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "trafgen" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/trafgen/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/trafgen_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/trafgen_2024.1.bb new file mode 100644 index 00000000..77d000db --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/trafgen_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "trafgen" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/trafgen/src/" | ||
10 | ESW_COMPONENT_NAME = "libtrafgen.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/trngpsv_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/trngpsv_2024.1.bb new file mode 100644 index 00000000..1651ede2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/trngpsv_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "trngpsv" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/trngpsv/src/" | ||
11 | ESW_COMPONENT_NAME = "libtrngpsv.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/trngpsx_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/trngpsx_2024.1.bb new file mode 100644 index 00000000..7699dfe5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/trngpsx_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "trngpsx" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/trngpsx/src/" | ||
11 | ESW_COMPONENT_NAME = "libtrngpsx.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ttcps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ttcps-example_2024.1.bb new file mode 100644 index 00000000..d294c383 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ttcps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ttcps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ttcps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ttcps_2024.1.bb new file mode 100644 index 00000000..ea520656 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ttcps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "ttcps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/src/" | ||
10 | ESW_COMPONENT_NAME = "libttcps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartlite-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartlite-example_2024.1.bb new file mode 100644 index 00000000..9aa0f598 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartlite-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartlite" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartlite_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartlite_2024.1.bb new file mode 100644 index 00000000..5998e092 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartlite_2024.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartlite" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartlite.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 xuartlite_g.c ${S}/${ESW_COMPONENT_SRC} | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartns550-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartns550-example_2024.1.bb new file mode 100644 index 00000000..d81ce77b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartns550-example_2024.1.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartns550" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/examples/" | ||
6 | |||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartns550_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartns550_2024.1.bb new file mode 100644 index 00000000..a08763cb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartns550_2024.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartns550" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartns550.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 xuartns550_g.c ${S}/${ESW_COMPONENT_SRC} | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartps-example_2024.1.bb new file mode 100644 index 00000000..bbff466d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartps_2024.1.bb new file mode 100644 index 00000000..932be9eb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartps_2024.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartps.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | install -m 0755 xuartps_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv-example_2024.1.bb new file mode 100644 index 00000000..78f878a6 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv-example_2024.1.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartpsv" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/examples/" | ||
6 | |||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.1.bb new file mode 100644 index 00000000..01e48caa --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartpsv" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartpsv.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | install -m 0755 xuartpsv_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/usb-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/usb-example_2024.1.bb new file mode 100644 index 00000000..0d4e113a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/usb-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "usb" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usb/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/usb_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/usb_2024.1.bb new file mode 100644 index 00000000..9dac8cba --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/usb_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "usb" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usb/src/" | ||
10 | ESW_COMPONENT_NAME = "libusb.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/usbps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/usbps_2024.1.bb new file mode 100644 index 00000000..c4a2fff0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/usbps_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "usbps" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbps/src/" | ||
11 | ESW_COMPONENT_NAME = "libusbps.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/usbpsu-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/usbpsu-example_2024.1.bb new file mode 100644 index 00000000..4eb9bc93 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/usbpsu-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "usbpsu" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/usbpsu_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/usbpsu_2024.1.bb new file mode 100644 index 00000000..194b1f0f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/usbpsu_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "usbpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libusbpsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-csc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-csc_2024.1.bb new file mode 100644 index 00000000..068a43e9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-csc_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-csc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_csc/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_csc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-deinterlacer_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-deinterlacer_2024.1.bb new file mode 100644 index 00000000..741fdd91 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-deinterlacer_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-deinterlacer" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_deinterlacer/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_deinterlacer.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic-example_2024.1.bb new file mode 100644 index 00000000..cf2cdf6f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-demosaic" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_demosaic/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic_2024.1.bb new file mode 100644 index 00000000..79ef55f2 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-demosaic" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_demosaic/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_demosaic.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd-example_2024.1.bb new file mode 100644 index 00000000..fc13c194 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-frmbuf-rd" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd_2024.1.bb new file mode 100644 index 00000000..91ee34d8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd_2024.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-frmbuf-rd" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_frmbuf_rd.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | install -m 0755 xv_frmbufrd_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr-example_2024.1.bb new file mode 100644 index 00000000..87a1be53 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-frmbuf-wr" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr_2024.1.bb new file mode 100644 index 00000000..d88ac592 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr_2024.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-frmbuf-wr" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_frmbuf_wr.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | install -m 0755 xv_frmbufwr_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut-example_2024.1.bb new file mode 100644 index 00000000..4d5dcf03 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-gamma-lut" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_gamma_lut/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut_2024.1.bb new file mode 100644 index 00000000..8cf95c9d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-gamma-lut" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_gamma_lut/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_gamma_lut.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hcresampler_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hcresampler_2024.1.bb new file mode 100644 index 00000000..1731f984 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hcresampler_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-hcresampler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hcresampler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_hcresampler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.1.bb new file mode 100644 index 00000000..1e592d40 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.1.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-hdmi-common" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmi_common/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_hdmi_common.a" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.1.bb new file mode 100644 index 00000000..d3d601cb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-hdmiphy1" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmiphy1/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_hdmiphy1.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.1.bb new file mode 100644 index 00000000..f2b576cd --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-hdmirx1" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirx1/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_hdmirx1.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.1.bb new file mode 100644 index 00000000..faf57614 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-hdmirxss1" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirxss1/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_hdmirxss1.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.1.bb new file mode 100644 index 00000000..7070235e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-hdmitx1" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitx1/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_hdmitx1.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.1.bb new file mode 100644 index 00000000..de4f4ad9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-hdmitxss1" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitxss1/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_hdmitxss1.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hscaler_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hscaler_2024.1.bb new file mode 100644 index 00000000..b239380e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hscaler_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-hscaler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hscaler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_hscaler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-letterbox_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-letterbox_2024.1.bb new file mode 100644 index 00000000..f5ad5f4e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-letterbox_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-letterbox" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_letterbox/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_letterbox.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-mix-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-mix-example_2024.1.bb new file mode 100644 index 00000000..8bafbf00 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-mix-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-mix" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_mix/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-mix_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-mix_2024.1.bb new file mode 100644 index 00000000..acc19bd0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-mix_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-mix" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_mix/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_mix.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler-example_2024.1.bb new file mode 100644 index 00000000..28660316 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-multi-scaler" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_multi_scaler/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler_2024.1.bb new file mode 100644 index 00000000..bd725dbe --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-multi-scaler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_multi_scaler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_multi_scaler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange-example_2024.1.bb new file mode 100644 index 00000000..2859de79 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-scenechange" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_scenechange/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange_2024.1.bb new file mode 100644 index 00000000..77cf9189 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-scenechange" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_scenechange/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_scenechange.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-tpg_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-tpg_2024.1.bb new file mode 100644 index 00000000..6ea70db1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-tpg_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-tpg" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_tpg/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_tpg.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-vcresampler_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-vcresampler_2024.1.bb new file mode 100644 index 00000000..45913cdc --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-vcresampler_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-vcresampler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_vcresampler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_vcresampler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-vscaler_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-vscaler_2024.1.bb new file mode 100644 index 00000000..9528d2e0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-vscaler_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "v-vscaler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_vscaler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_vscaler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-warp-filter_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-warp-filter_2024.1.bb new file mode 100644 index 00000000..f908ce55 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-warp-filter_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-warp-filter" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_warp_filter/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_warp_filter.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-warp-init_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-warp-init_2024.1.bb new file mode 100644 index 00000000..ff04ec35 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-warp-init_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "v-warp-init" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_warp_init/src/" | ||
11 | ESW_COMPONENT_NAME = "libv_warp_init.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/video-common_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/video-common_2024.1.bb new file mode 100644 index 00000000..278dee8a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/video-common_2024.1.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "video-common" | ||
4 | |||
5 | inherit esw | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/video_common/src/" | ||
10 | ESW_COMPONENT_NAME = "libvideo_common.a" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.1.bb new file mode 100644 index 00000000..1a06cf60 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | inherit features_check | ||
3 | |||
4 | REQUIRED_MACHINE_FEATURES = "vphy" | ||
5 | |||
6 | inherit esw python3native | ||
7 | |||
8 | DEPENDS += "xilstandalone " | ||
9 | |||
10 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vphy/src/" | ||
11 | ESW_COMPONENT_NAME = "libvphy.a" | ||
12 | |||
13 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
14 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/vprocss-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/vprocss-example_2024.1.bb new file mode 100644 index 00000000..d9050ec4 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/vprocss-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "vprocss" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vprocss/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/vprocss_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/vprocss_2024.1.bb new file mode 100644 index 00000000..26b2852f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/vprocss_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "vprocss" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common gpio axis-switch axivdma v-csc v-deinterlacer v-hcresampler v-vcresampler v-hscaler v-vscaler v-letterbox" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vprocss/src/" | ||
10 | ESW_COMPONENT_NAME = "libvprocss.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/vtc_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/vtc_2024.1.bb new file mode 100644 index 00000000..a82ae5ee --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/vtc_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "vtc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vtc/src/" | ||
10 | ESW_COMPONENT_NAME = "libvtc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/wdtps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/wdtps-example_2024.1.bb new file mode 100644 index 00000000..610a7476 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/wdtps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "wdtps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/wdtps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/wdtps_2024.1.bb new file mode 100644 index 00000000..2c900038 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/wdtps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "wdtps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/src/" | ||
10 | ESW_COMPONENT_NAME = "libwdtps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/wdttb-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/wdttb-example_2024.1.bb new file mode 100644 index 00000000..cad6ca20 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/wdttb-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "wdttb" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdttb/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/wdttb_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/wdttb_2024.1.bb new file mode 100644 index 00000000..33331c32 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/wdttb_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "wdttb" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdttb/src/" | ||
10 | ESW_COMPONENT_NAME = "libwdttb.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/xadcps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/xadcps-example_2024.1.bb new file mode 100644 index 00000000..f8878144 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/xadcps-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "xadcps" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/xadcps_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/xadcps_2024.1.bb new file mode 100644 index 00000000..85800a27 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/xadcps_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "xadcps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/src/" | ||
10 | ESW_COMPONENT_NAME = "libxadcps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie-example_2024.1.bb new file mode 100644 index 00000000..26983a8f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "xdmapcie" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xdmapcie/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie_2024.1.bb new file mode 100644 index 00000000..cab8e9d0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "xdmapcie" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xdmapcie/src/" | ||
10 | ESW_COMPONENT_NAME = "libxdmapcie.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet-example_2024.1.bb new file mode 100644 index 00000000..d6a87183 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "xxvethernet" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet_2024.1.bb new file mode 100644 index 00000000..491eb07c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "xxvethernet" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/src/" | ||
10 | ESW_COMPONENT_NAME = "libxxvethernet.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/zdma-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/zdma-example_2024.1.bb new file mode 100644 index 00000000..e74e3279 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/zdma-example_2024.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "zdma" | ||
4 | |||
5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/examples/" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/zdma_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/zdma_2024.1.bb new file mode 100644 index 00000000..e987f560 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/zdma_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "zdma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libzdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/freertos10-xilinx_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/freertos10-xilinx_2024.1.bb new file mode 100644 index 00000000..22d7955e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/freertos10-xilinx_2024.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | inherit esw python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/" | ||
4 | ESW_COMPONENT_NAME = "libfreertos.a" | ||
5 | |||
6 | DEPENDS += "libxil xilstandalone xiltimer" | ||
7 | |||
8 | do_configure:prepend() { | ||
9 | # This script should also not rely on relative paths and such | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | ) | ||
15 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/libxil_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/libxil_2024.1.bb new file mode 100644 index 00000000..2eb08307 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/libxil_2024.1.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | inherit esw python3native features_check | ||
2 | |||
3 | LIBXIL_CONFIG ??= "" | ||
4 | include ${LIBXIL_CONFIG} | ||
5 | |||
6 | # The python code allows us to use an include above, instead of require | ||
7 | # as it enforces that the file will be available for inclusion. It also | ||
8 | # gives the user feedback if something isn't configured properly. | ||
9 | python () { | ||
10 | libxil_cfg = d.getVar("LIBXIL_CONFIG") | ||
11 | if libxil_cfg: | ||
12 | bbpath = d.getVar('BBPATH') | ||
13 | libxil_path = bb.utils.which(bbpath, libxil_cfg) | ||
14 | if libxil_path: | ||
15 | return | ||
16 | else: | ||
17 | d.setVar('BB_DONT_CACHE', '1') | ||
18 | bb.parse.SkipRecipe("LIBXIL_CONFIG (%s) was not found." % libxil_cfg) | ||
19 | else: | ||
20 | d.setVar('BB_DONT_CACHE', '1') | ||
21 | raise bb.parse.SkipRecipe("No LIBXIL_CONFIG set.") | ||
22 | } | ||
23 | |||
24 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | ||
25 | ESW_COMPONENT_NAME = "libxil.a" | ||
26 | |||
27 | DEPENDS += "xilstandalone " | ||
28 | MACHINE_FEATURES:remove = "aiengine dfeccf dfeequ dfemix dfeprach rfdc dfeofdm" | ||
29 | REQUIRED_MACHINE_FEATURES = "${MACHINE_FEATURES}" | ||
30 | PACKAGECONFIG ?= "${MACHINE_FEATURES}" | ||
31 | |||
32 | do_compile() { | ||
33 | # Combines the .a archives produced by all of the dependent items | ||
34 | cd ${RECIPE_SYSROOT}/usr/lib/ | ||
35 | echo create libxil.a > libxil.mri | ||
36 | for each in ${REQUIRED_MACHINE_FEATURES}; do | ||
37 | each=$(echo $each | sed 's/-/_/g') | ||
38 | if [ -e lib$each.a ]; then | ||
39 | echo addlib lib$each.a >> libxil.mri | ||
40 | fi | ||
41 | done | ||
42 | echo “save” >> libxil.mri | ||
43 | echo “end” >> libxil.mri | ||
44 | ${AR} -M <libxil.mri | ||
45 | cp libxil.a ${B} | ||
46 | } | ||
47 | |||
48 | do_install() { | ||
49 | install -d ${D}${libdir} | ||
50 | install -m 0755 ${B}/${ESW_COMPONENT_NAME} ${D}${libdir} | ||
51 | |||
52 | # Install Spec files for consumers of BSP | ||
53 | install -d ${D}${includedir} | ||
54 | cp -rf ${SPECFILE_PATH} ${D}${includedir} | ||
55 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/lwip_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/lwip_2024.1.bb new file mode 100644 index 00000000..e70dfa11 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/lwip_2024.1.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | inherit esw python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip220/src/" | ||
4 | ESW_COMPONENT_NAME = "liblwip220.a" | ||
5 | |||
6 | DEPENDS += "libxil" | ||
7 | DEPENDS:append:xilinx-freertos = "freertos10-xilinx" | ||
8 | |||
9 | EXTRA_OECMAKE += "-Dlwip220_api_mode=RAW_API" | ||
10 | EXTRA_OECMAKE += "-Dlwip220_dhcp_does_arp_check=ON" | ||
11 | EXTRA_OECMAKE += "-Dlwip220_dhcp=ON" | ||
12 | EXTRA_OECMAKE += "-Dlwip220_pbuf_pool_size=2048" | ||
13 | EXTRA_OECMAKE += "-Dlwip220_ipv6_enable=OFF" | ||
14 | EXTRA_OECMAKE:append:xilinx-freertos = " -Dlwip220_api_mode=SOCKET_API" | ||
15 | |||
16 | do_configure:prepend() { | ||
17 | # This script should also not rely on relative paths and such | ||
18 | ( | ||
19 | cd ${S} | ||
20 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
21 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
22 | install -m 0755 xtopology_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
23 | ) | ||
24 | } | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}${libdir} | ||
28 | install -d ${D}${includedir} | ||
29 | install -m 0755 ${B}/${ESW_COMPONENT_NAME} ${D}${libdir} | ||
30 | install -m 0644 ${B}/include/*.h ${D}${includedir} | ||
31 | cp -r ${B}/include/arch/ ${D}${includedir} | ||
32 | cp -r ${B}/include/include/lwip/ ${D}${includedir} | ||
33 | cp -r ${B}/include/netif/ ${D}${includedir} | ||
34 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb new file mode 100644 index 00000000..0cef7d97 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | # Requires by dependency xilffs | ||
4 | REQUIRED_MACHINE_FEATURES = "sdps" | ||
5 | |||
6 | ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" | ||
7 | |||
8 | DEPENDS += "xilffs xiltimer" | ||
9 | |||
10 | do_configure:prepend() { | ||
11 | ( | ||
12 | cd ${S} | ||
13 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | ) | ||
16 | } | ||
17 | |||
18 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
19 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}/${base_libdir}/firmware | ||
23 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
24 | } | ||
25 | |||
26 | do_deploy() { | ||
27 | install -d ${DEPLOYDIR}/${BPN}/ | ||
28 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
29 | } | ||
30 | addtask deploy before do_build after do_package | ||
31 | |||
32 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.1.bb new file mode 100644 index 00000000..b7e0784a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilffs.a" | ||
5 | |||
6 | PACKAGECONFIG ??= "read_only word_access" | ||
7 | PACKAGECONFIG[use_mkfs] ="-DXILFFS_use_mkfs=ON,-DXILFFS_use_mkfs=OFF,," | ||
8 | PACKAGECONFIG[read_only] ="-DXILFFS_read_only=ON,-DXILFFS_read_only=OFF,," | ||
9 | PACKAGECONFIG[word_access]="-DXILFFS_word_access=ON,-DXILFFS_word_access=OFF,," | ||
10 | |||
11 | EXTRA_OECMAKE += "${@'-DXILFFS_num_logical_vol=10 -DXILFFS_enable_multi_partition=ON' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" | ||
12 | |||
13 | DEPENDS += "xilstandalone libxil" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb new file mode 100644 index 00000000..a793fa86 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/examples/" | ||
4 | |||
5 | DEPENDS += "xilfpga" | ||
6 | |||
7 | do_configure:prepend() { | ||
8 | ( | ||
9 | cd ${S} | ||
10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | ) | ||
13 | } | ||
14 | |||
15 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}/${base_libdir}/firmware | ||
20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
21 | } | ||
22 | |||
23 | do_deploy() { | ||
24 | install -d ${DEPLOYDIR}/${BPN}/ | ||
25 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
26 | } | ||
27 | addtask deploy before do_build after do_package | ||
28 | |||
29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga_2024.1.bb new file mode 100644 index 00000000..6eaf40ac --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga_2024.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilfpga.a" | ||
5 | |||
6 | DEPENDS += "libxil xilsecure" | ||
7 | DEPENDS += "libxil ${@'xilmailbox' if d.getVar('MACHINE') == 'versal-generic' else ''}" | ||
8 | |||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilloader_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilloader_2024.1.bb new file mode 100644 index 00000000..4f01407e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilloader_2024.1.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilloader/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilloader.a" | ||
5 | |||
6 | #DEPENDS += "xilstandalone libxil xilpdi xilffs xilsecure xilpuf xilplmi" | ||
7 | DEPENDS += "xilstandalone libxil xilpm xilpdi xilffs xilsecure xilpuf xilsem" | ||
8 | |||
9 | DEPENDS += "cframe" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb new file mode 100644 index 00000000..518b24c3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/examples/" | ||
4 | |||
5 | DEPENDS += "xilmailbox" | ||
6 | |||
7 | do_configure:prepend() { | ||
8 | ( | ||
9 | cd ${S} | ||
10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | ) | ||
13 | } | ||
14 | |||
15 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
17 | |||
18 | do_generate_eglist () { | ||
19 | cd ${S} | ||
20 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
21 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
22 | } | ||
23 | |||
24 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot | ||
25 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
26 | |||
27 | do_install() { | ||
28 | install -d ${D}/${base_libdir}/firmware | ||
29 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | do_deploy() { | ||
33 | install -d ${DEPLOYDIR}/${BPN}/ | ||
34 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
35 | } | ||
36 | addtask deploy before do_build after do_package | ||
37 | |||
38 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox_2024.1.bb new file mode 100644 index 00000000..77115515 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox_2024.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilmailbox.a" | ||
5 | |||
6 | DEPENDS += "xilstandalone libxil xiltimer" | ||
7 | |||
8 | do_configure:prepend() { | ||
9 | # This script should also not rely on relative paths and such | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | ) | ||
15 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb new file mode 100644 index 00000000..9d91751c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/examples/" | ||
4 | |||
5 | PACKAGECONFIG ??= "client server" | ||
6 | PACKAGECONFIG[client] ="-DXILNVM_mode="client",," | ||
7 | PACKAGECONFIG[server] ="-DXILNVM_mode="server",," | ||
8 | |||
9 | DEPENDS += "xilnvm" | ||
10 | |||
11 | do_configure:prepend() { | ||
12 | ( | ||
13 | cd ${S} | ||
14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}/${base_libdir}/firmware | ||
24 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
25 | } | ||
26 | |||
27 | do_deploy() { | ||
28 | install -d ${DEPLOYDIR}/${BPN}/ | ||
29 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
30 | } | ||
31 | addtask deploy before do_build after do_package | ||
32 | |||
33 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm_2024.1.bb new file mode 100644 index 00000000..8aa1250d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm_2024.1.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilnvm.a" | ||
5 | |||
6 | PACKAGECONFIG ??= "client server" | ||
7 | PACKAGECONFIG[client] ="-DXILNVM_mode="client",," | ||
8 | PACKAGECONFIG[server] ="-DXILNVM_mode="server",," | ||
9 | |||
10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpdi_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpdi_2024.1.bb new file mode 100644 index 00000000..c008b069 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpdi_2024.1.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpdi/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilpdi.a" | ||
5 | |||
6 | DEPENDS += "xilstandalone libxil" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilplmi_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilplmi_2024.1.bb new file mode 100644 index 00000000..cb3b7831 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilplmi_2024.1.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilplmi/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilplmi.a" | ||
5 | |||
6 | DEPENDS += "xilstandalone libxil cfupmc xiltimer ${@'xilmailbox' if d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''}" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.1.bb new file mode 100644 index 00000000..69b505c8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | inherit esw python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilpm.a" | ||
5 | |||
6 | DEPENDS += "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" | ||
7 | |||
8 | do_configure:prepend:zynqmp() { | ||
9 | # This script should also not rely on relative paths and such | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper -f --enhanced --werror ${DTS_FILE} -- generate_config_object pm_cfg_obj.c ${ESW_MACHINE} | ||
13 | install -m 0755 pm_cfg_obj.c ${S}/${ESW_COMPONENT_SRC}/zynqmp/client/common/ | ||
14 | ) | ||
15 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb new file mode 100644 index 00000000..114449e9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/examples/" | ||
4 | |||
5 | PACKAGECONFIG ??= "client server" | ||
6 | PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," | ||
7 | PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," | ||
8 | |||
9 | DEPENDS += "xilpuf xilsecure xilmailbox xilnvm xilplmi" | ||
10 | |||
11 | do_configure:prepend() { | ||
12 | ( | ||
13 | cd ${S} | ||
14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}/${base_libdir}/firmware | ||
24 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
25 | } | ||
26 | |||
27 | do_deploy() { | ||
28 | install -d ${DEPLOYDIR}/${BPN}/ | ||
29 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
30 | } | ||
31 | addtask deploy before do_build after do_package | ||
32 | |||
33 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf_2024.1.bb new file mode 100644 index 00000000..84765a39 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf_2024.1.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilpuf.a" | ||
5 | |||
6 | PACKAGECONFIG ??= "client server" | ||
7 | PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," | ||
8 | PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," | ||
9 | |||
10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb new file mode 100644 index 00000000..a806c4ee --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/examples/" | ||
4 | |||
5 | PACKAGECONFIG ??= "client server" | ||
6 | PACKAGECONFIG[client] ="-DXILSECURE_mode="client",," | ||
7 | PACKAGECONFIG[server] ="-DXILSECURE_mode="server",," | ||
8 | |||
9 | DEPENDS += "xilsecure" | ||
10 | |||
11 | do_configure:prepend() { | ||
12 | ( | ||
13 | cd ${S} | ||
14 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | ) | ||
17 | } | ||
18 | |||
19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}/${base_libdir}/firmware | ||
24 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
25 | } | ||
26 | |||
27 | do_deploy() { | ||
28 | install -d ${DEPLOYDIR}/${BPN}/ | ||
29 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
30 | } | ||
31 | addtask deploy before do_build after do_package | ||
32 | |||
33 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure_2024.1.bb new file mode 100644 index 00000000..be22ba90 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure_2024.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilsecure.a" | ||
5 | |||
6 | PACKAGECONFIG ??= "client server" | ||
7 | PACKAGECONFIG[client] ="-DXILSECURE_mode="client",," | ||
8 | PACKAGECONFIG[server] ="-DXILSECURE_mode="server",," | ||
9 | |||
10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' or d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''} ${@'xilmailbox' if d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''}" | ||
11 | |||
12 | do_install:append() { | ||
13 | install -m 0755 ${B}/*.a ${D}${libdir} | ||
14 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilsem_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilsem_2024.1.bb new file mode 100644 index 00000000..3631d7f0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilsem_2024.1.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsem/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilsem.a" | ||
5 | |||
6 | DEPENDS += "xilstandalone libxil" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb new file mode 100644 index 00000000..5702beaf --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" | ||
4 | |||
5 | DEPENDS += "xilskey xilsecure" | ||
6 | |||
7 | do_configure:prepend() { | ||
8 | ( | ||
9 | cd ${S} | ||
10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | ) | ||
13 | } | ||
14 | |||
15 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}/${base_libdir}/firmware | ||
20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | ||
21 | } | ||
22 | |||
23 | do_deploy() { | ||
24 | install -d ${DEPLOYDIR}/${BPN}/ | ||
25 | install -Dm 0644 ${UNPACKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | ||
26 | } | ||
27 | addtask deploy before do_build after do_package | ||
28 | |||
29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilskey_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey_2024.1.bb new file mode 100644 index 00000000..84782554 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey_2024.1.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilskey.a" | ||
5 | |||
6 | DEPENDS += "libxil" | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.1.bb new file mode 100644 index 00000000..a4b0037b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.1.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | inherit esw python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilstandalone.a" | ||
5 | |||
6 | DEPENDS += "libgloss" | ||
7 | |||
8 | do_configure:prepend() { | ||
9 | # This script should also not rely on relative paths and such | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | ||
13 | install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC} | ||
15 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
16 | install -m 0755 StandaloneExample.cmake ${S}/${ESW_COMPONENT_SRC}/common/ | ||
17 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | ||
18 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/common/ | ||
19 | ) | ||
20 | |||
21 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xiltimer_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xiltimer_2024.1.bb new file mode 100644 index 00000000..dd19671d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xiltimer_2024.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | inherit esw python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/" | ||
4 | ESW_COMPONENT_NAME = "libxiltimer.a" | ||
5 | |||
6 | DEPENDS += "libxil" | ||
7 | |||
8 | do_configure:prepend() { | ||
9 | # This script should also not rely on relative paths and such | ||
10 | ( | ||
11 | cd ${S} | ||
12 | lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} | ||
13 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
14 | ) | ||
15 | } | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend b/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend new file mode 100644 index 00000000..5434c9a5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend | |||
@@ -0,0 +1 @@ | |||
require ${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx.inc | |||
diff --git a/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend b/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend new file mode 100644 index 00000000..88b45295 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend | |||
@@ -0,0 +1 @@ | |||
require ${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc | |||
diff --git a/meta-xilinx-standalone-sdt/scripts/microblaze_dtb.py b/meta-xilinx-standalone-sdt/scripts/microblaze_dtb.py new file mode 100644 index 00000000..343ae10e --- /dev/null +++ b/meta-xilinx-standalone-sdt/scripts/microblaze_dtb.py | |||
@@ -0,0 +1,170 @@ | |||
1 | import argparse | ||
2 | import libfdt | ||
3 | import os | ||
4 | import sys | ||
5 | |||
6 | # Format: FEATURE : (dtb property, condition_operator, condition_value) | ||
7 | # If dtb property is None, then the item is always on | ||
8 | # | ||
9 | # If the condition_operator is None, then enable if it exists for existance | ||
10 | # | ||
11 | # If the condition_operator is '!', and condition_value is None then enable if | ||
12 | # if is not defined | ||
13 | # | ||
14 | # Otherwise 'condition' and value are evaluated by type. | ||
15 | # | ||
16 | # If the condition is = then any value of condition_values will set it | ||
17 | # If the condition is ! then no value of condition_values will set it | ||
18 | |||
19 | microblaze_tune_features = { | ||
20 | 'microblaze' : (None, None, None), | ||
21 | 'bigendian': ('xlnx,endianness', '!', 1), | ||
22 | '64-bit' : ('xlnx,data-size', '=', 64), | ||
23 | 'barrel-shift': ('xlnx,use-barrel', '=', 1), | ||
24 | 'pattern-compare': ('xlnx,use-pcmp-instr', '=', 1), | ||
25 | 'reorder' : ('xlnx,use-reorder-instr', '!', 0), | ||
26 | 'frequency-optimized': ('xlnx,area-optimized', '=', 2), | ||
27 | 'multiply-low': ('xlnx,use-hw-mul', '=', 1), | ||
28 | 'multiply-high': ('xlnx,use-hw-mul', '=', 2), | ||
29 | 'divide-hard': ('xlnx,use-div', '=', 1), | ||
30 | 'fpu-soft': ('xlnx,use-fpu', '!', [1,2]), | ||
31 | 'fpu-hard': ('xlnx,use-fpu', '=', 1), | ||
32 | 'fpu-hard-extended':('xlnx,use-fpu', '=', 2), | ||
33 | } | ||
34 | |||
35 | def processProperties(fdt, node): | ||
36 | TUNE_FEATURES = [] | ||
37 | |||
38 | for feature in microblaze_tune_features: | ||
39 | (property, cop, cvalue) = microblaze_tune_features[feature] | ||
40 | |||
41 | if not property: | ||
42 | TUNE_FEATURES.append(feature) | ||
43 | |||
44 | # Special processing to get the version | ||
45 | if feature == "microblaze": | ||
46 | ver = microblazeVersion(fdt, node) | ||
47 | if ver: | ||
48 | TUNE_FEATURES.append(ver) | ||
49 | continue | ||
50 | |||
51 | prop_value = fdt.getprop( node, property, libfdt.QUIET_NOTFOUND) | ||
52 | |||
53 | if not prop_value or prop_value == -1: | ||
54 | if cop == '!': | ||
55 | if not cvalue: | ||
56 | TUNE_FEATURES.append(ver) | ||
57 | continue | ||
58 | continue | ||
59 | |||
60 | # If no operator | ||
61 | if not cop or (cop == '=' and not cvalue): | ||
62 | TUNE_FEATURES.append(feature) | ||
63 | continue | ||
64 | |||
65 | ctype = type(cvalue) | ||
66 | if ctype == type(list()): | ||
67 | val_list = cvalue | ||
68 | else: | ||
69 | val_list = [ cvalue ] | ||
70 | |||
71 | result = False | ||
72 | for value in val_list: | ||
73 | ctype = type(value) | ||
74 | if ctype == type(int()): | ||
75 | val = prop_value.as_uint32() | ||
76 | else: | ||
77 | raise TypeError('Unknown type %s' % ctype) | ||
78 | |||
79 | if value == val: | ||
80 | result = True | ||
81 | break | ||
82 | else: | ||
83 | result = False | ||
84 | |||
85 | if (cop == '!' and result == False) or \ | ||
86 | (cop == '=' and result == True): | ||
87 | TUNE_FEATURES.append(feature) | ||
88 | |||
89 | return TUNE_FEATURES | ||
90 | |||
91 | def microblazeVersion(fdt, node): | ||
92 | version = None | ||
93 | |||
94 | val = fdt.getprop( node, 'model', libfdt.QUIET_NOTFOUND) | ||
95 | |||
96 | if val and val != -1: | ||
97 | val = fdt.getprop( node, 'model' ).as_str() | ||
98 | version = val[val.find('microblaze,') + 11:] | ||
99 | |||
100 | if version.startswith('8'): | ||
101 | # Strip 8.xx.y, to just 8.xx | ||
102 | v = version.split('.') | ||
103 | version = '.'.join(v[0:2]) | ||
104 | |||
105 | version = 'v' + version | ||
106 | |||
107 | return version | ||
108 | |||
109 | def MicroblazeConfig(dtbfile, out): | ||
110 | fdt = libfdt.Fdt(open(dtbfile, mode='rb').read()) | ||
111 | |||
112 | cpu = -1 | ||
113 | while (True): | ||
114 | cpu = cpu + 1 | ||
115 | try: | ||
116 | node = fdt.path_offset('/cpus/cpu@%d' % cpu) | ||
117 | |||
118 | try: | ||
119 | prop = fdt.getprop( node, 'compatible' ) | ||
120 | |||
121 | prop_val = prop[:-1].decode('utf-8').split('\x00') | ||
122 | |||
123 | microblaze = False | ||
124 | for val in prop_val: | ||
125 | if "microblaze" in val: | ||
126 | microblaze = True | ||
127 | break | ||
128 | |||
129 | if not microblaze: | ||
130 | continue | ||
131 | |||
132 | # Construct TUNE_FEATURE here | ||
133 | TUNE_FEATURES = processProperties(fdt, node) | ||
134 | |||
135 | out.write('AVAILTUNES += "microblaze-cpu%s"\n' % (cpu)) | ||
136 | out.write('TUNE_FEATURES:tune-microblaze-cpu%s = "%s"\n' % (cpu, ' '.join(TUNE_FEATURES))) | ||
137 | out.write('PACKAGE_EXTRA_ARCHS:tune-microblaze-cpu%s = "${TUNE_PKGARCH}"\n' % (cpu)) | ||
138 | |||
139 | except Exception as e: | ||
140 | sys.stderr.write("Exception looking at properties: %s\n" % e) | ||
141 | |||
142 | continue | ||
143 | |||
144 | except Exception as e: | ||
145 | # CPUs SHOULD be consecutive w/o gaps, so no more to search | ||
146 | break | ||
147 | |||
148 | if __name__ == "__main__": | ||
149 | parser = argparse.ArgumentParser(description='Generate MicroBlaze TUNE_FEATURES') | ||
150 | |||
151 | parser.add_argument('-d', '--dtb-file', action='store', | ||
152 | help='DTB file to process') | ||
153 | |||
154 | parser.add_argument('-o', '--output', action='store', | ||
155 | help='Output file to store TUNE_FEATURE settings') | ||
156 | |||
157 | args = parser.parse_args() | ||
158 | |||
159 | if not args.dtb_file: | ||
160 | sys.stderr.write('ERROR: You must specify a DTB_FILE to process.\n') | ||
161 | sys.exit(1) | ||
162 | |||
163 | outputf = sys.stdout | ||
164 | if args.output: | ||
165 | if os.path.exists(args.output): | ||
166 | sys.stderr.write('ERROR: The output file "%s" exists!\n' % args.output) | ||
167 | sys.exit(1) | ||
168 | outputf = open(args.output, 'w') | ||
169 | |||
170 | MicroblazeConfig(args.dtb_file, outputf) | ||