diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-08-25 13:42:41 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-09-04 09:01:06 -0500 |
commit | 7bba8d33cb85c2ea88b2d62f138528278bf03be4 (patch) | |
tree | b7ee85c93acbc691a265e64535d6e4284a971ffe | |
parent | 2633f0d890eea4b8dde4bf8dd21daca27f95e6b4 (diff) | |
download | meta-xilinx-7bba8d33cb85c2ea88b2d62f138528278bf03be4.tar.gz |
meta-xilinx-bsp: Move to meta-xilinx-tools
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
9 files changed, 0 insertions, 255 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend deleted file mode 100644 index c6c92fe7..00000000 --- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | EXTRA_OEMAKE:append:vc-p-a2197-00-versal =" VERSAL_PLATFORM=silicon" | ||
2 | |||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend deleted file mode 100644 index d62e305f..00000000 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
2 | |||
3 | # device tree sources for the various machines | ||
4 | COMPATIBLE_MACHINE:qemu-zynq7 = ".*" | ||
5 | SRC_URI:append:qemu-zynq7 = " file://qemu-zynq7.dts" | ||
6 | |||
7 | EXTRA_OVERLAYS:append:vek280-versal = " system-vek280.dtsi" | ||
8 | |||
9 | SDFEC_EXTRA_OVERLAYS ??= "" | ||
10 | SDFEC_EXTRA_OVERLAYS:zcu111-zynqmp = "system-zcu111.dtsi" | ||
11 | |||
12 | EXTRA_OVERLAYS:append:zcu111-zynqmp = "${@' ${SDFEC_EXTRA_OVERLAYS}' if d.getVar('ENABLE_SDFEC_DT') == '1' else ''}" | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts b/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts deleted file mode 100644 index cd0694d6..00000000 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | /dts-v1/; | ||
2 | /include/ "zynq-7000.dtsi" | ||
3 | /include/ "zynq-7000-qspi-dummy.dtsi" | ||
4 | |||
5 | / { | ||
6 | model = "Zynq A9 QEMU"; | ||
7 | compatible = "qemu,xilinx-zynq-a9", "xlnx,zynq-7000"; | ||
8 | |||
9 | aliases { | ||
10 | ethernet0 = &gem0; | ||
11 | serial0 = &uart1; | ||
12 | }; | ||
13 | |||
14 | memory { | ||
15 | device_type = "memory"; | ||
16 | reg = <0x0 0x40000000>; | ||
17 | }; | ||
18 | |||
19 | chosen { | ||
20 | bootargs = "earlyprintk"; | ||
21 | stdout-path = "serial0:115200n8"; | ||
22 | }; | ||
23 | }; | ||
24 | |||
25 | &amba { | ||
26 | /* Setup a fixed 25 MHz clock (100Mbps) to trick the ethernet driver */ | ||
27 | fixednetclk: clock { | ||
28 | #clock-cells = <0>; | ||
29 | compatible = "fixed-clock"; | ||
30 | clock-frequency = <25000000>; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | &gem0 { | ||
35 | status = "okay"; | ||
36 | clocks = <&clkc 30>, <&clkc 30>, <&fixednetclk>, <&fixednetclk>, <&clkc 30>; | ||
37 | phy-mode = "rgmii-id"; | ||
38 | phy-handle = <ðernet_phy>; | ||
39 | |||
40 | ethernet_phy: ethernet-phy@23 { | ||
41 | device_type = "ethernet-phy"; | ||
42 | reg = <23>; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | &sdhci0 { | ||
47 | status = "okay"; | ||
48 | }; | ||
49 | |||
50 | &uart1 { | ||
51 | status = "okay"; | ||
52 | }; | ||
53 | |||
54 | &qspi { | ||
55 | status = "okay"; | ||
56 | is-dual = <1>; | ||
57 | primary_flash: ps7-qspi@0 { | ||
58 | #address-cells = <1>; | ||
59 | #size-cells = <1>; | ||
60 | compatible = "st,m25p80"; | ||
61 | reg = <0x0>; | ||
62 | spi-max-frequency = <50000000>; | ||
63 | partition@0x00000000 { | ||
64 | label = "boot"; | ||
65 | reg = <0x00000000 0x00500000>; | ||
66 | }; | ||
67 | partition@0x00500000 { | ||
68 | label = "bootenv"; | ||
69 | reg = <0x00500000 0x00020000>; | ||
70 | }; | ||
71 | partition@0x00520000 { | ||
72 | label = "config"; | ||
73 | reg = <0x00520000 0x00020000>; | ||
74 | }; | ||
75 | partition@0x00540000 { | ||
76 | label = "image"; | ||
77 | reg = <0x00540000 0x00a80000>; | ||
78 | }; | ||
79 | partition@0x00fc0000 { | ||
80 | label = "spare"; | ||
81 | reg = <0x00fc0000 0x00000000>; | ||
82 | }; | ||
83 | }; | ||
84 | }; | ||
85 | |||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi b/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi deleted file mode 100644 index 0d2ca87d..00000000 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-vek280.dtsi +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | / { | ||
2 | /* Reserve the bad block DDR memory for linux to not touch it, refer:CR-1143646 */ | ||
3 | reserved-memory { | ||
4 | #address-cells = <2>; | ||
5 | #size-cells = <2>; | ||
6 | ranges; | ||
7 | pl_ddr: buffer@0 | ||
8 | { | ||
9 | no-map; | ||
10 | reg = <0x08 0x00 0x00 0x80000000>; | ||
11 | }; | ||
12 | |||
13 | lpddr_memory: buffer@1 | ||
14 | { | ||
15 | no-map; | ||
16 | reg = <0x500 0x0 0x2 0x0>; | ||
17 | }; | ||
18 | |||
19 | }; | ||
20 | }; | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi b/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi deleted file mode 100644 index 870f13a8..00000000 --- a/meta-xilinx-bsp/recipes-bsp/device-tree/files/system-zcu111.dtsi +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | / { | ||
2 | /* Add Board specific PL gpio-line-names wrt design to have sdfec functional */ | ||
3 | amba_pl: pl-bus { | ||
4 | axi_gpio: gpio@a00c0000 { | ||
5 | gpio-line-names = "LED0","LED1"; | ||
6 | }; | ||
7 | gpio_reset: gpio@a00c1000 { | ||
8 | gpio-line-names = "RESET"; | ||
9 | }; | ||
10 | }; | ||
11 | }; | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/dfx-mgr/dfx-mgr_%.bbappend b/meta-xilinx-bsp/recipes-bsp/dfx-mgr/dfx-mgr_%.bbappend deleted file mode 100644 index 8fdf14bb..00000000 --- a/meta-xilinx-bsp/recipes-bsp/dfx-mgr/dfx-mgr_%.bbappend +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | FILESEXTRAPATHS:append := ":${THISDIR}/files" | ||
2 | |||
3 | SRC_URI += "file://zcu106-xlnx-firmware-detect" | ||
4 | |||
5 | PACKAGE_ARCH:zcu106-zynqmp = "${MACHINE_ARCH}" | ||
6 | |||
7 | # ZCU106 eval board firmware detection script. | ||
8 | do_install:append:zcu106-zynqmp () { | ||
9 | install -m 0755 ${WORKDIR}/zcu106-xlnx-firmware-detect ${D}${bindir}/xlnx-firmware-detect | ||
10 | } | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/dfx-mgr/files/zcu106-xlnx-firmware-detect b/meta-xilinx-bsp/recipes-bsp/dfx-mgr/files/zcu106-xlnx-firmware-detect deleted file mode 100644 index ef5654cc..00000000 --- a/meta-xilinx-bsp/recipes-bsp/dfx-mgr/files/zcu106-xlnx-firmware-detect +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | # Copyright (C) 2022 Xilinx, Inc. All rights reserved. | ||
4 | # Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved. | ||
5 | # | ||
6 | # SPDX-License-Identifier: MIT | ||
7 | |||
8 | # read values from dfx-mgr conf file | ||
9 | conffile="/etc/dfx-mgrd/daemon.conf" | ||
10 | if [ ! -f "${conffile}" ]; then | ||
11 | echo "dfx-mgrd configuration file not found: ${conffile}" | ||
12 | exit 1 | ||
13 | fi | ||
14 | |||
15 | fwbasedir=$(grep "firmware_location" ${conffile} | sed 's/.*:.*\[\"\(.*\)\"\],\?/\1/') | ||
16 | if [ -z "${fwbasedir}" ]; then | ||
17 | echo "Property 'firmware_location' not found in ${conffile}" | ||
18 | exit 1 | ||
19 | fi | ||
20 | |||
21 | fwfile=$(grep "default_accel" ${conffile} | sed 's/.*:.*\"\(.*\)\",\?/\1/') | ||
22 | if [ -z "${fwfile}" ]; then | ||
23 | echo "Property 'default_accel' not found in ${conffile}" | ||
24 | exit 1 | ||
25 | fi | ||
26 | |||
27 | # check if default firmware is already set and present | ||
28 | if [ -f "${fwfile}" ]; then | ||
29 | fwname=$(cat ${fwfile}) | ||
30 | fwdir="${fwbasedir}/${fwname}" | ||
31 | if [ -n "${fwname}" ] && [ -d "${fwdir}" ]; then | ||
32 | echo "Default firmware detected: ${fwname}" | ||
33 | exit 0 | ||
34 | fi | ||
35 | fi | ||
36 | |||
37 | # search for firmware based on EEPROM board id | ||
38 | echo "Trying to detect default firmware based on EEPROM..." | ||
39 | |||
40 | #check if board is a zcu106 eval board product | ||
41 | eeprom=$(ls /sys/bus/i2c/devices/*54/eeprom 2> /dev/null) | ||
42 | if [ -n "${eeprom}" ]; then | ||
43 | boardid=`dd if=$eeprom bs=1 count=6 skip=208 2>/dev/null | tr '[:upper:]' '[:lower:]'` | ||
44 | revision=`dd if=$eeprom bs=1 count=3 skip=224 2>/dev/null | tr '[:upper:]' '[:lower:]'` | ||
45 | |||
46 | fwname="${boardid}-${revision}" | ||
47 | fwdir="${fwbasedir}/${fwname}" | ||
48 | |||
49 | fixed_rev=2.0 | ||
50 | var=$(awk 'BEGIN{ print "'$fixed_rev'"<"'$revision'" }') | ||
51 | |||
52 | if [ "${boardid}" == "zcu106" ] && [ "${var}" -eq 1 ] ;then | ||
53 | revision=2.0 | ||
54 | echo "later than 2.0 board revisions are supported in 2.0 bit and dtbo files" | ||
55 | fwname="${boardid}-${revision}" | ||
56 | fwdir="${fwbasedir}/${fwname}" | ||
57 | echo "${fwname}" > "${fwfile}" | ||
58 | exit 1 | ||
59 | elif [ ! -d "${fwdir}" ] ; then | ||
60 | echo "No default firmware named ${fwname} found in ${fwbasedir} , Loading rev1.0 bitstream and dtbo as default " | ||
61 | revision=1.0 | ||
62 | fwname=$(ls ${fwbasedir} | grep ${revision}) | ||
63 | fwdir="${fwbasedir}/${fwname}" | ||
64 | echo "${fwname}" > "${fwfile}" | ||
65 | exit 1 | ||
66 | fi | ||
67 | |||
68 | echo "Default firmware detected: ${fwname}" | ||
69 | echo "${fwname}" > "${fwfile}" | ||
70 | exit 0 | ||
71 | fi | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg b/meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg deleted file mode 100644 index 8fb38950..00000000 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | #........................................................................ | ||
4 | # WARNING | ||
5 | # | ||
6 | # This file is a u-boot configuration fragment, and not a full u-boot | ||
7 | # configuration file. The final u-boot configuration is made up of | ||
8 | # an assembly of processed fragments, each of which is designed to | ||
9 | # capture a specific part of the final configuration (e.g. platform | ||
10 | # configuration, feature configuration, and board specific hardware | ||
11 | # configuration). For more information on u-boot configuration, please | ||
12 | # refer the product documentation. | ||
13 | # | ||
14 | #....................................................................... | ||
15 | |||
16 | # | ||
17 | # Definitions for KC705 evaluation board | ||
18 | # | ||
19 | CONFIG_SYS_FLASH_PROTECTION=y | ||
20 | CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y | ||
21 | CONFIG_SYS_FLASH_CFI=y | ||
22 | CONFIG_FLASH_CFI_DRIVER=y | ||
23 | CONFIG_CMD_FLASH=y | ||
24 | CONFIG_CMD_IMLS=y | ||
25 | CONFIG_MTD_NOR_FLASH=y | ||
26 | CONFIG_MTD_DEVICE=y | ||
27 | # CONFIG_CMD_SPI is not set | ||
28 | # CONFIG_CMD_SF is not set | ||
29 | # CONFIG_SPI_FLASH is not set | ||
30 | # CONFIG_SPI_FLASH_BAR is not set | ||
31 | # CONFIG_DM_SPI_FLASH is not set | ||
32 | # CONFIG_DM_SPI is not set | ||
33 | # CONFIG_SPI_FLASH_SPANSION is not set | ||
34 | # CONFIG_SPI_FLASH_STMICRO is not set | ||
35 | # CONFIG_SPI_FLASH_WINBOND is not set | ||
36 | # CONFIG_SPI_FLASH_MACRONIX is not set | ||
37 | # CONFIG_SPI is not set | ||
38 | # CONFIG_SPI_FLASH_ISSI is not set | ||
39 | # CONFIG_XILINX_SPI is not set \ No newline at end of file | ||
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend deleted file mode 100644 index 23b1eb50..00000000 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
2 | |||
3 | SRC_URI:append:kc705-microblazeel = " \ | ||
4 | file://kc705-microblazeel.cfg \ | ||
5 | " \ No newline at end of file | ||