diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-03-16 14:02:00 -0700 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-27 21:30:10 -0700 |
commit | ac0516ce7916796fbde8a20db8c179b77dc92bdc (patch) | |
tree | 00e54739768b100f129500eab217f26dce74d4d0 | |
parent | 58c8191477d70802bf0a88180a0f731f8179731f (diff) | |
download | meta-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>
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 @@ | |||
1 | inherit pkgconfig cmake | ||
2 | |||
3 | LICENSE = "Proprietary" | ||
4 | LICFILENAME = "license.txt" | ||
5 | LIC_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 |
8 | include conf/xilinx/esw-srcrev.inc | 2 | include conf/xilinx/esw-srcrev.inc |
9 | 3 | ||
10 | SRCREV ?= "${AUTOREV}" | 4 | inherit xlnx-embeddedsw pkgconfig cmake |
11 | PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" | ||
12 | REPO ?= "git://github.com/xilinx/embeddedsw.git;protocol=https" | ||
13 | BRANCH ?= "master" | ||
14 | SRC_URI = "${REPO};branch=${BRANCH}" | ||
15 | 5 | ||
16 | SRCREV_FORMAT = "src_decouple" | 6 | SRCREV_FORMAT = "src_decouple" |
17 | 7 | ||
@@ -23,6 +13,8 @@ SPECFILE_PATH_arm = "${S}/scripts/specs/arm/Xilinx.spec" | |||
23 | SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" | 13 | SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" |
24 | SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" | 14 | SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" |
25 | 15 | ||
16 | ESW_MACHINE ?= "${MACHINE}" | ||
17 | |||
26 | ESW_CFLAGS += "-specs=${SPECFILE_PATH}" | 18 | ESW_CFLAGS += "-specs=${SPECFILE_PATH}" |
27 | 19 | ||
28 | inherit ccmake | 20 | inherit ccmake |
@@ -30,7 +22,14 @@ inherit ccmake | |||
30 | COMPATIBLE_HOST = ".*-elf" | 22 | COMPATIBLE_HOST = ".*-elf" |
31 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" | 23 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" |
32 | 24 | ||
33 | DTBFILE ?= "${RECIPE_SYSROOT}/boot/devicetree/system-top.dtb" | 25 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/${ESW_MACHINE}-baremetal.dtb" |
26 | |||
27 | DEPENDS += "python3-pyyaml-native lopper-native device-tree-lops python3-dtc-native" | ||
28 | |||
29 | # We need the deployed output | ||
30 | do_configure[depends] += "device-tree-lops:do_deploy" | ||
31 | do_compile[depends] += "device-tree-lops:do_deploy" | ||
32 | do_install[depends] += "device-tree-lops:do_deploy" | ||
34 | 33 | ||
35 | def get_xlnx_cmake_machine(fam, d): | 34 | def 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 | ||
64 | XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d)}" | 63 | XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d)}" |
65 | XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('MACHINE'), d)}" | 64 | XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d)}" |
66 | XLNX_CMAKE_SYSTEM_NAME ?= "Generic" | 65 | XLNX_CMAKE_SYSTEM_NAME ?= "Generic" |
67 | 66 | ||
68 | cmake_do_generate_toolchain_file_append() { | 67 | cmake_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 | |||
107 | do_generate_driver_data[dirs] = "${B}" | ||
108 | do_generate_driver_data[depends] += "device-tree-lops:do_deploy" | ||
109 | python 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 @@ | |||
1 | inherit esw deploy python3native | 1 | inherit esw deploy python3native |
2 | 2 | ||
3 | DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer device-tree" | 3 | DEPENDS += "python3-dtc-native python3-pyyaml-native xilstandalone libxil xiltimer" |
4 | 4 | ||
5 | do_configure_prepend() { | 5 | do_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 | ||
10 | do_generate_eglist () { | 12 | do_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 | } |
14 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot | 17 | addtask generate_eglist before do_configure after do_prepare_recipe_sysroot |
15 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" |
@@ -20,7 +23,8 @@ do_install() { | |||
20 | } | 23 | } |
21 | 24 | ||
22 | do_deploy() { | 25 | do_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 | } |
25 | addtask deploy before do_build after do_package | 29 | addtask 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 @@ | |||
1 | inherit esw deploy | 1 | inherit esw deploy python3native |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_hello_world/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil xilstandalone xiltimer freertos10-xilinx device-tree" | 5 | DEPENDS += "libxil xilstandalone freertos10-xilinx xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_install() { | 14 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_echo_server/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_client/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_tcp_perf_server/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_client/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/freertos_lwip_udp_perf_server/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native freertos10-xilinx" | 5 | DEPENDS += "libxil lwip xiltimer freertos10-xilinx" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 @@ | |||
1 | inherit esw deploy | 1 | inherit esw deploy |
2 | 2 | ||
3 | COMPATIBLE_MACHINE = ".*-zynqmp" | 3 | COMPATIBLE_HOST = "aarch64.*-elf" |
4 | COMPATIBLE_MACHINE = "none" | ||
5 | COMPATIBLE_MACHINE_zynqmp = ".*" | ||
4 | 6 | ||
5 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_fsbl/src" | 7 | ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_fsbl/src" |
6 | 8 | ||
7 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm device-tree" | 9 | DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" |
8 | |||
9 | PSU_INIT = "${RECIPE_SYSROOT}/${includedir}/devicetree/psu_init*" | ||
10 | |||
11 | do_configure_prepend() { | ||
12 | # Copy psu_init* files to fsbl source code | ||
13 | cp ${PSU_INIT} ${S}/${ESW_COMPONENT_SRC} | ||
14 | } | ||
15 | 10 | ||
16 | do_install() { | 11 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/hello_world/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil xiltimer device-tree" | 5 | DEPENDS += "libxil xiltimer" |
6 | 6 | ||
7 | inherit python3native | 7 | inherit python3native |
8 | 8 | ||
9 | do_configure_prepend() { | 9 | do_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 | ||
14 | do_install() { | 16 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_echo_server/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_client/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_tcp_perf_server/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_client/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 | ||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_apps/lwip_udp_perf_server/src/" |
4 | 4 | ||
5 | DEPENDS += "dtc-native python3-dtc-native libxil lwip xiltimer device-tree python3-pyyaml-native" | 5 | DEPENDS += "libxil lwip xiltimer" |
6 | 6 | ||
7 | do_configure_prepend() { | 7 | do_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 | ||
12 | do_generate_app_data() { | 14 | do_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 | } |
17 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot | 20 | addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot |
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 21 | do_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 @@ | |||
1 | inherit esw deploy | ||
2 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_apps/memory_tests/src/" | ||
4 | |||
5 | DEPENDS += "libxil xiltimer" | ||
6 | |||
7 | inherit python3native | ||
8 | |||
9 | do_configure_prepend() { | ||
10 | 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 | |||
16 | do_install() { | ||
17 | install -d ${D}/${base_libdir}/firmware | ||
18 | # Note that we have to make the ELF executable for it to be stripped | ||
19 | install -m 0755 ${B}/memory_test* ${D}/${base_libdir}/firmware | ||
20 | } | ||
21 | |||
22 | MEMORY_TESTS_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | ||
23 | MEMORY_TESTS_BASE_NAME[vardepsexclude] = "DATETIME" | ||
24 | |||
25 | do_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 | |||
35 | addtask deploy before do_build after do_package | ||
36 | |||
37 | FILES_${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 | ||
10 | ESW_COMPONENT = "pmufw.elf" | 10 | ESW_COMPONENT = "pmufw.elf" |
11 | 11 | ||
12 | do_compile() { | 12 | do_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 | ||
12 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" | 13 | MULTIMACH_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "avbuf" | ||
4 | |||
5 | inherit esw | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/avbuf/src/" | ||
10 | ESW_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "axicdma" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "axicdma" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axicdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxicdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "axidma" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "axidma" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axidma/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxidma.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "axiethernet" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "axiethernet" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axiethernet/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxiethernet.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "axis-switch" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axis_switch/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxis_switch.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "axivdma" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "axivdma" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axivdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libaxivdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "bram" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/bram/src/" | ||
10 | ESW_COMPONENT_NAME = "libbram.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "can" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "can" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/can/src/" | ||
10 | ESW_COMPONENT_NAME = "libcan.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "canfd" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "canfd" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canfd/src/" | ||
10 | ESW_COMPONENT_NAME = "libcanfd.a" | ||
11 | |||
12 | do_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 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
17 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "canps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "canps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/" | ||
10 | ESW_COMPONENT_NAME = "libcanps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "cframe" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/cframe/src/" | ||
10 | ESW_COMPONENT_NAME = "libcframe.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "cfupmc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/cfupmc/src/" | ||
10 | ESW_COMPONENT_NAME = "libcfupmc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "clockps" |
4 | |||
5 | inherit esw | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clockps/src/" | ||
10 | ESW_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "common" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | PACKAGECONFIG ?= "${@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)}" | ||
12 | PACKAGECONFIG[clockps] = "${RECIPE_SYSROOT}/usr/lib/libclockps.a,,clockps,," | ||
13 | PACKAGECONFIG[scugic] = "${RECIPE_SYSROOT}/usr/lib/libscugic.a,,scugic,," | ||
14 | PACKAGECONFIG[intc] = "${RECIPE_SYSROOT}/usr/lib/libintc.a,,intc,," | ||
15 | |||
16 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/common/src/" | ||
17 | ESW_COMPONENT_NAME = "libcommon.a" | ||
18 | |||
19 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "coresightps-dcc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/coresightps_dcc/src/" | ||
10 | ESW_COMPONENT_NAME = "libcoresightps_dcc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "csudma" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "csudma" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/src/" | ||
10 | ESW_COMPONENT_NAME = "libcsudma.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "ddrcpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ddrcpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libddrcpsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "devcfg" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "devcfg" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/devcfg/src/" | ||
10 | ESW_COMPONENT_NAME = "libdevcfg.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "dmaps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "dpdma" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common avbuf" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dpdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libdpdma.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "dppsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dppsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libdppsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "emaclite" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "emaclite" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emaclite/src/" | ||
10 | ESW_COMPONENT_NAME = "libemaclite.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "emacps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "emacps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/emacps/src/" | ||
10 | ESW_COMPONENT_NAME = "libemacps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/gpio-example_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "gpio" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "gpio" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpio/src/" | ||
10 | ESW_COMPONENT_NAME = "libgpio.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "gpiops" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "gpiops" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/gpiops/src/" | ||
10 | ESW_COMPONENT_NAME = "libgpiops.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "iicps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "iicps" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iicps/src/" | ||
10 | ESW_COMPONENT_NAME = "libiicps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "iomodule" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/iomodule/src/" | ||
10 | ESW_COMPONENT_NAME = "libiomodule.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "ipipsu" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "ipipsu" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ipipsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libipipsu.a" | ||
11 | |||
12 | do_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 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
17 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "llfifo" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "llfifo" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/llfifo/src/" | ||
10 | ESW_COMPONENT_NAME = "libllfifo.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "mbox" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "mbox" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mbox/src/" | ||
10 | ESW_COMPONENT_NAME = "libmbox.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "mcdma" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "mcdma" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mcdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libmcdma.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "mutex" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "mutex" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mutex/src/" | ||
10 | ESW_COMPONENT_NAME = "libmutex.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "nandpsu" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/nandpsu/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "canps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/" | ||
10 | ESW_COMPONENT_NAME = "libcanps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "ospipsv" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "ospipsv" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ospipsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libospipsv.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "pciepsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/pciepsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libpciepsu.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "qspips" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "qspips" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspips/src/" | ||
10 | ESW_COMPONENT_NAME = "libqspips.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "qspipsu" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "qspipsu" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libqspipsu.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "resetps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "resetps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/resetps/src/" | ||
10 | ESW_COMPONENT_NAME = "libresetps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/rtcpsu-example_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "rtcpsu" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "rtcpsu" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/rtcpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "librtcpsu.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "scugic" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "scugic" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/scugic/src/" | ||
10 | ESW_COMPONENT_NAME = "libscugic.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "sdps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "sdps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/src/" | ||
10 | ESW_COMPONENT_NAME = "libsdps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/spips-example_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "spips" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "spips" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spips/src/" | ||
10 | ESW_COMPONENT_NAME = "libspips.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "sysmon" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "sysmon" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmon/src/" | ||
10 | ESW_COMPONENT_NAME = "libsysmon.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "sysmonpsu" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "sysmonpsu" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libsysmonpsu.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "sysmonpsv" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sysmonpsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libsysmonpsv.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "tmr-inject" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmr_inject/src/" | ||
10 | ESW_COMPONENT_NAME = "libtmr_inject.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "tmr-manager" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmr_manager/src/" | ||
10 | ESW_COMPONENT_NAME = "libtmr_manager.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "tmrctr" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "tmrctr" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/tmrctr/src/" | ||
10 | ESW_COMPONENT_NAME = "libtmrctr.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "ttcps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "ttcps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ttcps/src/" | ||
10 | ESW_COMPONENT_NAME = "libttcps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "uartlite" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "uartlite" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartlite.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "uartps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "uartps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartps.a" | ||
11 | |||
12 | do_configure_prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "uartpsv" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartpsv.a" | ||
11 | |||
12 | do_configure_prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "usbpsu" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "usbpsu" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/usbpsu/src/" | ||
10 | ESW_COMPONENT_NAME = "libusbpsu.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-csc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_csc/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_csc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-deinterlacer" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_deinterlacer/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_deinterlacer.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-hcresampler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hcresampler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_hcresampler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-hscaler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hscaler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_hscaler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-letterbox" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_letterbox/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_letterbox.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-tpg" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_tpg/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_tpg.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-vcresampler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_vcresampler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_vcresampler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "v-vscaler" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_vscaler/src/" | ||
10 | ESW_COMPONENT_NAME = "libv_vscaler.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "video-common" | ||
4 | |||
5 | inherit esw | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/video_common/src/" | ||
10 | ESW_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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "vprocss" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "vprocss" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common gpio axis-switch axivdma v-csc v-deinterlacer v-hcresampler v-vcresampler v-hscaler v-vscaler v-letterbox" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vprocss/src/" | ||
10 | ESW_COMPONENT_NAME = "libvprocss.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "vtc" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem video-common" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vtc/src/" | ||
10 | ESW_COMPONENT_NAME = "libvtc.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "wdtps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "wdtps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdtps/src/" | ||
10 | ESW_COMPONENT_NAME = "libwdtps.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "wdttb" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/wdttb/src/" | ||
10 | ESW_COMPONENT_NAME = "libwdttb.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "xadcps" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "xadcps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xadcps/src/" | ||
10 | ESW_COMPONENT_NAME = "libxadcps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "xxvethernet" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "canps" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/" | ||
10 | ESW_COMPONENT_NAME = "libcanps.a" | ||
11 | |||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
diff --git a/meta-xilinx-standalone-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 @@ | |||
1 | inherit esw_examples features_check | ||
2 | |||
3 | REQUIRED_DISTRO_FEATURES = "zdma" | ||
4 | |||
5 | ESW_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 @@ | |||
1 | inherit esw_examples | 1 | inherit features_check |
2 | 2 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "zdma" |
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone xilmem" | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/zdma/src/" | ||
10 | ESW_COMPONENT_NAME = "libzdma.a" | ||
11 | |||
12 | do_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 | |||
17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
18 | do_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 @@ | |||
1 | SUMMARY = "Device tree lops" | ||
2 | SECTION = "bootloader" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | DEPENDS += "lopper-native" | ||
5 | |||
6 | INHIBIT_DEFAULT_DEPS = '1' | ||
7 | |||
8 | inherit deploy | ||
9 | inherit python3native | ||
10 | |||
11 | ESW_MACHINE ?= "${MACHINE}" | ||
12 | |||
13 | DTB_FILE = "${ESW_MACHINE}-system.dtb" | ||
14 | DTS_FILE = "${ESW_MACHINE}-baremetal.dtb" | ||
15 | |||
16 | COMPATIBLE_HOST = "^.*" | ||
17 | |||
18 | LOPS_DIR = "${RECIPE_SYSROOT_NATIVE}/usr/share/lopper/lops" | ||
19 | |||
20 | # All microblaze | ||
21 | do_compile_microblaze_xilinx-standalone() { | ||
22 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py -f ${SYSTEM_DTFILE} ${B}/${DTS_FILE} | ||
23 | } | ||
24 | |||
25 | # All Cortex R5 | ||
26 | do_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) | ||
31 | do_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) | ||
36 | do_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) | ||
41 | do_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 | |||
45 | do_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 | |||
49 | do_install() { | ||
50 | : | ||
51 | } | ||
52 | |||
53 | PACKAGES = "" | ||
54 | |||
55 | do_fetch[noexec] = "1" | ||
56 | do_unpack[noexec] = "1" | ||
57 | do_patch[noexec] = "1" | ||
58 | do_configure[noexec] = "1" | ||
59 | do_install[noexec] = "1" | ||
60 | deltask do_populate_lic | ||
61 | deltask do_populate_sysroot | ||
62 | deltask do_pacakge | ||
63 | deltask do_package_qa | ||
64 | deltask do_packagedata | ||
65 | deltask do_package_write_ipk | ||
66 | deltask do_package_write_deb | ||
67 | deltask do_package_write_rpm | ||
68 | |||
69 | # Linux | ||
70 | do_deploy() { | ||
71 | install -Dm 0644 ${B}/${DTB_FILE} ${DEPLOYDIR}/${DTB_FILE} | ||
72 | } | ||
73 | |||
74 | # Baremetal | ||
75 | do_deploy_xilinx-standalone() { | ||
76 | install -Dm 0644 ${B}/${DTS_FILE} ${DEPLOYDIR}/${DTS_FILE} | ||
77 | } | ||
78 | addtask 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 | |||
3 | ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/" | 3 | ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/" |
4 | ESW_COMPONENT_NAME = "libfreertos.a" | 4 | ESW_COMPONENT_NAME = "libfreertos.a" |
5 | 5 | ||
6 | DEPENDS += "libxil xilstandalone xilmem dtc-native python3-pyyaml-native python3-dtc-native xiltimer" | 6 | DEPENDS += "libxil xilstandalone xilmem xiltimer" |
7 | 7 | ||
8 | do_configure_prepend() { | 8 | do_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 @@ | |||
1 | inherit esw python3native | 1 | inherit esw python3native features_check |
2 | |||
3 | require conf/${ESW_MACHINE}-libxil.conf | ||
2 | 4 | ||
3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | 5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" |
4 | ESW_COMPONENT_NAME = "libxil.a" | 6 | ESW_COMPONENT_NAME = "libxil.a" |
5 | 7 | ||
6 | DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native xilstandalone xilmem device-tree" | 8 | DEPENDS += "xilstandalone xilmem" |
9 | REQUIRED_DISTRO_FEATURES = "${DISTRO_FEATURES}" | ||
10 | PACKAGECONFIG ?= "${DISTRO_FEATURES} ${MACHINE_FEATURES}" | ||
7 | 11 | ||
8 | do_configure_prepend() { | 12 | do_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 | ||
20 | do_generate_driver_data() { | 17 | do_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 | |||
26 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
27 | do_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 | |||
3 | ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip211/src/" | 3 | ESW_COMPONENT_SRC = "/ThirdParty/sw_services/lwip211/src/" |
4 | ESW_COMPONENT_NAME = "liblwip211.a" | 4 | ESW_COMPONENT_NAME = "liblwip211.a" |
5 | 5 | ||
6 | DEPENDS += "dtc-native python3-dtc-native libxil python3-pyyaml-native" | 6 | DEPENDS += "libxil" |
7 | DEPENDS_append_xilinx-freertos = "freertos10-xilinx" | 7 | DEPENDS_append_xilinx-freertos = "freertos10-xilinx" |
8 | 8 | ||
9 | EXTRA_OECMAKE += "-Dlwip_api_mode=RAW_API" | ||
10 | EXTRA_OECMAKE += "-Dlwip_dhcp_does_arp_check=ON" | ||
11 | EXTRA_OECMAKE += "-Dlwip_dhcp=ON" | ||
12 | EXTRA_OECMAKE += "-Dlwip_pbuf_pool_size=2048" | ||
13 | EXTRA_OECMAKE += "-Dlwip_ipv6_enable=OFF" | ||
14 | EXTRA_OECMAKE_append_xilinx-freertos += "-Dlwip_api_mode=SOCKET_API" | ||
15 | |||
9 | do_configure_prepend() { | 16 | do_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 | ||
15 | do_install() { | 24 | do_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 @@ | |||
1 | include conf/xilinx/esw-srcrev.inc | ||
2 | |||
3 | # Can't depend on esw since this is needed for setup! | ||
4 | inherit xlnx-embeddedsw nativesdk | ||
5 | |||
6 | S = "${WORKDIR}/git" | ||
7 | B = "${WORKDIR}/build" | ||
8 | |||
9 | # Don't need any specific dependencies for this | ||
10 | DEPENDS = "" | ||
11 | |||
12 | COMPATIBLE_HOST_forcevariable = ".*" | ||
13 | |||
14 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | ||
15 | |||
16 | do_configure[noexec] = '1' | ||
17 | do_compile[noexec] = '1' | ||
18 | |||
19 | do_install() { | ||
20 | # The configuration step requires only the yaml files, make them | ||
21 | # available to the SDK | ||
22 | cd ${S}${ESW_COMPONENT_SRC} | ||
23 | for each in `find . -name *.yaml` ; do | ||
24 | mkdir -p $(dirname ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each) | ||
25 | install -m 0644 $each ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each | ||
26 | done | ||
27 | } | ||
28 | |||
29 | FILES_${PN} += "${datadir}/embeddedsw" | ||
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 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilfpga/src/" |
4 | ESW_COMPONENT_NAME = "libxilfpga.a" | 4 | ESW_COMPONENT_NAME = "libxilfpga.a" |
5 | 5 | ||
6 | DEPENDS += " libxil xilsecure" | 6 | DEPENDS += "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 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilloader/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilloader/src/" |
4 | ESW_COMPONENT_NAME = "libxilloader.a" | 4 | ESW_COMPONENT_NAME = "libxilloader.a" |
5 | 5 | ||
6 | DEPENDS += "xilstandalone libxil xilpm xilpdi xilffs xilsecure xilpuf" | 6 | DEPENDS += "xilstandalone libxil xilpdi xilffs xilsecure xilpuf xilplmi" |
7 | #DEPENDS += "xilstandalone libxil xilpm xilpdi xilffs xilsecure xilpuf" | ||
8 | |||
9 | DEPENDS += "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 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" |
4 | ESW_COMPONENT_NAME = "libxilpm.a" | 4 | ESW_COMPONENT_NAME = "libxilpm.a" |
5 | 5 | ||
6 | DEPENDS = "libxil" | 6 | DEPENDS = "libxil ${@'xilplmi xilloader' if d.getVar('ESW_MACHINE') == 'microblaze-plm' else ''}" |
7 | DEPENDS_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 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilsecure/src/" |
4 | ESW_COMPONENT_NAME = "libxilsecure.a" | 4 | ESW_COMPONENT_NAME = "libxilsecure.a" |
5 | 5 | ||
6 | DEPENDS += "libxil" | 6 | DEPENDS += "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 | |||
3 | ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/" | 3 | ESW_COMPONENT_SRC = "/lib/bsp/standalone/src/" |
4 | ESW_COMPONENT_NAME = "libxilstandalone.a" | 4 | ESW_COMPONENT_NAME = "libxilstandalone.a" |
5 | 5 | ||
6 | DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native libgloss device-tree" | 6 | DEPENDS += "libgloss" |
7 | 7 | ||
8 | do_configure_prepend() { | 8 | do_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 | |||
3 | ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/" |
4 | ESW_COMPONENT_NAME = "libxiltimer.a" | 4 | ESW_COMPONENT_NAME = "libxiltimer.a" |
5 | 5 | ||
6 | DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native libxil device-tree" | 6 | DEPENDS += "libxil" |
7 | 7 | ||
8 | do_configure_prepend() { | 8 | do_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 | } |