summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-05-18 13:18:29 -0600
committerMark Hatle <mark.hatle@amd.com>2023-05-18 14:59:03 -0600
commit96363a1fada8f5dca874917e47899e7f6dd26b43 (patch)
tree60a031689d7c6bb11640136a00e2e44eedfc3868 /meta-xilinx-standalone-experimental
parentfe4b15d97e0b5ce73cd3186ac3e380df07c9d1ca (diff)
parentd4732aa636e6764c64030083a20975283c2352d5 (diff)
downloadmeta-xilinx-96363a1fada8f5dca874917e47899e7f6dd26b43.tar.gz
Merge remote-tracking branch 'origin/rel-v2023.1'
Resolved conflicts Preserved 2022* versions Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental')
-rw-r--r--meta-xilinx-standalone-experimental/README.md43
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw.bbclass13
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw_examples.bbclass1
-rw-r--r--meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc8
-rw-r--r--meta-xilinx-standalone-experimental/conf/layer.conf6
-rw-r--r--meta-xilinx-standalone-experimental/conf/multiconfig/pmumc.conf8
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/peripheral-tests/peripheral-tests_git.bb17
-rw-r--r--meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend7
-rw-r--r--meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend10
-rw-r--r--meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend7
-rw-r--r--meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup171
-rwxr-xr-xmeta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh950
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb8
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iic-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb4
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb6
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb4
187 files changed, 948 insertions, 717 deletions
diff --git a/meta-xilinx-standalone-experimental/README.md b/meta-xilinx-standalone-experimental/README.md
index 99675b0a..8014265b 100644
--- a/meta-xilinx-standalone-experimental/README.md
+++ b/meta-xilinx-standalone-experimental/README.md
@@ -14,36 +14,47 @@ parts and pieces.
14**Note:** to use this layer you must REMOVE meta-xilinx-tools from your 14**Note:** to use this layer you must REMOVE meta-xilinx-tools from your
15project. meta-xilinx-tools is not compatible with this experimental 15project. meta-xilinx-tools is not compatible with this experimental
16approach. You may also have to remove other layers that depend 16approach. You may also have to remove other layers that depend
17on meta-xilinx-tools, such as meta-som. 17on meta-xilinx-tools, such as meta-kria and meta-system-controller.
18 18
19To use the experimental version of the embedded software (firmware) 19To use the experimental version of the embedded software (firmware)
20as well as system configuration, you must build the 'meta-xilinx-setup' 20as well as system configuration, you must build the 'meta-xilinx-setup'
21SDK. This SDK is passed a device tree, constructed from DTG++ and 21SDK. This SDK is passed a device tree, constructed from System Device tree and
22produces a number of configuration files. 22produces a number of configuration files.
23 23
24To build the setup SDK: 241. Remove meta-xilinx-tools, meta-kria and meta-system-controller, then add the decoupling layer
25 25```
26MACHINE=qemux86-64 bitbake meta-xilinx-setup 26$ bitbake-layers remove-layer meta-xilinx-tools
27 27$ bitbake-layers remove-layer meta-kria
28To install the setup SDK: 28$ bitbake-layers remove-layer meta-system-controller
29 29$ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone-experimental
30./tmp/deploy/sdk/x86_64-xilinx-nativesdk-prestep-2021.2.sh -d prestep -y 30```
312. Build the setup SDK
32```
33$ bitbake meta-xilinx-setup
34```
353. Install the setup SDK:
36```
37$ .${TMPDIR}/tmp/deploy/sdk/x86_64-xilinx-nativesdk-prestep-2023.1....sh -d prestep -y
38```
31 39
32Then follow the instructions in the 'prestep/README-setup' file. 40Then follow the instructions in the 'prestep/README-setup' file.
33 41
34 42
35
36## Dependencies 43## Dependencies
37 44
38This layer depends on: 45This layer depends on:
39 46
40 URI: git://git.openembedded.org/bitbake 47 URI: https://git.yoctoproject.org/poky
48 layers: meta, meta-poky
49 branch: langdale
41 50
42 URI: git://git.openembedded.org/openembedded-core 51 URI: https://git.openembedded.org/meta-openembedded
43 layers: meta 52 layers: meta-oe
44 branch: master or xilinx current release version (e.g. hosister) 53 branch: langdale
45 54
46 URI: git://git.yoctoproject.org/meta-xilinx.git 55 URI:
56 https://git.yoctoproject.org/meta-xilinx (official version)
57 https://github.com/Xilinx/meta-xilinx (development and amd xilinx release)
47 layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone 58 layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone
48 branch: master or xilinx current release version (e.g. hosister) 59 branch: langdale or amd xilinx release version (e.g. rel-v2023.1)
49 60
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass
index f133662a..febdebad 100644
--- a/meta-xilinx-standalone-experimental/classes/esw.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass
@@ -26,7 +26,7 @@ COMPATIBLE_HOST = ".*-elf"
26COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" 26COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi"
27 27
28CONFIG_DTFILE ??= "" 28CONFIG_DTFILE ??= ""
29DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 29DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts','.dtb'))}"
30 30
31DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" 31DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native"
32 32
@@ -48,9 +48,9 @@ def get_xlnx_cmake_machine(fam, d):
48def get_xlnx_cmake_processor(tune, machine, d): 48def get_xlnx_cmake_processor(tune, machine, d):
49 cmake_processor = tune 49 cmake_processor = tune
50 if tune.startswith('microblaze'): 50 if tune.startswith('microblaze'):
51 if (machine == 'microblaze-pmu'): 51 if (machine == 'psu_pmu_0'):
52 cmake_processor = 'pmu_microblaze' 52 cmake_processor = 'pmu_microblaze'
53 elif (machine == 'microblaze-plm'): 53 elif (machine == 'psv_pmc_0'):
54 cmake_processor = 'plm_microblaze' 54 cmake_processor = 'plm_microblaze'
55 else: 55 else:
56 cmake_processor = 'microblaze' 56 cmake_processor = 'microblaze'
@@ -79,6 +79,11 @@ cmake_do_generate_toolchain_file:append() {
79 # Will need this in the future to make cmake understand esw variables 79 # Will need this in the future to make cmake understand esw variables
80 # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` ) 80 # set( CMAKE_SYSTEM_NAME `echo elf | sed -e 's/^./\u&/' -e 's/^\(Linux\).*/\1/'` )
81 set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" ) 81 set( CMAKE_SYSTEM_NAME "${XLNX_CMAKE_SYSTEM_NAME}" )
82 set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${S}/cmake)
83 set( CMAKE_LIBRARY_PATH ${CMAKE_INSTALL_LIBDIR})
84 if ("${XLNX_CMAKE_PROCESSOR}" STREQUAL "plm_microblaze")
85 set( CMAKE_BUILD_TYPE Release)
86 endif()
82 add_definitions( "${XLNX_CMAKE_BSP_VARS}" ) 87 add_definitions( "${XLNX_CMAKE_BSP_VARS}" )
83EOF 88EOF
84} 89}
@@ -119,7 +124,7 @@ python do_generate_driver_data() {
119 src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH')) 124 src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH'))
120 machine = d.getVar('ESW_MACHINE') 125 machine = d.getVar('ESW_MACHINE')
121 126
122 driver_name = d.getVar('REQUIRED_DISTRO_FEATURES') 127 driver_name = d.getVar('REQUIRED_MACHINE_FEATURES')
123 128
124 if len(system_dt) == 0: 129 if len(system_dt) == 0:
125 bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE')) 130 bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE'))
diff --git a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
index 508da535..43e78191 100644
--- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
@@ -6,7 +6,6 @@ do_configure:prepend() {
6 ( 6 (
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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
10 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 9 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
11 ) 10 )
12} 11}
diff --git a/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc b/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc
index 2b461993..b252e609 100644
--- a/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc
+++ b/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc
@@ -2,11 +2,13 @@
2# meta-xilinx/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass 2# meta-xilinx/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
3 3
4# Make it clear decoupling is 'experimental' in the version 4# Make it clear decoupling is 'experimental' in the version
5ESW_VER = "experimental" 5ESW_VER = "2023.1_sdt_experimental"
6 6
7REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https" 7REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https"
8 8
9ESW_BRANCH[experimental] = "xlnx_rel_v2022.1_sdt_experimental_beta" 9ESW_BRANCH[2023.1_sdt_experimental] = "xlnx_rel_v2023.1_sdt"
10ESW_REV[experimental] = "2f93defe078000965c8f7203da11817c9f0982d1" 10ESW_REV[2023.1_sdt_experimental] = "b47bfef27d7af0690add590b9c98e6fc51a1a1f6"
11LIC_FILES_CHKSUM[master] = '7c92de7a21a6613265035c28f4a92f48' 11LIC_FILES_CHKSUM[master] = '7c92de7a21a6613265035c28f4a92f48'
12LIC_FILES_CHKSUM[xlnx_rel_v2022.1_sdt_experimental_beta] = 'e26f53a7d6f58f4b1a9687099417225c' 12LIC_FILES_CHKSUM[xlnx_rel_v2022.1_sdt_experimental_beta] = 'e26f53a7d6f58f4b1a9687099417225c'
13LIC_FILES_CHKSUM[xlnx_rel_v2023.1_sdt_experimental] = 'ce611484168a6000bd35df68fc4f4290'
14LIC_FILES_CHKSUM[xlnx_rel_v2023.1_sdt] = 'ce611484168a6000bd35df68fc4f4290'
diff --git a/meta-xilinx-standalone-experimental/conf/layer.conf b/meta-xilinx-standalone-experimental/conf/layer.conf
index 54098905..12734173 100644
--- a/meta-xilinx-standalone-experimental/conf/layer.conf
+++ b/meta-xilinx-standalone-experimental/conf/layer.conf
@@ -12,6 +12,9 @@ BBFILE_COLLECTIONS += "xilinx-standalone-exp"
12BBFILE_PATTERN_xilinx-standalone-exp = "^${LAYERDIR}/" 12BBFILE_PATTERN_xilinx-standalone-exp = "^${LAYERDIR}/"
13BBFILE_PRIORITY_xilinx-standalone-exp = "7" 13BBFILE_PRIORITY_xilinx-standalone-exp = "7"
14 14
15# Allow other layers to find the root of this layer if necessary
16META_XILINX_STANDALONE_EXP_PATH = "${LAYERDIR}"
17
15LAYERDEPENDS_xilinx-standalone-exp = "core \ 18LAYERDEPENDS_xilinx-standalone-exp = "core \
16 xilinx \ 19 xilinx \
17 xilinx-standalone \ 20 xilinx-standalone \
@@ -20,3 +23,6 @@ LAYERDEPENDS_xilinx-standalone-exp = "core \
20 " 23 "
21 24
22LAYERSERIES_COMPAT_xilinx-standalone-exp = "mickledore" 25LAYERSERIES_COMPAT_xilinx-standalone-exp = "mickledore"
26
27# Aid debugging, show where the device trees are we are using
28BUILDCFG_VARS:append = " SYSTEM_DTFILE CONFIG_DTFILE"
diff --git a/meta-xilinx-standalone-experimental/conf/multiconfig/pmumc.conf b/meta-xilinx-standalone-experimental/conf/multiconfig/pmumc.conf
deleted file mode 100644
index 756ea94a..00000000
--- a/meta-xilinx-standalone-experimental/conf/multiconfig/pmumc.conf
+++ /dev/null
@@ -1,8 +0,0 @@
1MACHINE = "microblaze-pmu"
2DISTRO = "xilinx-standalone"
3TMPDIR = "${TOPDIR}/tmp-${MACHINE}-${TCLIBC}"
4
5# These should be temporary until the dtg repo has the correct design
6HDF_BASE ?= "file://"
7HDF_PATH ?= "${TOPDIR}/system.dsa"
8HDF_EXT ?= "dsa"
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_git.bb
index 8ffb01cb..d62779ae 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_git.bb
@@ -10,9 +10,10 @@ do_configure:prepend() {
10 ( 10 (
11 cd ${S} 11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 memory.ld ${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}/ 14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/ 15 install -m 0644 ${CUSTOM_SRCFILE}/* ${S}/${ESW_COMPONENT_SRC}/
16 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
16 ) 17 )
17} 18}
18 19
@@ -25,10 +26,10 @@ inherit image-artifact-names
25 26
26CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 27CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
27 28
28ESW_COMPONENT ??= "executable.elf" 29ESW_COMPONENT ??= "empty_application.elf"
29 30
30do_compile:append() { 31do_compile:append() {
31 ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin 32 ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/empty_application.bin
32} 33}
33 34
34do_install() { 35do_install() {
@@ -38,7 +39,7 @@ do_install() {
38do_deploy() { 39do_deploy() {
39 install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf 40 install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.elf
40 ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}.elf 41 ln -sf ${CUSTOM_APP_BASE_NAME}.elf ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}.elf
41 install -m 0644 ${B}/executable.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin 42 install -m 0644 ${B}/empty_application.bin ${DEPLOYDIR}/${CUSTOM_APP_BASE_NAME}.bin
42 ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}.bin 43 ln -sf ${CUSTOM_APP_BASE_NAME}.bin ${DEPLOYDIR}/${CUSTOM_APP_IMAGE_NAME}.bin
43} 44}
44addtask deploy before do_build after do_install 45addtask deploy before do_build after do_install
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
index f97240f8..8106684b 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${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}/ 12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
13 ) 14 )
14} 15}
15 16
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
index 5e58c601..f7eae1dc 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${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}/ 12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
13 ) 14 )
14} 15}
15 16
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
index e4a2b041..51b89b8e 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${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}/ 12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
13 ) 14 )
14} 15}
15 16
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
index bf892954..606fd01e 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${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}/ 12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 cp -rf ${S}/scripts/linker_files/ ${S}/${ESW_COMPONENT_SRC}/linker_files
13 ) 14 )
14} 15}
15 16
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
index 0a28d3df..7f9d86e2 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index 0212dab2..4fc02f36 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index 16d9d030..1de5ef8c 100644
--- 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
@@ -10,8 +10,9 @@ do_configure:prepend() {
10 ( 10 (
11 cd ${S} 11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
14 install -m 0755 *.cmake ${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}
15 ) 16 )
16} 17}
17 18
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
index 84909f18..c59d816e 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index eea50f60..b9834e34 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index fac6ace0..0acc4b8f 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index 0c1b1f9b..00a9eaa6 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index 8973ee60..5f54caf9 100644
--- 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
@@ -8,8 +8,9 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${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}
13 ) 14 )
14} 15}
15 16
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
index f2af00f6..1ece5a8c 100644
--- 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
@@ -10,15 +10,16 @@ do_configure:prepend() {
10 ( 10 (
11 cd ${S} 11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest 12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest
13 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
14 install -m 0755 *.cmake ${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}
15 ) 16 )
16} 17}
17 18
18do_install() { 19do_install() {
19 install -d ${D}/${base_libdir}/firmware 20 install -d ${D}/${base_libdir}/firmware
20 # Note that we have to make the ELF executable for it to be stripped 21 # Note that we have to make the ELF executable for it to be stripped
21 install -m 0755 ${B}/memory_test* ${D}/${base_libdir}/firmware 22 install -m 0755 ${B}/memory_tests* ${D}/${base_libdir}/firmware
22} 23}
23 24
24inherit image-artifact-names 25inherit image-artifact-names
@@ -28,13 +29,13 @@ MEMORY_TESTS_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERS
28do_deploy() { 29do_deploy() {
29 30
30 # We need to deploy the stripped elf, hence why not doing it from ${D} 31 # We need to deploy the stripped elf, hence why not doing it from ${D}
31 install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_test.elf ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.elf 32 install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.elf ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.elf
32 ln -sf ${MEMORY_TESTS_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf 33 ln -sf ${MEMORY_TESTS_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf
33 ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/memory_test.elf ${WORKDIR}/package/${base_libdir}/firmware/memory_test.bin 34 ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.elf ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.bin
34 install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_test.bin ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.bin 35 install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_tests.bin ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.bin
35 ln -sf ${MEMORY_TESTS_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin 36 ln -sf ${MEMORY_TESTS_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin
36} 37}
37 38
38addtask deploy before do_build after do_package 39addtask deploy before do_build after do_package
39 40
40FILES:${PN} = "${base_libdir}/firmware/memory_test*" 41FILES:${PN} = "${base_libdir}/firmware/memory_tests*"
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_git.bb
index 21422739..b6b15d5a 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_git.bb
@@ -10,8 +10,9 @@ do_configure:prepend() {
10 ( 10 (
11 cd ${S} 11 cd ${S}
12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 12 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
14 install -m 0755 *.cmake ${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}
15 ) 16 )
16} 17}
17 18
@@ -29,13 +30,9 @@ python do_generate_app_data() {
29 if len(src_dir) == 0: 30 if len(src_dir) == 0:
30 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) 31 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH'))
31 32
32 driver_name = d.getVar('REQUIRED_DISTRO_FEATURES') 33 driver_name = d.getVar('REQUIRED_MACHINE_FEATURES')
33 command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]] 34 command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetal_gentestapp_xlnx"] + [machine] + [srcdir[0]]
34 subprocess.run(command, check = True) 35 subprocess.run(command, check = True)
35 with open("file_list.txt", 'r') as fd:
36 for line in fd:
37 command = ["install"] + ["-m"] + ["0755"] + [line.strip()] + [src_dir[0]]
38 subprocess.run(command, check = True)
39} 36}
40addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 37addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
41do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 38do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
@@ -46,10 +43,10 @@ inherit image-artifact-names
46 43
47PERIPHERAL_TEST_BASE_NAME ?= "${PERIPHERAL_TEST_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 44PERIPHERAL_TEST_BASE_NAME ?= "${PERIPHERAL_TEST_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
48 45
49ESW_COMPONENT ??= "executable.elf" 46ESW_COMPONENT ??= "peripheral_tests.elf"
50 47
51do_compile:append() { 48do_compile:append() {
52 ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin 49 ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/peripheral_tests.bin
53} 50}
54 51
55do_install() { 52do_install() {
@@ -59,7 +56,7 @@ do_install() {
59do_deploy() { 56do_deploy() {
60 install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${PERIPHERAL_TEST_BASE_NAME}.elf 57 install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${PERIPHERAL_TEST_BASE_NAME}.elf
61 ln -sf ${PERIPHERAL_TEST_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf 58 ln -sf ${PERIPHERAL_TEST_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf
62 install -m 0644 ${B}/executable.bin ${DEPLOYDIR}/${PERIPHERAL_TEST_BASE_NAME}.bin 59 install -m 0644 ${B}/peripheral_tests.bin ${DEPLOYDIR}/${PERIPHERAL_TEST_BASE_NAME}.bin
63 ln -sf ${PERIPHERAL_TEST_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin 60 ln -sf ${PERIPHERAL_TEST_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin
64} 61}
65addtask deploy before do_build after do_install 62addtask deploy before do_build after do_install
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend
index 43dcc106..d40f3cdb 100644
--- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend
+++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/fsbl-firmware_git.bbappend
@@ -49,6 +49,7 @@ do_configure:prepend() {
49 else 49 else
50 bbwarn "Using the default psu_init.h, this may not work correctly." 50 bbwarn "Using the default psu_init.h, this may not work correctly."
51 fi 51 fi
52 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
52} 53}
53 54
54do_install() { 55do_install() {
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend
index 8a72a184..cc6d757f 100644
--- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend
+++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/plm-firmware_git.bbappend
@@ -10,6 +10,13 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/versal_plm/src/"
10 10
11ESW_COMPONENT = "versal_plm.elf" 11ESW_COMPONENT = "versal_plm.elf"
12 12
13do_configure:prepend() {
14 (
15 cd ${S}
16 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
17 )
18}
19
13do_compile:append() { 20do_compile:append() {
14 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin 21 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin
15} 22}
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend
index dd0a3d92..b5908d46 100644
--- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend
+++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend
@@ -8,7 +8,15 @@ inherit esw
8 8
9ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" 9ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src"
10 10
11ESW_COMPONENT = "pmufw.elf" 11ESW_COMPONENT = "zynqmp_pmufw.elf"
12
13
14do_configure:prepend() {
15 (
16 cd ${S}
17 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
18 )
19}
12 20
13do_compile:append() { 21do_compile:append() {
14 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin 22 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend
index 9b3d6475..c4953ce7 100644
--- a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend
+++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/psm-firmware_git.bbappend
@@ -10,6 +10,13 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/"
10 10
11ESW_COMPONENT = "versal_psmfw.elf" 11ESW_COMPONENT = "versal_psmfw.elf"
12 12
13do_configure:prepend() {
14 (
15 cd ${S}
16 install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC}
17 )
18}
19
13do_compile:append() { 20do_compile:append() {
14 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin 21 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin
15} 22}
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup b/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup
index 88046966..0a5736d8 100644
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup
@@ -1,25 +1,12 @@
1Document Version: 20211209 1Document Version: 20230112
2 2
3The Yocto Project setup for the new workflow is as follows. Be sure to read 3The Yocto Project setup for the System Device Tree workflow is as follows.
4everything below, as the steps will be updated in the future if the 4Be sure to read everything below, as the steps will be updated in the future
5setup script changes. 5if the setup script changes.
6 6
7The steps in this document expect that you have already built the setup 7The steps in this document expect that you have already built the setup
8(meta-xilinx-setup) SDK, and installed it. 8(meta-xilinx-setup) SDK, and installed it.
9 9
10* Configure you local.conf
11
12The following items should be in your conf/local.conf. This ensures that
13the correct configurations are available, and the correct firmware version
14is selected for this workflow.
15
16# Instruct the system to use the decoupling firmware sources,
17# add the following to the conf/local.conf:
18PREFERRED_VERSION_fsbl-firmware = "experimental%"
19PREFERRED_VERSION_pmu-firmware = "experimental%"
20PREFERRED_VERSION_plm-firmware = "experimental%"
21PREFERRED_VERSION_psm-firmware = "experimental%"
22
23* Run the setup script 10* Run the setup script
24 11
25The setup environment should be run in a new shell (not the build shell) 12The setup environment should be run in a new shell (not the build shell)
@@ -28,68 +15,88 @@ to ensure that you do not contaminate the environment for your build.
28We will assume below that the directory "prestep" was used for the SDK, 15We will assume below that the directory "prestep" was used for the SDK,
29however you may use any path you wish. 16however you may use any path you wish.
30 17
31# Source the SDK environment file 18Source the SDK environment file
32. <build>/prestep/environment-setup-x86_64-petalinux-linux 19 $ . <build>/prestep/environment-setup-x86_64-petalinux-linux
33 20
34# Run the script from the same directory as this README 21Run the script from the same directory as this README
35<build>/prestep/dt-processor.sh -c <conf> -s <dtb> 22 $ <build>/prestep/dt-processor.sh -c <conf> -s <dtb> -l conf/local.conf
36 23
37# For example, zynqmp: 24Note: The -l option will automatically add the necessary parameters to the
38# <build>/prestep/dt-processor.sh -c <build>/conf -s <device-tree>/zu-sdt/system-top.dts 25local.conf file. If you need to re-run this comment, you just clear the
39# 26parameters from the end of the file. Without the -l option the items are
40# Follow the instructions returned by the script! 27printed to the screen and must be manually added to your conf/local.conf
41# Such as: 28
42 29For example, zynqmp:
43To enable this, add the following to your local.conf: 30 $ ./prestep/dt-processor.sh -c conf -s /proj/yocto/zcu102-sdt/system-top.dts -l conf/local.conf
44 31
45# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere 32The following will be written to the end of the conf/local.conf file:
46BASE_TMPDIR = "${TOPDIR}" 33
47require conf/cortexa53-zynqmp-linux.conf 34 # Each multiconfig will define it's own TMPDIR, this is the new default based
48SYSTEM_DTFILE = "/proj/yocto/zu_sdt/system-top.dts" 35 # on BASE_TMPDIR for the Linux build
49BBMULTICONFIG += " cortexa53-zynqmp-fsbl-baremetal cortexa53-zynqmp-baremetal cortexa53-zynqmp-freertos cortexr5-zynqmp-fsbl-baremetal cortexr5-zynqmp-baremetal cortexr5-zynqmp-freertos microblaze-pmu" 36 TMPDIR = "${BASE_TMPDIR}/tmp"
50FSBL_DEPENDS = "" 37
51FSBL_MCDEPENDS = "mc::cortexa53-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy" 38 # Use the newly generated MACHINE
52FSBL_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-cortexa53-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}" 39 MACHINE = "xlnx-zynqmp-zcu102-rev1-0"
53R5FSBL_DEPENDS = "" 40
54R5FSBL_MCDEPENDS = "mc::cortexr5-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy" 41 # All of the TMPDIRs must be in a common parent directory. This is defined
55R5FSBL_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-cortexr5-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}" 42 # as BASE_TMPDIR.
56PMU_DEPENDS = "" 43 # Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere, such as /tmp
57PMU_MCDEPENDS = "mc::microblaze-pmu:pmu-firmware:do_deploy" 44 BASE_TMPDIR ?= "${TOPDIR}"
58PMU_FIRMWARE_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-pmu/deploy/images/${MACHINE}" 45
59 46 # The following is the full set of multiconfigs for this configuration
60# 47 # A large list can cause a slow parse.
61# OR 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"
62# 49 # Alternatively trim the list to the minimum
63# Versal: 50 #BBMULTICONFIG = " cortexa53-0-zynqmp-fsbl-baremetal microblaze-0-pmu"
64# <build>/prestep/dt-processor.sh -c <build>/conf -s <device-tree>/vck190-sdt/system-top.dts 51
65# 52
66# Follow the instructions returned by the script! 53For example, versal:
67# Such as: 54 $ ./prestep/dt-processor.sh -c conf -s /proj/yocto/vmk180-sdt/system-top.dts -l conf/local.conf
68 55
69To enable this, add the following to your local.conf: 56The following will be written to the end of the conf/local.conf file:
70 57
71# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere 58 # Each multiconfig will define it's own TMPDIR, this is the new default based
72BASE_TMPDIR = "${TOPDIR}" 59 # on BASE_TMPDIR for the Linux build
73require conf/cortexa72-versal-linux.conf 60 TMPDIR = "${BASE_TMPDIR}/tmp"
74SYSTEM_DTFILE = "/proj/yocto/mhatle/DTB-FLOW/testing/vck190-sdt/system-top.dts" 61
75BBMULTICONFIG += " cortexa72-versal-baremetal cortexa72-versal-freertos microblaze-pmc microblaze-psm cortexr5-versal-baremetal cortexr5-versal-freertos" 62 # Use the newly generated MACHINE
76PLM_DEPENDS = "" 63 MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva"
77PLM_MCDEPENDS = "mc::microblaze-pmc:plm-firmware:do_deploy" 64
78PLM_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-pmc/deploy/images/${MACHINE}" 65 # All of the TMPDIRs must be in a common parent directory. This is defined
79PSM_DEPENDS = "" 66 # as BASE_TMPDIR.
80PSM_MCDEPENDS = "mc::microblaze-psm:psm-firmware:do_deploy" 67 # Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere, such as /tmp
81PSM_FIRMWARE_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-psm/deploy/images/${MACHINE}" 68 BASE_TMPDIR ?= "${TOPDIR}"
82PDI_PATH = "__PATH TO PDI FILE HERE__" 69
83 70 # The following is the full set of multiconfigs for this configuration
84# NOTE: On versal, you MUST specify the PDI file as directed by the instructions. 71 # A large list can cause a slow parse.
85# such as: PDI_PATH = "__PATH TO PDI FILE HERE__" 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"
86# Use the full path to the corresponding PDI file, such as: 73 # Alternatively trim the list to the minimum
87PDI_PATH = "/proj/yocto/vck190-sdt/base-design.pdi" 74 #BBMULTICONFIG = " microblaze-0-pmc microblaze-0-psm"
88 75
89# _EXIT THE NEW SHELL_ return the build environment 76
90 77You can now EXIT THE NEW SHELL return the build environment for the remaining steps.
91### In the original build shell 78
92# Build your Linux sytem: 79* Bitbake Performance Note
93bitbake petalinux-image-minimal 80
94 81Each BBMULTICONFIG value requires all of the recipes to be parsed for that
95# The output will be in tmp/deploy/images/... 82configuration. Thus each multiconfig will add more parsing time. A long list
83can lead to a very slow parse (many minutes). To speed up parsing, it is
84suggested that you trim this down to only the configurations you require.
85A minimum configuration is included with the generated configuration.
86
87* Build your project
88
89You should now be able to build your project normally. See the Yocto Project
90documentation if you have questions on how to work with the multiconfig
91recipes. The following is a simple build for testing.
92
93In the original build shell
94Build your Linux sytem:
95 $ bitbake petalinux-image-minimal
96
97The output will be in tmp/deploy/images/...
98
99If the system is QEMU capable execute QEMU using:
100 $ runqemu nographic slirp core-image-minimal
101
102To 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
index 22345321..939fabe4 100755
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
@@ -34,12 +34,14 @@ usage() {
34 cat <<EOF 34 cat <<EOF
35$0 35$0
36 -c <config_dir> Location of the build conf directory 36 -c <config_dir> Location of the build conf directory
37 -s <system_dtb> Path to system DTB 37 -s <system_dts> Path to system dts
38 [-d <domain_file>] Path to domain file (.yml/.dts) 38 [-d <domain_file>] Path to domain file (.yml/.dts)
39 [-o <overlay_dtb>] Generate overlay dts 39 [-o <overlay_dts>] Generate overlay dts
40 [-e <external_fpga>] Apply a partial overlay 40 [-e <external_fpga>] Apply a partial overlay
41 [-m <machine>] zynqmp or versal 41 [-m <machine_conf>] The name of the machine .conf to generate
42 [-p <psu_init_path>] Path to psu_init files, defaults to system_dtb path 42 [-t <machine>] Machine type: zynqmp or versal (usually auto detected)
43 [-v <soc_variant>] SOC Variant: cg, dr, eg, ev, ai-prime, premium (usually auto detected)
44 [-p <psu_init_path>] Path to psu_init files, defaults to system_dts path
43 [-i <pdu_path>] Path to the pdi file 45 [-i <pdu_path>] Path to the pdi file
44 [-l <config_file>] write local.conf changes to this file 46 [-l <config_file>] write local.conf changes to this file
45 [-P <petalinux_schema>] Path to petalinux schema file 47 [-P <petalinux_schema>] Path to petalinux schema file
@@ -52,14 +54,16 @@ parse_args() {
52 [ $# -eq 0 ] && usage 54 [ $# -eq 0 ] && usage
53 [ $1 = "--help" ] && usage 55 [ $1 = "--help" ] && usage
54 56
55 while getopts ":c:s:d:o:e:m:l:hP:p:i:" opt; do 57 while getopts ":c:s:d:o:e:m:l:hP:p:i:t:v:" opt; do
56 case ${opt} in 58 case ${opt} in
57 c) config_dir=$OPTARG ;; 59 c) config_dir=$OPTARG ;;
58 s) system_dtb=$OPTARG ;; 60 s) system_dts=$OPTARG ;;
59 o) overlay_dtb=$OPTARG ;; 61 o) overlay_dts=$OPTARG ;;
60 d) domain_file=$OPTARG ;; 62 d) domain_file=$OPTARG ;;
61 e) external_fpga=$OPTARG ;; 63 e) external_fpga=$OPTARG ;;
62 m) machine=$OPTARG ;; 64 m) mach_conf=$OPTARG ; mach_conf=${mach_conf%%.conf} ;;
65 t) machine=$OPTARG ;;
66 v) soc_variant=$OPTARG ;;
63 p) psu_init_path=$OPTARG ;; 67 p) psu_init_path=$OPTARG ;;
64 i) pdi_path=$OPTARG ;; 68 i) pdi_path=$OPTARG ;;
65 l) localconf=$OPTARG ;; 69 l) localconf=$OPTARG ;;
@@ -71,17 +75,17 @@ parse_args() {
71 done 75 done
72 76
73 [ -z "${config_dir}" ] && error "You must specify the path to the build conf directory with -c" 77 [ -z "${config_dir}" ] && error "You must specify the path to the build conf directory with -c"
74 [ -z "${system_dtb}" ] && error "You must specify the path to the system device tree with -s" 78 [ -z "${system_dts}" ] && error "You must specify the path to the system device tree with -s"
75 [ -f "${config_dir}/local.conf" ] || error "Invalid config dir: ${config_dir}" 79 [ -f "${config_dir}/local.conf" ] || error "Invalid config dir: ${config_dir}"
76 [ -f "${system_dtb}" ] || error "Unable to find: ${system_dtb}" 80 [ -f "${system_dts}" ] || error "Unable to find: ${system_dts}"
77 system_dtb=$(realpath ${system_dtb}) 81 system_dts=$(realpath ${system_dts})
78 if [ -z "$psu_init_path" ]; then 82 if [ -z "$psu_init_path" ]; then
79 psu_init_path=$(dirname ${system_dtb}) 83 psu_init_path=$(dirname ${system_dts})
80 else 84 else
81 psu_init_path=$(realpath ${psu_init_path}) 85 psu_init_path=$(realpath ${psu_init_path})
82 fi 86 fi
83 if [ -z "$pdi_path" ]; then 87 if [ -z "$pdi_path" ]; then
84 pdi_path=$(dirname ${system_dtb}) 88 pdi_path=$(dirname ${system_dts})
85 else 89 else
86 pdi_path=$(realpath ${pdi_path}) 90 pdi_path=$(realpath ${pdi_path})
87 fi 91 fi
@@ -93,51 +97,115 @@ parse_args() {
93 97
94detect_machine() { 98detect_machine() {
95 if [ -z "${machine}" ]; then 99 if [ -z "${machine}" ]; then
96 # Identify the system type first using PSM/PMC/PMU 100 if [ -n "${deviceid}" ]; then
97 while read -r cpu domain os_hint; do 101 case ${deviceid} in
98 case ${cpu} in 102 # ZynqMP variants
99 pmu-microblaze) 103 xczu*cg)
100 machine="zynqmp" ;; 104 machine="zynqmp"
101 pmc-microblaze | psm-microblaze) 105 soc_variant="cg" ;;
102 machine="versal" ;; 106 xczu*dr)
107 machine="zynqmp"
108 soc_variant="dr" ;;
109 xczu*eg)
110 machine="zynqmp"
111 soc_variant="eg" ;;
112 xczu*ev)
113 machine="zynqmp"
114 soc_variant="ev" ;;
115 # Versal variants
116 xcvm*)
117 machine="versal"
118 soc_variant="prime" ;;
119 xcvc*)
120 machine="versal"
121 soc_variant="ai-core" ;;
122 xcve*)
123 machine="versal"
124 soc_variant="ai-edge" ;;
125 xcvn*)
126 machine="versal"
127 soc_variant="net" ;;
128 xcvp*)
129 machine="versal"
130 soc_variant="premium" ;;
131 xcvh*)
132 machine="versal"
133 soc_variant="hbm" ;;
134 # Special Case Starter Kit SOMs
135 xck26)
136 incmachine="k26-smk.conf"
137 machine="zynqmp"
138 soc_variant="ev" ;;
139 xck24)
140 incmachine="k24-smk.conf"
141 machine="zynqmp"
142 soc_variant="eg" ;;
103 esac 143 esac
104 done <${cpulist} 144 else
145 # Identify the system type first using PSM/PMC/PMU
146 while read -r cpu core domain cpu_name os_hint; do
147 case ${cpu} in
148 pmu-microblaze)
149 machine="zynqmp" ;;
150 pmc-microblaze | psm-microblaze)
151 machine="versal" ;;
152 esac
153 done <${cpulist}
154 fi
105 fi 155 fi
106 156
107 # Machine not provided and we cannot identify.. 157 # Machine not provided and we cannot identify..
108 [ -z ${machine} ] && \ 158 [ -z ${machine} ] && \
109 error "Unable to autodetect machine type, use -m to specify the machine." 159 error "Unable to autodetect machine type, use -t to specify the machine."
110 160
111 case ${machine} in 161 case ${machine} in
112 zynqmp | versal) : ;; 162 zynqmp | versal) : ;;
113 *) error "Invalid machine type ${machine}; please choose zynqmp or versal" 163 *) error "Invalid machine type ${machine}; please choose zynqmp or versal"
114 esac 164 esac
165
166 [ -z ${soc_variant} ] && \
167 warn "Unable to autodetect soc variant, use -v to specify a variant."
168}
169
170dump_cpus() {
171 prefix="$1"
172 while read -r cpu core domain cpu_name os_hint; do
173 case ${cpu} in
174 \#*) ;;
175 \[*) ;;
176 pmu-microblaze) echo "${prefix}zynqmp-pmu ${cpu_name}" ;;
177 pmc-microblaze) echo "${prefix}versal-plm ${cpu_name}" ;;
178 psm-microblaze) echo "${prefix}versal-psm ${cpu_name}" ;;
179 xlnx,microblaze) echo "${prefix}microblaze ${core} ${cpu_name}";;
180 arm,*) echo "${prefix}${cpu/,/ } ${core} ${cpu_name}";;
181 *) echo "${prefix}${cpu} ${core} ${cpu_name}";;
182 esac
183 done <${cpulist}
115} 184}
116 185
117cortex_a53_linux() { 186cortex_a53_linux() {
118 info "cortex-a53 for Linux [ $1 ]" 187 info "cortex-a53 for Linux [ $1 ]"
119 188
120 if [ "$1" = "None" ]; then 189 if [ "$1" = "None" ]; then
121 dtb_file="cortexa53-${machine}-linux.dtb"
122 dts_file="cortexa53-${machine}-linux.dts" 190 dts_file="cortexa53-${machine}-linux.dts"
123 system_conf=conf/cortexa53-${machine}-linux.conf 191 system_conf=${dts_file}
124 conf_file=cortexa53-${machine}-linux.conf 192 conf_file=""
125 else 193 else
126 dtb_file="cortexa53-${machine}-$1-linux.dtb" 194 mc_name=cortexa53-${machine}-$1-linux
127 dts_file="cortexa53-${machine}-$1-linux.dts" 195 dts_file="${mc_name}.dts"
128 multiconf="${multiconf} cortexa53-${machine}-linux" 196 multiconf="${multiconf} ${mc_name}"
129 conf_file=multiconfig/cortexa53-${machine}-$1-linux.conf 197 conf_file=multiconfig/${mc_name}.conf
130 fi 198 fi
131 199
132 # Check if it is overlay dts otherwise just create linux dtb 200 # Check if it is overlay dts otherwise just create linux dts
133 ( 201 (
134 cd dtb || error "Unable to cd to dtb dir" 202 cd dts || error "Unable to cd to dts dir"
135 if [ "${overlay_dtb}" = "true" ]; then 203 if [ "${overlay_dts}" = "true" ]; then
136 if [ "${external_fpga}" = "true" ]; then 204 if [ "${external_fpga}" = "true" ]; then
137 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" -- xlnx_overlay_dt ${machine} full \ 205 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- xlnx_overlay_dt ${machine} full \
138 || error "lopper failed" 206 || error "lopper failed"
139 else 207 else
140 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dtb}" -- xlnx_overlay_dt ${machine} partial \ 208 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- xlnx_overlay_dt ${machine} partial \
141 || error "lopper failed" 209 || error "lopper failed"
142 fi 210 fi
143 dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed" 211 dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed"
@@ -146,42 +214,27 @@ cortex_a53_linux() {
146 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \ 214 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \
147 -i "${lops_dir}/lop-domain-linux-a53.dts" \ 215 -i "${lops_dir}/lop-domain-linux-a53.dts" \
148 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \ 216 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \
149 "${system_dtb}" "${dtb_file}" \ 217 "${system_dts}" "${dts_file}" \
150 || error "lopper failed"
151 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
152 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \
153 -i "${lops_dir}/lop-domain-linux-a53.dts" \
154 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \
155 "${system_dtb}" "${dts_file}" \
156 || error "lopper failed" 218 || error "lopper failed"
157 else 219 else
158 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ 220 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \
159 -i "${lops_dir}/lop-domain-linux-a53.dts" \ 221 -i "${lops_dir}/lop-domain-linux-a53.dts" \
160 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \ 222 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \
161 "${system_dtb}" "${dtb_file}" \ 223 "${system_dts}" "${dts_file}" \
162 || error "lopper failed"
163 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \
164 -i "${lops_dir}/lop-domain-linux-a53.dts" \
165 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \
166 "${system_dtb}" "${dts_file}" \
167 || error "lopper failed" 224 || error "lopper failed"
168 fi 225 fi
169 rm -f pl.dtsi lop-a53-imux.dts.dtb lop-domain-linux-a53.dts.dtb 226 rm -f pl.dtsi lop-a53-imux.dts.dtb lop-domain-linux-a53.dts.dtb lop-domain-linux-a53-prune.dts.dtb
170 ) 227 )
171 228
229 if [ -z "${conf_file}" ]; then
230 return $?
231 fi
232
233 ## Generate a multiconfig
172 cat <<EOF >"${conf_file}" 234 cat <<EOF >"${conf_file}"
173CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 235CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
174CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
175 236
176MACHINE = "${machine}-generic" 237TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
177# We don't want the kernel to build us a device-tree
178KERNEL_DEVICETREE:${machine}-generic = ""
179# We need u-boot to use the one we passed in
180DEVICE_TREE_NAME:pn-u-boot-xlnx-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
181# Update bootbin to use proper device tree
182BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
183# Remap boot files to ensure the right device tree is listed first
184IMAGE_BOOT_FILES = "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))} \${@get_default_image_boot_files(d)}"
185EOF 238EOF
186} 239}
187 240
@@ -191,7 +244,7 @@ cortex_a53_baremetal() {
191 [ ${a53_fsbl_done} = 1 ] && return 244 [ ${a53_fsbl_done} = 1 ] && return
192 info "cortex-a53 FSBL baremetal configuration" 245 info "cortex-a53 FSBL baremetal configuration"
193 else 246 else
194 info "cortex-a53 for baremetal [ $1 ]" 247 info "cortex-a53 baremetal configuration for core $2 [ $1 ]"
195 fi 248 fi
196 249
197 suffix=""; lto="-nolto" 250 suffix=""; lto="-nolto"
@@ -199,44 +252,47 @@ cortex_a53_baremetal() {
199 suffix="-$1"; lto="" 252 suffix="-$1"; lto=""
200 fi 253 fi
201 254
202 dtb_file="cortexa53-${machine}${suffix}-baremetal.dtb" 255 mc_name="cortexa53-$2-${machine}${suffix}-baremetal"
203 multiconf="${multiconf} cortexa53-${machine}${suffix}-baremetal" 256 dts_file="${mc_name}.dts"
204 conf_file="multiconfig/cortexa53-${machine}${suffix}-baremetal.conf" 257 multiconf="${multiconf} ${mc_name}"
205 libxil="multiconfig/includes/cortexa53-${machine}${suffix}-libxil.conf" 258 conf_file="multiconfig/${mc_name}.conf"
206 distro="multiconfig/includes/cortexa53-${machine}${suffix}-distro.conf" 259 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
260 features="machine/include/${mach_conf}/${mc_name}-features.conf"
207 yocto_distro="xilinx-standalone${lto}" 261 yocto_distro="xilinx-standalone${lto}"
208 if [ "$1" = "fsbl" ]; then 262 if [ "$1" = "fsbl" ]; then
209 fsbl_mcdepends="mc::${dtb_file%%.dtb}:fsbl-firmware:do_deploy" 263 fsbl_mcdepends="mc::${mc_name}:fsbl-firmware:do_deploy"
210 fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 264 fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}"
265 multiconf_min="${multiconf_min} ${mc_name}"
211 a53_fsbl_done=1 266 a53_fsbl_done=1
212 fi 267 fi
213 268
214 # Build device tree 269 # Build device tree
215 ( 270 (
216 cd dtb || error "Unable to cd to dtb dir" 271 cd dts || error "Unable to cd to dts dir"
217 if [ -n "${domain_file}" ]; then 272 if [ -n "${domain_file}" ]; then
218 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ 273 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
219 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dtb}" "${dtb_file}" \ 274 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dts}" "${dts_file}" \
220 || error "lopper failed" 275 || error "lopper failed"
221 else 276 else
222 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ 277 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \
223 "${system_dtb}" "${dtb_file}" || error "lopper failed" 278 "${system_dts}" "${dts_file}" || error "lopper failed"
224 fi 279 fi
225 rm -f lop-a53-imux.dts.dtb 280 rm -f lop-a53-imux.dts.dtb
226 ) 281 )
227 282
228 # Build baremetal multiconfig 283 # Build baremetal multiconfig
229 if [ -n "${domain_file}" ]; then 284 if [ -n "${domain_file}" ]; then
230 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 285 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
231 -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" \ 286 -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
232 || error "lopper failed" 287 || error "lopper failed"
233 else 288 else
234 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" \ 289 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
235 || error "lopper failed" 290 || error "lopper failed"
236 fi 291 fi
237 292
238 mv libxil.conf "${libxil}" 293 mv libxil.conf "${libxil}"
239 mv distro.conf "${distro}" 294 mv distro.conf "${features}"
295 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
240 296
241 if [ "$1" = "fsbl" ]; then 297 if [ "$1" = "fsbl" ]; then
242 if [ ! -e "${psu_init_path}/psu_init.c" ]; then 298 if [ ! -e "${psu_init_path}/psu_init.c" ]; then
@@ -253,80 +309,66 @@ EOF
253 cat /dev/null >"${conf_file}" 309 cat /dev/null >"${conf_file}"
254 fi 310 fi
255 cat <<EOF >>"${conf_file}" 311 cat <<EOF >>"${conf_file}"
256CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 312CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
257CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
258 313
259ESW_MACHINE = "cortexa53-${machine}" 314ESW_MACHINE = "$3"
260DEFAULTTUNE = "cortexa53" 315DEFAULTTUNE = "cortexa53"
261 316
262TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 317TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
263 318
264DISTRO = "${yocto_distro}" 319DISTRO = "${yocto_distro}"
265
266LIBXIL_CONFIG = "conf/${libxil}"
267require conf/${distro}
268
269SKIP_META_VIRT_SANITY_CHECK = "1"
270SKIP_META_SECURITY_SANITY_CHECK = "1"
271SKIP_META_TPM_SANITY_CHECK = "1"
272EOF 320EOF
273} 321}
274 322
275cortex_a53_freertos() { 323cortex_a53_freertos() {
276 info "cortex-a53 for FreeRTOS [ $1 ]" 324 info "cortex-a53 FreeRTOS configuration for core $2 [ $1 ]"
277 325
278 suffix="" 326 suffix=""
279 [ "$1" != "None" ] && suffix="-$1" 327 [ "$1" != "None" ] && suffix="-$1"
280 328
281 dtb_file="cortexa53-${machine}${suffix}-freertos.dtb" 329 mc_name="cortexa53-$2-${machine}${suffix}-freertos"
282 multiconf="${multiconf} cortexa53-${machine}${suffix}-freertos" 330 dts_file="${mc_name}.dts"
283 conf_file="multiconfig/cortexa53-${machine}${suffix}-freertos.conf" 331 multiconf="${multiconf} ${mc_name}"
284 libxil="multiconfig/includes/cortexa53-${machine}${suffix}-libxil.conf" 332 conf_file="multiconfig/${mc_name}.conf"
285 distro="multiconfig/includes/cortexa53-${machine}${suffix}-distro.conf" 333 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
334 features="machine/include/${mach_conf}/${mc_name}-features.conf"
286 335
287 # Build device tree 336 # Build device tree
288 ( 337 (
289 cd dtb || error "Unable to cd to dtb dir" 338 cd dts || error "Unable to cd to dts dir"
290 if [ -n "${domain_file}" ]; then 339 if [ -n "${domain_file}" ]; then
291 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ 340 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
292 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dtb}" "${dtb_file}" \ 341 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" "${system_dts}" "${dts_file}" \
293 || error "lopper failed" 342 || error "lopper failed"
294 else 343 else
295 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ 344 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \
296 "${system_dtb}" "${dtb_file}" || error "lopper failed" 345 "${system_dts}" "${dts_file}" || error "lopper failed"
297 fi 346 fi
298 rm -f lop-a53-imux.dts.dtb 347 rm -f lop-a53-imux.dts.dtb
299 ) 348 )
300 349
301 # Build baremetal multiconfig 350 # Build baremetal multiconfig
302 if [ -n "${domain_file}" ]; then 351 if [ -n "${domain_file}" ]; then
303 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 352 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
304 -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" || error "lopper failed" 353 -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed"
305 else 354 else
306 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa53-${machine} "${embeddedsw}" \ 355 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
307 || error "lopper failed" 356 || error "lopper failed"
308 fi 357 fi
309 358
310 mv libxil.conf "${libxil}" 359 mv libxil.conf "${libxil}"
311 mv distro.conf "${distro}" 360 mv distro.conf "${features}"
361 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
312 362
313 cat <<EOF >"${conf_file}" 363 cat <<EOF >"${conf_file}"
314CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 364CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
315CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
316 365
317ESW_MACHINE = "cortexa53-${machine}" 366ESW_MACHINE = "$3"
318DEFAULTTUNE = "cortexa53" 367DEFAULTTUNE = "cortexa53"
319 368
320TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 369TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
321 370
322DISTRO = "xilinx-freertos" 371DISTRO = "xilinx-freertos"
323
324LIBXIL_CONFIG = "conf/${libxil}"
325require conf/${distro}
326
327SKIP_META_VIRT_SANITY_CHECK = "1"
328SKIP_META_SECURITY_SANITY_CHECK = "1"
329SKIP_META_TPM_SANITY_CHECK = "1"
330EOF 372EOF
331} 373}
332 374
@@ -336,36 +378,35 @@ cortex_a72_linux() {
336 # Find the first file ending in .pdi 378 # Find the first file ending in .pdi
337 full_pdi_path=$(ls ${pdi_path}/*.pdi 2>/dev/null | head -n 1) 379 full_pdi_path=$(ls ${pdi_path}/*.pdi 2>/dev/null | head -n 1)
338 if [ -z "${full_pdi_path}" ]; then 380 if [ -z "${full_pdi_path}" ]; then
339 warn "Warning: Unable to find a pdi file in ${pdi_path}" 381 error "Unable to find a pdi file in ${pdi_path}, use the -i option to point to the directory containing a .pdi file"
340 full_pdi_path="__PATH TO PDI FILE HERE__" 382 full_pdi_path="__PATH TO PDI FILE HERE__"
341 elif [ "${full_pdi_path}" != "$(ls ${pdi_path}/*.pdi 2>/dev/null)" ]; then 383 elif [ "${full_pdi_path}" != "$(ls ${pdi_path}/*.pdi 2>/dev/null)" ]; then
342 warn "Warning: multiple PDI files found, using first found $(basename ${full_pdi_path})." 384 warn "Warning: multiple PDI files found, using first found $(basename ${full_pdi_path})."
343 fi 385 fi
344 386
345 if [ "$1" = "None" ]; then 387 if [ "$1" = "None" ]; then
346 dtb_file="cortexa72-${machine}-linux.dtb"
347 dts_file="cortexa72-${machine}-linux.dts" 388 dts_file="cortexa72-${machine}-linux.dts"
348 system_conf=conf/cortexa72-${machine}-linux.conf 389 system_conf=${dts_file}
349 conf_file=cortexa72-${machine}-linux.conf 390 conf_file=""
350 else 391 else
351 dtb_file="cortexa72-${machine}-$1-linux.dtb" 392 mc_name="cortexa72-${machine}-$1-linux"
352 dts_file="cortexa72-${machine}-$1-linux.dts" 393 dts_file="${mc_name}.dts"
353 multiconf="${multiconf} cortexa72-${machine}-linux" 394 multiconf="${multiconf} ${mc_name}"
354 conf_file=multiconfig/cortexa72-${machine}-$1-linux.conf 395 conf_file=multiconfig/${mc_name}.conf
355 fi 396 fi
356 397
357 ( 398 (
358 cd dtb || error "Unable to cd to dtb dir" 399 cd dts || error "Unable to cd to dts dir"
359 # Check if it is overlay dts otherwise just create linux dtb 400 # Check if it is overlay dts otherwise just create linux dts
360 if [ "${overlay_dtb}" = "true" ]; then 401 if [ "${overlay_dts}" = "true" ]; then
361 # As there is no partial support on Versal, As per fpga manager implementatin there is 402 # As there is no partial support on Versal, As per fpga manager implementatin there is
362 # a flag "external_fpga" which says apply overlay without loading the bit file. 403 # a flag "external_fpga" which says apply overlay without loading the bit file.
363 if [ "${external_fpga}" = "true" ]; then 404 if [ "${external_fpga}" = "true" ]; then
364 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" -- xlnx_overlay_dt \ 405 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- xlnx_overlay_dt \
365 ${machine} full external_fpga || error "lopper failed" 406 ${machine} full external_fpga || error "lopper failed"
366 else 407 else
367 # If there is no external_fpga flag, then the default is full 408 # If there is no external_fpga flag, then the default is full
368 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dtb}" -- xlnx_overlay_dt \ 409 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- xlnx_overlay_dt \
369 ${machine} full || error "lopper failed" 410 ${machine} full || error "lopper failed"
370 fi 411 fi
371 dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed" 412 dtc -q -O dtb -o pl.dtbo -b 0 -@ pl.dtsi || error "dtc failed"
@@ -374,156 +415,130 @@ cortex_a72_linux() {
374 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" \ 415 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" \
375 -i "${lops_dir}/lop-domain-a72.dts" \ 416 -i "${lops_dir}/lop-domain-a72.dts" \
376 -i "${lops_dir}/lop-domain-a72-prune.dts" \ 417 -i "${lops_dir}/lop-domain-a72-prune.dts" \
377 "${system_dtb}" "${dtb_file}" \ 418 "${system_dts}" "${dts_file}" \
378 || error "lopper failed"
379 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
380 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" \
381 -i "${lops_dir}/lop-domain-a72.dts" \
382 -i "${lops_dir}/lop-domain-a72-prune.dts" \
383 "${system_dtb}" "${dts_file}" \
384 || error "lopper failed" 419 || error "lopper failed"
385 else 420 else
386 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ 421 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \
387 -i "${lops_dir}/lop-domain-a72.dts" \ 422 -i "${lops_dir}/lop-domain-a72.dts" \
388 -i "${lops_dir}/lop-domain-a72-prune.dts" \ 423 -i "${lops_dir}/lop-domain-a72-prune.dts" \
389 "${system_dtb}" "${dtb_file}" || error "lopper failed" 424 "${system_dts}" "${dts_file}" || error "lopper failed"
390 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \
391 -i "${lops_dir}/lop-domain-a72.dts" \
392 -i "${lops_dir}/lop-domain-a72-prune.dts" \
393 "${system_dtb}" "${dts_file}" || error "lopper failed"
394 fi 425 fi
395 rm -f pl.dtsi lop-a72-imux.dts.dtb lop-domain-a72.dts.dtb 426 rm -f pl.dtsi lop-a72-imux.dts.dtb lop-domain-a72.dts.dtb lop-domain-a72-prune.dts.dtb
396 ) 427 )
397 428
429 if [ -z "${conf_file}" ]; then
430 return $?
431 fi
432
433 ## Generate a multiconfig
398 cat <<EOF >"${conf_file}" 434 cat <<EOF >"${conf_file}"
399CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 435CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
400CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
401 436
402MACHINE = "${machine}-generic" 437TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
403# We don't want the kernel to build us a device-tree
404KERNEL_DEVICETREE:${machine}-generic = ""
405# We need u-boot to use the one we passed in
406DEVICE_TREE_NAME:pn-u-boot-xlnx-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
407# Update bootbin to use proper device tree
408BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
409# Remap boot files to ensure the right device tree is listed first
410IMAGE_BOOT_FILES = "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))} \${@get_default_image_boot_files(d)}"
411EOF 438EOF
412} 439}
413 440
414cortex_a72_baremetal() { 441cortex_a72_baremetal() {
415 info "cortex-a72 for baremetal [ $1 ]" 442 info "cortex-a72 baremetal configuration for core $2 [ $1 ]"
416 443
417 suffix="" 444 suffix=""
418 [ "$1" != "None" ] && suffix="-$1" 445 [ "$1" != "None" ] && suffix="-$1"
419 446
420 dtb_file="cortexa72-${machine}${suffix}-baremetal.dtb" 447 mc_name="cortexa72-$2-${machine}${suffix}-baremetal"
421 multiconf="${multiconf} cortexa72-${machine}${suffix}-baremetal" 448 dts_file="${mc_name}.dts"
422 conf_file="multiconfig/cortexa72-${machine}${suffix}-baremetal.conf" 449 multiconf="${multiconf} ${mc_name}"
423 libxil="multiconfig/includes/cortexa72-${machine}${suffix}-libxil.conf" 450 conf_file="multiconfig/${mc_name}.conf"
424 distro="multiconfig/includes/cortexa72-${machine}${suffix}-distro.conf" 451 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
452 features="machine/include/${mach_conf}/${mc_name}-features.conf"
425 453
426 # Build device tree 454 # Build device tree
427 ( 455 (
428 cd dtb || error "Unable to cd to dtb dir" 456 cd dts || error "Unable to cd to dts dir"
429 if [ -n "${domain_file}" ]; then 457 if [ -n "${domain_file}" ]; then
430 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ 458 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
431 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dtb}" "${dtb_file}" \ 459 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dts}" "${dts_file}" \
432 || error "lopper failed" 460 || error "lopper failed"
433 else 461 else
434 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ 462 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \
435 "${system_dtb}" "${dtb_file}" || error "lopper failed" 463 "${system_dts}" "${dts_file}" || error "lopper failed"
436 fi 464 fi
437 rm -f lop-a72-imux.dts.dtb 465 rm -f lop-a72-imux.dts.dtb
438 ) 466 )
439 467
440 # Build baremetal multiconfig 468 # Build baremetal multiconfig
441 if [ -n "${domain_file}" ]; then 469 if [ -n "${domain_file}" ]; then
442 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 470 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
443 -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" || error "lopper failed" 471 -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed"
444 else 472 else
445 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" \ 473 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
446 || error "lopper failed" 474 || error "lopper failed"
447 fi 475 fi
448 476
449 mv libxil.conf "${libxil}" 477 mv libxil.conf "${libxil}"
450 mv distro.conf "${distro}" 478 mv distro.conf "${features}"
479 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
451 480
452 cat <<EOF >"${conf_file}" 481 cat <<EOF >"${conf_file}"
453CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 482CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
454CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
455 483
456ESW_MACHINE = "cortexa72-${machine}" 484ESW_MACHINE = "$3"
457DEFAULTTUNE = "cortexa72" 485DEFAULTTUNE = "cortexa72"
458 486
459TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 487TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
460 488
461DISTRO = "xilinx-standalone-nolto" 489DISTRO = "xilinx-standalone-nolto"
462
463LIBXIL_CONFIG = "conf/${libxil}"
464require conf/${distro}
465
466SKIP_META_VIRT_SANITY_CHECK = "1"
467SKIP_META_SECURITY_SANITY_CHECK = "1"
468SKIP_META_TPM_SANITY_CHECK = "1"
469EOF 490EOF
470} 491}
471 492
472cortex_a72_freertos() { 493cortex_a72_freertos() {
473 info "cortex-a72 for FreeRTOS [ $1 ]" 494 info "cortex-a72 FreeRTOS configuration for core $2 [ $1 ]"
474 495
475 suffix="" 496 suffix=""
476 [ "$1" != "None" ] && suffix="-$1" 497 [ "$1" != "None" ] && suffix="-$1"
477 498
478 dtb_file="cortexa72-${machine}${suffix}-freertos.dtb" 499 mc_name="cortexa72-$2-${machine}${suffix}-freertos"
479 multiconf="${multiconf} cortexa72-${machine}${suffix}-freertos" 500 dts_file="${mc_name}.dts"
480 conf_file="multiconfig/cortexa72-${machine}${suffix}-freertos.conf" 501 multiconf="${multiconf} ${mc_name}"
481 libxil="multiconfig/includes/cortexa72-${machine}${suffix}-libxil.conf" 502 conf_file="multiconfig/${mc_name}.conf"
482 distro="multiconfig/includes/cortexa72-${machine}${suffix}-distro.conf" 503 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
504 features="machine/include/${mach_conf}/${mc_name}-features.conf"
483 505
484 # Build device tree 506 # Build device tree
485 ( 507 (
486 cd dtb || error "Unable to cd to dtb dir" 508 cd dts || error "Unable to cd to dts dir"
487 if [ -n "${domain_file}" ]; then 509 if [ -n "${domain_file}" ]; then
488 LOPPER_DTC_FLAGS="-b 0 -@" lopper -f --enhanced -x '*.yaml' \ 510 LOPPER_DTC_FLAGS="-b 0 -@" lopper -f --enhanced -x '*.yaml' \
489 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dtb}" "${dtb_file}" \ 511 -i "${domain_file}" -i "${lops_dir}/lop-a72-imux.dts" "${system_dts}" "${dts_file}" \
490 || error "lopper failed" 512 || error "lopper failed"
491 else 513 else
492 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \ 514 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a72-imux.dts" \
493 "${system_dtb}" "${dtb_file}" || error "lopper failed" 515 "${system_dts}" "${dts_file}" || error "lopper failed"
494 fi 516 fi
495 rm -f lop-a72-imux.dts.dtb 517 rm -f lop-a72-imux.dts.dtb
496 ) 518 )
497 519
498 # Build baremetal multiconfig 520 # Build baremetal multiconfig
499 if [ -n "${domain_file}" ]; then 521 if [ -n "${domain_file}" ]; then
500 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 522 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
501 -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" || error "lopper failed" 523 -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed"
502 else 524 else
503 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexa72-${machine} "${embeddedsw}" \ 525 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
504 || error "lopper failed" 526 || error "lopper failed"
505 fi 527 fi
506 528
507 mv libxil.conf "${libxil}" 529 mv libxil.conf "${libxil}"
508 mv distro.conf "${distro}" 530 mv distro.conf "${features}"
531 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
509 532
510 cat <<EOF >"${conf_file}" 533 cat <<EOF >"${conf_file}"
511CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 534CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
512CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
513 535
514ESW_MACHINE = "cortexa72-${machine}" 536ESW_MACHINE = "$3"
515DEFAULTTUNE = "cortexa72" 537DEFAULTTUNE = "cortexa72"
516 538
517TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 539TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
518 540
519DISTRO = "xilinx-freertos" 541DISTRO = "xilinx-freertos"
520
521LIBXIL_CONFIG = "conf/${libxil}"
522require conf/${distro}
523
524SKIP_META_VIRT_SANITY_CHECK = "1"
525SKIP_META_SECURITY_SANITY_CHECK = "1"
526SKIP_META_TPM_SANITY_CHECK = "1"
527EOF 542EOF
528} 543}
529 544
@@ -533,7 +548,7 @@ cortex_r5_baremetal() {
533 [ ${r5_fsbl_done} = 1 ] && return 548 [ ${r5_fsbl_done} = 1 ] && return
534 info "cortex-r5 FSBL baremetal configuration" 549 info "cortex-r5 FSBL baremetal configuration"
535 else 550 else
536 info "cortex-r5 for baremetal [ $1 ]" 551 info "cortex-r5 baremetal configuration for core $2 [ $1 ]"
537 fi 552 fi
538 553
539 suffix=""; lto="-nolto" 554 suffix=""; lto="-nolto"
@@ -541,44 +556,46 @@ cortex_r5_baremetal() {
541 suffix="-$1"; lto="" 556 suffix="-$1"; lto=""
542 fi 557 fi
543 558
544 dtb_file="cortexr5-${machine}${suffix}-baremetal.dtb" 559 mc_name="cortexr5-$2-${machine}${suffix}-baremetal"
545 multiconf="${multiconf} cortexr5-${machine}${suffix}-baremetal" 560 dts_file="${mc_name}.dts"
546 conf_file="multiconfig/cortexr5-${machine}${suffix}-baremetal.conf" 561 multiconf="${multiconf} ${mc_name}"
547 libxil="multiconfig/includes/cortexr5-${machine}${suffix}-libxil.conf" 562 conf_file="multiconfig/${mc_name}.conf"
548 distro="multiconfig/includes/cortexr5-${machine}${suffix}-distro.conf" 563 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
564 features="machine/include/${mach_conf}/${mc_name}-features.conf"
549 yocto_distro="xilinx-standalone${lto}" 565 yocto_distro="xilinx-standalone${lto}"
550 566
551 if [ "$1" = "fsbl" ]; then 567 if [ "$1" = "fsbl" ]; then
552 r5fsbl_mcdepends="mc::${dtb_file%%.dtb}:fsbl-firmware:do_deploy" 568 r5fsbl_mcdepends="mc::${mc_name}:fsbl-firmware:do_deploy"
553 r5fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 569 r5fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}"
554 r5_fsbl_done=1 570 r5_fsbl_done=1
555 fi 571 fi
556 572
557 # Build device tree 573 # Build device tree
558 ( 574 (
559 cd dtb || error "Unable to cd to dtb dir" 575 cd dts || error "Unable to cd to dts dir"
560 if [ -n "$domain_file" ]; then 576 if [ -n "$domain_file" ]; then
561 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ 577 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
562 -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dtb}" "${dtb_file}" \ 578 -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dts}" "${dts_file}" \
563 || error "lopper failed" 579 || error "lopper failed"
564 else 580 else
565 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \ 581 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \
566 "${system_dtb}" "${dtb_file}" || error "lopper failed" 582 "${system_dts}" "${dts_file}" || error "lopper failed"
567 fi 583 fi
568 rm -f lop-r5-imux.dts.dtb 584 rm -f lop-r5-imux.dts.dtb
569 ) 585 )
570 586
571 # Build baremetal multiconfig 587 # Build baremetal multiconfig
572 if [ -n "${domain_file}" ]; then 588 if [ -n "${domain_file}" ]; then
573 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 589 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
574 -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" || error "lopper failed" 590 -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed"
575 else 591 else
576 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" \ 592 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
577 || error "lopper failed" 593 || error "lopper failed"
578 fi 594 fi
579 595
580 mv libxil.conf "${libxil}" 596 mv libxil.conf "${libxil}"
581 mv distro.conf "${distro}" 597 mv distro.conf "${features}"
598 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
582 599
583 if [ "$1" = "fsbl" ]; then 600 if [ "$1" = "fsbl" ]; then
584 if [ ! -e "${psu_init_path}/psu_init.c" ]; then 601 if [ ! -e "${psu_init_path}/psu_init.c" ]; then
@@ -595,80 +612,66 @@ EOF
595 cat /dev/null >"${conf_file}" 612 cat /dev/null >"${conf_file}"
596 fi 613 fi
597 cat <<EOF >>"${conf_file}" 614 cat <<EOF >>"${conf_file}"
598CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 615CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
599CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
600 616
601ESW_MACHINE = "cortexr5-${machine}" 617ESW_MACHINE = "$3"
602DEFAULTTUNE = "cortexr5" 618DEFAULTTUNE = "cortexr5"
603 619
604TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 620TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
605 621
606DISTRO = "$yocto_distro" 622DISTRO = "$yocto_distro"
607
608LIBXIL_CONFIG = "conf/${libxil}"
609require conf/${distro}
610
611SKIP_META_VIRT_SANITY_CHECK = "1"
612SKIP_META_SECURITY_SANITY_CHECK = "1"
613SKIP_META_TPM_SANITY_CHECK = "1"
614EOF 623EOF
615} 624}
616 625
617cortex_r5_freertos() { 626cortex_r5_freertos() {
618 info "cortex-r5 for FreeRTOS [ $1 ]" 627 info "cortex-r5 FreeRTOS configuration for core $2 [ $1 ]"
619 628
620 suffix="" 629 suffix=""
621 [ "$1" != "None" ] && suffix="-$1" 630 [ "$1" != "None" ] && suffix="-$1"
622 631
623 dtb_file="cortexr5-${machine}${suffix}-freertos.dtb" 632 mc_name="cortexr5-$2-${machine}${suffix}-freertos"
624 multiconf="${multiconf} cortexr5-${machine}${suffix}-freertos" 633 dts_file="${mc_name}.dts"
625 conf_file="multiconfig/cortexr5-${machine}${suffix}-freertos.conf" 634 multiconf="${multiconf} ${mc_name}"
626 libxil="multiconfig/includes/cortexr5-${machine}${suffix}-libxil.conf" 635 conf_file="multiconfig/${mc_name}.conf"
627 distro="multiconfig/includes/cortexr5-${machine}${suffix}-distro.conf" 636 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
637 features="machine/include/${mach_conf}/${mc_name}-features.conf"
628 638
629 # Build device tree 639 # Build device tree
630 ( 640 (
631 cd dtb || error "Unable to cd to dtb dir" 641 cd dts || error "Unable to cd to dts dir"
632 if [ -n "$domain_file" ]; then 642 if [ -n "$domain_file" ]; then
633 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \ 643 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' \
634 -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dtb}" "${dtb_file}" \ 644 -i "${domain_file}" -i "${lops_dir}/lop-r5-imux.dts" "${system_dts}" "${dts_file}" \
635 || error "lopper failed" 645 || error "lopper failed"
636 else 646 else
637 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \ 647 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-r5-imux.dts" \
638 "${system_dtb}" "${dtb_file}" || error "lopper failed" 648 "${system_dts}" "${dts_file}" || error "lopper failed"
639 fi 649 fi
640 rm -f lop-r5-imux.dts.dtb 650 rm -f lop-r5-imux.dts.dtb
641 ) 651 )
642 652
643 # Build baremetal multiconfig 653 # Build baremetal multiconfig
644 if [ -n "${domain_file}" ]; then 654 if [ -n "${domain_file}" ]; then
645 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 655 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
646 -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" || error "lopper failed" 656 -- baremetaldrvlist_xlnx $3 "${embeddedsw}" || error "lopper failed"
647 else 657 else
648 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx cortexr5-${machine} "${embeddedsw}" \ 658 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $3 "${embeddedsw}" \
649 || error "lopper failed" 659 || error "lopper failed"
650 fi 660 fi
651 661
652 mv libxil.conf "${libxil}" 662 mv libxil.conf "${libxil}"
653 mv distro.conf "${distro}" 663 mv distro.conf "${features}"
664 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
654 665
655 cat <<EOF >"${conf_file}" 666 cat <<EOF >"${conf_file}"
656CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 667CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
657CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
658 668
659ESW_MACHINE = "cortexr5-${machine}" 669ESW_MACHINE = "$3"
660DEFAULTTUNE = "cortexr5" 670DEFAULTTUNE = "cortexr5"
661 671
662TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 672TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
663 673
664DISTRO = "xilinx-freertos" 674DISTRO = "xilinx-freertos"
665
666LIBXIL_CONFIG = "conf/${libxil}"
667require conf/${distro}
668
669SKIP_META_VIRT_SANITY_CHECK = "1"
670SKIP_META_SECURITY_SANITY_CHECK = "1"
671SKIP_META_TPM_SANITY_CHECK = "1"
672EOF 675EOF
673} 676}
674 677
@@ -679,12 +682,15 @@ process_microblaze() {
679 682
680 info "Generating microblaze processor tunes" 683 info "Generating microblaze processor tunes"
681 684
685 mkdir -p machine/include/${mach_conf}
682 ( 686 (
683 cd dtb || error "Unable to cd to dtb dir" 687 cd dts || error "Unable to cd to dts dir"
684 ${lopper} -f --enhanced -i "${lops_dir}/lop-microblaze-yocto.dts" "${system_dtb}" \ 688 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-microblaze-yocto.dts" "${system_dts}" \
685 || error "lopper failed" 689 || error "lopper failed"
686 rm -f lop-microblaze-yocto.dts.dtb 690 rm -f lop-microblaze-yocto.dts.dtb
687 ) >microblaze.conf 691 ) >machine/include/${mach_conf}/microblaze.inc
692
693 echo "require conf/machine/include/xilinx-microblaze.inc" >> machine/include/${mach_conf}/microblaze.inc
688 694
689 microblaze_done=1 695 microblaze_done=1
690} 696}
@@ -695,55 +701,48 @@ pmu-microblaze() {
695 701
696 process_microblaze 702 process_microblaze
697 703
698 dtb_file="microblaze-pmu.dtb" 704 mc_name="microblaze-0-pmu"
699 multiconf="${multiconf} microblaze-pmu" 705 dts_file="${mc_name}.dts"
700 conf_file="multiconfig/microblaze-pmu.conf" 706 multiconf="${multiconf} ${mc_name}"
701 libxil="multiconfig/includes/microblaze-pmu-libxil.conf" 707 multiconf_min="${multiconf_min} ${mc_name}"
702 distro="multiconfig/includes/microblaze-pmu-distro.conf" 708 conf_file="multiconfig/${mc_name}.conf"
709 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
710 features="machine/include/${mach_conf}/${mc_name}-features.conf"
703 711
704 pmu_mcdepends="mc::${dtb_file%%.dtb}:pmu-firmware:do_deploy" 712 pmu_mcdepends="mc::${mc_name}:pmu-firmware:do_deploy"
705 pmu_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 713 pmu_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}"
706 714
707 # Build device tree 715 # Build device tree
708 ( 716 (
709 cd dtb || error "Unable to cd to dtb dir" 717 cd dts || error "Unable to cd to dts dir"
710 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper failed" 718 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" "${dts_file}" || error "lopper failed"
711 ) 719 )
712 720
713 # Build baremetal multiconfig 721 # Build baremetal multiconfig
714 if [ -n "${domain_file}" ]; then 722 if [ -n "${domain_file}" ]; then
715 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 723 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
716 -- baremetaldrvlist_xlnx microblaze-pmu "${embeddedsw}" || error "lopper failed" 724 -- baremetaldrvlist_xlnx $1 "${embeddedsw}" || error "lopper failed"
717 else 725 else
718 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx microblaze-pmu "${embeddedsw}" \ 726 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $1 "${embeddedsw}" \
719 || error "lopper failed" 727 || error "lopper failed"
720 fi 728 fi
721 729
722 mv libxil.conf "${libxil}" 730 mv libxil.conf "${libxil}"
723 mv distro.conf "${distro}" 731 mv distro.conf "${features}"
732 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
724 733
725 cat <<EOF >"${conf_file}" 734 cat <<EOF >"${conf_file}"
726CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 735CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
727CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
728 736
729ESW_MACHINE = "microblaze-pmu" 737ESW_MACHINE = "$1"
730 738
731require conf/microblaze.conf 739DEFAULTTUNE = "microblaze-pmu"
732DEFAULTTUNE = "microblaze"
733TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES:tune-pmu-microblaze}"
734 740
735TARGET_CFLAGS += "-DPSU_PMU=1U" 741TARGET_CFLAGS += "-DPSU_PMU=1U"
736 742
737TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 743TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
738 744
739DISTRO = "xilinx-standalone" 745DISTRO = "xilinx-standalone"
740
741LIBXIL_CONFIG = "conf/${libxil}"
742require conf/${distro}
743
744SKIP_META_VIRT_SANITY_CHECK = "1"
745SKIP_META_SECURITY_SANITY_CHECK = "1"
746SKIP_META_TPM_SANITY_CHECK = "1"
747EOF 746EOF
748} 747}
749 748
@@ -753,55 +752,48 @@ pmc-microblaze() {
753 752
754 process_microblaze 753 process_microblaze
755 754
756 dtb_file="microblaze-pmc.dtb" 755 mc_name="microblaze-0-pmc"
757 multiconf="${multiconf} microblaze-pmc" 756 dts_file="${mc_name}.dts"
758 conf_file="multiconfig/microblaze-pmc.conf" 757 multiconf="${multiconf} ${mc_name}"
759 libxil="multiconfig/includes/microblaze-pmc-libxil.conf" 758 multiconf_min="${multiconf_min} ${mc_name}"
760 distro="multiconfig/includes/microblaze-pmc-distro.conf" 759 conf_file="multiconfig/${mc_name}.conf"
760 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
761 features="machine/include/${mach_conf}/${mc_name}-features.conf"
761 762
762 plm_mcdepends="mc::${dtb_file%%.dtb}:plm-firmware:do_deploy" 763 plm_mcdepends="mc::${mc_name}:plm-firmware:do_deploy"
763 plm_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 764 plm_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}"
764 765
765 # Build device tree 766 # Build device tree
766 ( 767 (
767 cd dtb || error "Unable to cd to dtb dir" 768 cd dts || error "Unable to cd to dts dir"
768 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper failed" 769 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" "${dts_file}" || error "lopper failed"
769 ) 770 )
770 771
771 # Build baremetal multiconfig 772 # Build baremetal multiconfig
772 if [ -n "${domain_file}" ]; then 773 if [ -n "${domain_file}" ]; then
773 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 774 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
774 -- baremetaldrvlist_xlnx microblaze-plm "${embeddedsw}" || error "lopper failed" 775 -- baremetaldrvlist_xlnx $1 "${embeddedsw}" || error "lopper failed"
775 else 776 else
776 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx microblaze-plm "${embeddedsw}" \ 777 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $1 "${embeddedsw}" \
777 || error "lopper failed" 778 || error "lopper failed"
778 fi 779 fi
779 780
780 mv libxil.conf "${libxil}" 781 mv libxil.conf "${libxil}"
781 mv distro.conf "${distro}" 782 mv distro.conf "${features}"
783 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
782 784
783 cat <<EOF >"${conf_file}" 785 cat <<EOF >"${conf_file}"
784CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 786CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
785CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
786 787
787ESW_MACHINE = "microblaze-plm" 788ESW_MACHINE = "$1"
788 789
789require conf/microblaze.conf 790DEFAULTTUNE = "microblaze-pmc"
790DEFAULTTUNE = "microblaze"
791TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES:tune-pmc-microblaze}"
792 791
793TARGET_CFLAGS += "-DVERSAL_PLM=1" 792TARGET_CFLAGS += "-DVERSAL_PLM=1"
794 793
795TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 794TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
796 795
797DISTRO = "xilinx-standalone" 796DISTRO = "xilinx-standalone"
798
799LIBXIL_CONFIG = "conf/${libxil}"
800require conf/${distro}
801
802SKIP_META_VIRT_SANITY_CHECK = "1"
803SKIP_META_SECURITY_SANITY_CHECK = "1"
804SKIP_META_TPM_SANITY_CHECK = "1"
805EOF 797EOF
806} 798}
807 799
@@ -811,63 +803,194 @@ psm-microblaze() {
811 803
812 process_microblaze 804 process_microblaze
813 805
814 dtb_file="microblaze-psm.dtb" 806 mc_name="microblaze-0-psm"
815 multiconf="${multiconf} microblaze-psm" 807 dts_file="${mc_name}.dts"
816 conf_file="multiconfig/microblaze-psm.conf" 808 multiconf="${multiconf} ${mc_name}"
817 libxil="multiconfig/includes/microblaze-psm-libxil.conf" 809 multiconf_min="${multiconf_min} ${mc_name}"
818 distro="multiconfig/includes/microblaze-psm-distro.conf" 810 conf_file="multiconfig/${mc_name}.conf"
811 libxil="machine/include/${mach_conf}/${mc_name}-libxil.conf"
812 features="machine/include/${mach_conf}/${mc_name}-features.conf"
819 813
820 psm_mcdepends="mc::${dtb_file%%.dtb}:psm-firmware:do_deploy" 814 psm_mcdepends="mc::${mc_name}:psm-firmware:do_deploy"
821 psm_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 815 psm_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${mc_name}/deploy/images/\${MACHINE}"
822 816
823 # Build device tree 817 # Build device tree
824 ( 818 (
825 cd dtb || error "Unable to cd to dtb dir" 819 cd dts || error "Unable to cd to dts dir"
826 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dtb}" "${dtb_file}" || error "lopper failed" 820 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" "${dts_file}" || error "lopper failed"
827 ) 821 )
828 822
829 # Build baremetal multiconfig 823 # Build baremetal multiconfig
830 if [ -n "${domain_file}" ]; then 824 if [ -n "${domain_file}" ]; then
831 ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dtb}" \ 825 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -x '*.yaml' -i "${domain_file}" "${system_dts}" \
832 -- baremetaldrvlist_xlnx microblaze-psm "${embeddedsw}" || error "lopper failed" 826 -- baremetaldrvlist_xlnx $1 "${embeddedsw}" || error "lopper failed"
833 else 827 else
834 ${lopper} -f "${system_dtb}" -- baremetaldrvlist_xlnx microblaze-psm "${embeddedsw}" \ 828 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f "${system_dts}" -- baremetaldrvlist_xlnx $1 "${embeddedsw}" \
835 || error "lopper failed" 829 || error "lopper failed"
836 fi 830 fi
837 831
838 mv libxil.conf "${libxil}" 832 mv libxil.conf "${libxil}"
839 mv distro.conf "${distro}" 833 mv distro.conf "${features}"
834 sed -i ${features} -e "s,DISTRO_FEATURES,MACHINE_FEATURES,"
840 835
841 cat <<EOF >"${conf_file}" 836 cat <<EOF >"${conf_file}"
842CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 837CONFIG_DTFILE = "\${TOPDIR}/conf/dts/${dts_file}"
843CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
844 838
845ESW_MACHINE = "microblaze-psm" 839ESW_MACHINE = "$1"
846 840
847require conf/microblaze.conf 841DEFAULTTUNE = "microblaze-psm"
848DEFAULTTUNE = "microblaze"
849TUNE_FEATURES:tune-microblaze:forcevariable = "\${TUNE_FEATURES:tune-psm-microblaze}"
850 842
851TARGET_CFLAGS += "-DVERSAL_psm=1" 843TARGET_CFLAGS += "-DVERSAL_psm=1"
852 844
853TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" 845TMPDIR = "\${BASE_TMPDIR}/tmp-${mc_name}"
854 846
855DISTRO = "xilinx-standalone" 847DISTRO = "xilinx-standalone"
848EOF
849}
856 850
857LIBXIL_CONFIG = "conf/${libxil}" 851generate_machine() {
858require conf/${distro} 852 info "Generating machine conf file"
853 conf_file="machine/${mach_conf}.conf"
854
855 # Machine include file
856 if [ -z ${incmachine} ]; then
857 if [ -n ${soc_variant} ]; then
858 incmachine="${machine}-${soc_variant}-generic.conf"
859 else
860 incmachine="${machine}-generic.conf"
861 fi
862 fi
863
864 mkdir -p machine
865 # Generate header
866 cat <<EOF >"${conf_file}"
867#@TYPE: Machine
868#@NAME: ${mach_conf}
869#@DESCRIPTION: ${model}
870
871#### Preamble
872MACHINEOVERRIDES =. "\${@['', '${mach_conf}:']['${mach_conf}' != '\${MACHINE}']}"
873#### Regular settings follow
859 874
860SKIP_META_VIRT_SANITY_CHECK = "1"
861SKIP_META_SECURITY_SANITY_CHECK = "1"
862SKIP_META_TPM_SANITY_CHECK = "1"
863EOF 875EOF
864}
865 876
866parse_cpus() { 877 if [ "${machine}" == "zynqmp" ]; then
867 info "Generating configuration..." 878 cat <<EOF >>"${conf_file}"
879TUNEFILE[microblaze-pmu] = "conf/machine/include/${mach_conf}/microblaze.inc"
880EOF
881 elif [ "${machine}" == "versal" ]; then
882 cat <<EOF >>"${conf_file}"
883TUNEFILE[microblaze-pmc] = "conf/machine/include/${mach_conf}/microblaze.inc"
884TUNEFILE[microblaze-psm] = "conf/machine/include/${mach_conf}/microblaze.inc"
885EOF
886 fi
887
888 sysdt_path=$(dirname ${system_dts})
889 sysdt_base=$(basename ${system_dts})
890 cat <<EOF >>"${conf_file}"
891
892# Set the default (linux) domain device tree
893CONFIG_DTFILE ?= "\${TOPDIR}/conf/dts/${system_conf}"
894CONFIG_DTFILE[vardepsexclude] += "TOPDIR"
895
896require conf/machine/${incmachine}
897
898# System Device Tree does not use HDF_MACHINE
899HDF_MACHINE = ""
900
901# Set the system device trees
902SYSTEM_DTFILE_DIR = "${sysdt_path}"
903SYSTEM_DTFILE = "\${SYSTEM_DTFILE_DIR}/${sysdt_base}"
904SYSTEM_DTFILE[vardepsexclude] += "SYSTEM_DTFILE_DIR"
905
906# Load the dynamic machine features
907include conf/machine/include/${mach_conf}/\${BB_CURRENT_MC}-features.conf
908LIBXIL_CONFIG = "conf/machine/include/${mach_conf}/\${BB_CURRENT_MC}-libxil.conf"
909
910EOF
911
912 if [ -n "${fsbl_mcdepends}" ]; then
913 cat <<EOF >>"${conf_file}"
914# First Stage Boot Loader
915FSBL_DEPENDS = ""
916FSBL_MCDEPENDS = "${fsbl_mcdepends}"
917FSBL_DEPLOY_DIR = "${fsbl_deploy_dir}"
918
919EOF
920 fi
921 if [ -n "${r5fsbl_mcdepends}" ]; then
922 cat <<EOF >>"${conf_file}"
923# Cortex-R5 First Stage Boot Loader
924R5FSBL_DEPENDS = ""
925R5FSBL_MCDEPENDS = "${r5fsbl_mcdepends}"
926R5FSBL_DEPLOY_DIR = "${r5fsbl_deploy_dir}"
927
928EOF
929 fi
930 if [ -n "${pmu_mcdepends}" ]; then
931 cat <<EOF >>"${conf_file}"
932# PMU Firware
933PMU_DEPENDS = ""
934PMU_MCDEPENDS = "${pmu_mcdepends}"
935PMU_FIRMWARE_DEPLOY_DIR = "${pmu_firmware_deploy_dir}"
936
937EOF
938 fi
939 if [ -n "${plm_mcdepends}" ]; then
940 cat <<EOF >>"${conf_file}"
941# Platform Loader and Manager
942PLM_DEPENDS = ""
943PLM_MCDEPENDS = "${plm_mcdepends}"
944PLM_DEPLOY_DIR = "${plm_deploy_dir}"
945
946EOF
947 fi
948 if [ -n "${psm_mcdepends}" ]; then
949 cat <<EOF >>"${conf_file}"
950# PSM Firmware
951PSM_DEPENDS = ""
952PSM_MCDEPENDS = "${psm_mcdepends}"
953PSM_FIRMWARE_DEPLOY_DIR = "${psm_firmware_deploy_dir}"
954
955EOF
956 fi
957
958 if [ -n "${full_pdi_path}" ]; then
959 pdi_path_dir=$(dirname ${full_pdi_path})
960 pdi_path_base=$(basename ${full_pdi_path})
961 cat <<EOF >>"${conf_file}"
962# Versal PDI
963PDI_PATH_DIR = "${pdi_path_dir}"
964PDI_PATH = "\${PDI_PATH_DIR}/${pdi_path_base}"
965PDI_PATH[vardepsexclude] += "PDI_PATH_DIR"
966
967EOF
968 fi
969
970 cat <<EOF >>"${conf_file}"
971# Enable the correct version of the firmware components
972PREFERRED_VERSION_fsbl-firmware = "2023.1_sdt_experimental%"
973PREFERRED_VERSION_pmu-firmware = "2023.1_sdt_experimental%"
974PREFERRED_VERSION_plm-firmware = "2023.1_sdt_experimental%"
975PREFERRED_VERSION_psm-firmware = "2023.1_sdt_experimental%"
976
977# Exclude BASE_TMPDIR from hash calculations
978BB_HASHEXCLUDE_COMMON:append = " BASE_TMPDIR"
979
980# Update bootbin to use proper device tree
981BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts', '.dtb'))}"
982# Remap boot files to ensure the right device tree is listed first
983IMAGE_BOOT_FILES =+ "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts', '.dtb'))}"
868 984
869 while read -r cpu domain os_hint; do 985#### No additional settings should be after the Postamble
986#### Postamble
987PACKAGE_EXTRA_ARCHS:append = "\${@['', ' ${mach_conf//-/_}']['${mach_conf}' != "\${MACHINE}"]}"
988EOF
989}
870 990
991parse_cpus() {
992 gen_linux_dts="None"
993 while read -r cpu core domain cpu_name os_hint; do
871 # Skip commented lines and WARNINGs 994 # Skip commented lines and WARNINGs
872 case ${cpu} in 995 case ${cpu} in
873 \#* | \[WARNING\]:) continue ;; 996 \#* | \[WARNING\]:) continue ;;
@@ -877,19 +1000,28 @@ parse_cpus() {
877 1000
878 arm,cortex-a53) 1001 arm,cortex-a53)
879 # We need a base cortex_a53_baremetal for the FSBL 1002 # We need a base cortex_a53_baremetal for the FSBL
880 cortex_a53_baremetal fsbl 1003 if [ "${core}" == 0 ]; then
1004 cortex_a53_baremetal fsbl ${core} ${cpu_name}
1005 fi
881 if [ "${os_hint}" == "None" ]; then 1006 if [ "${os_hint}" == "None" ]; then
882 cortex_a53_linux "${domain}" 1007 if [ "${gen_linux_dts}" == "None" ]; then
883 cortex_a53_baremetal "${domain}" 1008 cortex_a53_linux "${domain}"
884 cortex_a53_freertos "${domain}" 1009 gen_linux_dts="True"
1010 fi
1011 cortex_a53_baremetal "${domain}" ${core} ${cpu_name}
1012 cortex_a53_freertos "${domain}" ${core} ${cpu_name}
885 else 1013 else
886 case "${os_hint}" in 1014 case "${os_hint}" in
887 linux*) 1015 linux*)
888 cortex_a53_linux "${domain}" ;; 1016 if [ "${gen_linux_dts}" == "None" ]; then
1017 cortex_a53_linux "${domain}"
1018 gen_linux_dts="True"
1019 fi
1020 ;;
889 baremetal*) 1021 baremetal*)
890 cortex_a53_baremetal "${domain}" ;; 1022 cortex_a53_baremetal "${domain}" ${core} ${cpu_name};;
891 freertos*) 1023 freertos*)
892 cortex_a53_freertos "${domain}" ;; 1024 cortex_a53_freertos "${domain}" ${core} ${cpu_name};;
893 *) 1025 *)
894 warn "cortex-a53 for unknown OS (${os_hint}), parsing baremetal. ${domain}" 1026 warn "cortex-a53 for unknown OS (${os_hint}), parsing baremetal. ${domain}"
895 cortex_a53_baremetal "${domain}" 1027 cortex_a53_baremetal "${domain}"
@@ -899,36 +1031,42 @@ parse_cpus() {
899 1031
900 arm,cortex-a72) 1032 arm,cortex-a72)
901 if [ "${os_hint}" == "None" ]; then 1033 if [ "${os_hint}" == "None" ]; then
902 cortex_a72_linux "${domain}" 1034 if [ "${gen_linux_dts}" == "None" ]; then
903 cortex_a72_baremetal "${domain}" 1035 cortex_a72_linux "${domain}"
904 cortex_a72_freertos "${domain}" 1036 gen_linux_dts="True"
1037 fi
1038 cortex_a72_baremetal "${domain}" ${core} ${cpu_name}
1039 cortex_a72_freertos "${domain}" ${core} ${cpu_name}
905 else 1040 else
906 case "${os_hint}" in 1041 case "${os_hint}" in
907 linux*) 1042 linux*)
908 cortex_a72_linux "${domain}" ;; 1043 if [ "${gen_linux_dts}" == "None" ]; then
1044 cortex_a72_linux "${domain}"
1045 gen_linux_dts="True"
1046 fi
1047 ;;
909 baremetal*) 1048 baremetal*)
910 cortex_a72_baremetal "${domain}" ;; 1049 cortex_a72_baremetal "${domain}" ${core} ${cpu_name};;
911 freertos*) 1050 freertos*)
912 cortex_a72_freertos "${domain}" ;; 1051 cortex_a72_freertos "${domain}" ${core} ${cpu_name};;
913 *) 1052 *)
914 warn "cortex-a72 for unknown OS (${os_hint}), parsing baremetal. ${domain}" 1053 warn "cortex-a72 for unknown OS (${os_hint}), parsing baremetal. ${domain}"
915 cortex_a72_baremetal "${domain}" 1054 cortex_a72_baremetal "${domain}"
916 esac 1055 esac
917 fi 1056 fi
918 ;; 1057 ;;
919
920 arm,cortex-r5) 1058 arm,cortex-r5)
921 if [ "${os_hint}" == "None" ]; then 1059 if [ "${os_hint}" == "None" ]; then
922 # We need a base cortex_r5_baremetal for the FSBL for ZynqMP platform 1060 # We need a base cortex_r5_baremetal for the FSBL for ZynqMP platform
923 [ "${machine}" = "zynqmp" ] && cortex_r5_baremetal fsbl 1061 [ "${machine}" = "zynqmp" ] && cortex_r5_baremetal fsbl ${core} ${cpu_name}
924 cortex_r5_baremetal "${domain}" 1062 cortex_r5_baremetal "${domain}" ${core} ${cpu_name}
925 cortex_r5_freertos "${domain}" 1063 cortex_r5_freertos "${domain}" ${core} ${cpu_name}
926 else 1064 else
927 case "${os_hint}" in 1065 case "${os_hint}" in
928 baremetal*) 1066 baremetal*)
929 cortex_r5_baremetal "${domain}" ;; 1067 cortex_r5_baremetal "${domain}" ${core} ${cpu_name};;
930 freertos*) 1068 freertos*)
931 cortex_r5_freertos "${domain}" ;; 1069 cortex_r5_freertos "${domain}" ${core} ${cpu_name};;
932 *) 1070 *)
933 warn "cortex-r5 for unknown OS (${os_hint}), parsing baremetal. ${domain}" 1071 warn "cortex-r5 for unknown OS (${os_hint}), parsing baremetal. ${domain}"
934 cortex_r5_baremetal "${domain}" 1072 cortex_r5_baremetal "${domain}"
@@ -949,14 +1087,13 @@ parse_cpus() {
949 ;; 1087 ;;
950 1088
951 pmu-microblaze) 1089 pmu-microblaze)
952 pmu-microblaze ;; 1090 pmu-microblaze ${cpu_name};;
953 1091
954 pmc-microblaze) 1092 pmc-microblaze)
955 pmc-microblaze ;; 1093 pmc-microblaze ${cpu_name};;
956 1094
957 psm-microblaze) 1095 psm-microblaze)
958 psm-microblaze ;; 1096 psm-microblaze ${cpu_name};;
959
960 *) 1097 *)
961 warn "Unknown CPU ${cpu}" 1098 warn "Unknown CPU ${cpu}"
962 1099
@@ -965,45 +1102,45 @@ parse_cpus() {
965} 1102}
966 1103
967gen_local_conf() { 1104gen_local_conf() {
968 echo "# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere" >> $1 1105 cat << EOF >> $1
969 echo "BASE_TMPDIR ?= \"\${TOPDIR}\"" >> $1 1106
970 [ -n "${system_conf}" ] && echo "require ${system_conf}" >> $1 1107# Avoid errors in some baremetal configs as these layers may be present
971 echo "SYSTEM_DTFILE = \"${system_dtb}\"" >> $1 1108# but are not used. Note the following lines are optional and can be
972 echo "BBMULTICONFIG += \"${multiconf}\"" >> $1 1109# safetly disabled.
973 if [ -n "${fsbl_mcdepends}" ]; then 1110SKIP_META_VIRT_SANITY_CHECK = "1"
974 echo "FSBL_DEPENDS = \"\"" >> $1 1111SKIP_META_SECURITY_SANITY_CHECK = "1"
975 echo "FSBL_MCDEPENDS = \"${fsbl_mcdepends}\"" >> $1 1112SKIP_META_TPM_SANITY_CHECK = "1"
976 echo "FSBL_DEPLOY_DIR = \"${fsbl_deploy_dir}\"" >> $1 1113
977 fi 1114# Each multiconfig will define it's own TMPDIR, this is the new default based
978 if [ -n "${r5fsbl_mcdepends}" ]; then 1115# on BASE_TMPDIR for the Linux build
979 echo "R5FSBL_DEPENDS = \"\"" >> $1 1116TMPDIR = "\${BASE_TMPDIR}/tmp"
980 echo "R5FSBL_MCDEPENDS = \"${r5fsbl_mcdepends}\"" >> $1 1117
981 echo "R5FSBL_DEPLOY_DIR = \"${r5fsbl_deploy_dir}\"" >> $1 1118# Use the newly generated MACHINE
982 fi 1119MACHINE = "${mach_conf}"
983 if [ -n "${pmu_mcdepends}" ]; then 1120
984 echo "PMU_DEPENDS = \"\"" >> $1 1121# All of the TMPDIRs must be in a common parent directory. This is defined
985 echo "PMU_MCDEPENDS = \"${pmu_mcdepends}\"" >> $1 1122# as BASE_TMPDIR.
986 echo "PMU_FIRMWARE_DEPLOY_DIR = \"${pmu_firmware_deploy_dir}\"" >> $1 1123# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere, such as /tmp
987 fi 1124BASE_TMPDIR ?= "\${TOPDIR}"
988 if [ -n "${plm_mcdepends}" ]; then 1125
989 echo "PLM_DEPENDS = \"\"" >> $1 1126# The following is the full set of multiconfigs for this configuration
990 echo "PLM_MCDEPENDS = \"${plm_mcdepends}\"" >> $1 1127# A large list can cause a slow parse.
991 echo "PLM_DEPLOY_DIR = \"${plm_deploy_dir}\"" >> $1 1128BBMULTICONFIG ?= "${multiconf}"
992 fi 1129# Alternatively trim the list to the minimum
993 if [ -n "${psm_mcdepends}" ]; then 1130#BBMULTICONFIG = "${multiconf_min}"
994 echo "PSM_DEPENDS = \"\"" >> $1 1131EOF
995 echo "PSM_MCDEPENDS = \"${psm_mcdepends}\"" >> $1
996 echo "PSM_FIRMWARE_DEPLOY_DIR = \"${psm_firmware_deploy_dir}\"" >> $1
997 fi
998 [ "${machine}" = "versal" ] && echo "PDI_PATH = \"${full_pdi_path}\"" >> $1
999 echo
1000} 1132}
1001 1133
1002gen_petalinux_conf() { 1134gen_petalinux_conf() {
1003 cd "${config_dir}" || exit 1135 cd "${config_dir}" || exit
1004 ( 1136 (
1005 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dtb}" -- petalinuxconfig_xlnx ${petalinux_schema} \ 1137 if [ "$machine" == "zynqmp" ]; then
1006 || error "lopper failed" 1138 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- petalinuxconfig_xlnx psu_cortexa53_0 ${petalinux_schema} \
1139 || error "lopper failed"
1140 else
1141 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} "${system_dts}" -- petalinuxconfig_xlnx psv_cortexa72_0 ${petalinux_schema} \
1142 || error "lopper failed"
1143 fi
1007 ) 1144 )
1008} 1145}
1009parse_args "$@" 1146parse_args "$@"
@@ -1020,20 +1157,47 @@ multiconf=""
1020cpulist=$(mktemp) 1157cpulist=$(mktemp)
1021 1158
1022priordir=$(pwd) 1159priordir=$(pwd)
1023# Generate CPU list
1024cd "${config_dir}" || exit 1160cd "${config_dir}" || exit
1025mkdir -p dtb multiconfig/includes 1161mkdir -p dts multiconfig machine/include
1162# Get mach_conf name and model name
1026( 1163(
1027 cd dtb || error "Unable to cd to dtb dir" 1164 cd dts || error "Unable to cd to dts dir"
1028 ${lopper} -f --enhanced -i "${lops_dir}/lop-xilinx-id-cpus.dts" "${system_dtb}" \ 1165 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-machine-name.dts" "${system_dts}" \
1166 /dev/null > ${cpulist} || error "lopper failed"
1167 rm -f "lop-machine-name.dts.dtb"
1168)
1169read local_mach_conf deviceid model < ${cpulist}
1170if [ -z "${mach_conf}" ]; then
1171 mach_conf=${local_mach_conf}
1172fi
1173
1174# Generate CPU list
1175(
1176 cd dts || error "Unable to cd to dts dir"
1177 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-xilinx-id-cpus.dts" "${system_dts}" \
1029 /dev/null > ${cpulist} || error "lopper failed" 1178 /dev/null > ${cpulist} || error "lopper failed"
1030 rm -f "lop-xilinx-id-cpus.dts.dtb" 1179 rm -f "lop-xilinx-id-cpus.dts.dtb"
1031) 1180)
1032 1181
1033detect_machine 1182detect_machine
1034 1183# Now that we know the machine name, we can create the directory
1184mkdir -p machine/include/${mach_conf}
1185
1186echo "System Configuration:"
1187echo "MODEL = \"${model}\""
1188echo "MACHINE = \"${mach_conf}\""
1189echo "DEVICE_ID = \"${deviceid}\""
1190echo "SOC_FAMILY = \"${machine}\""
1191echo "SOC_VARIANT = \"${soc_variant}\""
1192echo "CPUs:"
1193dump_cpus " = "
1194echo
1195
1196info "Generating configuration..."
1035parse_cpus 1197parse_cpus
1036 1198
1199generate_machine
1200
1037cd ${priordir} 1201cd ${priordir}
1038if [ -z "${localconf}" ]; then 1202if [ -z "${localconf}" ]; then
1039 echo 1203 echo
@@ -1058,4 +1222,4 @@ if [ -n "${petalinux_schema}" ]; then
1058fi 1222fi
1059 1223
1060# Cleanup our temp file 1224# Cleanup our temp file
1061rm ${cpulist} 1225rm -rf ${cpulist} ${config_dir}/CMakeLists.txt ${config_dir}/DRVLISTConfig.cmake
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb
index 2ac8954b..7edd2d9d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "avbuf" 3REQUIRED_MACHINE_FEATURES = "avbuf"
4 4
5inherit esw 5inherit esw
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb
index 081609dd..1846b291 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axicdma" 3REQUIRED_MACHINE_FEATURES = "axicdma"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb
index 3c7e8b72..47111dc5 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axicdma" 3REQUIRED_MACHINE_FEATURES = "axicdma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb
index db8658a1..68a26f45 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axidma" 3REQUIRED_MACHINE_FEATURES = "axidma"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb
index 8b24a67e..c385d13f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axidma" 3REQUIRED_MACHINE_FEATURES = "axidma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb
index 8dee5feb..04c2c151 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axiethernet" 3REQUIRED_MACHINE_FEATURES = "axiethernet"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb
index b230e6ad..0b635859 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axiethernet" 3REQUIRED_MACHINE_FEATURES = "axiethernet"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb
index 4c949e99..4aa716e7 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axipmon" 3REQUIRED_MACHINE_FEATURES = "axipmon"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axipmon/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axipmon/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb
index 3fa70322..ff2eae91 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axipmon_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axipmon" 3REQUIRED_MACHINE_FEATURES = "axipmon"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb
index 2f69db45..b34dedb0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axis-switch" 3REQUIRED_MACHINE_FEATURES = "axis-switch"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb
index 6742356c..2866c02b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axivdma" 3REQUIRED_MACHINE_FEATURES = "axivdma"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb
index 5f22d212..15268629 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "axivdma" 3REQUIRED_MACHINE_FEATURES = "axivdma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb
index 6e2c4918..a3145467 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/bram-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "bram" 3REQUIRED_MACHINE_FEATURES = "bram"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/bram/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/bram/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb
index 400da93e..3c81c619 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "bram" 3REQUIRED_MACHINE_FEATURES = "bram"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb
index 9e6417ce..115852fa 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "can" 3REQUIRED_MACHINE_FEATURES = "can"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb
index 07024082..eb7fc473 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "can" 3REQUIRED_MACHINE_FEATURES = "can"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb
index c8395f4e..84276569 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "canfd" 3REQUIRED_MACHINE_FEATURES = "canfd"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb
index 719126e5..5f2e6ea8 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "canfd" 3REQUIRED_MACHINE_FEATURES = "canfd"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb
index 17ac3d0c..574dc563 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "canps" 3REQUIRED_MACHINE_FEATURES = "canps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb
index ae88f744..c9f61cd2 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "canps" 3REQUIRED_MACHINE_FEATURES = "canps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb
index bb4a540f..6ffdf85d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "cframe" 3REQUIRED_MACHINE_FEATURES = "cframe"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb
index 6b15f41b..3cb675bc 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "cfupmc" 3REQUIRED_MACHINE_FEATURES = "cfupmc"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_git.bb
index a1ce7ed0..ae0453a1 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/clk-wiz_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "clk-wiz" 3REQUIRED_MACHINE_FEATURES = "clk-wiz"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb
index 67fb695e..f9c5bce6 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/clockps-example_git.bb
@@ -2,7 +2,7 @@ inherit esw deploy features_check
2 2
3ESW_COMPONENT_SRC = "XilinxProcessorIPLib/drivers/clockps/examples/" 3ESW_COMPONENT_SRC = "XilinxProcessorIPLib/drivers/clockps/examples/"
4 4
5REQUIRED_DISTRO_FEATURES = "clockps" 5REQUIRED_MACHINE_FEATURES = "clockps"
6 6
7DEPENDS += "libxil xiltimer resetps" 7DEPENDS += "libxil xiltimer resetps"
8 8
@@ -12,7 +12,6 @@ do_configure:prepend() {
12 ( 12 (
13 cd ${S} 13 cd ${S}
14 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 14 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
15 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
16 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 15 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
17 ) 16 )
18} 17}
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb
index 99ec8e85..4bddb2c0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "clockps" 3REQUIRED_MACHINE_FEATURES = "clockps"
4 4
5inherit esw 5inherit esw
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb
index d01a8cac..541ff225 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb
@@ -1,14 +1,14 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "common" 3REQUIRED_MACHINE_FEATURES = "common"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
7DEPENDS += "xilstandalone " 7DEPENDS += "xilstandalone "
8 8
9PACKAGECONFIG ?= "${@bb.utils.contains("DISTRO_FEATURES", "clockps", "clockps", "", d)} \ 9PACKAGECONFIG ?= "${@bb.utils.contains("MACHINE_FEATURES", "clockps", "clockps", "", d)} \
10 ${@bb.utils.contains("DISTRO_FEATURES", "scugic", "scugic", "", d)} \ 10 ${@bb.utils.contains("MACHINE_FEATURES", "scugic", "scugic", "", d)} \
11 ${@bb.utils.contains("DISTRO_FEATURES", "intc", "intc", "", d)}" 11 ${@bb.utils.contains("MACHINE_FEATURES", "intc", "intc", "", d)}"
12PACKAGECONFIG[clockps] = "${RECIPE_SYSROOT}/usr/lib/libclockps.a,,clockps,," 12PACKAGECONFIG[clockps] = "${RECIPE_SYSROOT}/usr/lib/libclockps.a,,clockps,,"
13PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,," 13PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,,"
14PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,," 14PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,,"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb
index f1dce225..9110b51e 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "coresightps-dcc" 3REQUIRED_MACHINE_FEATURES = "coresightps-dcc"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb
index 3f5c2138..5706967a 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "csudma" 3REQUIRED_MACHINE_FEATURES = "csudma"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb
index 002f6d15..8283ce8d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "csudma" 3REQUIRED_MACHINE_FEATURES = "csudma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb
index 91f2679d..4728b6c5 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ddrcpsu" 3REQUIRED_MACHINE_FEATURES = "ddrcpsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb
index 2b0cd72f..dd70e09d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "devcfg" 3REQUIRED_MACHINE_FEATURES = "devcfg"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb
index 69d01ffa..4b794d22 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "devcfg" 3REQUIRED_MACHINE_FEATURES = "devcfg"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_git.bb
index d98ba493..974dd48b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "dfxasm" 3REQUIRED_MACHINE_FEATURES = "dfxasm"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfxasm/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dfxasm/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb
index 755545d2..81f2157b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dfxasm_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "dfxasm" 3REQUIRED_MACHINE_FEATURES = "dfxasm"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb
index 77d4ac0c..40d08e4b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "dmaps" 3REQUIRED_MACHINE_FEATURES = "dmaps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dmaps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dmaps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb
index 82005fe9..3adb88a6 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "dpdma" 3REQUIRED_MACHINE_FEATURES = "dpdma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb
index 478af8a3..87cca884 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "dppsu" 3REQUIRED_MACHINE_FEATURES = "dppsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb
index 82a66d70..6ed717fb 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "emaclite" 3REQUIRED_MACHINE_FEATURES = "emaclite"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb
index 2784110a..9ceb477f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "emaclite" 3REQUIRED_MACHINE_FEATURES = "emaclite"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb
index 93c2ff59..2c57eafe 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "emacps" 3REQUIRED_MACHINE_FEATURES = "emacps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb
index 08bb3202..8ed85984 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "emacps" 3REQUIRED_MACHINE_FEATURES = "emacps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb
index 1446c92c..3f79cfec 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "gpio" 3REQUIRED_MACHINE_FEATURES = "gpio"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb
index 5bd6c7f0..83a746b7 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "gpio" 3REQUIRED_MACHINE_FEATURES = "gpio"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb
index e7050fc4..cc2e1703 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "gpiops" 3REQUIRED_MACHINE_FEATURES = "gpiops"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb
index 55fca761..4bd63d1e 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "gpiops" 3REQUIRED_MACHINE_FEATURES = "gpiops"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_git.bb
index 55627498..b781b82c 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iic-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "iic" 3REQUIRED_MACHINE_FEATURES = "iic"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iic/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iic/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb
index 8474a61b..7011f90b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iic_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "iic" 3REQUIRED_MACHINE_FEATURES = "iic"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb
index fec7256b..e9df1cbd 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "iicps" 3REQUIRED_MACHINE_FEATURES = "iicps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iicps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iicps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb
index d68d7d88..e96dc2ac 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "iicps" 3REQUIRED_MACHINE_FEATURES = "iicps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb
index 2e86d35c..0b4b95a8 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/intc-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "intc" 3REQUIRED_MACHINE_FEATURES = "intc"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/intc/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/intc/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb
index 05a44342..331c2e32 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/intc_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "intc" 3REQUIRED_MACHINE_FEATURES = "intc"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb
index c2ea342d..1f625521 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "iomodule" 3REQUIRED_MACHINE_FEATURES = "iomodule"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb
index e007b74e..0b31601d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ipipsu" 3REQUIRED_MACHINE_FEATURES = "ipipsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb
index b7369c7a..3e2ccc0b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ipipsu" 3REQUIRED_MACHINE_FEATURES = "ipipsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb
index da02cbd2..6b1c211a 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "llfifo" 3REQUIRED_MACHINE_FEATURES = "llfifo"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb
index 4241f80a..1fb76b18 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "llfifo" 3REQUIRED_MACHINE_FEATURES = "llfifo"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb
index 3adea549..3c4870b4 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "mbox" 3REQUIRED_MACHINE_FEATURES = "mbox"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb
index b7a3f54a..5c1b8393 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "mbox" 3REQUIRED_MACHINE_FEATURES = "mbox"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb
index 54622350..64979470 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "mcdma" 3REQUIRED_MACHINE_FEATURES = "mcdma"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb
index d697f768..f13a7e54 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "mcdma" 3REQUIRED_MACHINE_FEATURES = "mcdma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb
index ac637d2c..fc0527da 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "mutex" 3REQUIRED_MACHINE_FEATURES = "mutex"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb
index b4702e03..98abc948 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "mutex" 3REQUIRED_MACHINE_FEATURES = "mutex"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb
index 0502471e..8b7a88b5 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "nandpsu" 3REQUIRED_MACHINE_FEATURES = "nandpsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandpsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandpsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb
index 72e6160a..6d2a71c5 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "nandpsu" 3REQUIRED_MACHINE_FEATURES = "nandpsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb
index c9d68260..0ded4fd2 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ospipsv" 3REQUIRED_MACHINE_FEATURES = "ospipsv"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb
index 19cfe8ed..f0548efc 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ospipsv" 3REQUIRED_MACHINE_FEATURES = "ospipsv"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb
index a980b4b5..23895fba 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "pciepsu" 3REQUIRED_MACHINE_FEATURES = "pciepsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/pciepsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/pciepsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb
index ce6cb3a0..ccedb1df 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "pciepsu" 3REQUIRED_MACHINE_FEATURES = "pciepsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb
index 7a77274d..674b879a 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "qspips" 3REQUIRED_MACHINE_FEATURES = "qspips"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb
index 67c9e935..fa28d901 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "qspips" 3REQUIRED_MACHINE_FEATURES = "qspips"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb
index a533c50c..21231450 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "qspipsu" 3REQUIRED_MACHINE_FEATURES = "qspipsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb
index 79156cf5..5b4b1614 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "qspipsu" 3REQUIRED_MACHINE_FEATURES = "qspipsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb
index 86a9acc1..243393bb 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "resetps" 3REQUIRED_MACHINE_FEATURES = "resetps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb
index 86171bfc..c753c666 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "resetps" 3REQUIRED_MACHINE_FEATURES = "resetps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb
index fc18adeb..ac386c4c 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "rtcpsu" 3REQUIRED_MACHINE_FEATURES = "rtcpsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb
index 4ef2cccd..7b96bf16 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "rtcpsu" 3REQUIRED_MACHINE_FEATURES = "rtcpsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb
index 5ad0ba17..cbef3ce9 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "scugic" 3REQUIRED_MACHINE_FEATURES = "scugic"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb
index 19ec303e..f079354d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "scugic" 3REQUIRED_MACHINE_FEATURES = "scugic"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb
index 9a5c435b..550d664b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sdps" 3REQUIRED_MACHINE_FEATURES = "sdps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb
index dfe68bfd..4caf0e63 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sdps" 3REQUIRED_MACHINE_FEATURES = "sdps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb
index bec085bb..71ead5d3 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "spips" 3REQUIRED_MACHINE_FEATURES = "spips"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb
index 9451d79b..ca02fda0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "spips" 3REQUIRED_MACHINE_FEATURES = "spips"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb
index 1ef37ee8..5bc007ad 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sysmon" 3REQUIRED_MACHINE_FEATURES = "sysmon"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb
index f1be4ee6..5353f6f8 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sysmon" 3REQUIRED_MACHINE_FEATURES = "sysmon"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb
index 52e5b1e6..2c76a978 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sysmonpsu" 3REQUIRED_MACHINE_FEATURES = "sysmonpsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb
index 5056cb15..871a77a3 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sysmonpsu" 3REQUIRED_MACHINE_FEATURES = "sysmonpsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb
index 7bd0e81d..edce2794 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sysmonpsv" 3REQUIRED_MACHINE_FEATURES = "sysmonpsv"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb
index 06b82811..2c693809 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb
@@ -1,10 +1,10 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sysmonpsv" 3REQUIRED_MACHINE_FEATURES = "sysmonpsv"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
7DEPENDS += "xilstandalone ${@'scugic' if d.getVar('ESW_MACHINE') != 'microblaze-plm' and d.getVar('ESW_MACHINE') != 'microblaze-psm' else ''}" 7DEPENDS += "xilstandalone ${@'scugic' if d.getVar('ESW_MACHINE') != 'psv_pmc_0' and d.getVar('ESW_MACHINE') != 'psv_psm_0' else ''}"
8 8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/" 9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/"
10ESW_COMPONENT_NAME = "libsysmonpsv.a" 10ESW_COMPONENT_NAME = "libsysmonpsv.a"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb
index c13880f1..dbf3d364 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "tmr-inject" 3REQUIRED_MACHINE_FEATURES = "tmr-inject"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb
index 9d491abb..dd91fed7 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "tmr-manager" 3REQUIRED_MACHINE_FEATURES = "tmr-manager"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb
index cd971139..8224d6fe 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "tmrctr" 3REQUIRED_MACHINE_FEATURES = "tmrctr"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb
index 1eb38c44..cf94a9d0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "tmrctr" 3REQUIRED_MACHINE_FEATURES = "tmrctr"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb
index 57d6a2cb..84c5618c 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "trafgen" 3REQUIRED_MACHINE_FEATURES = "trafgen"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/trafgen/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/trafgen/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb
index d9e9238a..77d000db 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/trafgen_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "trafgen" 3REQUIRED_MACHINE_FEATURES = "trafgen"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb
index 783dce25..d294c383 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ttcps" 3REQUIRED_MACHINE_FEATURES = "ttcps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb
index 7de97781..ea520656 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "ttcps" 3REQUIRED_MACHINE_FEATURES = "ttcps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb
index f218e604..9aa0f598 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartlite" 3REQUIRED_MACHINE_FEATURES = "uartlite"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb
index 270ffb43..5998e092 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartlite" 3REQUIRED_MACHINE_FEATURES = "uartlite"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb
index 2e98c9f9..d81ce77b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb
@@ -1,6 +1,6 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartns550" 3REQUIRED_MACHINE_FEATURES = "uartns550"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/examples/"
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb
index 8e64457e..a08763cb 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartns550" 3REQUIRED_MACHINE_FEATURES = "uartns550"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb
index f010794a..bbff466d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartps" 3REQUIRED_MACHINE_FEATURES = "uartps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb
index c2247736..932be9eb 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartps" 3REQUIRED_MACHINE_FEATURES = "uartps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb
index e881f429..78f878a6 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv-example_git.bb
@@ -1,6 +1,6 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartpsv" 3REQUIRED_MACHINE_FEATURES = "uartpsv"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/examples/"
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
index 266f1db9..01e48caa 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "uartpsv" 3REQUIRED_MACHINE_FEATURES = "uartpsv"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb
index e9fddd0b..0d4e113a 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/usb-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "usb" 3REQUIRED_MACHINE_FEATURES = "usb"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usb/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usb/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb
index 720c73b0..9dac8cba 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/usb_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "usb" 3REQUIRED_MACHINE_FEATURES = "usb"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb
index 88c983e0..4eb9bc93 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "usbpsu" 3REQUIRED_MACHINE_FEATURES = "usbpsu"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb
index a8947226..194b1f0f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "usbpsu" 3REQUIRED_MACHINE_FEATURES = "usbpsu"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb
index 21261423..068a43e9 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-csc" 3REQUIRED_MACHINE_FEATURES = "v-csc"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb
index 006452d3..741fdd91 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-deinterlacer" 3REQUIRED_MACHINE_FEATURES = "v-deinterlacer"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb
index 21f80b09..cf2cdf6f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-demosaic" 3REQUIRED_MACHINE_FEATURES = "v-demosaic"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_demosaic/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_demosaic/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb
index 83913f31..79ef55f2 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-demosaic_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-demosaic" 3REQUIRED_MACHINE_FEATURES = "v-demosaic"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
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_git.bb
index fcb2f95e..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_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-frmbuf-rd" 3REQUIRED_MACHINE_FEATURES = "v-frmbuf-rd"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_rd/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb
index da248701..91ee34d8 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-rd_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-frmbuf-rd" 3REQUIRED_MACHINE_FEATURES = "v-frmbuf-rd"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
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_git.bb
index 215bd250..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_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-frmbuf-wr" 3REQUIRED_MACHINE_FEATURES = "v-frmbuf-wr"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb
index f2ec3b27..d88ac592 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-frmbuf-wr" 3REQUIRED_MACHINE_FEATURES = "v-frmbuf-wr"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
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_git.bb
index 8fa3e245..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_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-gamma-lut" 3REQUIRED_MACHINE_FEATURES = "v-gamma-lut"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_gamma_lut/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_gamma_lut/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb
index 6d365dcd..8cf95c9d 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-gamma-lut_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-gamma-lut" 3REQUIRED_MACHINE_FEATURES = "v-gamma-lut"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb
index fb3119b8..1731f984 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-hcresampler" 3REQUIRED_MACHINE_FEATURES = "v-hcresampler"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb
index 17d129d1..b239380e 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-hscaler" 3REQUIRED_MACHINE_FEATURES = "v-hscaler"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb
index 7c0bdb12..f5ad5f4e 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-letterbox" 3REQUIRED_MACHINE_FEATURES = "v-letterbox"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb
index 0597cb64..8bafbf00 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-mix" 3REQUIRED_MACHINE_FEATURES = "v-mix"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_mix/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_mix/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb
index f3b8b967..acc19bd0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-mix_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-mix" 3REQUIRED_MACHINE_FEATURES = "v-mix"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
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_git.bb
index c584a558..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_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-multi-scaler" 3REQUIRED_MACHINE_FEATURES = "v-multi-scaler"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_multi_scaler/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_multi_scaler/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb
index b2a9c5e5..bd725dbe 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-multi-scaler_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-multi-scaler" 3REQUIRED_MACHINE_FEATURES = "v-multi-scaler"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb
index 7b610b41..2859de79 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-scenechange" 3REQUIRED_MACHINE_FEATURES = "v-scenechange"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_scenechange/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_scenechange/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb
index 91de657d..77cf9189 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-scenechange_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-scenechange" 3REQUIRED_MACHINE_FEATURES = "v-scenechange"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb
index fbc3d696..6ea70db1 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-tpg" 3REQUIRED_MACHINE_FEATURES = "v-tpg"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb
index 1f262db0..45913cdc 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-vcresampler" 3REQUIRED_MACHINE_FEATURES = "v-vcresampler"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb
index 4d5ca11b..9528d2e0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "v-vscaler" 3REQUIRED_MACHINE_FEATURES = "v-vscaler"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb
index 37596d56..278dee8a 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "video-common" 3REQUIRED_MACHINE_FEATURES = "video-common"
4 4
5inherit esw 5inherit esw
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb
index 7c44a0f5..d9050ec4 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "vprocss" 3REQUIRED_MACHINE_FEATURES = "vprocss"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vprocss/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vprocss/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb
index ea28963b..26b2852f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "vprocss" 3REQUIRED_MACHINE_FEATURES = "vprocss"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb
index 59d45b74..a82ae5ee 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "vtc" 3REQUIRED_MACHINE_FEATURES = "vtc"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb
index f3696e60..610a7476 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "wdtps" 3REQUIRED_MACHINE_FEATURES = "wdtps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb
index 8accc1aa..2c900038 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "wdtps" 3REQUIRED_MACHINE_FEATURES = "wdtps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb
index 99b65cc9..cad6ca20 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "wdttb" 3REQUIRED_MACHINE_FEATURES = "wdttb"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdttb/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdttb/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb
index 99388577..33331c32 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "wdttb" 3REQUIRED_MACHINE_FEATURES = "wdttb"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb
index bda86f79..f8878144 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "xadcps" 3REQUIRED_MACHINE_FEATURES = "xadcps"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb
index 39b2855e..85800a27 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "xadcps" 3REQUIRED_MACHINE_FEATURES = "xadcps"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb
index fd268ba8..26983a8f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "xdmapcie" 3REQUIRED_MACHINE_FEATURES = "xdmapcie"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xdmapcie/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xdmapcie/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb
index 87c7b073..cab8e9d0 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xdmapcie_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "xdmapcie" 3REQUIRED_MACHINE_FEATURES = "xdmapcie"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb
index 283bea9b..d6a87183 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "xxvethernet" 3REQUIRED_MACHINE_FEATURES = "xxvethernet"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb
index d810cf0c..491eb07c 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "xxvethernet" 3REQUIRED_MACHINE_FEATURES = "xxvethernet"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb
index afba0f8a..e74e3279 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb
@@ -1,5 +1,5 @@
1inherit esw_examples features_check 1inherit esw_examples features_check
2 2
3REQUIRED_DISTRO_FEATURES = "zdma" 3REQUIRED_MACHINE_FEATURES = "zdma"
4 4
5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/examples/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/examples/"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb
index 8e6c768c..e987f560 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb
@@ -1,6 +1,6 @@
1inherit features_check 1inherit features_check
2 2
3REQUIRED_DISTRO_FEATURES = "zdma" 3REQUIRED_MACHINE_FEATURES = "zdma"
4 4
5inherit esw python3native 5inherit esw python3native
6 6
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb
index 9d0b697f..2ec1d6cd 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb
@@ -25,8 +25,8 @@ ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/"
25ESW_COMPONENT_NAME = "libxil.a" 25ESW_COMPONENT_NAME = "libxil.a"
26 26
27DEPENDS += "xilstandalone " 27DEPENDS += "xilstandalone "
28REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES}" 28REQUIRED_MACHINE_FEATURES = "${MACHINE_FEATURES}"
29PACKAGECONFIG ?= "${DISTRO_FEATURES}" 29PACKAGECONFIG ?= "${MACHINE_FEATURES}"
30 30
31do_configure:prepend() { 31do_configure:prepend() {
32 LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} 32 LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
@@ -37,7 +37,7 @@ do_compile() {
37 # Combines the .a archives produced by all of the dependent items 37 # Combines the .a archives produced by all of the dependent items
38 cd ${RECIPE_SYSROOT}/usr/lib/ 38 cd ${RECIPE_SYSROOT}/usr/lib/
39 echo create libxil.a > libxil.mri 39 echo create libxil.a > libxil.mri
40 for each in ${REQUIRED_DISTRO_FEATURES}; do 40 for each in ${REQUIRED_MACHINE_FEATURES}; do
41 each=$(echo $each | sed 's/-/_/g') 41 each=$(echo $each | sed 's/-/_/g')
42 if [ -e lib$each.a ]; then 42 if [ -e lib$each.a ]; then
43 echo addlib lib$each.a >> libxil.mri 43 echo addlib lib$each.a >> libxil.mri
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb
index 213187e1..93f0b1e8 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb
@@ -1,17 +1,17 @@
1inherit esw python3native 1inherit esw python3native
2 2
3ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip211/src/" 3ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip213/src/"
4ESW_COMPONENT_NAME = "liblwip211.a" 4ESW_COMPONENT_NAME = "liblwip213.a"
5 5
6DEPENDS += "libxil" 6DEPENDS += "libxil"
7DEPENDS:append:xilinx-freertos = "freertos10-xilinx" 7DEPENDS:append:xilinx-freertos = "freertos10-xilinx"
8 8
9EXTRA_OECMAKE += "-Dlwip_api_mode=RAW_API" 9EXTRA_OECMAKE += "-Dlwip213_api_mode=RAW_API"
10EXTRA_OECMAKE += "-Dlwip_dhcp_does_arp_check=ON" 10EXTRA_OECMAKE += "-Dlwip213_dhcp_does_arp_check=ON"
11EXTRA_OECMAKE += "-Dlwip_dhcp=ON" 11EXTRA_OECMAKE += "-Dlwip213_dhcp=ON"
12EXTRA_OECMAKE += "-Dlwip_pbuf_pool_size=2048" 12EXTRA_OECMAKE += "-Dlwip213_pbuf_pool_size=2048"
13EXTRA_OECMAKE += "-Dlwip_ipv6_enable=OFF" 13EXTRA_OECMAKE += "-Dlwip213_ipv6_enable=OFF"
14EXTRA_OECMAKE:append:xilinx-freertos = " -Dlwip_api_mode=SOCKET_API" 14EXTRA_OECMAKE:append:xilinx-freertos = " -Dlwip213_api_mode=SOCKET_API"
15 15
16do_configure:prepend() { 16do_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
@@ -30,5 +30,5 @@ do_install() {
30 install -m 0644 ${B}/include/*.h ${D}${includedir} 30 install -m 0644 ${B}/include/*.h ${D}${includedir}
31 cp -r ${B}/include/arch/ ${D}${includedir} 31 cp -r ${B}/include/arch/ ${D}${includedir}
32 cp -r ${B}/include/include/lwip/ ${D}${includedir} 32 cp -r ${B}/include/include/lwip/ ${D}${includedir}
33 cp -r ${B}/include/include/netif/ ${D}${includedir} 33 cp -r ${B}/include/netif/ ${D}${includedir}
34} 34}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb
index bb976377..cae39d17 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb
@@ -1,7 +1,7 @@
1inherit esw deploy 1inherit esw deploy
2 2
3# Requires by dependency xilffs 3# Requires by dependency xilffs
4REQUIRED_DISTRO_FEATURES = "sdps" 4REQUIRED_MACHINE_FEATURES = "sdps"
5 5
6ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" 6ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/"
7 7
@@ -11,7 +11,6 @@ do_configure:prepend() {
11 ( 11 (
12 cd ${S} 12 cd ${S}
13 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 13 lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
14 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
15 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16 ) 15 )
17} 16}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb
index 2a01c974..298e3033 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb
@@ -1,7 +1,5 @@
1inherit esw features_check 1inherit esw features_check
2 2
3REQUIRED_DISTRO_FEATURES = "sdps"
4
5ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/"
6ESW_COMPONENT_NAME = "libxilffs.a" 4ESW_COMPONENT_NAME = "libxilffs.a"
7 5
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb
index df5c1bbe..a3fb1560 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga-example_git.bb
@@ -8,7 +8,6 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 ) 12 )
14} 13}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
index 1e457d18..600369ad 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox-example_git.bb
@@ -8,7 +8,6 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 ) 12 )
14} 13}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb
index 50dbc776..77115515 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb
@@ -4,3 +4,12 @@ ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/src/"
4ESW_COMPONENT_NAME = "libxilmailbox.a" 4ESW_COMPONENT_NAME = "libxilmailbox.a"
5 5
6DEPENDS += "xilstandalone libxil xiltimer" 6DEPENDS += "xilstandalone libxil xiltimer"
7
8do_configure:prepend() {
9 # This script should also not rely on relative paths and such
10 (
11 cd ${S}
12 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14 )
15}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb
index a656e7ec..a4a81c8b 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilnvm-example_git.bb
@@ -8,7 +8,6 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 ) 12 )
14} 13}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
index f58538cd..69b505c8 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
@@ -1,6 +1,15 @@
1inherit esw 1inherit esw python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/"
4ESW_COMPONENT_NAME = "libxilpm.a" 4ESW_COMPONENT_NAME = "libxilpm.a"
5 5
6DEPENDS = "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'microblaze-plm' else ''}" 6DEPENDS += "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}"
7
8do_configure:prepend:zynqmp() {
9 # This script should also not rely on relative paths and such
10 (
11 cd ${S}
12 lopper -f --enhanced --werror ${DTS_FILE} -- generate_config_object pm_cfg_obj.c ${ESW_MACHINE}
13 install -m 0755 pm_cfg_obj.c ${S}/${ESW_COMPONENT_SRC}/zynqmp/client/common/
14 )
15}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb
index ad2d5c47..ca0abc12 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf-example_git.bb
@@ -8,7 +8,6 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 ) 12 )
14} 13}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb
index 266503d1..81bee095 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpuf_git.bb
@@ -3,4 +3,4 @@ inherit esw
3ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilpuf/src/"
4ESW_COMPONENT_NAME = "libxilpuf.a" 4ESW_COMPONENT_NAME = "libxilpuf.a"
5 5
6DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'microblaze-plm' else 'xilmailbox'}" 6DEPENDS += "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_git.bb
index 2267571f..993794b5 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure-example_git.bb
@@ -8,7 +8,6 @@ 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 memory.ld ${S}/${ESW_COMPONENT_SRC}/
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ 11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13 ) 12 )
14} 13}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb
index b8e2aa16..0001d3fb 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb
@@ -3,4 +3,4 @@ inherit esw
3ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/"
4ESW_COMPONENT_NAME = "libxilsecure.a" 4ESW_COMPONENT_NAME = "libxilsecure.a"
5 5
6DEPENDS += "libxil xiltimer ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'microblaze-plm' else 'xilmailbox'}" 6DEPENDS += "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/xilstandalone_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb
index 70a46c5e..facbfbaa 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb
@@ -11,6 +11,8 @@ do_configure:prepend() {
11 cd ${S} 11 cd ${S}
12 lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} 12 lopper ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
13 install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/ 13 install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/
14 install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC}/common/ 14 install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC}
15 lopper ${DTS_FILE} -- bmcmake_metadata_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
16 install -m 0755 StandaloneExample.cmake ${S}/${ESW_COMPONENT_SRC}/common/
15 ) 17 )
16} 18}