diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental')
270 files changed, 1437 insertions, 2192 deletions
diff --git a/meta-xilinx-standalone-experimental/README.md b/meta-xilinx-standalone-experimental/README.md index 31aa0f63..950e4e12 100644 --- a/meta-xilinx-standalone-experimental/README.md +++ b/meta-xilinx-standalone-experimental/README.md | |||
@@ -1,44 +1,150 @@ | |||
1 | # meta-xilinx-standalone-experimental | 1 | # meta-xilinx-standalone-experimental |
2 | 2 | ||
3 | This layer contains experimental items that may eventually be added | 3 | This layer contains experimental items that may eventually be added to the |
4 | to the meta-xilinx-standalone layer. The components in this layer | 4 | meta-xilinx-standalone layer. The components in this layer may or may not be |
5 | may or may not be buildable as they may require unreleased code. | 5 | buildable as they may require unreleased code. |
6 | 6 | ||
7 | The non-Linux software components are still in development and | 7 | The non-Linux software components are still in development and this should be |
8 | this should be considered to be a preview release only. For instance, | 8 | considered to be a preview release only. For instance, some components may not |
9 | some components may not be buildable, expect APIs to change on various | 9 | be buildable, expect APIs to change on various parts and pieces. |
10 | parts and pieces. | ||
11 | 10 | ||
12 | ## Build Instructions | 11 | ## Build Instructions |
13 | 12 | ||
14 | **Note:** to use this layer you must REMOVE meta-xilinx-tools from your | 13 | > **Note:** |
15 | project. meta-xilinx-tools is not compatible with this experimental | 14 | > * To use this layer you must REMOVE meta-xilinx-tools from your project. |
16 | approach. You may also have to remove other layers that depend | 15 | meta-xilinx-tools is not compatible with this experimental approach. You may |
17 | on meta-xilinx-tools, such as meta-kria and meta-system-controller. | 16 | also have to remove other layers that depend on meta-xilinx-tools, such as |
17 | meta-kria and meta-system-controller. | ||
18 | > * To use the experimental 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. | ||
18 | 21 | ||
19 | To use the experimental version of the embedded software (firmware) | 22 | The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. |
20 | as well as system configuration, you must build the 'meta-xilinx-setup' | 23 | Be sure to read everything below. |
21 | SDK. This SDK is passed a device tree, constructed from System Device tree and | 24 | |
22 | produces a number of configuration files. | 25 | 1. Follow [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) |
26 | upto step 4. | ||
27 | |||
28 | 2. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as | ||
29 | meta-kria and meta-system-controller if included in bblayers.conf), then add | ||
30 | the meta-xilinx-standalone-experimental layer. | ||
31 | |||
32 | > **Note:** SDT builds for following devices are not supported in 2024.1 release. | ||
33 | > * Zynq 7000 | ||
34 | > * MicoBlaze | ||
35 | > * Kria | ||
36 | > * System Controller | ||
23 | 37 | ||
24 | 1. Remove meta-xilinx-tools, meta-kria and meta-system-controller, then add the decoupling layer | ||
25 | ``` | 38 | ``` |
26 | $ bitbake-layers remove-layer meta-xilinx-tools | 39 | $ bitbake-layers remove-layer meta-xilinx-tools |
27 | $ bitbake-layers remove-layer meta-kria | 40 | $ bitbake-layers remove-layer meta-kria |
28 | $ bitbake-layers remove-layer meta-system-controller | 41 | $ bitbake-layers remove-layer meta-system-controller |
29 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone-experimental | 42 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone-experimental |
30 | ``` | 43 | ``` |
31 | 2. Build the setup SDK | 44 | |
45 | 3. Export gen-machineconf tool. | ||
46 | ``` | ||
47 | $ export PATH=$PATH:<ABSOLUTE_PATH>/gen-machine-conf | ||
48 | ``` | ||
49 | |||
50 | 4. Run the script from the build or ${TOPDIR} directory. This step describes | ||
51 | System Device Tree (SDT) with and without pl overlays. Configruations are same | ||
52 | for both SDT with and without pl overlays except for linux dts content. | ||
53 | |||
54 | > **Note:** | ||
55 | > 1. The -l option will automatically add the necessary parameters to the | ||
56 | local.conf file. If you need to re-run this comment, you just clear the | ||
57 | parameters from the end of the file. Without the -l option the items are | ||
58 | printed to the screen and must be manually added to your conf/local.conf | ||
59 | > 2. The --soc-family argument is an optional argument and user can skip this. | ||
60 | > 3. By default minimal set of multiconfigs are generated by gen-machineconf tool. | ||
61 | > To enable full multiconfig(APU/RPU baremetal or FreeRTOS) then use | ||
62 | > `--multiconfigfull` option. | ||
63 | |||
64 | a. Without SDT pl overlay: | ||
65 | ``` | ||
66 | $ gen-machineconf --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf | ||
67 | ``` | ||
68 | |||
69 | b. With SDT pl overlay: | ||
70 | To generate SDT pl overlay run gen-machineconf command with | ||
71 | `-g {full|dfx}` option. Once SDT pl overlay command is executed successfully | ||
72 | pl.dtsi will be generated under <conf>/dts/${MACHINE}/pl-overlay-{full|dfx} | ||
73 | directory. User can use this pl.dtsi as input to full or dfx static firmware | ||
74 | recipes. | ||
75 | |||
76 | > **Note:** DFx partial dtsi is not processed by gen-machineconf(lopper) tool, User | ||
77 | > needs to use the *_partial.dtsi and *_partial.pdi/bit from sdtgen output | ||
78 | > artifacts to DFx partial firmware recipes. | ||
79 | |||
80 | * ZynqMP Full bitstream or Versal Segmented Configuration: | ||
81 | ``` | ||
82 | $ gen-machineconf parse-sdt --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf -g full | ||
83 | ``` | ||
84 | |||
85 | * ZynqMP or Versal DFx: | ||
86 | ``` | ||
87 | $ gen-machineconf parse-sdt --hw-description <path_to_sdtgen_output_directory> -c <conf> -l conf/local.conf -g dfx | ||
32 | ``` | 88 | ``` |
33 | $ bitbake meta-xilinx-setup | 89 | |
90 | For example, zynqmp: | ||
91 | ``` | ||
92 | $ gen-machineconf --soc-family zynqmp --hw-description <path_to_sdtgen_output_directory> -c conf/ -l conf/local.conf | ||
93 | ``` | ||
94 | The following will be written to the end of the conf/local.conf file: | ||
95 | |||
96 | ``` | ||
97 | # Use the newly generated MACHINE | ||
98 | MACHINE = "xlnx-zynqmp-zcu102-rev1-0" | ||
99 | |||
100 | # Avoid errors in some baremetal configs as these layers may be present | ||
101 | # but are not used. Note the following lines are optional and can be | ||
102 | # safetly disabled. | ||
103 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
104 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
105 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
106 | |||
107 | # Each generated multiconfig defines it's own TMPDIR, either edit the | ||
108 | # multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below | ||
109 | #MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" | ||
110 | ``` | ||
111 | |||
112 | For example, versal: | ||
34 | ``` | 113 | ``` |
35 | 3. Install the setup SDK: | 114 | $ gen-machineconf --soc-family versal --hw-description <path_to_sdtgen_output_directory> -c conf/ -l conf/local.conf |
36 | ``` | 115 | ``` |
37 | $ .${TMPDIR}/tmp/deploy/sdk/x86_64-xilinx-nativesdk-prestep-2023.2....sh -d prestep -y | 116 | |
117 | The following will be written to the end of the conf/local.conf file: | ||
118 | |||
119 | ``` | ||
120 | # Use the newly generated MACHINE | ||
121 | MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva" | ||
122 | |||
123 | # Avoid errors in some baremetal configs as these layers may be present | ||
124 | # but are not used. Note the following lines are optional and can be | ||
125 | # safetly disabled. | ||
126 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
127 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
128 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
129 | |||
130 | # Each generated multiconfig defines it's own TMPDIR, either edit the | ||
131 | # multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below | ||
132 | #MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" | ||
38 | ``` | 133 | ``` |
134 | > **Bitbake Performance Note:** | ||
135 | Each BBMULTICONFIG value requires all of the recipes to be parsed for that | ||
136 | configuration. Thus each multiconfig will add more parsing time. A long list | ||
137 | can lead to a very slow parse (many minutes). To speed up parsing, it is | ||
138 | suggested that you trim this down to only the configurations you require. | ||
139 | A minimum configuration is included with the generated configuration. | ||
39 | 140 | ||
40 | Then follow the instructions in the 'prestep/README-setup' file. | ||
41 | 141 | ||
142 | 5. Build your project, You should now be able to build your project normally. | ||
143 | See the Yocto Project documentation if you have questions on how to work with | ||
144 | the multiconfig recipes. The following is a simple build for testing. | ||
145 | |||
146 | 6. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) | ||
147 | from step 6. | ||
42 | 148 | ||
43 | ## Dependencies | 149 | ## Dependencies |
44 | 150 | ||
@@ -56,5 +162,14 @@ This layer depends on: | |||
56 | https://git.yoctoproject.org/meta-xilinx (official version) | 162 | https://git.yoctoproject.org/meta-xilinx (official version) |
57 | https://github.com/Xilinx/meta-xilinx (development and amd xilinx release) | 163 | https://github.com/Xilinx/meta-xilinx (development and amd xilinx release) |
58 | layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone | 164 | layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone |
59 | branch: langdale or amd xilinx release version (e.g. rel-v2023.1) | 165 | branch: langdale or amd xilinx release version (e.g. rel-v2024.1) |
166 | |||
167 | URI: | ||
168 | https://git.yoctoproject.org/meta-virtualization (official version) | ||
169 | https://github.com/Xilinx/meta-virtualization (development and amd xilinx release) | ||
170 | branch: langdale or amd xilinx release version (e.g. rel-v2024.1) | ||
60 | 171 | ||
172 | URI: | ||
173 | https://github.com/OpenAMP/meta-openamp (official version) | ||
174 | https://github.com/Xilinx/meta-openamp (development and amd xilinx release) | ||
175 | branch: langdale or amd xilinx release version (e.g. rel-v2024.1) | ||
diff --git a/meta-xilinx-standalone-experimental/README.sdt.bsp.md b/meta-xilinx-standalone-experimental/README.sdt.bsp.md new file mode 100644 index 00000000..2b2ce4b0 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass index febdebad..b6f799b9 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes-recipe/esw.bbclass | |||
@@ -2,8 +2,9 @@ PV = "${ESW_VER}" | |||
2 | 2 | ||
3 | inherit python3native xlnx-embeddedsw pkgconfig cmake | 3 | inherit python3native xlnx-embeddedsw pkgconfig cmake |
4 | 4 | ||
5 | # Override xlnx-embeddedsw with out version | 5 | # It is unclear why the following is needed, but without this cmake/ninja |
6 | require conf/dtb-embeddedsw.inc | 6 | # will generate: -isystem /usr/include which will cause a build failure. |
7 | OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON" | ||
7 | 8 | ||
8 | SRCREV_FORMAT = "src_decouple" | 9 | SRCREV_FORMAT = "src_decouple" |
9 | 10 | ||
@@ -35,37 +36,43 @@ do_configure[depends] += "device-tree:do_deploy" | |||
35 | do_compile[depends] += "device-tree:do_deploy" | 36 | do_compile[depends] += "device-tree:do_deploy" |
36 | do_install[depends] += "device-tree:do_deploy" | 37 | do_install[depends] += "device-tree:do_deploy" |
37 | 38 | ||
38 | def get_xlnx_cmake_machine(fam, d): | 39 | def get_xlnx_cmake_machine(fam, variant, d): |
39 | cmake_machine = fam | 40 | cmake_machine = fam |
40 | if (fam == 'zynqmp'): | 41 | if (fam == 'zynqmp'): |
41 | cmake_machine = 'ZynqMP' | 42 | cmake_machine = 'ZynqMP' |
42 | elif (fam == 'versal'): | 43 | elif (fam == 'versal'): |
43 | cmake_machine = 'Versal' | 44 | cmake_machine = 'Versal' |
45 | if (variant == 'net'): | ||
46 | cmake_machine = 'VersalNet' | ||
44 | elif (fam == 'zynq'): | 47 | elif (fam == 'zynq'): |
45 | cmake_machine = 'Zynq' | 48 | cmake_machine = 'Zynq' |
46 | return cmake_machine | 49 | return cmake_machine |
47 | 50 | ||
48 | def get_xlnx_cmake_processor(tune, machine, d): | 51 | def get_xlnx_cmake_processor(tune, machine, variant, d): |
49 | cmake_processor = tune | 52 | cmake_processor = tune |
50 | if tune.startswith('microblaze'): | 53 | if tune.startswith('microblaze'): |
51 | if (machine == 'psu_pmu_0'): | 54 | if (machine == 'psu_pmu_0'): |
52 | cmake_processor = 'pmu_microblaze' | 55 | cmake_processor = 'pmu_microblaze' |
53 | elif (machine == 'psv_pmc_0'): | 56 | elif (machine in [ 'psv_pmc_0', 'psx_pmc_0' ]): |
54 | cmake_processor = 'plm_microblaze' | 57 | cmake_processor = 'plm_microblaze' |
55 | else: | 58 | else: |
56 | cmake_processor = 'microblaze' | 59 | cmake_processor = 'microblaze' |
57 | elif tune == 'cortexr5': | 60 | elif (tune in [ 'cortexr5', 'cortexr5hf' ]): |
58 | cmake_processor = 'cortexr5' | 61 | cmake_processor = 'cortexr5' |
62 | elif (tune in [ 'cortexr52', 'cortexr52hf' ]): | ||
63 | cmake_processor = 'cortexr52' | ||
59 | elif tune.startswith('cortexa9'): | 64 | elif tune.startswith('cortexa9'): |
60 | cmake_processor = 'cortexa9' | 65 | cmake_processor = 'cortexa9' |
61 | elif (tune in [ 'cortexa53', 'cortexa72-cortexa53' ]): | 66 | elif (tune in [ 'cortexa53', 'cortexa72-cortexa53' ]): |
62 | cmake_processor = 'cortexa53' | 67 | cmake_processor = 'cortexa53' |
63 | elif tune == 'cortexa72': | 68 | elif tune == 'cortexa72': |
64 | cmake_processor = 'cortexa72' | 69 | cmake_processor = 'cortexa72' |
70 | if (variant == 'net'): | ||
71 | cmake_processor = 'cortexa78' | ||
65 | return cmake_processor | 72 | return cmake_processor |
66 | 73 | ||
67 | XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d)}" | 74 | XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d.getVar('SOC_VARIANT'), d)}" |
68 | XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d)}" | 75 | XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d.getVar('SOC_VARIANT'), d)}" |
69 | XLNX_CMAKE_SYSTEM_NAME ?= "Generic" | 76 | XLNX_CMAKE_SYSTEM_NAME ?= "Generic" |
70 | XLNX_CMAKE_BSP_VARS ?= "" | 77 | XLNX_CMAKE_BSP_VARS ?= "" |
71 | 78 | ||
@@ -80,11 +87,11 @@ cmake_do_generate_toolchain_file:append() { | |||
80 | # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) | 87 | # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) |
81 | set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" ) | 88 | set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" ) |
82 | set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake) | 89 | set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake) |
83 | set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR}) | 90 | set( CMAKE_LIBRARY_PATH ${B}) |
84 | if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze") | 91 | if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze") |
85 | set( CMAKE_BUILD_TYPE Release) | 92 | set( CMAKE_BUILD_TYPE Release) |
86 | endif() | 93 | endif() |
87 | add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) | 94 | add_definitions( "${XLNX_CMAKE_BSP_VARS} -DSDT" ) |
88 | EOF | 95 | EOF |
89 | } | 96 | } |
90 | 97 | ||
@@ -96,6 +103,15 @@ do_install() { | |||
96 | } | 103 | } |
97 | 104 | ||
98 | CFLAGS:append = " ${ESW_CFLAGS}" | 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 | } | ||
99 | 115 | ||
100 | # We need to find the license file, which vaires depending on the component | 116 | # We need to find the license file, which vaires depending on the component |
101 | # recurse a maximum of x times, could be fancier but it gets complicated since | 117 | # recurse a maximum of x times, could be fancier but it gets complicated since |
@@ -135,9 +151,9 @@ python do_generate_driver_data() { | |||
135 | os.chdir(d.getVar('B')) | 151 | os.chdir(d.getVar('B')) |
136 | command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] | 152 | command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] |
137 | subprocess.run(command, check = True) | 153 | subprocess.run(command, check = True) |
138 | src_file = str("x") + driver_name.replace('-', '_') + str("_g.c") | 154 | src_file = glob.glob('*_g.c') |
139 | if os.path.exists(src_file): | 155 | if os.path.exists(src_file[0]): |
140 | bb.note("Generated config file for driver %s" % driver_name) | 156 | bb.note("Generated config file for driver %s" % driver_name) |
141 | command = ["install"] + ["-m"] + ["0755"] + [src_file] + [src_dir[0]] | 157 | command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]] |
142 | subprocess.run(command, check = True) | 158 | subprocess.run(command, check = True) |
143 | } | 159 | } |
diff --git a/meta-xilinx-standalone-experimental/classes-recipe/esw_apps_common.bbclass b/meta-xilinx-standalone-experimental/classes-recipe/esw_apps_common.bbclass new file mode 100644 index 00000000..85b753a5 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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 ${WORKDIR}/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 ${WORKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${WORKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin | ||
27 | install -m 0644 ${WORKDIR}/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-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes-recipe/esw_examples.bbclass index 43e78191..9a94f3cd 100644 --- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass +++ b/meta-xilinx-standalone-experimental/classes-recipe/esw_examples.bbclass | |||
@@ -7,6 +7,7 @@ do_configure:prepend() { | |||
7 | cd ${S} | 7 | cd ${S} |
8 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 8 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
9 | install -m 0755 *.cmake ${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 | ||
10 | ) | 11 | ) |
11 | } | 12 | } |
12 | 13 | ||
diff --git a/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc b/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc deleted file mode 100644 index a9192f62..00000000 --- a/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # The format of this file must be compatible with | ||
2 | # meta-xilinx/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass | ||
3 | |||
4 | # Make it clear decoupling is 'experimental' in the version | ||
5 | ESW_VER = "2023_sdt_experimental" | ||
6 | |||
7 | REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https" | ||
8 | |||
9 | ESW_BRANCH[2023_sdt_experimental] = "xlnx_rel_v2023.2_sdt" | ||
10 | ESW_REV[2023_sdt_experimental] = "742a608800e7621fb7c376daf5124333b5826d6d" | ||
11 | LIC_FILES_CHKSUM[xlnx_rel_v2023.2_sdt] = 'ce611484168a6000bd35df68fc4f4290' | ||
diff --git a/meta-xilinx-standalone-experimental/conf/layer.conf b/meta-xilinx-standalone-experimental/conf/layer.conf index 6cfd01c3..b4282ce0 100644 --- a/meta-xilinx-standalone-experimental/conf/layer.conf +++ b/meta-xilinx-standalone-experimental/conf/layer.conf | |||
@@ -19,7 +19,8 @@ LAYERDEPENDS_xilinx-standalone-exp = "core \ | |||
19 | xilinx \ | 19 | xilinx \ |
20 | xilinx-standalone \ | 20 | xilinx-standalone \ |
21 | xilinx-microblaze \ | 21 | xilinx-microblaze \ |
22 | virtualization-layer \ | 22 | virtualization-layer \ |
23 | openamp-layer \ | ||
23 | " | 24 | " |
24 | 25 | ||
25 | LAYERSERIES_COMPAT_xilinx-standalone-exp = "scarthgap" | 26 | LAYERSERIES_COMPAT_xilinx-standalone-exp = "scarthgap" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb new file mode 100644 index 00000000..4287bb0a --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/empty-application/empty-application_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_2024.1.bb index d62779ae..2c70796a 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_2024.1.bb | |||
@@ -1,11 +1,9 @@ | |||
1 | inherit esw deploy | 1 | inherit esw deploy python3native |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/empty_application/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/empty_application/src/" |
4 | 4 | ||
5 | DEPENDS += "libxil xiltimer" | 5 | DEPENDS += "libxil xiltimer" |
6 | 6 | ||
7 | inherit python3native | ||
8 | |||
9 | do_configure:prepend() { | 7 | do_configure:prepend() { |
10 | ( | 8 | ( |
11 | cd ${S} | 9 | cd ${S} |
@@ -24,7 +22,7 @@ EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | |||
24 | 22 | ||
25 | inherit image-artifact-names | 23 | inherit image-artifact-names |
26 | 24 | ||
27 | CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 25 | CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${BB_CURRENT_MC}${IMAGE_VERSION_SUFFIX}" |
28 | 26 | ||
29 | ESW_COMPONENT ??= "empty_application.elf" | 27 | ESW_COMPONENT ??= "empty_application.elf" |
30 | 28 | ||
@@ -38,8 +36,8 @@ do_install() { | |||
38 | 36 | ||
39 | do_deploy() { | 37 | do_deploy() { |
40 | install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf | 38 | install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf |
41 | ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}.elf | 39 | ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.elf |
42 | install -m 0644 ${B}/empty_application.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin | 40 | install -m 0644 ${B}/empty_application.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin |
43 | ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}.bin | 41 | ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}-${MACHINE}-${BB_CURRENT_MC}.bin |
44 | } | 42 | } |
45 | addtask deploy before do_build after do_install | 43 | addtask deploy before do_build after do_install |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb new file mode 100644 index 00000000..97d2ba0a --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb deleted file mode 100644 index 8106684b..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" | ||
4 | |||
5 | DEPENDS += "libxil xilstandalone freertos10-xilinx 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 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}/${base_libdir}/firmware | ||
19 | # Note that we have to make the ELF executable for it to be stripped | ||
20 | install -m 0755 ${B}/freertos_hello_world* ${D}/${base_libdir}/firmware | ||
21 | } | ||
22 | |||
23 | inherit image-artifact-names | ||
24 | |||
25 | FREERTOS_HELLO_WORLD_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
26 | |||
27 | do_deploy() { | ||
28 | |||
29 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
30 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_hello_world.elf ${DEPLOYDIR}/${FREERTOS_HELLO_WORLD_BASE_NAME}.elf | ||
31 | ln -sf ${FREERTOS_HELLO_WORLD_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
32 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/freertos_hello_world.elf ${WORKDIR}/package/${base_libdir}/firmware/freertos_hello_world.bin | ||
33 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_hello_world.bin ${DEPLOYDIR}/${FREERTOS_HELLO_WORLD_BASE_NAME}.bin | ||
34 | ln -sf ${FREERTOS_HELLO_WORLD_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
35 | } | ||
36 | |||
37 | addtask deploy before do_build after do_package | ||
38 | |||
39 | FILES:${PN} = "${base_libdir}/firmware/freertos_hello_world*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb deleted file mode 100644 index f7eae1dc..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
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 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/freertos_lwip_echo* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | FREERTOS_LWIP_ECHO_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_echo_server.elf ${DEPLOYDIR}/${FREERTOS_LWIP_ECHO_BASE_NAME}.elf | ||
40 | ln -sf ${FREERTOS_LWIP_ECHO_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_echo_server.elf ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_echo_server.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_echo_server.bin ${DEPLOYDIR}/${FREERTOS_LWIP_ECHO_BASE_NAME}.bin | ||
43 | ln -sf ${FREERTOS_LWIP_ECHO_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_echo*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb deleted file mode 100644 index 51b89b8e..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
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 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/freertos_lwip_tcp_perf_client* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_client.elf ${DEPLOYDIR}/${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.elf | ||
40 | ln -sf ${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_client.elf ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_client.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_client.bin ${DEPLOYDIR}/${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.bin | ||
43 | ln -sf ${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb deleted file mode 100644 index 606fd01e..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
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 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/freertos_lwip_tcp_perf_server* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | FREERTOS_LWIP_TCP_PERF_SERVER_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_server.elf ${DEPLOYDIR}/${FREERTOS_LWIP_TCP_PERF_SERVER_BASE_NAME}.elf | ||
40 | ln -sf ${FREERTOS_LWIP_TCP_PERF_SERVER_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_server.elf ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_server.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_tcp_perf_server.bin ${DEPLOYDIR}/${FREERTOS_LWIP_TCP_PERF_SERVER_BASE_NAME}.bin | ||
43 | ln -sf ${FREERTOS_LWIP_TCP_PERF_SERVER_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_tcp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb deleted file mode 100644 index 7f9d86e2..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
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 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/freertos_lwip_udp_perf_client* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_client.elf ${DEPLOYDIR}/${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.elf | ||
40 | ln -sf ${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_client.elf ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_client.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_client.bin ${DEPLOYDIR}/${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.bin | ||
43 | ln -sf ${FREERTOS_LWIP_TCP_PERF_CLIENT_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb deleted file mode 100644 index 4fc02f36..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" | ||
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 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/freertos_lwip_udp_perf_server* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | FREERTOS_LWIP_UDP_PERF_SERVER_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_server.elf ${DEPLOYDIR}/${FREERTOS_LWIP_UDP_PERF_SERVER_BASE_NAME}.elf | ||
40 | ln -sf ${FREERTOS_LWIP_UDP_PERF_SERVER_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_server.elf ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_server.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/freertos_lwip_udp_perf_server.bin ${DEPLOYDIR}/${FREERTOS_LWIP_UDP_PERF_SERVER_BASE_NAME}.bin | ||
43 | ln -sf ${FREERTOS_LWIP_UDP_PERF_SERVER_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/freertos_lwip_udp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_2024.1.bb new file mode 100644 index 00000000..ee0afec5 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/hello-world/hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb deleted file mode 100644 index 1de5ef8c..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | inherit python3native | ||
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_install() { | ||
20 | install -d ${D}/${base_libdir}/firmware | ||
21 | # Note that we have to make the ELF executable for it to be stripped | ||
22 | install -m 0755 ${B}/hello_world* ${D}/${base_libdir}/firmware | ||
23 | } | ||
24 | |||
25 | inherit image-artifact-names | ||
26 | |||
27 | HELLO_WORLD_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
28 | |||
29 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
30 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
31 | |||
32 | do_deploy() { | ||
33 | |||
34 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
35 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/hello_world.elf ${DEPLOYDIR}/${HELLO_WORLD_BASE_NAME}.elf | ||
36 | ln -sf ${HELLO_WORLD_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
37 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/hello_world.elf ${WORKDIR}/package/${base_libdir}/firmware/hello_world.bin | ||
38 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/hello_world.bin ${DEPLOYDIR}/${HELLO_WORLD_BASE_NAME}.bin | ||
39 | ln -sf ${HELLO_WORLD_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
40 | } | ||
41 | |||
42 | addtask deploy before do_build after do_package | ||
43 | |||
44 | FILES:${PN} = "${base_libdir}/firmware/hello_world*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb new file mode 100644 index 00000000..f3397f7f --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb deleted file mode 100644 index c59d816e..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip 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 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/lwip_echo* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | LWIP_ECHO_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_echo_server.elf ${DEPLOYDIR}/${LWIP_ECHO_BASE_NAME}.elf | ||
40 | ln -sf ${LWIP_ECHO_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/lwip_echo_server.elf ${WORKDIR}/package/${base_libdir}/firmware/lwip_echo.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_echo.bin ${DEPLOYDIR}/${LWIP_ECHO_BASE_NAME}.bin | ||
43 | ln -sf ${LWIP_ECHO_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/lwip_echo*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb deleted file mode 100644 index b9834e34..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip 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 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/lwip_tcp_perf_client* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | LWIP_TCP_PERF_CLIENT_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_client.elf ${DEPLOYDIR}/${LWIP_TCP_PERF_CLIENT_BASE_NAME}.elf | ||
40 | ln -sf ${LWIP_TCP_PERF_CLIENT_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_client.elf ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_client.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_client.bin ${DEPLOYDIR}/${LWIP_TCP_PERF_CLIENT_BASE_NAME}.bin | ||
43 | ln -sf ${LWIP_TCP_PERF_CLIENT_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb deleted file mode 100644 index 0acc4b8f..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip 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 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/lwip_tcp_perf_server* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | LWIP_TCP_PERF_SERVER_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_server.elf ${DEPLOYDIR}/${LWIP_TCP_PERF_SERVER_BASE_NAME}.elf | ||
40 | ln -sf ${LWIP_TCP_PERF_SERVER_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_server.elf ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_server.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_tcp_perf_server.bin ${DEPLOYDIR}/${LWIP_TCP_PERF_SERVER_BASE_NAME}.bin | ||
43 | ln -sf ${LWIP_TCP_PERF_SERVER_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/lwip_tcp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb deleted file mode 100644 index 00a9eaa6..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip 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 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/lwip_udp_perf_client* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | LWIP_UDP_PERF_CLIENT_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_client.elf ${DEPLOYDIR}/${LWIP_UDP_PERF_CLIENT_BASE_NAME}.elf | ||
40 | ln -sf ${LWIP_UDP_PERF_CLIENT_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_client.elf ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_client.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_client.bin ${DEPLOYDIR}/${LWIP_UDP_PERF_CLIENT_BASE_NAME}.bin | ||
43 | ln -sf ${LWIP_UDP_PERF_CLIENT_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_client*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb b/meta-xilinx-standalone-experimental/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-experimental/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-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb deleted file mode 100644 index 5f54caf9..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | inherit esw deploy python3native | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" | ||
4 | |||
5 | DEPENDS += "libxil lwip 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 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
12 | cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files | ||
13 | install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} | ||
14 | ) | ||
15 | } | ||
16 | |||
17 | do_generate_app_data() { | ||
18 | # This script should also not rely on relative paths and such | ||
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 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | ||
24 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}/${base_libdir}/firmware | ||
28 | # Note that we have to make the ELF executable for it to be stripped | ||
29 | install -m 0755 ${B}/lwip_udp_perf_server* ${D}/${base_libdir}/firmware | ||
30 | } | ||
31 | |||
32 | inherit image-artifact-names | ||
33 | |||
34 | LWIP_UDP_PERF_SERVER_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
35 | |||
36 | do_deploy() { | ||
37 | |||
38 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
39 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_server.elf ${DEPLOYDIR}/${LWIP_UDP_PERF_SERVER_BASE_NAME}.elf | ||
40 | ln -sf ${LWIP_UDP_PERF_SERVER_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
41 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_server.elf ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_server.bin | ||
42 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/lwip_udp_perf_server.bin ${DEPLOYDIR}/${LWIP_UDP_PERF_SERVER_BASE_NAME}.bin | ||
43 | ln -sf ${LWIP_UDP_PERF_SERVER_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
44 | } | ||
45 | |||
46 | addtask deploy before do_build after do_package | ||
47 | |||
48 | FILES:${PN} = "${base_libdir}/firmware/lwip_udp_perf_server*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_2024.1.bb new file mode 100644 index 00000000..8420171b --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/memory-tests/memory-tests_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb deleted file mode 100644 index 1ece5a8c..00000000 --- a/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/memory_tests/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | inherit python3native | ||
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 | do_install() { | ||
20 | install -d ${D}/${base_libdir}/firmware | ||
21 | # Note that we have to make the ELF executable for it to be stripped | ||
22 | install -m 0755 ${B}/memory_tests* ${D}/${base_libdir}/firmware | ||
23 | } | ||
24 | |||
25 | inherit image-artifact-names | ||
26 | |||
27 | MEMORY_TESTS_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
28 | |||
29 | do_deploy() { | ||
30 | |||
31 | # We need to deploy the stripped elf, hence why not doing it from ${D} | ||
32 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.elf ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.elf | ||
33 | ln -sf ${MEMORY_TESTS_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | ||
34 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.elf ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.bin | ||
35 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.bin ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.bin | ||
36 | ln -sf ${MEMORY_TESTS_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | ||
37 | } | ||
38 | |||
39 | addtask deploy before do_build after do_package | ||
40 | |||
41 | FILES:${PN} = "${base_libdir}/firmware/memory_tests*" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb b/meta-xilinx-standalone-experimental/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb new file mode 100644 index 00000000..58f08bf2 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb b/meta-xilinx-standalone-experimental/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb new file mode 100644 index 00000000..c8d4382d --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb b/meta-xilinx-standalone-experimental/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb new file mode 100644 index 00000000..4efdb4c6 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-experimental/recipes-applications/openamp-fw/openamp-fw.inc new file mode 100644 index 00000000..398f8dce --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb index b6b15d5a..d2fb106a 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | inherit esw deploy | 1 | inherit esw python3native esw_apps_common |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/peripheral_tests/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/peripheral_tests/src/" |
4 | 4 | ||
5 | DEPENDS += "libxil xiltimer" | 5 | DEPENDS += "libxil xiltimer" |
6 | 6 | ||
7 | inherit python3native | 7 | ESW_EXECUTABLE_NAME = "peripheral_tests" |
8 | 8 | ||
9 | do_configure:prepend() { | 9 | do_configure:prepend() { |
10 | ( | 10 | ( |
@@ -37,16 +37,8 @@ python do_generate_app_data() { | |||
37 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 37 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
38 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 38 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" |
39 | 39 | ||
40 | PERIPHERAL_TEST_APP_IMAGE_NAME ??= "${BPN}" | ||
41 | |||
42 | inherit image-artifact-names | ||
43 | |||
44 | PERIPHERAL_TEST_BASE_NAME ?= "${PERIPHERAL_TEST_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
45 | |||
46 | ESW_COMPONENT ??= "peripheral_tests.elf" | ||
47 | |||
48 | do_compile:append() { | 40 | do_compile:append() { |
49 | ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/peripheral_tests.bin | 41 | ${OBJCOPY} -O binary ${B}/${ESW_EXECUTABLE_NAME}.elf ${B}${ESW_EXECUTABLE_NAME}.bin |
50 | } | 42 | } |
51 | 43 | ||
52 | do_install() { | 44 | do_install() { |
@@ -54,9 +46,8 @@ do_install() { | |||
54 | } | 46 | } |
55 | 47 | ||
56 | do_deploy() { | 48 | do_deploy() { |
57 | install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${PERIPHERAL_TEST_BASE_NAME}.elf | 49 | install -Dm 0644 ${B}/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf |
58 | ln -sf ${PERIPHERAL_TEST_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf | 50 | ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf |
59 | install -m 0644 ${B}/peripheral_tests.bin ${DEPLOYDIR}/${PERIPHERAL_TEST_BASE_NAME}.bin | 51 | install -m 0644 ${B}/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin |
60 | ln -sf ${PERIPHERAL_TEST_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin | 52 | ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin |
61 | } | 53 | } |
62 | addtask deploy before do_build after do_install | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/sample-fw-package/sample-fw-package.bb b/meta-xilinx-standalone-experimental/recipes-applications/sample-fw-package/sample-fw-package.bb new file mode 100644 index 00000000..5def36c3 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb new file mode 100644 index 00000000..03ada8c1 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb new file mode 100644 index 00000000..e6f29570 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb new file mode 100644 index 00000000..8e0b0c06 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb new file mode 100644 index 00000000..25215801 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_2024.1.bb index e6cf1d8b..f99db010 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_2024.1.bb | |||
@@ -1,9 +1,6 @@ | |||
1 | # Can't depend on esw since this is needed for setup! | 1 | # Can't depend on esw since this is needed for setup! |
2 | inherit xlnx-embeddedsw | 2 | inherit xlnx-embeddedsw |
3 | 3 | ||
4 | # We need to override the inherit | ||
5 | require conf/dtb-embeddedsw.inc | ||
6 | |||
7 | S = "${WORKDIR}/git" | 4 | S = "${WORKDIR}/git" |
8 | B = "${WORKDIR}/build" | 5 | B = "${WORKDIR}/build" |
9 | 6 | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend index d40f3cdb..d40f3cdb 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend index 202764ac..202764ac 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend index 0c51fbad..0c51fbad 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend index 96cd38cd..96cd38cd 100644 --- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup b/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup deleted file mode 100644 index 0a5736d8..00000000 --- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup +++ /dev/null | |||
@@ -1,102 +0,0 @@ | |||
1 | Document Version: 20230112 | ||
2 | |||
3 | The Yocto Project setup for the System Device Tree workflow is as follows. | ||
4 | Be sure to read everything below, as the steps will be updated in the future | ||
5 | if the setup script changes. | ||
6 | |||
7 | The steps in this document expect that you have already built the setup | ||
8 | (meta-xilinx-setup) SDK, and installed it. | ||
9 | |||
10 | * Run the setup script | ||
11 | |||
12 | The setup environment should be run in a new shell (not the build shell) | ||
13 | to ensure that you do not contaminate the environment for your build. | ||
14 | |||
15 | We will assume below that the directory "prestep" was used for the SDK, | ||
16 | however you may use any path you wish. | ||
17 | |||
18 | Source the SDK environment file | ||
19 | $ . <build>/prestep/environment-setup-x86_64-petalinux-linux | ||
20 | |||
21 | Run the script from the same directory as this README | ||
22 | $ <build>/prestep/dt-processor.sh -c <conf> -s <dtb> -l conf/local.conf | ||
23 | |||
24 | Note: The -l option will automatically add the necessary parameters to the | ||
25 | local.conf file. If you need to re-run this comment, you just clear the | ||
26 | parameters from the end of the file. Without the -l option the items are | ||
27 | printed to the screen and must be manually added to your conf/local.conf | ||
28 | |||
29 | For example, zynqmp: | ||
30 | $ ./prestep/dt-processor.sh -c conf -s /proj/yocto/zcu102-sdt/system-top.dts -l conf/local.conf | ||
31 | |||
32 | The following will be written to the end of the conf/local.conf file: | ||
33 | |||
34 | # Each multiconfig will define it's own TMPDIR, this is the new default based | ||
35 | # on BASE_TMPDIR for the Linux build | ||
36 | TMPDIR = "${BASE_TMPDIR}/tmp" | ||
37 | |||
38 | # Use the newly generated MACHINE | ||
39 | MACHINE = "xlnx-zynqmp-zcu102-rev1-0" | ||
40 | |||
41 | # All of the TMPDIRs must be in a common parent directory. This is defined | ||
42 | # as BASE_TMPDIR. | ||
43 | # Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere, such as /tmp | ||
44 | BASE_TMPDIR ?= "${TOPDIR}" | ||
45 | |||
46 | # The following is the full set of multiconfigs for this configuration | ||
47 | # A large list can cause a slow parse. | ||
48 | BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal cortexa53-0-zynqmp-baremetal cortexa53-0-zynqmp-freertos cortexa53-1-zynqmp-baremetal cortexa53-1-zynqmp-freertos cortexa53-2-zynqmp-baremetal cortexa53-2-zynqmp-freertos cortexa53-3-zynqmp-baremetal cortexa53-3-zynqmp-freertos cortexr5-0-zynqmp-fsbl-baremetal cortexr5-0-zynqmp-baremetal cortexr5-0-zynqmp-freertos cortexr5-1-zynqmp-baremetal cortexr5-1-zynqmp-freertos microblaze-0-pmu" | ||
49 | # Alternatively trim the list to the minimum | ||
50 | #BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal microblaze-0-pmu" | ||
51 | |||
52 | |||
53 | For example, versal: | ||
54 | $ ./prestep/dt-processor.sh -c conf -s /proj/yocto/vmk180-sdt/system-top.dts -l conf/local.conf | ||
55 | |||
56 | The following will be written to the end of the conf/local.conf file: | ||
57 | |||
58 | # Each multiconfig will define it's own TMPDIR, this is the new default based | ||
59 | # on BASE_TMPDIR for the Linux build | ||
60 | TMPDIR = "${BASE_TMPDIR}/tmp" | ||
61 | |||
62 | # Use the newly generated MACHINE | ||
63 | MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva" | ||
64 | |||
65 | # All of the TMPDIRs must be in a common parent directory. This is defined | ||
66 | # as BASE_TMPDIR. | ||
67 | # Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere, such as /tmp | ||
68 | BASE_TMPDIR ?= "${TOPDIR}" | ||
69 | |||
70 | # The following is the full set of multiconfigs for this configuration | ||
71 | # A large list can cause a slow parse. | ||
72 | BBMULTICONFIG = " cortexa72-0-versal-baremetal cortexa72-0-versal-freertos cortexa72-1-versal-baremetal cortexa72-1-versal-freertos microblaze-0-pmc microblaze-0-psm cortexr5-0-versal-baremetal cortexr5-0-versal-freertos cortexr5-1-versal-baremetal cortexr5-1-versal-freertos" | ||
73 | # Alternatively trim the list to the minimum | ||
74 | #BBMULTICONFIG = " microblaze-0-pmc microblaze-0-psm" | ||
75 | |||
76 | |||
77 | You can now EXIT THE NEW SHELL return the build environment for the remaining steps. | ||
78 | |||
79 | * Bitbake Performance Note | ||
80 | |||
81 | Each BBMULTICONFIG value requires all of the recipes to be parsed for that | ||
82 | configuration. Thus each multiconfig will add more parsing time. A long list | ||
83 | can lead to a very slow parse (many minutes). To speed up parsing, it is | ||
84 | suggested that you trim this down to only the configurations you require. | ||
85 | A minimum configuration is included with the generated configuration. | ||
86 | |||
87 | * Build your project | ||
88 | |||
89 | You should now be able to build your project normally. See the Yocto Project | ||
90 | documentation if you have questions on how to work with the multiconfig | ||
91 | recipes. The following is a simple build for testing. | ||
92 | |||
93 | In the original build shell | ||
94 | Build your Linux sytem: | ||
95 | $ bitbake petalinux-image-minimal | ||
96 | |||
97 | The output will be in tmp/deploy/images/... | ||
98 | |||
99 | If the system is QEMU capable execute QEMU using: | ||
100 | $ runqemu nographic slirp core-image-minimal | ||
101 | |||
102 | To terminate qemu, usually the command is ctrl-a x | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh deleted file mode 100755 index 1c754689..00000000 --- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh +++ /dev/null | |||
@@ -1,1260 +0,0 @@ | |||
1 | #! /bin/bash | ||
2 | |||
3 | # Copyright (c) 2021-2022 Xilinx Inc | ||
4 | # Copyright (C) 2022-2023 Advanced Micro Devices, Inc. All rights reserved. | ||
5 | # | ||
6 | # Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | # of this software and associated documentation files (the "Software"), to deal | ||
8 | # in the Software without restriction, including without limitation the rights | ||
9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
10 | # copies of the Software, and to permit persons to whom the Software is | ||
11 | # furnished to do so, subject to the following conditions: | ||
12 | # | ||
13 | # The above copyright notice and this permission notice shall be included in | ||
14 | # all copies or substantial portions of the Software. | ||
15 | # | ||
16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
22 | # THE SOFTWARE. | ||
23 | |||
24 | # This script configures the Yocto Project build system for use with the System | ||
25 | # Device Tree workflow when building for a Xilinx FPGA, such as the ZynqMP or | ||
26 | # Versal. | ||
27 | |||
28 | error() { echo "ERROR: $1" >&2; exit 1; } | ||
29 | |||
30 | warn() { echo "WARNING: $1"; } | ||
31 | |||
32 | info() { echo "INFO: $1"; } | ||
33 | |||
34 | usage() { | ||
35 | cat <<EOF | ||
36 | $0 | ||
37 | -c <config_dir> Location of the build conf directory | ||
38 | -s <system_dts> Path to system dts | ||
39 | [-d <domain_file>] Path to domain file (.yml/.dts) | ||
40 | [-o <overlay_dts>] Generate overlay dts | ||
41 | [-e <external_fpga>] Apply a partial overlay | ||
42 | [-m <machine_conf>] The name of the machine .conf to generate | ||
43 | [-D <dts_path>] Absolute path or subdirectory of conf/dts to place DTS files in (usually auto detected from DTS) | ||
44 | [-t <machine>] Machine type: zynqmp or versal (usually auto detected) | ||
45 | [-v <soc_variant>] SOC Variant: cg, dr, eg, ev, ai-prime, premium (usually auto detected) | ||
46 | [-r <require_machine>] This machine will be required, instead of the generic machine if defined | ||
47 | [-O <overrides>] Optional, can add additional overrides to the generated machine | ||
48 | [-p <psu_init_path>] Path to psu_init files, defaults to system_dts path | ||
49 | [-i <pdi_path>] Path to the pdi file | ||
50 | [-l <config_file>] write local.conf changes to this file | ||
51 | [-P <petalinux_schema>] Path to petalinux schema file | ||
52 | |||
53 | EOF | ||
54 | exit | ||
55 | } | ||
56 | |||
57 | parse_args() { | ||
58 | [ $# -eq 0 ] && usage | ||
59 | [ $1 = "--help" ] && usage | ||
60 | |||
61 | while getopts ":c:s:d:o:e:m:D:l:hP:p:i:t:v:r:O:" opt; do | ||
62 | case ${opt} in | ||
63 | c) config_dir=$OPTARG ;; | ||
64 | s) system_dts=$OPTARG ;; | ||
65 | o) overlay_dts=$OPTARG ;; | ||
66 | d) domain_file=$OPTARG ;; | ||
67 | e) external_fpga=$OPTARG ;; | ||
68 | m) mach_conf=$OPTARG ; mach_conf=${mach_conf%%.conf} ;; | ||
69 | D) dts_path=$OPTARG ;; | ||
70 | t) machine=$OPTARG ;; | ||
71 | v) soc_variant=$OPTARG ;; | ||
72 | r) incmachine=$OPTARG ;; | ||
73 | O) overrides=$OPTARG ;; | ||
74 | p) psu_init_path=$OPTARG ;; | ||
75 | i) pdi_path=$OPTARG ;; | ||
76 | l) localconf=$OPTARG ;; | ||
77 | P) petalinux_schema=$OPTARG ;; | ||
78 | h) usage ;; | ||
79 | :) error "Missing argument for -$OPTARG" ;; | ||
80 | \?) error "Invalid option -$OPTARG" ;; | ||
81 | esac | ||
82 | done | ||
83 | |||
84 | [ -z "${config_dir}" ] && error "You must specify the path to the build conf directory with -c" | ||
85 | [ -z "${system_dts}" ] && error "You must specify the path to the system device tree with -s" | ||
86 | [ -f "${config_dir}/local.conf" ] || error "Invalid config dir: ${config_dir}" | ||
87 | [ -f "${system_dts}" ] || error "Unable to find: ${system_dts}" | ||
88 | system_dts=$(realpath ${system_dts}) | ||
89 | if [ -z "$psu_init_path" ]; then | ||
90 | psu_init_path=$(dirname ${system_dts}) | ||
91 | else | ||
92 | psu_init_path=$(realpath ${psu_init_path}) | ||
93 | fi | ||
94 | if [ -z "$pdi_path" ]; then | ||
95 | pdi_path=$(dirname ${system_dts}) | ||
96 | else | ||
97 | pdi_path=$(realpath ${pdi_path}) | ||
98 | fi | ||
99 | if [ -n "$domain_file" ]; then | ||
100 | domain_file=$(realpath ${domain_file}) | ||
101 | fi | ||
102 | |||
103 | } | ||
104 | |||
105 | detect_machine() { | ||
106 | if [ -z "${machine}" ]; then | ||
107 | if [ -n "${deviceid}" ]; then | ||
108 | case ${deviceid} in | ||
109 | # ZynqMP variants | ||
110 | xczu*cg) | ||
111 | machine="zynqmp" | ||
112 | soc_variant="cg" ;; | ||
113 | xczu*dr) | ||
114 | machine="zynqmp" | ||
115 | soc_variant="dr" ;; | ||
116 | xczu*eg) | ||
117 | machine="zynqmp" | ||
118 | soc_variant="eg" ;; | ||
119 | xczu*ev) | ||
120 | machine="zynqmp" | ||
121 | soc_variant="ev" ;; | ||
122 | # Versal variants | ||
123 | xcvm*) | ||
124 | machine="versal" | ||
125 | soc_variant="prime" ;; | ||
126 | xcvc*) | ||
127 | machine="versal" | ||
128 | soc_variant="ai-core" ;; | ||
129 | xcve*) | ||
130 | machine="versal" | ||
131 | soc_variant="ai-edge" ;; | ||
132 | xcvn*) | ||
133 | machine="versal" | ||
134 | soc_variant="net" ;; | ||
135 | xcvp*) | ||
136 | machine="versal" | ||
137 | soc_variant="premium" ;; | ||
138 | xcvh*) | ||
139 | machine="versal" | ||
140 | soc_variant="hbm" ;; | ||
141 | # Special Case Starter Kit SOMs | ||
142 | xck26) | ||
143 | if [ -z "${incmachine}" ]; then | ||
144 | incmachine="k26-smk.conf" | ||
145 | fi | ||
146 | machine="zynqmp" | ||
147 | soc_variant="ev" ;; | ||
148 | xck24) | ||
149 | if [ -z "${incmachine}" ]; then | ||
150 | incmachine="k24-smk.conf" | ||
151 | fi | ||
152 | machine="zynqmp" | ||
153 | soc_variant="eg" ;; | ||
154 | esac | ||
155 | else | ||
156 | # Identify the system type first using PSM/PMC/PMU | ||
157 | while read -r cpu core domain cpu_name os_hint; do | ||
158 | case ${cpu} in | ||
159 | pmu-microblaze) | ||
160 | machine="zynqmp" ;; | ||
161 | pmc-microblaze | psm-microblaze) | ||
162 | machine="versal" ;; | ||
163 | esac | ||
164 | done <${cpulist} | ||
165 | fi | ||
166 | fi | ||
167 | |||
168 | # Machine not provided and we cannot identify.. | ||
169 | [ -z ${machine} ] && \ | ||
170 | error "Unable to autodetect machine type, use -t to specify the machine." | ||
171 | |||
172 | case ${machine} in | ||
173 | zynqmp | versal) : ;; | ||
174 | *) error "Invalid machine type ${machine}; please choose zynqmp or versal" | ||
175 | esac | ||
176 | |||
177 | [ -z ${soc_variant} ] && \ | ||
178 | warn "Unable to autodetect soc variant, use -v to specify a variant." | ||
179 | } | ||
180 | |||
181 | dump_cpus() { | ||
182 | prefix="$1" | ||
183 | while read -r cpu core domain cpu_name os_hint; do | ||
184 | case ${cpu} in | ||
185 | \#*) ;; | ||
186 | \[*) ;; | ||
187 | pmu-microblaze) echo "${prefix}zynqmp-pmu ${cpu_name}" ;; | ||
188 | pmc-microblaze) echo "${prefix}versal-plm ${cpu_name}" ;; | ||
189 | psm-microblaze) echo "${prefix}versal-psm ${cpu_name}" ;; | ||
190 | xlnx,microblaze) echo "${prefix}microblaze ${core} ${cpu_name}";; | ||
191 | arm,*) echo "${prefix}${cpu/,/ } ${core} ${cpu_name}";; | ||
192 | *) echo "${prefix}${cpu} ${core} ${cpu_name}";; | ||
193 | esac | ||
194 | done <${cpulist} | ||
195 | } | ||
196 | |||
197 | cortex_a53_linux() { | ||
198 | info "cortex-a53 for Linux [ $1 ]" | ||
199 | |||
200 | if [ "$1" = "None" ]; then | ||
201 | dts_file="cortexa53-${machine}-linux.dts" | ||
202 | system_conf=${dts_file} | ||
203 | conf_file="" | ||
204 | else | ||
205 | mc_name=cortexa53-${machine}-$1-linux | ||
206 | dts_file="${mc_name}.dts" | ||
207 | multiconf="${multiconf} ${mc_name}" | ||
208 | conf_file=multiconfig/${mc_name}.conf | ||
209 | fi | ||
210 | |||
211 | # Check if it is overlay dts otherwise just create linux dts | ||
212 | ( | ||
213 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
214 | if [ "${overlay_dts}" = "true" ]; then | ||
215 | if [ "${external_fpga}" = "true" ]; then | ||
216 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- xlnx_overlay_dt ${machine} full \ | ||
217 | || error "lopper failed" | ||
218 | else | ||
219 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- xlnx_overlay_dt ${machine} partial \ | ||
220 | || error "lopper failed" | ||
221 | fi | ||
222 | dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed" | ||
223 | elif [ -n "${domain_file}" ]; then | ||
224 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
225 | -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \ | ||
226 | -i "${lops_dir}/lop-domain-linux-a53.dts" \ | ||
227 | -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \ | ||
228 | "${system_dts}" "${dts_file}" \ | ||
229 | || error "lopper failed" | ||
230 | else | ||
231 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ | ||
232 | -i "${lops_dir}/lop-domain-linux-a53.dts" \ | ||
233 | -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \ | ||
234 | "${system_dts}" "${dts_file}" \ | ||
235 | || error "lopper failed" | ||
236 | fi | ||
237 | rm -f pl.dtsi lop-a53-imux.dts.dtb lop-domain-linux-a53.dts.dtb lop-domain-linux-a53-prune.dts.dtb | ||
238 | ) | ||
239 | |||
240 | if [ -z "${conf_file}" ]; then | ||
241 | return $? | ||
242 | fi | ||
243 | |||
244 | ## Generate a multiconfig | ||
245 | cat <<EOF >"${conf_file}" | ||
246 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
247 | |||
248 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
249 | EOF | ||
250 | } | ||
251 | |||
252 | a53_fsbl_done=0 | ||
253 | cortex_a53_baremetal() { | ||
254 | if [ "$1" = "fsbl" ]; then | ||
255 | [ ${a53_fsbl_done} = 1 ] && return | ||
256 | info "cortex-a53 FSBL baremetal configuration" | ||
257 | else | ||
258 | info "cortex-a53 baremetal configuration for core $2 [ $1 ]" | ||
259 | fi | ||
260 | |||
261 | suffix=""; lto="-nolto" | ||
262 | if [ "$1" != "None" ]; then | ||
263 | suffix="-$1"; lto="" | ||
264 | fi | ||
265 | |||
266 | mc_name="cortexa53-$2-${machine}${suffix}-baremetal" | ||
267 | dts_file="${mc_name}.dts" | ||
268 | multiconf="${multiconf} ${mc_name}" | ||
269 | conf_file="multiconfig/${mc_name}.conf" | ||
270 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
271 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
272 | yocto_distro="xilinx-standalone${lto}" | ||
273 | if [ "$1" = "fsbl" ]; then | ||
274 | fsbl_mcdepends="mc::${mc_name}:fsbl-firmware:do_deploy" | ||
275 | fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}" | ||
276 | multiconf_min="${multiconf_min} ${mc_name}" | ||
277 | a53_fsbl_done=1 | ||
278 | fi | ||
279 | |||
280 | # Build device tree | ||
281 | ( | ||
282 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
283 | if [ -n "${domain_file}" ]; then | ||
284 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
285 | -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dts}" "${dts_file}" \ | ||
286 | || error "lopper failed" | ||
287 | else | ||
288 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ | ||
289 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
290 | fi | ||
291 | rm -f lop-a53-imux.dts.dtb | ||
292 | ) | ||
293 | |||
294 | # Build baremetal multiconfig | ||
295 | if [ -n "${domain_file}" ]; then | ||
296 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
297 | -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
298 | || error "lopper failed" | ||
299 | else | ||
300 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
301 | || error "lopper failed" | ||
302 | fi | ||
303 | |||
304 | mv libxil.conf "${libxil}" | ||
305 | mv distro.conf "${features}" | ||
306 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
307 | |||
308 | if [ "$1" = "fsbl" ]; then | ||
309 | if [ ! -e "${psu_init_path}/psu_init.c" ]; then | ||
310 | warn "Warning: Unable to find psu_init.c in ${psu_init_path}" | ||
311 | fi | ||
312 | if [ ! -e "${psu_init_path}/psu_init.h" ]; then | ||
313 | warn "Warning: Unable to find psu_init.h in ${psu_init_path}" | ||
314 | fi | ||
315 | |||
316 | cat <<EOF >"${conf_file}" | ||
317 | PSU_INIT_PATH = "${psu_init_path}" | ||
318 | EOF | ||
319 | else | ||
320 | cat /dev/null >"${conf_file}" | ||
321 | fi | ||
322 | cat <<EOF >>"${conf_file}" | ||
323 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
324 | |||
325 | ESW_MACHINE = "$3" | ||
326 | DEFAULTTUNE = "cortexa53" | ||
327 | |||
328 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
329 | |||
330 | DISTRO = "${yocto_distro}" | ||
331 | EOF | ||
332 | } | ||
333 | |||
334 | cortex_a53_freertos() { | ||
335 | info "cortex-a53 FreeRTOS configuration for core $2 [ $1 ]" | ||
336 | |||
337 | suffix="" | ||
338 | [ "$1" != "None" ] && suffix="-$1" | ||
339 | |||
340 | mc_name="cortexa53-$2-${machine}${suffix}-freertos" | ||
341 | dts_file="${mc_name}.dts" | ||
342 | multiconf="${multiconf} ${mc_name}" | ||
343 | conf_file="multiconfig/${mc_name}.conf" | ||
344 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
345 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
346 | |||
347 | # Build device tree | ||
348 | ( | ||
349 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
350 | if [ -n "${domain_file}" ]; then | ||
351 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
352 | -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dts}" "${dts_file}" \ | ||
353 | || error "lopper failed" | ||
354 | else | ||
355 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ | ||
356 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
357 | fi | ||
358 | rm -f lop-a53-imux.dts.dtb | ||
359 | ) | ||
360 | |||
361 | # Build baremetal multiconfig | ||
362 | if [ -n "${domain_file}" ]; then | ||
363 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
364 | -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed" | ||
365 | else | ||
366 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
367 | || error "lopper failed" | ||
368 | fi | ||
369 | |||
370 | mv libxil.conf "${libxil}" | ||
371 | mv distro.conf "${features}" | ||
372 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
373 | |||
374 | cat <<EOF >"${conf_file}" | ||
375 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
376 | |||
377 | ESW_MACHINE = "$3" | ||
378 | DEFAULTTUNE = "cortexa53" | ||
379 | |||
380 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
381 | |||
382 | DISTRO = "xilinx-freertos" | ||
383 | EOF | ||
384 | } | ||
385 | |||
386 | cortex_a72_linux() { | ||
387 | info "cortex-a72 for Linux [ $1 ]" | ||
388 | |||
389 | # Find the first file ending in .pdi | ||
390 | full_pdi_path=$(ls ${pdi_path}/*.pdi 2>/dev/null | head -n 1) | ||
391 | if [ -z "${full_pdi_path}" ]; then | ||
392 | error "Unable to find a pdi file in ${pdi_path}, use the -i option to point to the directory containing a .pdi file" | ||
393 | full_pdi_path="__PATH TO PDI FILE HERE__" | ||
394 | elif [ "${full_pdi_path}" != "$(ls ${pdi_path}/*.pdi 2>/dev/null)" ]; then | ||
395 | warn "Warning: multiple PDI files found, using first found $(basename ${full_pdi_path})." | ||
396 | fi | ||
397 | |||
398 | if [ "$1" = "None" ]; then | ||
399 | dts_file="cortexa72-${machine}-linux.dts" | ||
400 | system_conf=${dts_file} | ||
401 | conf_file="" | ||
402 | else | ||
403 | mc_name="cortexa72-${machine}-$1-linux" | ||
404 | dts_file="${mc_name}.dts" | ||
405 | multiconf="${multiconf} ${mc_name}" | ||
406 | conf_file=multiconfig/${mc_name}.conf | ||
407 | fi | ||
408 | |||
409 | ( | ||
410 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
411 | # Check if it is overlay dts otherwise just create linux dts | ||
412 | if [ "${overlay_dts}" = "true" ]; then | ||
413 | # As there is no partial support on Versal, As per fpga manager implementation there is | ||
414 | # a flag "external_fpga" which says apply overlay without loading the bit file. | ||
415 | if [ "${external_fpga}" = "true" ]; then | ||
416 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- xlnx_overlay_dt \ | ||
417 | ${machine} full external_fpga || error "lopper failed" | ||
418 | else | ||
419 | # If there is no external_fpga flag, then the default is full | ||
420 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- xlnx_overlay_dt \ | ||
421 | ${machine} full || error "lopper failed" | ||
422 | fi | ||
423 | dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed" | ||
424 | elif [ -n "${domain_file}" ]; then | ||
425 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
426 | -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" \ | ||
427 | -i "${lops_dir}/lop-domain-a72.dts" \ | ||
428 | -i "${lops_dir}/lop-domain-a72-prune.dts" \ | ||
429 | "${system_dts}" "${dts_file}" \ | ||
430 | || error "lopper failed" | ||
431 | else | ||
432 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ | ||
433 | -i "${lops_dir}/lop-domain-a72.dts" \ | ||
434 | -i "${lops_dir}/lop-domain-a72-prune.dts" \ | ||
435 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
436 | fi | ||
437 | rm -f pl.dtsi lop-a72-imux.dts.dtb lop-domain-a72.dts.dtb lop-domain-a72-prune.dts.dtb | ||
438 | ) | ||
439 | |||
440 | if [ -z "${conf_file}" ]; then | ||
441 | return $? | ||
442 | fi | ||
443 | |||
444 | ## Generate a multiconfig | ||
445 | cat <<EOF >"${conf_file}" | ||
446 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
447 | |||
448 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
449 | EOF | ||
450 | } | ||
451 | |||
452 | cortex_a72_baremetal() { | ||
453 | info "cortex-a72 baremetal configuration for core $2 [ $1 ]" | ||
454 | |||
455 | suffix="" | ||
456 | [ "$1" != "None" ] && suffix="-$1" | ||
457 | |||
458 | mc_name="cortexa72-$2-${machine}${suffix}-baremetal" | ||
459 | dts_file="${mc_name}.dts" | ||
460 | multiconf="${multiconf} ${mc_name}" | ||
461 | conf_file="multiconfig/${mc_name}.conf" | ||
462 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
463 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
464 | |||
465 | # Build device tree | ||
466 | ( | ||
467 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
468 | if [ -n "${domain_file}" ]; then | ||
469 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
470 | -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dts}" "${dts_file}" \ | ||
471 | || error "lopper failed" | ||
472 | else | ||
473 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ | ||
474 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
475 | fi | ||
476 | rm -f lop-a72-imux.dts.dtb | ||
477 | ) | ||
478 | |||
479 | # Build baremetal multiconfig | ||
480 | if [ -n "${domain_file}" ]; then | ||
481 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
482 | -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed" | ||
483 | else | ||
484 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
485 | || error "lopper failed" | ||
486 | fi | ||
487 | |||
488 | mv libxil.conf "${libxil}" | ||
489 | mv distro.conf "${features}" | ||
490 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
491 | |||
492 | cat <<EOF >"${conf_file}" | ||
493 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
494 | |||
495 | ESW_MACHINE = "$3" | ||
496 | DEFAULTTUNE = "cortexa72" | ||
497 | |||
498 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
499 | |||
500 | DISTRO = "xilinx-standalone-nolto" | ||
501 | EOF | ||
502 | } | ||
503 | |||
504 | cortex_a72_freertos() { | ||
505 | info "cortex-a72 FreeRTOS configuration for core $2 [ $1 ]" | ||
506 | |||
507 | suffix="" | ||
508 | [ "$1" != "None" ] && suffix="-$1" | ||
509 | |||
510 | mc_name="cortexa72-$2-${machine}${suffix}-freertos" | ||
511 | dts_file="${mc_name}.dts" | ||
512 | multiconf="${multiconf} ${mc_name}" | ||
513 | conf_file="multiconfig/${mc_name}.conf" | ||
514 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
515 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
516 | |||
517 | # Build device tree | ||
518 | ( | ||
519 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
520 | if [ -n "${domain_file}" ]; then | ||
521 | LOPPER_DTC_FLAGS="-b 0 -@" lopper -f --enhanced -x '*.yaml' \ | ||
522 | -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dts}" "${dts_file}" \ | ||
523 | || error "lopper failed" | ||
524 | else | ||
525 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ | ||
526 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
527 | fi | ||
528 | rm -f lop-a72-imux.dts.dtb | ||
529 | ) | ||
530 | |||
531 | # Build baremetal multiconfig | ||
532 | if [ -n "${domain_file}" ]; then | ||
533 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
534 | -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed" | ||
535 | else | ||
536 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
537 | || error "lopper failed" | ||
538 | fi | ||
539 | |||
540 | mv libxil.conf "${libxil}" | ||
541 | mv distro.conf "${features}" | ||
542 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
543 | |||
544 | cat <<EOF >"${conf_file}" | ||
545 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
546 | |||
547 | ESW_MACHINE = "$3" | ||
548 | DEFAULTTUNE = "cortexa72" | ||
549 | |||
550 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
551 | |||
552 | DISTRO = "xilinx-freertos" | ||
553 | EOF | ||
554 | } | ||
555 | |||
556 | r5_fsbl_done=0 | ||
557 | cortex_r5_baremetal() { | ||
558 | if [ "$1" = "fsbl" ]; then | ||
559 | [ ${r5_fsbl_done} = 1 ] && return | ||
560 | info "cortex-r5 FSBL baremetal configuration" | ||
561 | else | ||
562 | info "cortex-r5 baremetal configuration for core $2 [ $1 ]" | ||
563 | fi | ||
564 | |||
565 | suffix=""; lto="-nolto" | ||
566 | if [ "$1" != "None" ]; then | ||
567 | suffix="-$1"; lto="" | ||
568 | fi | ||
569 | |||
570 | mc_name="cortexr5-$2-${machine}${suffix}-baremetal" | ||
571 | dts_file="${mc_name}.dts" | ||
572 | multiconf="${multiconf} ${mc_name}" | ||
573 | conf_file="multiconfig/${mc_name}.conf" | ||
574 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
575 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
576 | yocto_distro="xilinx-standalone${lto}" | ||
577 | |||
578 | if [ "$1" = "fsbl" ]; then | ||
579 | r5fsbl_mcdepends="mc::${mc_name}:fsbl-firmware:do_deploy" | ||
580 | r5fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}" | ||
581 | r5_fsbl_done=1 | ||
582 | fi | ||
583 | |||
584 | # Build device tree | ||
585 | ( | ||
586 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
587 | if [ -n "$domain_file" ]; then | ||
588 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
589 | -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dts}" "${dts_file}" \ | ||
590 | || error "lopper failed" | ||
591 | else | ||
592 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \ | ||
593 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
594 | fi | ||
595 | rm -f lop-r5-imux.dts.dtb | ||
596 | ) | ||
597 | |||
598 | # Build baremetal multiconfig | ||
599 | if [ -n "${domain_file}" ]; then | ||
600 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
601 | -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed" | ||
602 | else | ||
603 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
604 | || error "lopper failed" | ||
605 | fi | ||
606 | |||
607 | mv libxil.conf "${libxil}" | ||
608 | mv distro.conf "${features}" | ||
609 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
610 | |||
611 | if [ "$1" = "fsbl" ]; then | ||
612 | if [ ! -e "${psu_init_path}/psu_init.c" ]; then | ||
613 | warn "Warning: Unable to find psu_init.c in ${psu_init_path}" | ||
614 | fi | ||
615 | if [ ! -e "${psu_init_path}/psu_init.h" ]; then | ||
616 | warn "Warning: Unable to find psu_init.h in ${psu_init_path}" | ||
617 | fi | ||
618 | |||
619 | cat <<EOF >"${conf_file}" | ||
620 | PSU_INIT_PATH = "${psu_init_path}" | ||
621 | EOF | ||
622 | else | ||
623 | cat /dev/null >"${conf_file}" | ||
624 | fi | ||
625 | cat <<EOF >>"${conf_file}" | ||
626 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
627 | |||
628 | ESW_MACHINE = "$3" | ||
629 | DEFAULTTUNE = "cortexr5" | ||
630 | |||
631 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
632 | |||
633 | DISTRO = "$yocto_distro" | ||
634 | EOF | ||
635 | } | ||
636 | |||
637 | cortex_r5_freertos() { | ||
638 | info "cortex-r5 FreeRTOS configuration for core $2 [ $1 ]" | ||
639 | |||
640 | suffix="" | ||
641 | [ "$1" != "None" ] && suffix="-$1" | ||
642 | |||
643 | mc_name="cortexr5-$2-${machine}${suffix}-freertos" | ||
644 | dts_file="${mc_name}.dts" | ||
645 | multiconf="${multiconf} ${mc_name}" | ||
646 | conf_file="multiconfig/${mc_name}.conf" | ||
647 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
648 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
649 | |||
650 | # Build device tree | ||
651 | ( | ||
652 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
653 | if [ -n "$domain_file" ]; then | ||
654 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ | ||
655 | -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dts}" "${dts_file}" \ | ||
656 | || error "lopper failed" | ||
657 | else | ||
658 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \ | ||
659 | "${system_dts}" "${dts_file}" || error "lopper failed" | ||
660 | fi | ||
661 | rm -f lop-r5-imux.dts.dtb | ||
662 | ) | ||
663 | |||
664 | # Build baremetal multiconfig | ||
665 | if [ -n "${domain_file}" ]; then | ||
666 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
667 | -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed" | ||
668 | else | ||
669 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \ | ||
670 | || error "lopper failed" | ||
671 | fi | ||
672 | |||
673 | mv libxil.conf "${libxil}" | ||
674 | mv distro.conf "${features}" | ||
675 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
676 | |||
677 | cat <<EOF >"${conf_file}" | ||
678 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
679 | |||
680 | ESW_MACHINE = "$3" | ||
681 | DEFAULTTUNE = "cortexr5" | ||
682 | |||
683 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
684 | |||
685 | DISTRO = "xilinx-freertos" | ||
686 | EOF | ||
687 | } | ||
688 | |||
689 | # Generate microblaze tunings | ||
690 | microblaze_done=0 | ||
691 | process_microblaze() { | ||
692 | [ ${microblaze_done} = 1 ] && return | ||
693 | |||
694 | info "Generating microblaze processor tunes" | ||
695 | |||
696 | mkdir -p machine/include/${mach_conf} | ||
697 | ( | ||
698 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
699 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-microblaze-yocto.dts" "${system_dts}" \ | ||
700 | || error "lopper failed" | ||
701 | rm -f lop-microblaze-yocto.dts.dtb | ||
702 | ) >machine/include/${mach_conf}/microblaze.inc | ||
703 | |||
704 | echo "require conf/machine/include/xilinx-microblaze.inc" >> machine/include/${mach_conf}/microblaze.inc | ||
705 | |||
706 | microblaze_done=1 | ||
707 | } | ||
708 | |||
709 | # pmu-microblaze is ALWAYS baremetal, no domain | ||
710 | pmu-microblaze() { | ||
711 | info "Microblaze ZynqMP PMU" | ||
712 | |||
713 | process_microblaze | ||
714 | |||
715 | mc_name="microblaze-0-pmu" | ||
716 | dts_file="${mc_name}.dts" | ||
717 | multiconf="${multiconf} ${mc_name}" | ||
718 | multiconf_min="${multiconf_min} ${mc_name}" | ||
719 | conf_file="multiconfig/${mc_name}.conf" | ||
720 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
721 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
722 | |||
723 | pmu_mcdepends="mc::${mc_name}:pmu-firmware:do_deploy" | ||
724 | pmu_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}" | ||
725 | |||
726 | # Build device tree | ||
727 | ( | ||
728 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
729 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" "${dts_file}" || error "lopper failed" | ||
730 | ) | ||
731 | |||
732 | # Build baremetal multiconfig | ||
733 | if [ -n "${domain_file}" ]; then | ||
734 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
735 | -- baremetaldrvlist_xlnx $1 "${embeddedsw}" || error "lopper failed" | ||
736 | else | ||
737 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $1 "${embeddedsw}" \ | ||
738 | || error "lopper failed" | ||
739 | fi | ||
740 | |||
741 | mv libxil.conf "${libxil}" | ||
742 | mv distro.conf "${features}" | ||
743 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
744 | |||
745 | cat <<EOF >"${conf_file}" | ||
746 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
747 | |||
748 | ESW_MACHINE = "$1" | ||
749 | |||
750 | DEFAULTTUNE = "microblaze-pmu" | ||
751 | |||
752 | TARGET_CFLAGS += "-DPSU_PMU=1U" | ||
753 | |||
754 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
755 | |||
756 | DISTRO = "xilinx-standalone" | ||
757 | EOF | ||
758 | } | ||
759 | |||
760 | # pmc-microblaze is ALWAYS baremetal, no domain | ||
761 | pmc-microblaze() { | ||
762 | info "Microblaze Versal PMC" | ||
763 | |||
764 | process_microblaze | ||
765 | |||
766 | mc_name="microblaze-0-pmc" | ||
767 | dts_file="${mc_name}.dts" | ||
768 | multiconf="${multiconf} ${mc_name}" | ||
769 | multiconf_min="${multiconf_min} ${mc_name}" | ||
770 | conf_file="multiconfig/${mc_name}.conf" | ||
771 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
772 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
773 | |||
774 | plm_mcdepends="mc::${mc_name}:plm-firmware:do_deploy" | ||
775 | plm_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}" | ||
776 | |||
777 | # Build device tree | ||
778 | ( | ||
779 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
780 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" "${dts_file}" || error "lopper failed" | ||
781 | ) | ||
782 | |||
783 | # Build baremetal multiconfig | ||
784 | if [ -n "${domain_file}" ]; then | ||
785 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
786 | -- baremetaldrvlist_xlnx $1 "${embeddedsw}" || error "lopper failed" | ||
787 | else | ||
788 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $1 "${embeddedsw}" \ | ||
789 | || error "lopper failed" | ||
790 | fi | ||
791 | |||
792 | mv libxil.conf "${libxil}" | ||
793 | mv distro.conf "${features}" | ||
794 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
795 | |||
796 | cat <<EOF >"${conf_file}" | ||
797 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
798 | |||
799 | ESW_MACHINE = "$1" | ||
800 | |||
801 | DEFAULTTUNE = "microblaze-pmc" | ||
802 | |||
803 | TARGET_CFLAGS += "-DVERSAL_PLM=1" | ||
804 | |||
805 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
806 | |||
807 | DISTRO = "xilinx-standalone" | ||
808 | EOF | ||
809 | } | ||
810 | |||
811 | # psm-microblaze is ALWAYS baremetal, no domain | ||
812 | psm-microblaze() { | ||
813 | info "Microblaze Versal PSM" | ||
814 | |||
815 | process_microblaze | ||
816 | |||
817 | mc_name="microblaze-0-psm" | ||
818 | dts_file="${mc_name}.dts" | ||
819 | multiconf="${multiconf} ${mc_name}" | ||
820 | multiconf_min="${multiconf_min} ${mc_name}" | ||
821 | conf_file="multiconfig/${mc_name}.conf" | ||
822 | libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf" | ||
823 | features="machine/include/${mach_conf}/${mc_name}-features.conf" | ||
824 | |||
825 | psm_mcdepends="mc::${mc_name}:psm-firmware:do_deploy" | ||
826 | psm_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}" | ||
827 | |||
828 | # Build device tree | ||
829 | ( | ||
830 | cd ${dts_path} || error "Unable to cd to ${dts_path} dir" | ||
831 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" "${dts_file}" || error "lopper failed" | ||
832 | ) | ||
833 | |||
834 | # Build baremetal multiconfig | ||
835 | if [ -n "${domain_file}" ]; then | ||
836 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \ | ||
837 | -- baremetaldrvlist_xlnx $1 "${embeddedsw}" || error "lopper failed" | ||
838 | else | ||
839 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $1 "${embeddedsw}" \ | ||
840 | || error "lopper failed" | ||
841 | fi | ||
842 | |||
843 | mv libxil.conf "${libxil}" | ||
844 | mv distro.conf "${features}" | ||
845 | sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES," | ||
846 | |||
847 | cat <<EOF >"${conf_file}" | ||
848 | CONFIG_DTFILE = "${dts_file_path}/${dts_file}" | ||
849 | |||
850 | ESW_MACHINE = "$1" | ||
851 | |||
852 | DEFAULTTUNE = "microblaze-psm" | ||
853 | |||
854 | TARGET_CFLAGS += "-DVERSAL_psm=1" | ||
855 | |||
856 | TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}" | ||
857 | |||
858 | DISTRO = "xilinx-standalone" | ||
859 | EOF | ||
860 | } | ||
861 | |||
862 | generate_machine() { | ||
863 | info "Generating machine conf file" | ||
864 | conf_file="machine/${mach_conf}.conf" | ||
865 | |||
866 | # Machine include file | ||
867 | if [ -z ${incmachine} ]; then | ||
868 | if [ -n ${soc_variant} ]; then | ||
869 | incmachine="${machine}-${soc_variant}-generic.conf" | ||
870 | else | ||
871 | incmachine="${machine}-generic.conf" | ||
872 | fi | ||
873 | fi | ||
874 | |||
875 | mkdir -p machine | ||
876 | # Generate header | ||
877 | cat <<EOF >"${conf_file}" | ||
878 | #@TYPE: Machine | ||
879 | #@NAME: ${mach_conf} | ||
880 | #@DESCRIPTION: ${model} | ||
881 | |||
882 | #### Preamble | ||
883 | MACHINEOVERRIDES =. "\${@['', '${mach_conf}:']['${mach_conf}' != '\${MACHINE}']}" | ||
884 | #### Regular settings follow | ||
885 | |||
886 | EOF | ||
887 | |||
888 | if [ -n "${overrides}" ]; then | ||
889 | cat <<EOF >>"${conf_file}" | ||
890 | MACHINEOVERRIDES .= ":${overrides}" | ||
891 | |||
892 | EOF | ||
893 | fi | ||
894 | |||
895 | if [ "${machine}" == "zynqmp" ]; then | ||
896 | cat <<EOF >>"${conf_file}" | ||
897 | TUNEFILE[microblaze-pmu] = "conf/machine/include/${mach_conf}/microblaze.inc" | ||
898 | EOF | ||
899 | elif [ "${machine}" == "versal" ]; then | ||
900 | cat <<EOF >>"${conf_file}" | ||
901 | TUNEFILE[microblaze-pmc] = "conf/machine/include/${mach_conf}/microblaze.inc" | ||
902 | TUNEFILE[microblaze-psm] = "conf/machine/include/${mach_conf}/microblaze.inc" | ||
903 | EOF | ||
904 | fi | ||
905 | |||
906 | sysdt_path=$(dirname ${system_dts}) | ||
907 | sysdt_base=$(basename ${system_dts}) | ||
908 | cat <<EOF >>"${conf_file}" | ||
909 | |||
910 | # Set the default (linux) domain device tree | ||
911 | CONFIG_DTFILE ?= "${dts_file_path}/${system_conf}" | ||
912 | CONFIG_DTFILE[vardepsexclude] += "TOPDIR" | ||
913 | |||
914 | require conf/machine/${incmachine} | ||
915 | |||
916 | # System Device Tree does not use HDF_MACHINE | ||
917 | HDF_MACHINE = "" | ||
918 | |||
919 | # Set the system device trees | ||
920 | SYSTEM_DTFILE_DIR = "${sysdt_path}" | ||
921 | SYSTEM_DTFILE = "\${SYSTEM_DTFILE_DIR}/${sysdt_base}" | ||
922 | SYSTEM_DTFILE[vardepsexclude] += "SYSTEM_DTFILE_DIR" | ||
923 | |||
924 | # Load the dynamic machine features | ||
925 | include conf/machine/include/${mach_conf}/\${BB_CURRENT_MC}-features.conf | ||
926 | LIBXIL_CONFIG = "conf/machine/include/${mach_conf}/\${BB_CURRENT_MC}-libxil.conf" | ||
927 | |||
928 | EOF | ||
929 | |||
930 | if [ -n "${fsbl_mcdepends}" ]; then | ||
931 | cat <<EOF >>"${conf_file}" | ||
932 | # First Stage Boot Loader | ||
933 | FSBL_DEPENDS = "" | ||
934 | FSBL_MCDEPENDS = "${fsbl_mcdepends}" | ||
935 | FSBL_DEPLOY_DIR = "${fsbl_deploy_dir}" | ||
936 | |||
937 | EOF | ||
938 | fi | ||
939 | if [ -n "${r5fsbl_mcdepends}" ]; then | ||
940 | cat <<EOF >>"${conf_file}" | ||
941 | # Cortex-R5 First Stage Boot Loader | ||
942 | R5FSBL_DEPENDS = "" | ||
943 | R5FSBL_MCDEPENDS = "${r5fsbl_mcdepends}" | ||
944 | R5FSBL_DEPLOY_DIR = "${r5fsbl_deploy_dir}" | ||
945 | |||
946 | EOF | ||
947 | fi | ||
948 | if [ -n "${pmu_mcdepends}" ]; then | ||
949 | cat <<EOF >>"${conf_file}" | ||
950 | # PMU Firware | ||
951 | PMU_DEPENDS = "" | ||
952 | PMU_MCDEPENDS = "${pmu_mcdepends}" | ||
953 | PMU_FIRMWARE_DEPLOY_DIR = "${pmu_firmware_deploy_dir}" | ||
954 | |||
955 | EOF | ||
956 | fi | ||
957 | if [ -n "${plm_mcdepends}" ]; then | ||
958 | cat <<EOF >>"${conf_file}" | ||
959 | # Platform Loader and Manager | ||
960 | PLM_DEPENDS = "" | ||
961 | PLM_MCDEPENDS = "${plm_mcdepends}" | ||
962 | PLM_DEPLOY_DIR = "${plm_deploy_dir}" | ||
963 | |||
964 | EOF | ||
965 | fi | ||
966 | if [ -n "${psm_mcdepends}" ]; then | ||
967 | cat <<EOF >>"${conf_file}" | ||
968 | # PSM Firmware | ||
969 | PSM_DEPENDS = "" | ||
970 | PSM_MCDEPENDS = "${psm_mcdepends}" | ||
971 | PSM_FIRMWARE_DEPLOY_DIR = "${psm_firmware_deploy_dir}" | ||
972 | |||
973 | EOF | ||
974 | fi | ||
975 | |||
976 | if [ -n "${full_pdi_path}" ]; then | ||
977 | pdi_path_dir=$(dirname ${full_pdi_path}) | ||
978 | pdi_path_base=$(basename ${full_pdi_path}) | ||
979 | cat <<EOF >>"${conf_file}" | ||
980 | # Versal PDI | ||
981 | PDI_PATH_DIR = "${pdi_path_dir}" | ||
982 | PDI_PATH = "\${PDI_PATH_DIR}/${pdi_path_base}" | ||
983 | PDI_PATH[vardepsexclude] += "PDI_PATH_DIR" | ||
984 | |||
985 | EOF | ||
986 | fi | ||
987 | |||
988 | cat <<EOF >>"${conf_file}" | ||
989 | # Enable the correct version of the firmware components | ||
990 | PREFERRED_VERSION_fsbl-firmware = "2023_sdt_experimental%" | ||
991 | PREFERRED_VERSION_pmu-firmware = "2023_sdt_experimental%" | ||
992 | PREFERRED_VERSION_plm-firmware = "2023_sdt_experimental%" | ||
993 | PREFERRED_VERSION_psm-firmware = "2023_sdt_experimental%" | ||
994 | |||
995 | # Exclude BASE_TMPDIR from hash calculations | ||
996 | BB_HASHEXCLUDE_COMMON:append = " BASE_TMPDIR" | ||
997 | |||
998 | # Update bootbin to use proper device tree | ||
999 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts', '.dtb'))}" | ||
1000 | # Remap boot files to ensure the right device tree is listed first | ||
1001 | IMAGE_BOOT_FILES =+ "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts', '.dtb'))}" | ||
1002 | |||
1003 | #### No additional settings should be after the Postamble | ||
1004 | #### Postamble | ||
1005 | PACKAGE_EXTRA_ARCHS:append = "\${@['', ' ${mach_conf//-/_}']['${mach_conf}' != "\${MACHINE}"]}" | ||
1006 | EOF | ||
1007 | } | ||
1008 | |||
1009 | parse_cpus() { | ||
1010 | gen_linux_dts="None" | ||
1011 | while read -r cpu core domain cpu_name os_hint; do | ||
1012 | # Skip commented lines and WARNINGs | ||
1013 | case ${cpu} in | ||
1014 | \#* | \[WARNING\]:) continue ;; | ||
1015 | esac | ||
1016 | |||
1017 | case ${cpu} in | ||
1018 | |||
1019 | arm,cortex-a53) | ||
1020 | # We need a base cortex_a53_baremetal for the FSBL | ||
1021 | if [ "${core}" == 0 ]; then | ||
1022 | cortex_a53_baremetal fsbl ${core} ${cpu_name} | ||
1023 | fi | ||
1024 | if [ "${os_hint}" == "None" ]; then | ||
1025 | if [ "${gen_linux_dts}" == "None" ]; then | ||
1026 | cortex_a53_linux "${domain}" | ||
1027 | gen_linux_dts="True" | ||
1028 | fi | ||
1029 | cortex_a53_baremetal "${domain}" ${core} ${cpu_name} | ||
1030 | cortex_a53_freertos "${domain}" ${core} ${cpu_name} | ||
1031 | else | ||
1032 | case "${os_hint}" in | ||
1033 | linux*) | ||
1034 | if [ "${gen_linux_dts}" == "None" ]; then | ||
1035 | cortex_a53_linux "${domain}" | ||
1036 | gen_linux_dts="True" | ||
1037 | fi | ||
1038 | ;; | ||
1039 | baremetal*) | ||
1040 | cortex_a53_baremetal "${domain}" ${core} ${cpu_name};; | ||
1041 | freertos*) | ||
1042 | cortex_a53_freertos "${domain}" ${core} ${cpu_name};; | ||
1043 | *) | ||
1044 | warn "cortex-a53 for unknown OS (${os_hint}), parsing baremetal. ${domain}" | ||
1045 | cortex_a53_baremetal "${domain}" | ||
1046 | esac | ||
1047 | fi | ||
1048 | ;; | ||
1049 | |||
1050 | arm,cortex-a72) | ||
1051 | if [ "${os_hint}" == "None" ]; then | ||
1052 | if [ "${gen_linux_dts}" == "None" ]; then | ||
1053 | cortex_a72_linux "${domain}" | ||
1054 | gen_linux_dts="True" | ||
1055 | fi | ||
1056 | cortex_a72_baremetal "${domain}" ${core} ${cpu_name} | ||
1057 | cortex_a72_freertos "${domain}" ${core} ${cpu_name} | ||
1058 | else | ||
1059 | case "${os_hint}" in | ||
1060 | linux*) | ||
1061 | if [ "${gen_linux_dts}" == "None" ]; then | ||
1062 | cortex_a72_linux "${domain}" | ||
1063 | gen_linux_dts="True" | ||
1064 | fi | ||
1065 | ;; | ||
1066 | baremetal*) | ||
1067 | cortex_a72_baremetal "${domain}" ${core} ${cpu_name};; | ||
1068 | freertos*) | ||
1069 | cortex_a72_freertos "${domain}" ${core} ${cpu_name};; | ||
1070 | *) | ||
1071 | warn "cortex-a72 for unknown OS (${os_hint}), parsing baremetal. ${domain}" | ||
1072 | cortex_a72_baremetal "${domain}" | ||
1073 | esac | ||
1074 | fi | ||
1075 | ;; | ||
1076 | arm,cortex-r5) | ||
1077 | if [ "${os_hint}" == "None" ]; then | ||
1078 | # We need a base cortex_r5_baremetal for the FSBL for ZynqMP platform | ||
1079 | [ "${machine}" = "zynqmp" ] && cortex_r5_baremetal fsbl ${core} ${cpu_name} | ||
1080 | cortex_r5_baremetal "${domain}" ${core} ${cpu_name} | ||
1081 | cortex_r5_freertos "${domain}" ${core} ${cpu_name} | ||
1082 | else | ||
1083 | case "${os_hint}" in | ||
1084 | baremetal*) | ||
1085 | cortex_r5_baremetal "${domain}" ${core} ${cpu_name};; | ||
1086 | freertos*) | ||
1087 | cortex_r5_freertos "${domain}" ${core} ${cpu_name};; | ||
1088 | *) | ||
1089 | warn "cortex-r5 for unknown OS (${os_hint}), parsing baremetal. ${domain}" | ||
1090 | cortex_r5_baremetal "${domain}" | ||
1091 | esac | ||
1092 | fi | ||
1093 | ;; | ||
1094 | |||
1095 | xlnx,microblaze) | ||
1096 | process_microblaze | ||
1097 | case "${os_hint}" in | ||
1098 | None | baremetal*) | ||
1099 | warn "Microblaze for Baremetal ${domain} not yet implemented" ;; | ||
1100 | Linux) | ||
1101 | warn "Microblaze for Linux ${domain} not yet implemented" ;; | ||
1102 | *) | ||
1103 | warn "Microblaze for unknown OS (${os_hint}), not yet implemented. ${domain}" ;; | ||
1104 | esac | ||
1105 | ;; | ||
1106 | |||
1107 | pmu-microblaze) | ||
1108 | pmu-microblaze ${cpu_name};; | ||
1109 | |||
1110 | pmc-microblaze) | ||
1111 | pmc-microblaze ${cpu_name};; | ||
1112 | |||
1113 | psm-microblaze) | ||
1114 | psm-microblaze ${cpu_name};; | ||
1115 | *) | ||
1116 | warn "Unknown CPU ${cpu}" | ||
1117 | |||
1118 | esac | ||
1119 | done <${cpulist} | ||
1120 | } | ||
1121 | |||
1122 | gen_local_conf() { | ||
1123 | cat << EOF >> $1 | ||
1124 | |||
1125 | # Avoid errors in some baremetal configs as these layers may be present | ||
1126 | # but are not used. Note the following lines are optional and can be | ||
1127 | # safetly disabled. | ||
1128 | SKIP_META_VIRT_SANITY_CHECK = "1" | ||
1129 | SKIP_META_SECURITY_SANITY_CHECK = "1" | ||
1130 | SKIP_META_TPM_SANITY_CHECK = "1" | ||
1131 | |||
1132 | # Each multiconfig will define it's own TMPDIR, this is the new default based | ||
1133 | # on BASE_TMPDIR for the Linux build | ||
1134 | TMPDIR = "\${BASE_TMPDIR}/tmp" | ||
1135 | |||
1136 | # Use the newly generated MACHINE | ||
1137 | MACHINE = "${mach_conf}" | ||
1138 | |||
1139 | # All of the TMPDIRs must be in a common parent directory. This is defined | ||
1140 | # as BASE_TMPDIR. | ||
1141 | # Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere, such as /tmp | ||
1142 | BASE_TMPDIR ?= "\${TOPDIR}" | ||
1143 | |||
1144 | # The following is the full set of multiconfigs for this configuration | ||
1145 | # A large list can cause a slow parse. | ||
1146 | #BBMULTICONFIG ?= "${multiconf}" | ||
1147 | # Alternatively trim the list to the minimum | ||
1148 | BBMULTICONFIG = "${multiconf_min}" | ||
1149 | EOF | ||
1150 | } | ||
1151 | |||
1152 | gen_petalinux_conf() { | ||
1153 | cd "${config_dir}" || exit | ||
1154 | ( | ||
1155 | if [ "$machine" == "zynqmp" ]; then | ||
1156 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- petalinuxconfig_xlnx psu_cortexa53_0 ${petalinux_schema} \ | ||
1157 | || error "lopper failed" | ||
1158 | else | ||
1159 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- petalinuxconfig_xlnx psv_cortexa72_0 ${petalinux_schema} \ | ||
1160 | || error "lopper failed" | ||
1161 | fi | ||
1162 | ) | ||
1163 | } | ||
1164 | parse_args "$@" | ||
1165 | |||
1166 | lopper=$(command -v lopper) | ||
1167 | lopper_dir=$(dirname "${lopper}") | ||
1168 | lops_dir=$(ls -d $(dirname "${lopper_dir}")/lib/python*/site-packages/lopper/lops | head -n 1) | ||
1169 | embeddedsw=$(dirname "${lopper_dir}")/share/embeddedsw | ||
1170 | system_conf="" | ||
1171 | multiconf="" | ||
1172 | |||
1173 | [ -z "${lopper}" ] && error "Unable to find lopper, please source the prestep environment" | ||
1174 | |||
1175 | cpulist=$(mktemp) | ||
1176 | |||
1177 | priordir=$(pwd) | ||
1178 | cd "${config_dir}" || exit | ||
1179 | mkdir -p dts multiconfig machine/include | ||
1180 | # Get mach_conf name and model name | ||
1181 | ( | ||
1182 | cd dts || error "Unable to cd to dts dir" | ||
1183 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-machine-name.dts" "${system_dts}" \ | ||
1184 | /dev/null > ${cpulist} || error "lopper failed" | ||
1185 | rm -f "lop-machine-name.dts.dtb" | ||
1186 | ) | ||
1187 | read local_mach_conf deviceid model < ${cpulist} | ||
1188 | if [ -z "${mach_conf}" ]; then | ||
1189 | mach_conf=${local_mach_conf} | ||
1190 | fi | ||
1191 | |||
1192 | if [ -z "${dts_path}"]; then | ||
1193 | dts_path=${local_mach_conf} | ||
1194 | fi | ||
1195 | # Is it relative? If so, relative to conf/dts | ||
1196 | if [ "${dts_path##/}" = "${dts_path}" ]; then | ||
1197 | dts_path="dts/${dts_path}" | ||
1198 | else | ||
1199 | dts_path=$(realpath ${dts_path}) | ||
1200 | fi | ||
1201 | # Convert the DTS_PATH into something we can put in a config file | ||
1202 | if [ "${dts_path##/}" = "${dts_path}" ]; then | ||
1203 | dts_file_path="\${TOPDIR}/conf/${dts_path}" | ||
1204 | else | ||
1205 | dts_file_path="${dts_path}" | ||
1206 | fi | ||
1207 | |||
1208 | # Generate CPU list | ||
1209 | ( | ||
1210 | cd dts || error "Unable to cd to dts dir" | ||
1211 | LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-xilinx-id-cpus.dts" "${system_dts}" \ | ||
1212 | /dev/null > ${cpulist} || error "lopper failed" | ||
1213 | rm -f "lop-xilinx-id-cpus.dts.dtb" | ||
1214 | ) | ||
1215 | |||
1216 | detect_machine | ||
1217 | # Now that we know the machine name, we can create the directory | ||
1218 | mkdir -p machine/include/${mach_conf} | ||
1219 | mkdir -p ${dts_path} | ||
1220 | |||
1221 | echo "System Configuration:" | ||
1222 | echo "MODEL = \"${model}\"" | ||
1223 | echo "MACHINE = \"${mach_conf}\"" | ||
1224 | echo "DEVICE_ID = \"${deviceid}\"" | ||
1225 | echo "SOC_FAMILY = \"${machine}\"" | ||
1226 | echo "SOC_VARIANT = \"${soc_variant}\"" | ||
1227 | echo "CPUs:" | ||
1228 | dump_cpus " = " | ||
1229 | echo | ||
1230 | |||
1231 | info "Generating configuration..." | ||
1232 | parse_cpus | ||
1233 | |||
1234 | generate_machine | ||
1235 | |||
1236 | cd ${priordir} | ||
1237 | if [ -z "${localconf}" ]; then | ||
1238 | echo | ||
1239 | echo "To enable this, add the following to your local.conf:" | ||
1240 | echo | ||
1241 | tmpfile=$(mktemp) | ||
1242 | gen_local_conf ${tmpfile} | ||
1243 | cat $tmpfile | ||
1244 | rm $tmpfile | ||
1245 | else | ||
1246 | echo | ||
1247 | echo "Configuration for local.conf written to ${localconf}" | ||
1248 | echo | ||
1249 | gen_local_conf ${localconf} | ||
1250 | fi | ||
1251 | |||
1252 | if [ -n "${petalinux_schema}" ]; then | ||
1253 | echo | ||
1254 | echo "Generating petalinux config file:" | ||
1255 | echo | ||
1256 | gen_petalinux_conf | ||
1257 | fi | ||
1258 | |||
1259 | # Cleanup our temp file | ||
1260 | rm -rf ${cpulist} ${config_dir}/CMakeLists.txt ${config_dir}/DRVLISTConfig.cmake | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb deleted file mode 100644 index dc7d647a..00000000 --- a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb +++ /dev/null | |||
@@ -1,91 +0,0 @@ | |||
1 | DESCRIPTION = "Xilinx Device Tree based configuration generator" | ||
2 | LICENSE = "MIT" | ||
3 | |||
4 | SRC_URI += " \ | ||
5 | file://dt-processor.sh \ | ||
6 | file://README-setup \ | ||
7 | " | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
10 | |||
11 | TOOLCHAIN_TARGET_TASK = "" | ||
12 | |||
13 | TOOLCHAIN_HOST_TASK = "\ | ||
14 | nativesdk-sdk-provides-dummy \ | ||
15 | nativesdk-lopper \ | ||
16 | nativesdk-xilinx-lops \ | ||
17 | nativesdk-esw-conf \ | ||
18 | " | ||
19 | |||
20 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" | ||
21 | PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}" | ||
22 | PACKAGE_ARCHS = "" | ||
23 | TARGET_ARCH = "none" | ||
24 | TARGET_OS = "none" | ||
25 | |||
26 | SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" | ||
27 | |||
28 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_ARCH}-xilinx-nativesdk-prestep-${DISTRO_VERSION}" | ||
29 | |||
30 | SDK_TITLE = "Device Tree setup tools" | ||
31 | |||
32 | RDEPENDS = "${TOOLCHAIN_HOST_TASK}" | ||
33 | |||
34 | EXCLUDE_FROM_WORLD = "1" | ||
35 | |||
36 | inherit populate_sdk | ||
37 | inherit toolchain-scripts-base | ||
38 | inherit nopackages | ||
39 | |||
40 | deltask install | ||
41 | deltask populate_sysroot | ||
42 | |||
43 | do_populate_sdk[stamp-extra-info] = "${PACKAGE_ARCH}" | ||
44 | |||
45 | REAL_MULTIMACH_TARGET_SYS = "none" | ||
46 | |||
47 | # Needed to ensure README-setup and dt-processor.sh are available | ||
48 | addtask do_populate_sdk after do_unpack | ||
49 | |||
50 | create_sdk_files:append () { | ||
51 | |||
52 | install -m 0644 ${WORKDIR}/README-setup ${SDK_OUTPUT}/${SDKPATH}/. | ||
53 | install -m 0755 ${WORKDIR}/dt-processor.sh ${SDK_OUTPUT}/${SDKPATH}/. | ||
54 | |||
55 | rm -f ${SDK_OUTPUT}/${SDKPATH}/site-config-* | ||
56 | rm -f ${SDK_OUTPUT}/${SDKPATH}/environment-setup-* | ||
57 | rm -f ${SDK_OUTPUT}/${SDKPATH}/version-* | ||
58 | |||
59 | # Generate new (mini) sdk-environment-setup file | ||
60 | script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-${SDK_SYS}} | ||
61 | touch $script | ||
62 | echo 'export PATH=${SDKPATHNATIVE}${bindir_nativesdk}:$PATH' >> $script | ||
63 | echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script | ||
64 | echo 'export GIT_SSL_CAINFO="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script | ||
65 | echo 'export SSL_CERT_FILE="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script | ||
66 | |||
67 | toolchain_create_sdk_version ${SDK_OUTPUT}/${SDKPATH}/version-${SDK_SYS} | ||
68 | |||
69 | cat >> $script <<EOF | ||
70 | if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then | ||
71 | for envfile in \$OECORE_NATIVE_SYSROOT/environment-setup.d/*.sh; do | ||
72 | . \$envfile | ||
73 | done | ||
74 | fi | ||
75 | # We have to unset this else it can confuse oe-selftest and other tools | ||
76 | # which may also use the overlapping namespace. | ||
77 | unset OECORE_NATIVE_SYSROOT | ||
78 | EOF | ||
79 | |||
80 | if [ "${SDKMACHINE}" = "i686" ]; then | ||
81 | echo 'export NO32LIBS="0"' >>$script | ||
82 | echo 'echo "$BB_ENV_PASSTHROUGH_ADDITIONS" | grep -q "NO32LIBS"' >>$script | ||
83 | echo '[ $? != 0 ] && export BB_ENV_PASSTHROUGH_ADDITIONS="NO32LIBS $BB_ENV_PASSTHROUGH_ADDITIONS"' >>$script | ||
84 | fi | ||
85 | } | ||
86 | |||
87 | # buildtools-tarball doesn't need config site | ||
88 | TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" | ||
89 | |||
90 | # The recipe doesn't need any default deps | ||
91 | INHIBIT_DEFAULT_DEPS = "1" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_2024.1.bb index 7edd2d9d..7edd2d9d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_2024.1.bb index 1846b291..1846b291 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_2024.1.bb index 47111dc5..47111dc5 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_2024.1.bb index 68a26f45..68a26f45 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axidma_2024.1.bb index c385d13f..c385d13f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axidma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_2024.1.bb index 04c2c151..04c2c151 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_2024.1.bb index 0b635859..0b635859 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_2024.1.bb index 4aa716e7..4aa716e7 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_2024.1.bb index ff2eae91..ff2eae91 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_2024.1.bb index b34dedb0..b34dedb0 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_2024.1.bb index 2866c02b..2866c02b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_2024.1.bb index 15268629..15268629 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_2024.1.bb index a3145467..a3145467 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/bram_2024.1.bb index 3c81c619..3c81c619 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/bram_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/can-example_2024.1.bb index 115852fa..115852fa 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/can-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/can_2024.1.bb index eb7fc473..eb7fc473 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/can_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_2024.1.bb index 84276569..84276569 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canfd_2024.1.bb index 5f2e6ea8..5f2e6ea8 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/canfd_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_2024.1.bb index 574dc563..574dc563 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canps_2024.1.bb index c9f61cd2..c9f61cd2 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/canps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/cframe_2024.1.bb index 6ffdf85d..6ffdf85d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/cframe_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_2024.1.bb index 3cb675bc..3cb675bc 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz-example_2024.1.bb new file mode 100644 index 00000000..71ffdc32 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/clk-wiz_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_2024.1.bb index ae0453a1..ae0453a1 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_2024.1.bb index f9c5bce6..f9c5bce6 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clockps_2024.1.bb index 4bddb2c0..3a464480 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/clockps_2024.1.bb | |||
@@ -8,3 +8,6 @@ DEPENDS += "xilstandalone " | |||
8 | 8 | ||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/src/" |
10 | ESW_COMPONENT_NAME = "libclockps.a" | 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-experimental/recipes-drivers/common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/common_2024.1.bb index 541ff225..10635f7f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/common_2024.1.bb | |||
@@ -13,11 +13,13 @@ PACKAGECONFIG[clockps] = "${RECIPE_SYSROOT}/usr/lib/libclockps.a,,clockps,," | |||
13 | PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,," | 13 | PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,," |
14 | PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,," | 14 | PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,," |
15 | 15 | ||
16 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/common/src/" | 16 | ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/common/intr/" |
17 | ESW_COMPONENT_NAME = "libcommon.a" | 17 | ESW_COMPONENT_NAME = "libcommon.a" |
18 | 18 | ||
19 | do_configure:prepend() { | 19 | do_configure:prepend() { |
20 | ( | ||
21 | cd ${S}/${ESW_COMPONENT_SRC}/ | ||
20 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ | 22 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/ |
21 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ | 23 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/ |
22 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 24 | ) |
23 | } | 25 | } |
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_2024.1.bb index 9110b51e..9110b51e 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_2024.1.bb index 5706967a..5706967a 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_2024.1.bb index 8283ce8d..8283ce8d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_2024.1.bb index 4728b6c5..4728b6c5 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_2024.1.bb index dd70e09d..dd70e09d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_2024.1.bb index 4b794d22..4b794d22 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dfeccf-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeccf-example_2024.1.bb new file mode 100644 index 00000000..fd01b757 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeccf_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeccf_2024.1.bb new file mode 100644 index 00000000..86a55b9f --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeequ-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeequ-example_2024.1.bb new file mode 100644 index 00000000..0f4d45be --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeequ_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeequ_2024.1.bb new file mode 100644 index 00000000..8ad43c1b --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfemix-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfemix-example_2024.1.bb new file mode 100644 index 00000000..9149e9c4 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfemix_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfemix_2024.1.bb new file mode 100644 index 00000000..31c7b8ed --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeofdm-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeofdm-example_2024.1.bb new file mode 100644 index 00000000..661c2768 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeofdm_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeofdm_2024.1.bb new file mode 100644 index 00000000..a02ceae7 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeprach-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeprach-example_2024.1.bb new file mode 100644 index 00000000..10ac2029 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfeprach_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfeprach_2024.1.bb new file mode 100644 index 00000000..0890ff3b --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dfxasm-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_2024.1.bb index 974dd48b..974dd48b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_2024.1.bb index 81f2157b..81f2157b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_2024.1.bb index 40d08e4b..40d08e4b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_2024.1.bb index 1dcd8404..1dcd8404 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dp14_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dp14_2024.1.bb new file mode 100644 index 00000000..ab63d3a1 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dp14rxss_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dp14rxss_2024.1.bb new file mode 100644 index 00000000..4e98b2e4 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/dpdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_2024.1.bb index 3adb88a6..3adb88a6 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_2024.1.bb index 87cca884..87cca884 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_2024.1.bb index 6ed717fb..6ed717fb 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_2024.1.bb index 9ceb477f..9ceb477f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_2024.1.bb index 2c57eafe..2c57eafe 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emacps_2024.1.bb index 8ed85984..8ed85984 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/emacps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emc_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emc_2024.1.bb new file mode 100644 index 00000000..0f46f99b --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/gpio-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_2024.1.bb index 3f79cfec..3f79cfec 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpio_2024.1.bb index 83a746b7..83a746b7 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpio_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_2024.1.bb index cc2e1703..cc2e1703 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_2024.1.bb index 4bd63d1e..4bd63d1e 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/hwicap_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/hwicap_2024.1.bb new file mode 100644 index 00000000..37d70f6a --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/i2srx_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/i2srx_2024.1.bb new file mode 100644 index 00000000..27333e13 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/i2stx_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/i2stx_2024.1.bb new file mode 100644 index 00000000..ca09a7f0 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/i3cpsx-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/i3cpsx-example_2024.1.bb new file mode 100644 index 00000000..699b9d97 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/i3cpsx_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/i3cpsx_2024.1.bb new file mode 100644 index 00000000..7b88520d --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/iic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_2024.1.bb index b781b82c..b781b82c 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iic_2024.1.bb index 7011f90b..7011f90b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/iic_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_2024.1.bb index e9df1cbd..e9df1cbd 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iicps_2024.1.bb index e96dc2ac..e96dc2ac 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/iicps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_2024.1.bb index 0b4b95a8..0b4b95a8 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/intc_2024.1.bb index 331c2e32..331c2e32 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/intc_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_2024.1.bb index 1f625521..1f625521 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_2024.1.bb index 0b31601d..0b31601d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_2024.1.bb index 3e2ccc0b..3e2ccc0b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_2024.1.bb index 6b1c211a..6b1c211a 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_2024.1.bb index 1fb76b18..1fb76b18 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_2024.1.bb index 3c4870b4..3c4870b4 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mbox_2024.1.bb index 5c1b8393..5c1b8393 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/mbox_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_2024.1.bb index 64979470..64979470 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_2024.1.bb index f13a7e54..f13a7e54 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_2024.1.bb index fc0527da..fc0527da 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mutex_2024.1.bb index 98abc948..98abc948 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/mutex_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/nandps_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/nandps_2024.1.bb new file mode 100644 index 00000000..ce3f7898 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/nandpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_2024.1.bb index 8b7a88b5..8b7a88b5 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_2024.1.bb index 6d2a71c5..6d2a71c5 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_2024.1.bb index 0ded4fd2..0ded4fd2 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_2024.1.bb index f0548efc..f0548efc 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_2024.1.bb index 23895fba..23895fba 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_2024.1.bb index ccedb1df..ccedb1df 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/prc_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/prc_2024.1.bb new file mode 100644 index 00000000..12390ae2 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/prd_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/prd_2024.1.bb new file mode 100644 index 00000000..9ea7b2d8 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/qspips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_2024.1.bb index 674b879a..674b879a 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspips_2024.1.bb index fa28d901..fa28d901 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspips_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_2024.1.bb index 21231450..21231450 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_2024.1.bb index 5b4b1614..5b4b1614 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_2024.1.bb index 243393bb..243393bb 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/resetps_2024.1.bb index c753c666..c753c666 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/resetps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/rfdc-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rfdc-example_2024.1.bb new file mode 100644 index 00000000..973e5177 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/rfdc_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rfdc_2024.1.bb new file mode 100644 index 00000000..cfc106b6 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/rtcpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_2024.1.bb index ac386c4c..ac386c4c 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_2024.1.bb index 7b96bf16..7b96bf16 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_2024.1.bb index cbef3ce9..cbef3ce9 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scugic_2024.1.bb index f079354d..f079354d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/scugic_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/scutimer_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scutimer_2024.1.bb new file mode 100644 index 00000000..9e101058 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/scuwdt_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scuwdt_2024.1.bb new file mode 100644 index 00000000..757a5de1 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/sd-fec_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sd-fec_2024.1.bb new file mode 100644 index 00000000..e4f61219 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/sdps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_2024.1.bb index 550d664b..550d664b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_2024.1.bb index 4caf0e63..4caf0e63 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/spi_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spi_2024.1.bb new file mode 100644 index 00000000..3e564725 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/spips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_2024.1.bb index 71ead5d3..71ead5d3 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spips_2024.1.bb index ca02fda0..ca02fda0 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/spips_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_2024.1.bb index 5bc007ad..5bc007ad 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_2024.1.bb index 5353f6f8..5353f6f8 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_2024.1.bb index 2c76a978..2c76a978 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_2024.1.bb index 871a77a3..871a77a3 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_2024.1.bb index edce2794..edce2794 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_2024.1.bb index 2c693809..2c693809 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tft_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tft_2024.1.bb new file mode 100644 index 00000000..d8dcff08 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/tmr-inject_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_2024.1.bb index dbf3d364..dbf3d364 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_2024.1.bb index dd91fed7..dd91fed7 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_2024.1.bb index 8224d6fe..8224d6fe 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_2024.1.bb index cf94a9d0..cf94a9d0 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_2024.1.bb index 84c5618c..84c5618c 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_2024.1.bb index 77d000db..77d000db 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/trngpsv_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/trngpsv_2024.1.bb new file mode 100644 index 00000000..1651ede2 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/trngpsx_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/trngpsx_2024.1.bb new file mode 100644 index 00000000..7699dfe5 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/ttcps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_2024.1.bb index d294c383..d294c383 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_2024.1.bb index ea520656..ea520656 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_2024.1.bb index 9aa0f598..9aa0f598 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_2024.1.bb index 5998e092..5998e092 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_2024.1.bb index d81ce77b..d81ce77b 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_2024.1.bb index a08763cb..a08763cb 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_2024.1.bb index bbff466d..bbff466d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_2024.1.bb index 932be9eb..932be9eb 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_2024.1.bb index 78f878a6..78f878a6 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_2024.1.bb index 01e48caa..01e48caa 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_2024.1.bb index 0d4e113a..0d4e113a 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usb_2024.1.bb index 9dac8cba..9dac8cba 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/usb_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usbps_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usbps_2024.1.bb new file mode 100644 index 00000000..c4a2fff0 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/usbpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_2024.1.bb index 4eb9bc93..4eb9bc93 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_2024.1.bb index 194b1f0f..194b1f0f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_2024.1.bb index 068a43e9..068a43e9 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_2024.1.bb index 741fdd91..741fdd91 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_2024.1.bb index cf2cdf6f..cf2cdf6f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_2024.1.bb index 79ef55f2..79ef55f2 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd-example_2024.1.bb index fc13c194..fc13c194 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_2024.1.bb index 91ee34d8..91ee34d8 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr-example_2024.1.bb index 87a1be53..87a1be53 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_2024.1.bb index d88ac592..d88ac592 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut-example_2024.1.bb index 4d5dcf03..4d5dcf03 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_2024.1.bb index 8cf95c9d..8cf95c9d 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_2024.1.bb index 1731f984..1731f984 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmi-common_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmi-common_2024.1.bb new file mode 100644 index 00000000..1e592d40 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-hdmiphy1_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmiphy1_2024.1.bb new file mode 100644 index 00000000..d3d601cb --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-hdmirx1_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmirx1_2024.1.bb new file mode 100644 index 00000000..f2b576cd --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-hdmirxss1_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmirxss1_2024.1.bb new file mode 100644 index 00000000..faf57614 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-hdmitx1_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmitx1_2024.1.bb new file mode 100644 index 00000000..7070235e --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-hdmitxss1_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hdmitxss1_2024.1.bb new file mode 100644 index 00000000..de4f4ad9 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-hscaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_2024.1.bb index b239380e..b239380e 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_2024.1.bb index f5ad5f4e..f5ad5f4e 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_2024.1.bb index 8bafbf00..8bafbf00 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_2024.1.bb index acc19bd0..acc19bd0 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler-example_2024.1.bb index 28660316..28660316 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_2024.1.bb index bd725dbe..bd725dbe 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_2024.1.bb index 2859de79..2859de79 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_2024.1.bb index 77cf9189..77cf9189 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_2024.1.bb index 6ea70db1..6ea70db1 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_2024.1.bb index 45913cdc..45913cdc 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_2024.1.bb index 9528d2e0..9528d2e0 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-warp-filter_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-warp-filter_2024.1.bb new file mode 100644 index 00000000..f908ce55 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/v-warp-init_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-warp-init_2024.1.bb new file mode 100644 index 00000000..ff04ec35 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/video-common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/video-common_2024.1.bb index 278dee8a..278dee8a 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/video-common_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vphy_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vphy_2024.1.bb new file mode 100644 index 00000000..1a06cf60 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-drivers/vprocss-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_2024.1.bb index d9050ec4..d9050ec4 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_2024.1.bb index 26b2852f..26b2852f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vtc_2024.1.bb index a82ae5ee..a82ae5ee 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/vtc_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_2024.1.bb index 610a7476..610a7476 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_2024.1.bb index 2c900038..2c900038 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_2024.1.bb index cad6ca20..cad6ca20 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_2024.1.bb index 33331c32..33331c32 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_2024.1.bb index f8878144..f8878144 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_2024.1.bb index 85800a27..85800a27 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_2024.1.bb index 26983a8f..26983a8f 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_2024.1.bb index cab8e9d0..cab8e9d0 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_2024.1.bb index d6a87183..d6a87183 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_2024.1.bb index 491eb07c..491eb07c 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_2024.1.bb index e74e3279..e74e3279 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/zdma_2024.1.bb index e987f560..e987f560 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/zdma_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_2024.1.bb index 22d7955e..22d7955e 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_2024.1.bb index 2ec1d6cd..2eb08307 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_2024.1.bb | |||
@@ -25,14 +25,10 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | |||
25 | ESW_COMPONENT_NAME = "libxil.a" | 25 | ESW_COMPONENT_NAME = "libxil.a" |
26 | 26 | ||
27 | DEPENDS += "xilstandalone " | 27 | DEPENDS += "xilstandalone " |
28 | MACHINE_FEATURES:remove = "aiengine dfeccf dfeequ dfemix dfeprach rfdc dfeofdm" | ||
28 | REQUIRED_MACHINE_FEATURES = "${MACHINE_FEATURES}" | 29 | REQUIRED_MACHINE_FEATURES = "${MACHINE_FEATURES}" |
29 | PACKAGECONFIG ?= "${MACHINE_FEATURES}" | 30 | PACKAGECONFIG ?= "${MACHINE_FEATURES}" |
30 | 31 | ||
31 | do_configure:prepend() { | ||
32 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | ||
33 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ | ||
34 | } | ||
35 | |||
36 | do_compile() { | 32 | do_compile() { |
37 | # Combines the .a archives produced by all of the dependent items | 33 | # Combines the .a archives produced by all of the dependent items |
38 | cd ${RECIPE_SYSROOT}/usr/lib/ | 34 | cd ${RECIPE_SYSROOT}/usr/lib/ |
@@ -48,3 +44,12 @@ do_compile() { | |||
48 | ${AR} -M <libxil.mri | 44 | ${AR} -M <libxil.mri |
49 | cp libxil.a ${B} | 45 | cp libxil.a ${B} |
50 | } | 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-experimental/recipes-libraries/lwip_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_2024.1.bb index 93f0b1e8..e70dfa11 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_2024.1.bb | |||
@@ -1,17 +1,17 @@ | |||
1 | inherit esw python3native | 1 | inherit esw python3native |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip213/src/" | 3 | ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip220/src/" |
4 | ESW_COMPONENT_NAME = "liblwip213.a" | 4 | ESW_COMPONENT_NAME = "liblwip220.a" |
5 | 5 | ||
6 | DEPENDS += "libxil" | 6 | DEPENDS += "libxil" |
7 | DEPENDS:append:xilinx-freertos = "freertos10-xilinx" | 7 | DEPENDS:append:xilinx-freertos = "freertos10-xilinx" |
8 | 8 | ||
9 | EXTRA_OECMAKE += "-Dlwip213_api_mode=RAW_API" | 9 | EXTRA_OECMAKE += "-Dlwip220_api_mode=RAW_API" |
10 | EXTRA_OECMAKE += "-Dlwip213_dhcp_does_arp_check=ON" | 10 | EXTRA_OECMAKE += "-Dlwip220_dhcp_does_arp_check=ON" |
11 | EXTRA_OECMAKE += "-Dlwip213_dhcp=ON" | 11 | EXTRA_OECMAKE += "-Dlwip220_dhcp=ON" |
12 | EXTRA_OECMAKE += "-Dlwip213_pbuf_pool_size=2048" | 12 | EXTRA_OECMAKE += "-Dlwip220_pbuf_pool_size=2048" |
13 | EXTRA_OECMAKE += "-Dlwip213_ipv6_enable=OFF" | 13 | EXTRA_OECMAKE += "-Dlwip220_ipv6_enable=OFF" |
14 | EXTRA_OECMAKE:append:xilinx-freertos = " -Dlwip213_api_mode=SOCKET_API" | 14 | EXTRA_OECMAKE:append:xilinx-freertos = " -Dlwip220_api_mode=SOCKET_API" |
15 | 15 | ||
16 | do_configure:prepend() { | 16 | do_configure:prepend() { |
17 | # This script should also not rely on relative paths and such | 17 | # This script should also not rely on relative paths and such |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb index cae39d17..cae39d17 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_2024.1.bb index b8dc3b33..b8dc3b33 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_2024.1.bb index a3fb1560..a3fb1560 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_2024.1.bb index 6eaf40ac..6eaf40ac 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_2024.1.bb index 11b03c1b..11b03c1b 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_2024.1.bb index 600369ad..600369ad 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_2024.1.bb index 77115515..77115515 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_2024.1.bb new file mode 100644 index 00000000..bd001f64 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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 ${WORKDIR}/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-experimental/recipes-libraries/xilnvm_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_2024.1.bb new file mode 100644 index 00000000..8aa1250d --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-libraries/xilnvm_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_git.bb deleted file mode 100644 index 9114aa72..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm_git.bb +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilnvm.a" | ||
5 | |||
6 | DEPENDS += "libxil xiltimer xilplmi" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_2024.1.bb index c008b069..c008b069 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpdi_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_2024.1.bb new file mode 100644 index 00000000..cb3b7831 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-libraries/xilplmi_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_git.bb deleted file mode 100644 index 35a1efb0..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilplmi_git.bb +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
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" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_2024.1.bb index 69b505c8..69b505c8 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb index ca0abc12..bbe2920b 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_2024.1.bb | |||
@@ -2,7 +2,11 @@ inherit esw deploy | |||
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/examples/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/examples/" |
4 | 4 | ||
5 | DEPENDS += "xilpuf xilsecure" | 5 | PACKAGECONFIG ??= "client server" |
6 | PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," | ||
7 | PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," | ||
8 | |||
9 | DEPENDS += "xilpuf xilsecure xilmailbox xilnvm xilplmi" | ||
6 | 10 | ||
7 | do_configure:prepend() { | 11 | do_configure:prepend() { |
8 | ( | 12 | ( |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_2024.1.bb index 81bee095..84765a39 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_2024.1.bb | |||
@@ -3,4 +3,8 @@ inherit esw | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" |
4 | ESW_COMPONENT_NAME = "libxilpuf.a" | 4 | ESW_COMPONENT_NAME = "libxilpuf.a" |
5 | 5 | ||
6 | PACKAGECONFIG ??= "client server" | ||
7 | PACKAGECONFIG[client] ="-DXILPUF_Mode="client",," | ||
8 | PACKAGECONFIG[server] ="-DXILPUF_Mode="server",," | ||
9 | |||
6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" | 10 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else 'xilmailbox'}" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_2024.1.bb index 993794b5..a2b4b7a5 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_2024.1.bb | |||
@@ -2,6 +2,10 @@ inherit esw deploy | |||
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/examples/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/examples/" |
4 | 4 | ||
5 | PACKAGECONFIG ??= "client server" | ||
6 | PACKAGECONFIG[client] ="-DXILSECURE_mode="client",," | ||
7 | PACKAGECONFIG[server] ="-DXILSECURE_mode="server",," | ||
8 | |||
5 | DEPENDS += "xilsecure" | 9 | DEPENDS += "xilsecure" |
6 | 10 | ||
7 | do_configure:prepend() { | 11 | do_configure:prepend() { |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_2024.1.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_2024.1.bb new file mode 100644 index 00000000..be22ba90 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-libraries/xilsecure_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb deleted file mode 100644 index 0001d3fb..00000000 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | inherit esw | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" | ||
4 | ESW_COMPONENT_NAME = "libxilsecure.a" | ||
5 | |||
6 | DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''} ${@'xilmailbox' if d.getVar('ESW_MACHINE') == 'psv_cortexa72_0' or d.getVar('ESW_MACHINE') == 'psv_cortexr5_0' else ''}" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_2024.1.bb index 3631d7f0..3631d7f0 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsem_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilskey-example_2024.1.bb index a4a81c8b..a42d6fd2 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilskey-example_2024.1.bb | |||
@@ -1,29 +1,29 @@ | |||
1 | inherit esw deploy | 1 | inherit esw deploy |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilnvm/examples/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" |
4 | 4 | ||
5 | DEPENDS += "xilnvm" | 5 | DEPENDS += "xilskey xilsecure" |
6 | 6 | ||
7 | do_configure:prepend() { | 7 | do_configure:prepend() { |
8 | ( | 8 | ( |
9 | cd ${S} | 9 | cd ${S} |
10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
12 | ) | 12 | ) |
13 | } | 13 | } |
14 | 14 | ||
15 | ESW_CUSTOM_LINKER_FILE ?= "None" | 15 | ESW_CUSTOM_LINKER_FILE ?= "None" |
16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" |
17 | 17 | ||
18 | do_install() { | 18 | do_install() { |
19 | install -d ${D}/${base_libdir}/firmware | 19 | install -d ${D}/${base_libdir}/firmware |
20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware |
21 | } | 21 | } |
22 | 22 | ||
23 | do_deploy() { | 23 | do_deploy() { |
24 | install -d ${DEPLOYDIR}/${BPN}/ | 24 | install -d ${DEPLOYDIR}/${BPN}/ |
25 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 25 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
26 | } | 26 | } |
27 | addtask deploy before do_build after do_package | 27 | addtask deploy before do_build after do_package |
28 | 28 | ||
29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_2024.1.bb index 84782554..84782554 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilskey_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_2024.1.bb index facbfbaa..a4b0037b 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_2024.1.bb | |||
@@ -14,5 +14,8 @@ do_configure:prepend() { | |||
14 | install -m 0755 *.c ${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} | 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/ | 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/ | ||
17 | ) | 19 | ) |
20 | |||
18 | } | 21 | } |
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_2024.1.bb index dd19671d..dd19671d 100644 --- a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_2024.1.bb | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend b/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend new file mode 100644 index 00000000..5434c9a5 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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-experimental/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend b/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend new file mode 100644 index 00000000..88b45295 --- /dev/null +++ b/meta-xilinx-standalone-experimental/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 | |||