summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-03-16 14:02:00 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-09-27 21:30:10 -0700
commitac0516ce7916796fbde8a20db8c179b77dc92bdc (patch)
tree00e54739768b100f129500eab217f26dce74d4d0
parent58c8191477d70802bf0a88180a0f731f8179731f (diff)
downloadmeta-xilinx-ac0516ce7916796fbde8a20db8c179b77dc92bdc.tar.gz
meta-xilinx-standalone-experimental: Adjust to match recent changes
Changes to meta-xilinx-standalone, as well as the embeddedsw require various changes to be made. This brings the implementation up to the current level. Note: various things do not yet compile! Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw.bbclass52
-rw-r--r--meta-xilinx-standalone-experimental/classes/esw_examples.bbclass12
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-hello-world/freertos-hello-world_git.bb8
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/fsbl-zynqmp/fsbl_git.bb (renamed from meta-xilinx-standalone-experimental/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb)13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb6
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-echo-server/lwip-echo-server_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_git.bb9
-rw-r--r--meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb37
-rw-r--r--meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/pmu-firmware_git.bbappend2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb1
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb10
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb11
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb23
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/csudma-ex_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb18
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb17
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb16
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb10
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb14
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb19
-rw-r--r--meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb78
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb40
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb13
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb29
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb3
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb2
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb6
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb5
138 files changed, 1472 insertions, 169 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass
index 1f7e35f4..682752dd 100644
--- a/meta-xilinx-standalone-experimental/classes/esw.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass
@@ -1,17 +1,7 @@
1inherit pkgconfig cmake
2
3LICENSE = "Proprietary"
4LICFILENAME = "license.txt"
5LIC_FILES_CHKSUM = "file://${S}/${LICFILENAME};md5=39ab6ab638f4d1836ba994ec6852de94"
6
7# We should move to an actual SRCREV eventually 1# We should move to an actual SRCREV eventually
8include conf/xilinx/esw-srcrev.inc 2include conf/xilinx/esw-srcrev.inc
9 3
10SRCREV ?= "${AUTOREV}" 4inherit xlnx-embeddedsw pkgconfig cmake
11PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}"
12REPO ?= "git://github.com/xilinx/embeddedsw.git;protocol=https"
13BRANCH ?= "master"
14SRC_URI = "${REPO};branch=${BRANCH}"
15 5
16SRCREV_FORMAT = "src_decouple" 6SRCREV_FORMAT = "src_decouple"
17 7
@@ -23,6 +13,8 @@ SPECFILE_PATH_arm = "${S}/scripts/specs/arm/Xilinx.spec"
23SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" 13SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec"
24SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" 14SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec"
25 15
16ESW_MACHINE ?= "${MACHINE}"
17
26ESW_CFLAGS += "-specs=${SPECFILE_PATH}" 18ESW_CFLAGS += "-specs=${SPECFILE_PATH}"
27 19
28inherit ccmake 20inherit ccmake
@@ -30,7 +22,14 @@ inherit ccmake
30COMPATIBLE_HOST = ".*-elf" 22COMPATIBLE_HOST = ".*-elf"
31COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" 23COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi"
32 24
33DTBFILE ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" 25DTS_FILE = "${DEPLOY_DIR_IMAGE}/${ESW_MACHINE}-baremetal.dtb"
26
27DEPENDS += "python3-pyyaml-native lopper-native device-tree-lops python3-dtc-native"
28
29# We need the deployed output
30do_configure[depends] += "device-tree-lops:do_deploy"
31do_compile[depends] += "device-tree-lops:do_deploy"
32do_install[depends] += "device-tree-lops:do_deploy"
34 33
35def get_xlnx_cmake_machine(fam, d): 34def get_xlnx_cmake_machine(fam, d):
36 cmake_machine = fam 35 cmake_machine = fam
@@ -62,7 +61,7 @@ def get_xlnx_cmake_processor(tune, machine, d):
62 return cmake_processor 61 return cmake_processor
63 62
64XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d)}" 63XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d)}"
65XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('MACHINE'), d)}" 64XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d)}"
66XLNX_CMAKE_SYSTEM_NAME ?= "Generic" 65XLNX_CMAKE_SYSTEM_NAME ?= "Generic"
67 66
68cmake_do_generate_toolchain_file_append() { 67cmake_do_generate_toolchain_file_append() {
@@ -104,3 +103,30 @@ python(){
104 licpath=os.path.dirname(licpath) 103 licpath=os.path.dirname(licpath)
105 bb.error("Couldn't find license file: %s, within directory %s or his parent directories" % (d.getVar('LICFILENAME',True), externalsrc)) 104 bb.error("Couldn't find license file: %s, within directory %s or his parent directories" % (d.getVar('LICFILENAME',True), externalsrc))
106} 105}
106
107do_generate_driver_data[dirs] = "${B}"
108do_generate_driver_data[depends] += "device-tree-lops:do_deploy"
109python do_generate_driver_data() {
110 import glob, subprocess, os
111
112 system_dt = glob.glob(d.getVar('DTS_FILE'))
113 src_dir = glob.glob(d.getVar('OECMAKE_SOURCEPATH'))
114 machine = d.getVar('ESW_MACHINE')
115
116 driver_name = d.getVar('REQUIRED_DISTRO_FEATURES')
117
118 if len(system_dt) == 0:
119 bb.error("Couldn't find device tree %s" % d.getVar('DTS_FILE'))
120
121 if len(src_dir) == 0:
122 bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH'))
123
124 os.chdir(d.getVar('B'))
125 command = ["lopper.py"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]]
126 subprocess.run(command, check = True)
127 src_file = str("x") + driver_name.replace('-', '_') + str("_g.c")
128 if os.path.exists(src_file):
129 bb.note("Generated config file for driver %s" % driver_name)
130 command = ["install"] + ["-m"] + ["0755"] + [src_file] + [src_dir[0]]
131 subprocess.run(command, check = True)
132}
diff --git a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
index 391f388e..9b116e9e 100644
--- a/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
+++ b/meta-xilinx-standalone-experimental/classes/esw_examples.bbclass
@@ -1,15 +1,18 @@
1inherit esw deploy python3native 1inherit esw deploy python3native
2 2
3DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer device-tree" 3DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer"
4 4
5do_configure_prepend() { 5do_configure_prepend() {
6 cd ${S} 6 cd ${S}
7 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 7 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
8 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
9 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
8} 10}
9 11
10do_generate_eglist () { 12do_generate_eglist () {
11 cd ${S} 13 cd ${S}
12 nativepython3 ${S}/scripts/example.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 14 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} drvcmake_metadata
15 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
13} 16}
14addtask generate_eglist before do_configure after do_prepare_recipe_sysroot 17addtask generate_eglist before do_configure after do_prepare_recipe_sysroot
15do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
@@ -20,7 +23,8 @@ do_install() {
20} 23}
21 24
22do_deploy() { 25do_deploy() {
23 install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/ 26 install -d ${DEPLOYDIR}/${MACHINE}-${BPN}/
27 install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${MACHINE}-${BPN}/
24} 28}
25addtask deploy before do_build after do_package 29addtask deploy before do_build after do_package
26 30
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 9b5bb110..fc10550d 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
@@ -1,12 +1,14 @@
1inherit esw deploy 1inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil xilstandalone xiltimer freertos10-xilinx device-tree" 5DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_install() { 14do_install() {
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 ebfc85aa..0fce1541 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" 5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 eb199d39..df6dab62 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" 5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 c2282593..b325c01d 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" 5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 ccf8f09e..dcbca99e 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" 5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 f2c9eaed..97bee6af 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" 5DEPENDS += "libxil lwip xiltimer freertos10-xilinx"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/fsbl-zynqmp/fsbl_git.bb
index a0d2d2b9..8c98ffe7 100644
--- a/meta-xilinx-standalone-experimental/recipes-applications/zynqmp-fsbl/zynqmp-fsbl_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-applications/fsbl-zynqmp/fsbl_git.bb
@@ -1,17 +1,12 @@
1inherit esw deploy 1inherit esw deploy
2 2
3COMPATIBLE_MACHINE = ".*-zynqmp" 3COMPATIBLE_HOST = "aarch64.*-elf"
4COMPATIBLE_MACHINE = "none"
5COMPATIBLE_MACHINE_zynqmp = ".*"
4 6
5ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_fsbl/src" 7ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_fsbl/src"
6 8
7DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm device-tree" 9DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm"
8
9PSU_INIT = "${RECIPE_SYSROOT}/${includedir}/devicetree/psu_init*"
10
11do_configure_prepend() {
12 # Copy psu_init* files to fsbl source code
13 cp ${PSU_INIT} ${S}/${ESW_COMPONENT_SRC}
14}
15 10
16do_install() { 11do_install() {
17 install -d ${D}/${base_libdir}/firmware 12 install -d ${D}/${base_libdir}/firmware
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 c67fb5f5..ae99df0f 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
@@ -2,13 +2,15 @@ inherit esw deploy
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil xiltimer device-tree" 5DEPENDS += "libxil xiltimer"
6 6
7inherit python3native 7inherit python3native
8 8
9do_configure_prepend() { 9do_configure_prepend() {
10 cd ${S} 10 cd ${S}
11 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 11 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
12 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
12} 14}
13 15
14do_install() { 16do_install() {
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 e0d6f13c..86404751 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" 5DEPENDS += "libxil lwip xiltimer"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 6f0c9b4a..f33b5fd0 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" 5DEPENDS += "libxil lwip xiltimer"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 d9f990c4..4fc99181 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" 5DEPENDS += "libxil lwip xiltimer"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 fc89c13e..83e9abb0 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" 5DEPENDS += "libxil lwip xiltimer"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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 8b9114ac..5dde9610 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
@@ -2,17 +2,20 @@ inherit esw deploy python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" 3ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/"
4 4
5DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" 5DEPENDS += "libxil lwip xiltimer"
6 6
7do_configure_prepend() { 7do_configure_prepend() {
8 cd ${S} 8 cd ${S}
9 nativepython3 ${S}/scripts/linker_gen.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 9 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
10 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
11 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
10} 12}
11 13
12do_generate_app_data() { 14do_generate_app_data() {
13 # This script should also not rely on relative paths and such 15 # This script should also not rely on relative paths and such
14 cd ${S} 16 cd ${S}
15 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 17 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
18 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
16} 19}
17addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot 20addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack" 21do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
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
new file mode 100644
index 00000000..c2276653
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-applications/memory-tests/memory-tests_git.bb
@@ -0,0 +1,37 @@
1inherit esw deploy
2
3ESW_COMPONENT_SRC = "/lib/sw_apps/memory_tests/src/"
4
5DEPENDS += "libxil xiltimer"
6
7inherit python3native
8
9do_configure_prepend() {
10 cd ${S}
11 lopper.py ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} memtest
12 install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/
13 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
14}
15
16do_install() {
17 install -d ${D}/${base_libdir}/firmware
18 # Note that we have to make the ELF executable for it to be stripped
19 install -m 0755 ${B}/memory_test* ${D}/${base_libdir}/firmware
20}
21
22MEMORY_TESTS_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
23MEMORY_TESTS_BASE_NAME[vardepsexclude] = "DATETIME"
24
25do_deploy() {
26
27 # We need to deploy the stripped elf, hence why not doing it from ${D}
28 install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_test.elf ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.elf
29 ln -sf ${MEMORY_TESTS_BASE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}.elf
30 ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/memory_test.elf ${WORKDIR}/package/${base_libdir}/firmware/memory_test.bin
31 install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/memory_test.bin ${DEPLOYDIR}/${MEMORY_TESTS_BASE_NAME}.bin
32 ln -sf ${MEMORY_TESTS_BASE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}.bin
33}
34
35addtask deploy before do_build after do_package
36
37FILES_${PN} = "${base_libdir}/firmware/memory_test*"
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 086689f0..12def547 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
@@ -9,7 +9,7 @@ ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src"
9 9
10ESW_COMPONENT = "pmufw.elf" 10ESW_COMPONENT = "pmufw.elf"
11 11
12do_compile() { 12do_compile_append() {
13 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin 13 ${MB_OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/executable.bin
14} 14}
15 15
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
index f87c74c9..e9ccd07e 100644
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
@@ -7,6 +7,7 @@ TOOLCHAIN_HOST_TASK ?= "\
7 nativesdk-sdk-provides-dummy \ 7 nativesdk-sdk-provides-dummy \
8 nativesdk-lopper \ 8 nativesdk-lopper \
9 nativesdk-xilinx-lops \ 9 nativesdk-xilinx-lops \
10 nativesdk-esw-conf \
10 " 11 "
11 12
12MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" 13MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb
new file mode 100644
index 00000000..e4939951
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/avbuf_git.bb
@@ -0,0 +1,10 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "avbuf"
4
5inherit esw
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/avbuf/src/"
10ESW_COMPONENT_NAME = "libavbuf.a"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb
new file mode 100644
index 00000000..081609dd
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "axicdma"
4
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 442ffb7b..154f31be 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axicdma_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/examples/" 3REQUIRED_DISTRO_FEATURES = "axicdma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/src/"
10ESW_COMPONENT_NAME = "libaxicdma.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb
new file mode 100644
index 00000000..db8658a1
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axidma-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "axidma"
4
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 05f4c342..68ef659a 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axidma_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/examples/" 3REQUIRED_DISTRO_FEATURES = "axidma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/src/"
10ESW_COMPONENT_NAME = "libaxidma.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb
new file mode 100644
index 00000000..8dee5feb
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "axiethernet"
4
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 1dc83406..1ef2b43b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axiethernet_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/examples/" 3REQUIRED_DISTRO_FEATURES = "axiethernet"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/src/"
10ESW_COMPONENT_NAME = "libaxiethernet.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb
new file mode 100644
index 00000000..ceca8ebf
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axis-switch_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "axis-switch"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axis_switch/src/"
10ESW_COMPONENT_NAME = "libaxis_switch.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb
new file mode 100644
index 00000000..6742356c
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "axivdma"
4
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 415cb9b4..a31e5b38 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/axivdma_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/examples/" 3REQUIRED_DISTRO_FEATURES = "axivdma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/src/"
10ESW_COMPONENT_NAME = "libaxivdma.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb
new file mode 100644
index 00000000..4d43d489
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/bram_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "bram"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/bram/src/"
10ESW_COMPONENT_NAME = "libbram.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb
new file mode 100644
index 00000000..9e6417ce
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/can-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "can"
4
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 3f688c3b..dc9e2197 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/can_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/examples/" 3REQUIRED_DISTRO_FEATURES = "can"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/src/"
10ESW_COMPONENT_NAME = "libcan.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb
new file mode 100644
index 00000000..c8395f4e
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canfd-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "canfd"
4
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 36fa367b..5f02d0a9 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canfd_git.bb
@@ -1,3 +1,17 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/examples/" 3REQUIRED_DISTRO_FEATURES = "canfd"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/src/"
10ESW_COMPONENT_NAME = "libcanfd.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
17do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb
new file mode 100644
index 00000000..17ac3d0c
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "canps"
4
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 ab6f6478..7733fd4f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/canps_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/examples/" 3REQUIRED_DISTRO_FEATURES = "canps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/"
10ESW_COMPONENT_NAME = "libcanps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb
new file mode 100644
index 00000000..c443b9a9
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/cframe_git.bb
@@ -0,0 +1,18 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "cframe"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/cframe/src/"
10ESW_COMPONENT_NAME = "libcframe.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb
new file mode 100644
index 00000000..ca1af7a4
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/cfupmc_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "cfupmc"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/cfupmc/src/"
10ESW_COMPONENT_NAME = "libcfupmc.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb
index b0bb1ccb..a3b5f8d8 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/clockps_git.bb
@@ -1,3 +1,10 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/examples/" 3REQUIRED_DISTRO_FEATURES = "clockps"
4
5inherit esw
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/src/"
10ESW_COMPONENT_NAME = "libclockps.a"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb
new file mode 100644
index 00000000..98415f4a
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/common_git.bb
@@ -0,0 +1,23 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "common"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9PACKAGECONFIG ?= "${@bb.utils.contains("DISTRO_FEATURES", "clockps", "clockps", "", d)} \
10 ${@bb.utils.contains("DISTRO_FEATURES", "scugic", "scugic", "", d)} \
11 ${@bb.utils.contains("DISTRO_FEATURES", "intc", "intc", "", d)}"
12PACKAGECONFIG[clockps] = "${RECIPE_SYSROOT}/usr/lib/libclockps.a,,clockps,,"
13PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,,"
14PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,,"
15
16ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/common/src/"
17ESW_COMPONENT_NAME = "libcommon.a"
18
19do_configure_prepend() {
20 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/intc/src/
21 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/XilinxProcessorIPLib/drivers/scugic/src/
22 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
23}
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb
new file mode 100644
index 00000000..d721b2e1
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/coresightps-dcc_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "coresightps-dcc"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/coresightps_dcc/src/"
10ESW_COMPONENT_NAME = "libcoresightps_dcc.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/csudma-ex_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/csudma-ex_git.bb
new file mode 100644
index 00000000..3f5c2138
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma-ex_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "csudma"
4
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 f505a8af..c5e83b67 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/examples/" 3REQUIRED_DISTRO_FEATURES = "csudma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/src/"
10ESW_COMPONENT_NAME = "libcsudma.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb
new file mode 100644
index 00000000..538496f4
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ddrcpsu_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "ddrcpsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ddrcpsu/src/"
10ESW_COMPONENT_NAME = "libddrcpsu.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb
new file mode 100644
index 00000000..2b0cd72f
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "devcfg"
4
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 04414465..3f0db543 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/devcfg_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/examples/" 3REQUIRED_DISTRO_FEATURES = "devcfg"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/src/"
10ESW_COMPONENT_NAME = "libdevcfg.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb
new file mode 100644
index 00000000..77d4ac0c
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "dmaps"
4
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
new file mode 100644
index 00000000..ccc36172
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dpdma_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "dpdma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common avbuf"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dpdma/src/"
10ESW_COMPONENT_NAME = "libdpdma.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb
new file mode 100644
index 00000000..200c1608
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/dppsu_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "dppsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dppsu/src/"
10ESW_COMPONENT_NAME = "libdppsu.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb
new file mode 100644
index 00000000..82a66d70
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "emaclite"
4
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 927bc93b..43c7e88f 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emaclite_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/examples/" 3REQUIRED_DISTRO_FEATURES = "emaclite"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/src/"
10ESW_COMPONENT_NAME = "libemaclite.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb
new file mode 100644
index 00000000..93c2ff59
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emacps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "emacps"
4
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 530087a4..cca114f4 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/emacps_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/examples/" 3REQUIRED_DISTRO_FEATURES = "emacps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/src/"
10ESW_COMPONENT_NAME = "libemacps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb
new file mode 100644
index 00000000..1446c92c
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "gpio"
4
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 8302d66d..18f170dd 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpio_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/examples/" 3REQUIRED_DISTRO_FEATURES = "gpio"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/src/"
10ESW_COMPONENT_NAME = "libgpio.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb
new file mode 100644
index 00000000..e7050fc4
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "gpiops"
4
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 9ece49a9..24f50580 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/gpiops_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/examples/" 3REQUIRED_DISTRO_FEATURES = "gpiops"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/src/"
10ESW_COMPONENT_NAME = "libgpiops.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb
new file mode 100644
index 00000000..fec7256b
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iicps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "iicps"
4
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
new file mode 100644
index 00000000..7647b0b0
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iicps_git.bb
@@ -0,0 +1,18 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "iicps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iicps/src/"
10ESW_COMPONENT_NAME = "libiicps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb
new file mode 100644
index 00000000..78bf108d
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/iomodule_git.bb
@@ -0,0 +1,18 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "iomodule"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iomodule/src/"
10ESW_COMPONENT_NAME = "libiomodule.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb
new file mode 100644
index 00000000..e007b74e
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "ipipsu"
4
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 83a107eb..456c4410 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ipipsu_git.bb
@@ -1,3 +1,17 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/examples/" 3REQUIRED_DISTRO_FEATURES = "ipipsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/src/"
10ESW_COMPONENT_NAME = "libipipsu.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
17do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb
new file mode 100644
index 00000000..da02cbd2
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "llfifo"
4
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 dbc1945f..f1ec3ef9 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/llfifo_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/examples/" 3REQUIRED_DISTRO_FEATURES = "llfifo"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/src/"
10ESW_COMPONENT_NAME = "libllfifo.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb
new file mode 100644
index 00000000..3adea549
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mbox-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "mbox"
4
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 085a459e..ad4a21d1 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mbox_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/examples/" 3REQUIRED_DISTRO_FEATURES = "mbox"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/src/"
10ESW_COMPONENT_NAME = "libmbox.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb
new file mode 100644
index 00000000..54622350
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "mcdma"
4
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 4b45d003..5720437b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mcdma_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/examples/" 3REQUIRED_DISTRO_FEATURES = "mcdma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/src/"
10ESW_COMPONENT_NAME = "libmcdma.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb
new file mode 100644
index 00000000..ac637d2c
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mutex-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "mutex"
4
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 6a7b39b4..656aa4ff 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/mutex_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/examples/" 3REQUIRED_DISTRO_FEATURES = "mutex"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/src/"
10ESW_COMPONENT_NAME = "libmutex.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb
new file mode 100644
index 00000000..0502471e
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "nandpsu"
4
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 8fd7251b..82ccf325 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/nandpsu_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandpsu/examples/" 3REQUIRED_DISTRO_FEATURES = "canps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/"
10ESW_COMPONENT_NAME = "libcanps.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb
new file mode 100644
index 00000000..c9d68260
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "ospipsv"
4
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 b98f9b51..e40b7fbb 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/examples/" 3REQUIRED_DISTRO_FEATURES = "ospipsv"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/src/"
10ESW_COMPONENT_NAME = "libospipsv.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb
new file mode 100644
index 00000000..23600836
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/pciepsu_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "pciepsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/pciepsu/src/"
10ESW_COMPONENT_NAME = "libpciepsu.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb
new file mode 100644
index 00000000..7a77274d
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspips-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "qspips"
4
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 1f0a1240..aa8938c5 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspips_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/examples/" 3REQUIRED_DISTRO_FEATURES = "qspips"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/src/"
10ESW_COMPONENT_NAME = "libqspips.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb
new file mode 100644
index 00000000..a533c50c
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "qspipsu"
4
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 f1c97e97..4dc09878 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/qspipsu_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/examples/" 3REQUIRED_DISTRO_FEATURES = "qspipsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/src/"
10ESW_COMPONENT_NAME = "libqspipsu.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb
new file mode 100644
index 00000000..86a9acc1
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/resetps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "resetps"
4
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 51e4eaad..13efa0fb 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/resetps_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/examples/" 3REQUIRED_DISTRO_FEATURES = "resetps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/src/"
10ESW_COMPONENT_NAME = "libresetps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb
new file mode 100644
index 00000000..fc18adeb
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "rtcpsu"
4
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 19f17f73..e4b8fbb5 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/examples/" 3REQUIRED_DISTRO_FEATURES = "rtcpsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/src/"
10ESW_COMPONENT_NAME = "librtcpsu.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb
new file mode 100644
index 00000000..5ad0ba17
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/scugic-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "scugic"
4
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 f20c8241..c8066183 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/scugic_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/examples/" 3REQUIRED_DISTRO_FEATURES = "scugic"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/src/"
10ESW_COMPONENT_NAME = "libscugic.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb
new file mode 100644
index 00000000..9a5c435b
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "sdps"
4
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 cba4543c..dde6ee47 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/examples/" 3REQUIRED_DISTRO_FEATURES = "sdps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/src/"
10ESW_COMPONENT_NAME = "libsdps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb
new file mode 100644
index 00000000..bec085bb
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "spips"
4
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 d1395a1e..83e7799b 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/spips_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/examples/" 3REQUIRED_DISTRO_FEATURES = "spips"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/src/"
10ESW_COMPONENT_NAME = "libspips.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb
new file mode 100644
index 00000000..1ef37ee8
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "sysmon"
4
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 cc10bbc1..aaef1f85 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmon_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/examples/" 3REQUIRED_DISTRO_FEATURES = "sysmon"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/src/"
10ESW_COMPONENT_NAME = "libsysmon.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb
new file mode 100644
index 00000000..52e5b1e6
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "sysmonpsu"
4
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
new file mode 100644
index 00000000..23b53847
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsu_git.bb
@@ -0,0 +1,18 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "sysmonpsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsu/src/"
10ESW_COMPONENT_NAME = "libsysmonpsu.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb
new file mode 100644
index 00000000..bad984ae
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/sysmonpsv_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "sysmonpsv"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/"
10ESW_COMPONENT_NAME = "libsysmonpsv.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb
new file mode 100644
index 00000000..59ec1e4a
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-inject_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "tmr-inject"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmr_inject/src/"
10ESW_COMPONENT_NAME = "libtmr_inject.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb
new file mode 100644
index 00000000..9311b522
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmr-manager_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "tmr-manager"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmr_manager/src/"
10ESW_COMPONENT_NAME = "libtmr_manager.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb
new file mode 100644
index 00000000..cd971139
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "tmrctr"
4
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 2e675fb7..bfc027c7 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/tmrctr_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/examples/" 3REQUIRED_DISTRO_FEATURES = "tmrctr"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/src/"
10ESW_COMPONENT_NAME = "libtmrctr.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb
new file mode 100644
index 00000000..783dce25
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "ttcps"
4
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 72a21566..505b20af 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/ttcps_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/examples/" 3REQUIRED_DISTRO_FEATURES = "ttcps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/src/"
10ESW_COMPONENT_NAME = "libttcps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb
new file mode 100644
index 00000000..f218e604
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "uartlite"
4
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 0f6d688f..48ab39b1 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/examples/" 3REQUIRED_DISTRO_FEATURES = "uartlite"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/"
10ESW_COMPONENT_NAME = "libuartlite.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb
new file mode 100644
index 00000000..f010794a
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "uartps"
4
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 e898f011..566d7336 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb
@@ -1,3 +1,16 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/examples/" 3REQUIRED_DISTRO_FEATURES = "uartps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/"
10ESW_COMPONENT_NAME = "libuartps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin
14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 install -m 0755 xuartps_g.c ${S}/${ESW_COMPONENT_SRC}/
16}
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
new file mode 100644
index 00000000..7ceca4e5
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
@@ -0,0 +1,16 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "uartpsv"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/"
10ESW_COMPONENT_NAME = "libuartpsv.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin
14 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
15 install -m 0755 xuartpsv_g.c ${S}/${ESW_COMPONENT_SRC}/
16}
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb
new file mode 100644
index 00000000..88c983e0
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "usbpsu"
4
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 97645375..143bfb9c 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/usbpsu_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/examples/" 3REQUIRED_DISTRO_FEATURES = "usbpsu"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/src/"
10ESW_COMPONENT_NAME = "libusbpsu.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb
new file mode 100644
index 00000000..361dde36
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-csc_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-csc"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_csc/src/"
10ESW_COMPONENT_NAME = "libv_csc.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb
new file mode 100644
index 00000000..a439a7bd
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-deinterlacer_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-deinterlacer"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_deinterlacer/src/"
10ESW_COMPONENT_NAME = "libv_deinterlacer.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb
new file mode 100644
index 00000000..7bb5d68d
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-hcresampler_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-hcresampler"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hcresampler/src/"
10ESW_COMPONENT_NAME = "libv_hcresampler.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb
new file mode 100644
index 00000000..16b7ad43
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-hscaler_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-hscaler"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hscaler/src/"
10ESW_COMPONENT_NAME = "libv_hscaler.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb
new file mode 100644
index 00000000..efb85fa0
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-letterbox_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-letterbox"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_letterbox/src/"
10ESW_COMPONENT_NAME = "libv_letterbox.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb
new file mode 100644
index 00000000..418378a1
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-tpg_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-tpg"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_tpg/src/"
10ESW_COMPONENT_NAME = "libv_tpg.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb
new file mode 100644
index 00000000..c36ff3d9
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-vcresampler_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-vcresampler"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_vcresampler/src/"
10ESW_COMPONENT_NAME = "libv_vcresampler.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb
new file mode 100644
index 00000000..570df89f
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-vscaler_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "v-vscaler"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_vscaler/src/"
10ESW_COMPONENT_NAME = "libv_vscaler.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb
new file mode 100644
index 00000000..15bb1540
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/video-common_git.bb
@@ -0,0 +1,10 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "video-common"
4
5inherit esw
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/video_common/src/"
10ESW_COMPONENT_NAME = "libvideo_common.a"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb
new file mode 100644
index 00000000..7c44a0f5
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "vprocss"
4
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
new file mode 100644
index 00000000..4280718e
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/vprocss_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "vprocss"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common gpio axis-switch axivdma v-csc v-deinterlacer v-hcresampler v-vcresampler v-hscaler v-vscaler v-letterbox"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vprocss/src/"
10ESW_COMPONENT_NAME = "libvprocss.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb
new file mode 100644
index 00000000..adad8baa
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/vtc_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "vtc"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem video-common"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vtc/src/"
10ESW_COMPONENT_NAME = "libvtc.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb
new file mode 100644
index 00000000..f3696e60
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "wdtps"
4
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 de70d5fc..2a4e22ab 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdtps_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/examples/" 3REQUIRED_DISTRO_FEATURES = "wdtps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/src/"
10ESW_COMPONENT_NAME = "libwdtps.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb
new file mode 100644
index 00000000..944d1d4b
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/wdttb_git.bb
@@ -0,0 +1,13 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "wdttb"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdttb/src/"
10ESW_COMPONENT_NAME = "libwdttb.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb
new file mode 100644
index 00000000..bda86f79
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "xadcps"
4
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 2e607521..a13e2974 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xadcps_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/examples/" 3REQUIRED_DISTRO_FEATURES = "xadcps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/src/"
10ESW_COMPONENT_NAME = "libxadcps.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb
new file mode 100644
index 00000000..283bea9b
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "xxvethernet"
4
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 66e6bcd6..82ccf325 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/xxvethernet_git.bb
@@ -1,3 +1,13 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/examples/" 3REQUIRED_DISTRO_FEATURES = "canps"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/"
10ESW_COMPONENT_NAME = "libcanps.a"
11
12addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
13do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb
new file mode 100644
index 00000000..afba0f8a
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/zdma-example_git.bb
@@ -0,0 +1,5 @@
1inherit esw_examples features_check
2
3REQUIRED_DISTRO_FEATURES = "zdma"
4
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 584a1b20..aa094e16 100644
--- a/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/zdma_git.bb
@@ -1,3 +1,18 @@
1inherit esw_examples 1inherit features_check
2 2
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/examples/" 3REQUIRED_DISTRO_FEATURES = "zdma"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/src/"
10ESW_COMPONENT_NAME = "libzdma.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
15}
16
17addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
18do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb b/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb
new file mode 100644
index 00000000..2287218b
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-kernel/lopper/device-tree-lops.bb
@@ -0,0 +1,78 @@
1SUMMARY = "Device tree lops"
2SECTION = "bootloader"
3LICENSE = "BSD-3-Clause"
4DEPENDS += "lopper-native"
5
6INHIBIT_DEFAULT_DEPS = '1'
7
8inherit deploy
9inherit python3native
10
11ESW_MACHINE ?= "${MACHINE}"
12
13DTB_FILE = "${ESW_MACHINE}-system.dtb"
14DTS_FILE = "${ESW_MACHINE}-baremetal.dtb"
15
16COMPATIBLE_HOST = "^.*"
17
18LOPS_DIR = "${RECIPE_SYSROOT_NATIVE}/usr/share/lopper/lops"
19
20# All microblaze
21do_compile_microblaze_xilinx-standalone() {
22 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
23}
24
25# All Cortex R5
26do_compile_append_armrm_xilinx-standalone() {
27 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-r5-imux.dts ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
28}
29
30# Only ZynqMP & Cortex A53 (baremetal)
31do_compile_append_zynqmp_aarch64_xilinx-standalone() {
32 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a53-imux.dts ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
33}
34
35# Only ZynqMP & Cortex A53 (Linux)
36do_compile_append_zynqmp_aarch64_linux() {
37 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a53-imux.dts -i ${LOPS_DIR}/lop-domain-linux-a53.dts ${SYSTEM_DTFILE} ${B}/${DTB_FILE}
38}
39
40# Only Versal and Cortex A72 (baremetal)
41do_compile_append_versal_aarch64_xilinx-standalone() {
42 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a72-imux.dts ${SYSTEM_DTFILE} ${B}/${DTS_FILE}
43}
44
45do_compile_append_versal_aarch64_linux() {
46 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f --enhanced -i ${LOPS_DIR}/lop-a72-imux.dts -i ${LOPS_DIR}/lop-domain-a72.dts ${SYSTEM_DTFILE} ${B}/${DTB_FILE}
47}
48
49do_install() {
50 :
51}
52
53PACKAGES = ""
54
55do_fetch[noexec] = "1"
56do_unpack[noexec] = "1"
57do_patch[noexec] = "1"
58do_configure[noexec] = "1"
59do_install[noexec] = "1"
60deltask do_populate_lic
61deltask do_populate_sysroot
62deltask do_pacakge
63deltask do_package_qa
64deltask do_packagedata
65deltask do_package_write_ipk
66deltask do_package_write_deb
67deltask do_package_write_rpm
68
69# Linux
70do_deploy() {
71 install -Dm 0644 ${B}/${DTB_FILE} ${DEPLOYDIR}/${DTB_FILE}
72}
73
74# Baremetal
75do_deploy_xilinx-standalone() {
76 install -Dm 0644 ${B}/${DTS_FILE} ${DEPLOYDIR}/${DTS_FILE}
77}
78addtask deploy before do_build after do_install
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb
index 870524d2..a722b4da 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/freertos10-xilinx_git.bb
@@ -3,10 +3,11 @@ inherit esw python3native
3ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/" 3ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/"
4ESW_COMPONENT_NAME = "libfreertos.a" 4ESW_COMPONENT_NAME = "libfreertos.a"
5 5
6DEPENDS += "libxil xilstandalone xilmem dtc-native python3-pyyaml-native python3-dtc-native xiltimer" 6DEPENDS += "libxil xilstandalone xilmem xiltimer"
7 7
8do_configure_prepend() { 8do_configure_prepend() {
9 # This script should also not rely on relative paths and such 9 # This script should also not rely on relative paths and such
10 cd ${S} 10 cd ${S}
11 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 11 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
12} 13}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb
index 4ac7c115..9e8680a0 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/libxil_git.bb
@@ -1,27 +1,31 @@
1inherit esw python3native 1inherit esw python3native features_check
2
3require conf/${ESW_MACHINE}-libxil.conf
2 4
3ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" 5ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/"
4ESW_COMPONENT_NAME = "libxil.a" 6ESW_COMPONENT_NAME = "libxil.a"
5 7
6DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native xilstandalone xilmem device-tree" 8DEPENDS += "xilstandalone xilmem"
9REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES}"
10PACKAGECONFIG ?= "${DISTRO_FEATURES} ${MACHINE_FEATURES}"
7 11
8do_configure_prepend() { 12do_configure_prepend() {
9 # This will generate CMakeLists.txt which contains 13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S}
10 # drivers for the libxil 14 install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/
11 cd ${S}
12 #TODO
13 # This call was initially used to get the list of drivers and libraries required
14 # by the design to the build system to use as dependencies to the application
15 # being built, at this point this is all done in a single cmake build bundling
16 # everything in libxil, which is undesired.
17 DRIVERS_LIST=$(nativepython3 ${S}/scripts/getdrvlist.py -d ${DTBFILE})
18} 15}
19 16
20do_generate_driver_data() { 17do_compile() {
21 # This script should also not rely on relative paths and such 18 # Combines the .a archives produced by all of the dependent items
22 cd ${S} 19 cd ${RECIPE_SYSROOT}/usr/lib/
23 nativepython3 ${S}/scripts/generate_drvdata.py -d ${DTBFILE} 20 echo create libxil.a > libxil.mri
21 for each in ${REQUIRED_DISTRO_FEATURES}; do
22 each=$(echo $each | sed 's/-/_/g')
23 if [ -e lib$each.a ]; then
24 echo addlib lib$each.a >> libxil.mri
25 fi
26 done
27 echo “save” >> libxil.mri
28 echo “end” >> libxil.mri
29 ${AR} -M <libxil.mri
30 cp libxil.a ${B}
24} 31}
25
26addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot
27do_prepare_recipe_sysroot[rdeptask] = "do_unpack"
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb
index 7e31b32e..66c746e8 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/lwip_git.bb
@@ -3,13 +3,22 @@ inherit esw python3native
3ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip211/src/" 3ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip211/src/"
4ESW_COMPONENT_NAME = "liblwip211.a" 4ESW_COMPONENT_NAME = "liblwip211.a"
5 5
6DEPENDS += "dtc-native python3-dtc-native libxil python3-pyyaml-native" 6DEPENDS += "libxil"
7DEPENDS_append_xilinx-freertos = "freertos10-xilinx" 7DEPENDS_append_xilinx-freertos = "freertos10-xilinx"
8 8
9EXTRA_OECMAKE += "-Dlwip_api_mode=RAW_API"
10EXTRA_OECMAKE += "-Dlwip_dhcp_does_arp_check=ON"
11EXTRA_OECMAKE += "-Dlwip_dhcp=ON"
12EXTRA_OECMAKE += "-Dlwip_pbuf_pool_size=2048"
13EXTRA_OECMAKE += "-Dlwip_ipv6_enable=OFF"
14EXTRA_OECMAKE_append_xilinx-freertos += "-Dlwip_api_mode=SOCKET_API"
15
9do_configure_prepend() { 16do_configure_prepend() {
10 # This script should also not rely on relative paths and such 17 # This script should also not rely on relative paths and such
11 cd ${S} 18 cd ${S}
12 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 19 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
20 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
21 install -m 0755 xtopology_g.c ${S}/${ESW_COMPONENT_SRC}/
13} 22}
14 23
15do_install() { 24do_install() {
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb
new file mode 100644
index 00000000..0b1aa111
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/nativesdk-esw-conf_git.bb
@@ -0,0 +1,29 @@
1include conf/xilinx/esw-srcrev.inc
2
3# Can't depend on esw since this is needed for setup!
4inherit xlnx-embeddedsw nativesdk
5
6S = "${WORKDIR}/git"
7B = "${WORKDIR}/build"
8
9# Don't need any specific dependencies for this
10DEPENDS = ""
11
12COMPATIBLE_HOST_forcevariable = ".*"
13
14ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/"
15
16do_configure[noexec] = '1'
17do_compile[noexec] = '1'
18
19do_install() {
20 # The configuration step requires only the yaml files, make them
21 # available to the SDK
22 cd ${S}${ESW_COMPONENT_SRC}
23 for each in `find . -name *.yaml` ; do
24 mkdir -p $(dirname ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each)
25 install -m 0644 $each ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each
26 done
27}
28
29FILES_${PN} += "${datadir}/embeddedsw"
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb
index 41405fdf..7c6d4e8e 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilfpga_git.bb
@@ -3,5 +3,5 @@ inherit esw
3ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/src/"
4ESW_COMPONENT_NAME = "libxilfpga.a" 4ESW_COMPONENT_NAME = "libxilfpga.a"
5 5
6DEPENDS += " libxil xilsecure" 6DEPENDS += "libxil xilsecure"
7 7
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb
index 682908ad..f91155f3 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilloader_git.bb
@@ -3,4 +3,7 @@ inherit esw
3ESW_COMPONENT_SRC = "/lib/sw_services/xilloader/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilloader/src/"
4ESW_COMPONENT_NAME = "libxilloader.a" 4ESW_COMPONENT_NAME = "libxilloader.a"
5 5
6DEPENDS += "xilstandalone libxil xilpm xilpdi xilffs xilsecure xilpuf" 6DEPENDS += "xilstandalone libxil xilpdi xilffs xilsecure xilpuf xilplmi"
7#DEPENDS += "xilstandalone libxil xilpm xilpdi xilffs xilsecure xilpuf"
8
9DEPENDS += "cframe"
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
index 80132c90..5e8ad488 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
@@ -3,5 +3,4 @@ inherit esw
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" 6DEPENDS = "libxil ${@'xilplmi xilloader' if d.getVar('ESW_MACHINE') == 'microblaze-plm' else ''}"
7DEPENDS_microblaze-plm_append = "xilplmi"
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilsecure_git.bb
index 0ad55510..d77338dc 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" 6DEPENDS += "libxil ${@'xilplmi' if d.getVar('ESW_MACHINE') == 'microblaze-plm' else ''}"
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb
index a4a393c3..5dc98269 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilstandalone_git.bb
@@ -3,10 +3,12 @@ inherit esw python3native
3ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/" 3ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/"
4ESW_COMPONENT_NAME = "libxilstandalone.a" 4ESW_COMPONENT_NAME = "libxilstandalone.a"
5 5
6DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native libgloss device-tree" 6DEPENDS += "libgloss"
7 7
8do_configure_prepend() { 8do_configure_prepend() {
9 # This script should also not rely on relative paths and such 9 # This script should also not rely on relative paths and such
10 cd ${S} 10 cd ${S}
11 nativepython3 ${S}/scripts/generate_libdata.py -d ${DTBFILE} 11 lopper.py ${DTS_FILE} -- baremetal_bspconfig_xlnx ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
12 install -m 0755 MemConfig.cmake ${S}/${ESW_COMPONENT_SRC}/
13 install -m 0755 *.c ${S}/${ESW_COMPONENT_SRC}/common/
12} 14}
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb
index 428fa686..93b64de1 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xiltimer_git.bb
@@ -3,10 +3,11 @@ inherit esw python3native
3ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/"
4ESW_COMPONENT_NAME = "libxiltimer.a" 4ESW_COMPONENT_NAME = "libxiltimer.a"
5 5
6DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native libxil device-tree" 6DEPENDS += "libxil"
7 7
8do_configure_prepend() { 8do_configure_prepend() {
9 # This script should also not rely on relative paths and such 9 # This script should also not rely on relative paths and such
10 cd ${S} 10 cd ${S}
11 nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} 11 lopper.py ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
12 install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
12} 13}