From d4ef6f9e28623fb985c4adc57e73d634f299a599 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 23 May 2024 09:49:48 -0600 Subject: meta-xilinx-standalone-sdt: Rename from ...-experimental Add symlink to old name for temporarily compatibility. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/README.md | 180 ++++++++++++++ meta-xilinx-standalone-sdt/README.sdt.bsp.md | 46 ++++ .../classes-recipe/esw.bbclass | 159 ++++++++++++ .../classes-recipe/esw_apps_common.bbclass | 31 +++ .../classes-recipe/esw_examples.bbclass | 36 +++ .../conf/distro/xilinx-freertos.conf | 9 + meta-xilinx-standalone-sdt/conf/layer.conf | 272 +++++++++++++++++++++ .../ddr-self-refresh/ddr-self-refresh_2024.1.bb | 29 +++ .../ddr-self-refresh/ddr-self-refresh_2024.2.bb | 29 +++ .../empty-application/empty-application_2024.1.bb | 43 ++++ .../empty-application/empty-application_2024.2.bb | 43 ++++ .../freertos-hello-world_2024.1.bb | 19 ++ .../freertos-hello-world_2024.2.bb | 19 ++ .../freertos-lwip-echo-server_2024.1.bb | 28 +++ .../freertos-lwip-echo-server_2024.2.bb | 28 +++ .../freertos-lwip-tcp-perf-client_2024.1.bb | 28 +++ .../freertos-lwip-tcp-perf-client_2024.2.bb | 28 +++ .../freertos-lwip-tcp-perf-server_2024.1.bb | 28 +++ .../freertos-lwip-tcp-perf-server_2024.2.bb | 28 +++ .../freertos-lwip-udp-perf-client_2024.1.bb | 28 +++ .../freertos-lwip-udp-perf-client_2024.2.bb | 28 +++ .../freertos-lwip-udp-perf-server_2024.1.bb | 28 +++ .../freertos-lwip-udp-perf-server_2024.2.bb | 28 +++ .../hello-world/hello-world_2024.1.bb | 22 ++ .../hello-world/hello-world_2024.2.bb | 22 ++ .../lwip-echo-server/lwip-echo-server_2024.1.bb | 28 +++ .../lwip-echo-server/lwip-echo-server_2024.2.bb | 28 +++ .../lwip-tcp-perf-client_2024.1.bb | 28 +++ .../lwip-tcp-perf-client_2024.2.bb | 28 +++ .../lwip-tcp-perf-server_2024.1.bb | 28 +++ .../lwip-tcp-perf-server_2024.2.bb | 28 +++ .../lwip-udp-perf-client_2024.1.bb | 28 +++ .../lwip-udp-perf-client_2024.2.bb | 28 +++ .../lwip-udp-perf-server_2024.1.bb | 28 +++ .../lwip-udp-perf-server_2024.2.bb | 28 +++ .../memory-tests/memory-tests_2024.1.bb | 19 ++ .../memory-tests/memory-tests_2024.2.bb | 19 ++ .../openamp-fw/openamp-fw-echo-testd.bb | 6 + .../openamp-fw/openamp-fw-mat-muld.bb | 6 + .../openamp-fw/openamp-fw-rpc-demo.bb | 9 + .../recipes-applications/openamp-fw/openamp-fw.inc | 27 ++ .../peripheral-tests/peripheral-tests_2024.1.bb | 53 ++++ .../peripheral-tests/peripheral-tests_2024.2.bb | 53 ++++ .../sample-fw-package/sample-fw-package.bb | 11 + .../srec-bootloader/srec-bootloader_2024.1.bb | 22 ++ .../srec-bootloader/srec-bootloader_2024.2.bb | 22 ++ .../srec-spi-bootloader_2024.1.bb | 22 ++ .../srec-spi-bootloader_2024.2.bb | 22 ++ .../zynq-dram-test/zynq-dram-test_2024.1.bb | 28 +++ .../zynq-dram-test/zynq-dram-test_2024.2.bb | 28 +++ .../zynqmp-dram-test/zynqmp-dram-test_2024.1.bb | 28 +++ .../zynqmp-dram-test/zynqmp-dram-test_2024.2.bb | 28 +++ .../recipes-bsp/embeddedsw/esw-conf_2024.1.bb | 31 +++ .../recipes-bsp/embeddedsw/esw-conf_2024.2.bb | 31 +++ .../embeddedsw/fsbl-firmware_2024.1.bbappend | 66 +++++ .../embeddedsw/fsbl-firmware_2024.2.bbappend | 66 +++++ .../embeddedsw/plm-firmware_2024.1.bbappend | 34 +++ .../embeddedsw/plm-firmware_2024.2.bbappend | 34 +++ .../embeddedsw/pmu-firmware_2024.1.bbappend | 25 ++ .../embeddedsw/pmu-firmware_2024.2.bbappend | 25 ++ .../embeddedsw/psm-firmware_2024.1.bbappend | 34 +++ .../embeddedsw/psm-firmware_2024.2.bbappend | 34 +++ .../recipes-drivers/avbuf_2024.1.bb | 10 + .../recipes-drivers/avbuf_2024.2.bb | 10 + .../recipes-drivers/axicdma-example_2024.1.bb | 5 + .../recipes-drivers/axicdma-example_2024.2.bb | 5 + .../recipes-drivers/axicdma_2024.1.bb | 13 + .../recipes-drivers/axicdma_2024.2.bb | 13 + .../recipes-drivers/axidma-example_2024.1.bb | 5 + .../recipes-drivers/axidma-example_2024.2.bb | 5 + .../recipes-drivers/axidma_2024.1.bb | 13 + .../recipes-drivers/axidma_2024.2.bb | 13 + .../recipes-drivers/axiethernet-example_2024.1.bb | 5 + .../recipes-drivers/axiethernet-example_2024.2.bb | 5 + .../recipes-drivers/axiethernet_2024.1.bb | 13 + .../recipes-drivers/axiethernet_2024.2.bb | 13 + .../recipes-drivers/axipmon-example_2024.1.bb | 5 + .../recipes-drivers/axipmon-example_2024.2.bb | 5 + .../recipes-drivers/axipmon_2024.1.bb | 13 + .../recipes-drivers/axipmon_2024.2.bb | 13 + .../recipes-drivers/axis-switch_2024.1.bb | 13 + .../recipes-drivers/axis-switch_2024.2.bb | 13 + .../recipes-drivers/axivdma-example_2024.1.bb | 5 + .../recipes-drivers/axivdma-example_2024.2.bb | 5 + .../recipes-drivers/axivdma_2024.1.bb | 13 + .../recipes-drivers/axivdma_2024.2.bb | 13 + .../recipes-drivers/bram-example_2024.1.bb | 5 + .../recipes-drivers/bram-example_2024.2.bb | 5 + .../recipes-drivers/bram_2024.1.bb | 13 + .../recipes-drivers/bram_2024.2.bb | 13 + .../recipes-drivers/can-example_2024.1.bb | 5 + .../recipes-drivers/can-example_2024.2.bb | 5 + .../recipes-drivers/can_2024.1.bb | 13 + .../recipes-drivers/can_2024.2.bb | 13 + .../recipes-drivers/canfd-example_2024.1.bb | 5 + .../recipes-drivers/canfd-example_2024.2.bb | 5 + .../recipes-drivers/canfd_2024.1.bb | 13 + .../recipes-drivers/canfd_2024.2.bb | 13 + .../recipes-drivers/canps-example_2024.1.bb | 5 + .../recipes-drivers/canps-example_2024.2.bb | 5 + .../recipes-drivers/canps_2024.1.bb | 13 + .../recipes-drivers/canps_2024.2.bb | 13 + .../recipes-drivers/cframe_2024.1.bb | 13 + .../recipes-drivers/cframe_2024.2.bb | 13 + .../recipes-drivers/cfupmc_2024.1.bb | 13 + .../recipes-drivers/cfupmc_2024.2.bb | 13 + .../recipes-drivers/clk-wiz-example_2024.1.bb | 5 + .../recipes-drivers/clk-wiz-example_2024.2.bb | 5 + .../recipes-drivers/clk-wiz_2024.1.bb | 13 + .../recipes-drivers/clk-wiz_2024.2.bb | 13 + .../recipes-drivers/clockps-example_2024.1.bb | 40 +++ .../recipes-drivers/clockps-example_2024.2.bb | 40 +++ .../recipes-drivers/clockps_2024.1.bb | 13 + .../recipes-drivers/clockps_2024.2.bb | 13 + .../recipes-drivers/common_2024.1.bb | 25 ++ .../recipes-drivers/common_2024.2.bb | 25 ++ .../recipes-drivers/coresightps-dcc_2024.1.bb | 13 + .../recipes-drivers/coresightps-dcc_2024.2.bb | 13 + .../recipes-drivers/csudma-example_2024.1.bb | 5 + .../recipes-drivers/csudma-example_2024.2.bb | 5 + .../recipes-drivers/csudma_2024.1.bb | 13 + .../recipes-drivers/csudma_2024.2.bb | 13 + .../recipes-drivers/ddrcpsu_2024.1.bb | 13 + .../recipes-drivers/ddrcpsu_2024.2.bb | 13 + .../recipes-drivers/devcfg-example_2024.1.bb | 5 + .../recipes-drivers/devcfg-example_2024.2.bb | 5 + .../recipes-drivers/devcfg_2024.1.bb | 13 + .../recipes-drivers/devcfg_2024.2.bb | 13 + .../recipes-drivers/dfeccf-example_2024.1.bb | 8 + .../recipes-drivers/dfeccf-example_2024.2.bb | 8 + .../recipes-drivers/dfeccf_2024.1.bb | 14 ++ .../recipes-drivers/dfeccf_2024.2.bb | 14 ++ .../recipes-drivers/dfeequ-example_2024.1.bb | 8 + .../recipes-drivers/dfeequ-example_2024.2.bb | 8 + .../recipes-drivers/dfeequ_2024.1.bb | 15 ++ .../recipes-drivers/dfeequ_2024.2.bb | 15 ++ .../recipes-drivers/dfemix-example_2024.1.bb | 8 + .../recipes-drivers/dfemix-example_2024.2.bb | 8 + .../recipes-drivers/dfemix_2024.1.bb | 14 ++ .../recipes-drivers/dfemix_2024.2.bb | 14 ++ .../recipes-drivers/dfeofdm-example_2024.1.bb | 8 + .../recipes-drivers/dfeofdm-example_2024.2.bb | 8 + .../recipes-drivers/dfeofdm_2024.1.bb | 14 ++ .../recipes-drivers/dfeofdm_2024.2.bb | 14 ++ .../recipes-drivers/dfeprach-example_2024.1.bb | 8 + .../recipes-drivers/dfeprach-example_2024.2.bb | 8 + .../recipes-drivers/dfeprach_2024.1.bb | 14 ++ .../recipes-drivers/dfeprach_2024.2.bb | 14 ++ .../recipes-drivers/dfxasm-example_2024.1.bb | 5 + .../recipes-drivers/dfxasm-example_2024.2.bb | 5 + .../recipes-drivers/dfxasm_2024.1.bb | 13 + .../recipes-drivers/dfxasm_2024.2.bb | 13 + .../recipes-drivers/dmaps-example_2024.1.bb | 5 + .../recipes-drivers/dmaps-example_2024.2.bb | 5 + .../recipes-drivers/dmaps_2024.1.bb | 18 ++ .../recipes-drivers/dmaps_2024.2.bb | 18 ++ .../recipes-drivers/dp14_2024.1.bb | 14 ++ .../recipes-drivers/dp14_2024.2.bb | 14 ++ .../recipes-drivers/dp14rxss_2024.1.bb | 14 ++ .../recipes-drivers/dp14rxss_2024.2.bb | 14 ++ .../recipes-drivers/dpdma_2024.1.bb | 13 + .../recipes-drivers/dpdma_2024.2.bb | 13 + .../recipes-drivers/dppsu_2024.1.bb | 13 + .../recipes-drivers/dppsu_2024.2.bb | 13 + .../recipes-drivers/emaclite-example_2024.1.bb | 5 + .../recipes-drivers/emaclite-example_2024.2.bb | 5 + .../recipes-drivers/emaclite_2024.1.bb | 13 + .../recipes-drivers/emaclite_2024.2.bb | 13 + .../recipes-drivers/emacps-example_2024.1.bb | 5 + .../recipes-drivers/emacps-example_2024.2.bb | 5 + .../recipes-drivers/emacps_2024.1.bb | 13 + .../recipes-drivers/emacps_2024.2.bb | 13 + .../recipes-drivers/emc_2024.1.bb | 14 ++ .../recipes-drivers/emc_2024.2.bb | 14 ++ .../recipes-drivers/gpio-example_2024.1.bb | 5 + .../recipes-drivers/gpio-example_2024.2.bb | 5 + .../recipes-drivers/gpio_2024.1.bb | 13 + .../recipes-drivers/gpio_2024.2.bb | 13 + .../recipes-drivers/gpiops-example_2024.1.bb | 5 + .../recipes-drivers/gpiops-example_2024.2.bb | 5 + .../recipes-drivers/gpiops_2024.1.bb | 13 + .../recipes-drivers/gpiops_2024.2.bb | 13 + .../recipes-drivers/hwicap_2024.1.bb | 14 ++ .../recipes-drivers/hwicap_2024.2.bb | 14 ++ .../recipes-drivers/i2srx_2024.1.bb | 14 ++ .../recipes-drivers/i2srx_2024.2.bb | 14 ++ .../recipes-drivers/i2stx_2024.1.bb | 14 ++ .../recipes-drivers/i2stx_2024.2.bb | 14 ++ .../recipes-drivers/i3cpsx-example_2024.1.bb | 5 + .../recipes-drivers/i3cpsx-example_2024.2.bb | 5 + .../recipes-drivers/i3cpsx_2024.1.bb | 13 + .../recipes-drivers/i3cpsx_2024.2.bb | 13 + .../recipes-drivers/iic-example_2024.1.bb | 5 + .../recipes-drivers/iic-example_2024.2.bb | 5 + .../recipes-drivers/iic_2024.1.bb | 13 + .../recipes-drivers/iic_2024.2.bb | 13 + .../recipes-drivers/iicps-example_2024.1.bb | 5 + .../recipes-drivers/iicps-example_2024.2.bb | 5 + .../recipes-drivers/iicps_2024.1.bb | 13 + .../recipes-drivers/iicps_2024.2.bb | 13 + .../recipes-drivers/intc-example_2024.1.bb | 5 + .../recipes-drivers/intc-example_2024.2.bb | 5 + .../recipes-drivers/intc_2024.1.bb | 13 + .../recipes-drivers/intc_2024.2.bb | 13 + .../recipes-drivers/iomodule_2024.1.bb | 13 + .../recipes-drivers/iomodule_2024.2.bb | 13 + .../recipes-drivers/ipipsu-example_2024.1.bb | 5 + .../recipes-drivers/ipipsu-example_2024.2.bb | 5 + .../recipes-drivers/ipipsu_2024.1.bb | 13 + .../recipes-drivers/ipipsu_2024.2.bb | 13 + .../recipes-drivers/llfifo-example_2024.1.bb | 5 + .../recipes-drivers/llfifo-example_2024.2.bb | 5 + .../recipes-drivers/llfifo_2024.1.bb | 13 + .../recipes-drivers/llfifo_2024.2.bb | 13 + .../recipes-drivers/mbox-example_2024.1.bb | 5 + .../recipes-drivers/mbox-example_2024.2.bb | 5 + .../recipes-drivers/mbox_2024.1.bb | 13 + .../recipes-drivers/mbox_2024.2.bb | 13 + .../recipes-drivers/mcdma-example_2024.1.bb | 5 + .../recipes-drivers/mcdma-example_2024.2.bb | 5 + .../recipes-drivers/mcdma_2024.1.bb | 13 + .../recipes-drivers/mcdma_2024.2.bb | 13 + .../recipes-drivers/mutex-example_2024.1.bb | 5 + .../recipes-drivers/mutex-example_2024.2.bb | 5 + .../recipes-drivers/mutex_2024.1.bb | 13 + .../recipes-drivers/mutex_2024.2.bb | 13 + .../recipes-drivers/nandps_2024.1.bb | 14 ++ .../recipes-drivers/nandps_2024.2.bb | 14 ++ .../recipes-drivers/nandpsu-example_2024.1.bb | 5 + .../recipes-drivers/nandpsu-example_2024.2.bb | 5 + .../recipes-drivers/nandpsu_2024.1.bb | 13 + .../recipes-drivers/nandpsu_2024.2.bb | 13 + .../recipes-drivers/ospipsv-example_2024.1.bb | 5 + .../recipes-drivers/ospipsv-example_2024.2.bb | 5 + .../recipes-drivers/ospipsv_2024.1.bb | 19 ++ .../recipes-drivers/ospipsv_2024.2.bb | 19 ++ .../recipes-drivers/pciepsu-example_2024.1.bb | 5 + .../recipes-drivers/pciepsu-example_2024.2.bb | 5 + .../recipes-drivers/pciepsu_2024.1.bb | 13 + .../recipes-drivers/pciepsu_2024.2.bb | 13 + .../recipes-drivers/prc_2024.1.bb | 14 ++ .../recipes-drivers/prc_2024.2.bb | 14 ++ .../recipes-drivers/prd_2024.1.bb | 14 ++ .../recipes-drivers/prd_2024.2.bb | 14 ++ .../recipes-drivers/qspips-example_2024.1.bb | 5 + .../recipes-drivers/qspips-example_2024.2.bb | 5 + .../recipes-drivers/qspips_2024.1.bb | 13 + .../recipes-drivers/qspips_2024.2.bb | 13 + .../recipes-drivers/qspipsu-example_2024.1.bb | 5 + .../recipes-drivers/qspipsu-example_2024.2.bb | 5 + .../recipes-drivers/qspipsu_2024.1.bb | 13 + .../recipes-drivers/qspipsu_2024.2.bb | 13 + .../recipes-drivers/resetps-example_2024.1.bb | 5 + .../recipes-drivers/resetps-example_2024.2.bb | 5 + .../recipes-drivers/resetps_2024.1.bb | 13 + .../recipes-drivers/resetps_2024.2.bb | 13 + .../recipes-drivers/rfdc-example_2024.1.bb | 8 + .../recipes-drivers/rfdc-example_2024.2.bb | 8 + .../recipes-drivers/rfdc_2024.1.bb | 14 ++ .../recipes-drivers/rfdc_2024.2.bb | 14 ++ .../recipes-drivers/rtcpsu-example_2024.1.bb | 5 + .../recipes-drivers/rtcpsu-example_2024.2.bb | 5 + .../recipes-drivers/rtcpsu_2024.1.bb | 13 + .../recipes-drivers/rtcpsu_2024.2.bb | 13 + .../recipes-drivers/scugic-example_2024.1.bb | 5 + .../recipes-drivers/scugic-example_2024.2.bb | 5 + .../recipes-drivers/scugic_2024.1.bb | 13 + .../recipes-drivers/scugic_2024.2.bb | 13 + .../recipes-drivers/scutimer_2024.1.bb | 14 ++ .../recipes-drivers/scutimer_2024.2.bb | 14 ++ .../recipes-drivers/scuwdt_2024.1.bb | 14 ++ .../recipes-drivers/scuwdt_2024.2.bb | 14 ++ .../recipes-drivers/sd-fec_2024.1.bb | 14 ++ .../recipes-drivers/sd-fec_2024.2.bb | 14 ++ .../recipes-drivers/sdps-example_2024.1.bb | 5 + .../recipes-drivers/sdps-example_2024.2.bb | 5 + .../recipes-drivers/sdps_2024.1.bb | 13 + .../recipes-drivers/sdps_2024.2.bb | 13 + .../recipes-drivers/spi_2024.1.bb | 14 ++ .../recipes-drivers/spi_2024.2.bb | 14 ++ .../recipes-drivers/spips-example_2024.1.bb | 5 + .../recipes-drivers/spips-example_2024.2.bb | 5 + .../recipes-drivers/spips_2024.1.bb | 13 + .../recipes-drivers/spips_2024.2.bb | 13 + .../recipes-drivers/sysmon-example_2024.1.bb | 5 + .../recipes-drivers/sysmon-example_2024.2.bb | 5 + .../recipes-drivers/sysmon_2024.1.bb | 13 + .../recipes-drivers/sysmon_2024.2.bb | 13 + .../recipes-drivers/sysmonpsu-example_2024.1.bb | 5 + .../recipes-drivers/sysmonpsu-example_2024.2.bb | 5 + .../recipes-drivers/sysmonpsu_2024.1.bb | 13 + .../recipes-drivers/sysmonpsu_2024.2.bb | 13 + .../recipes-drivers/sysmonpsv-example_2024.1.bb | 5 + .../recipes-drivers/sysmonpsv-example_2024.2.bb | 5 + .../recipes-drivers/sysmonpsv_2024.1.bb | 13 + .../recipes-drivers/sysmonpsv_2024.2.bb | 13 + .../recipes-drivers/tft_2024.1.bb | 14 ++ .../recipes-drivers/tft_2024.2.bb | 14 ++ .../recipes-drivers/tmr-inject_2024.1.bb | 13 + .../recipes-drivers/tmr-inject_2024.2.bb | 13 + .../recipes-drivers/tmr-manager_2024.1.bb | 13 + .../recipes-drivers/tmr-manager_2024.2.bb | 13 + .../recipes-drivers/tmrctr-example_2024.1.bb | 5 + .../recipes-drivers/tmrctr-example_2024.2.bb | 5 + .../recipes-drivers/tmrctr_2024.1.bb | 13 + .../recipes-drivers/tmrctr_2024.2.bb | 13 + .../recipes-drivers/trafgen-example_2024.1.bb | 5 + .../recipes-drivers/trafgen-example_2024.2.bb | 5 + .../recipes-drivers/trafgen_2024.1.bb | 13 + .../recipes-drivers/trafgen_2024.2.bb | 13 + .../recipes-drivers/trngpsv_2024.1.bb | 14 ++ .../recipes-drivers/trngpsv_2024.2.bb | 14 ++ .../recipes-drivers/trngpsx_2024.1.bb | 14 ++ .../recipes-drivers/trngpsx_2024.2.bb | 14 ++ .../recipes-drivers/ttcps-example_2024.1.bb | 5 + .../recipes-drivers/ttcps-example_2024.2.bb | 5 + .../recipes-drivers/ttcps_2024.1.bb | 13 + .../recipes-drivers/ttcps_2024.2.bb | 13 + .../recipes-drivers/uartlite-example_2024.1.bb | 5 + .../recipes-drivers/uartlite-example_2024.2.bb | 5 + .../recipes-drivers/uartlite_2024.1.bb | 16 ++ .../recipes-drivers/uartlite_2024.2.bb | 16 ++ .../recipes-drivers/uartns550-example_2024.1.bb | 6 + .../recipes-drivers/uartns550-example_2024.2.bb | 6 + .../recipes-drivers/uartns550_2024.1.bb | 16 ++ .../recipes-drivers/uartns550_2024.2.bb | 16 ++ .../recipes-drivers/uartps-example_2024.1.bb | 5 + .../recipes-drivers/uartps-example_2024.2.bb | 5 + .../recipes-drivers/uartps_2024.1.bb | 16 ++ .../recipes-drivers/uartps_2024.2.bb | 16 ++ .../recipes-drivers/uartpsv-example_2024.1.bb | 6 + .../recipes-drivers/uartpsv-example_2024.2.bb | 6 + .../recipes-drivers/uartpsv_2024.1.bb | 16 ++ .../recipes-drivers/uartpsv_2024.2.bb | 16 ++ .../recipes-drivers/usb-example_2024.1.bb | 5 + .../recipes-drivers/usb-example_2024.2.bb | 5 + .../recipes-drivers/usb_2024.1.bb | 13 + .../recipes-drivers/usb_2024.2.bb | 13 + .../recipes-drivers/usbps_2024.1.bb | 14 ++ .../recipes-drivers/usbps_2024.2.bb | 14 ++ .../recipes-drivers/usbpsu-example_2024.1.bb | 5 + .../recipes-drivers/usbpsu-example_2024.2.bb | 5 + .../recipes-drivers/usbpsu_2024.1.bb | 13 + .../recipes-drivers/usbpsu_2024.2.bb | 13 + .../recipes-drivers/v-csc_2024.1.bb | 13 + .../recipes-drivers/v-csc_2024.2.bb | 13 + .../recipes-drivers/v-deinterlacer_2024.1.bb | 13 + .../recipes-drivers/v-deinterlacer_2024.2.bb | 13 + .../recipes-drivers/v-demosaic-example_2024.1.bb | 5 + .../recipes-drivers/v-demosaic-example_2024.2.bb | 5 + .../recipes-drivers/v-demosaic_2024.1.bb | 13 + .../recipes-drivers/v-demosaic_2024.2.bb | 13 + .../recipes-drivers/v-frmbuf-rd-example_2024.1.bb | 5 + .../recipes-drivers/v-frmbuf-rd-example_2024.2.bb | 5 + .../recipes-drivers/v-frmbuf-rd_2024.1.bb | 16 ++ .../recipes-drivers/v-frmbuf-rd_2024.2.bb | 16 ++ .../recipes-drivers/v-frmbuf-wr-example_2024.1.bb | 5 + .../recipes-drivers/v-frmbuf-wr-example_2024.2.bb | 5 + .../recipes-drivers/v-frmbuf-wr_2024.1.bb | 16 ++ .../recipes-drivers/v-frmbuf-wr_2024.2.bb | 16 ++ .../recipes-drivers/v-gamma-lut-example_2024.1.bb | 5 + .../recipes-drivers/v-gamma-lut-example_2024.2.bb | 5 + .../recipes-drivers/v-gamma-lut_2024.1.bb | 13 + .../recipes-drivers/v-gamma-lut_2024.2.bb | 13 + .../recipes-drivers/v-hcresampler_2024.1.bb | 13 + .../recipes-drivers/v-hcresampler_2024.2.bb | 13 + .../recipes-drivers/v-hdmi-common_2024.1.bb | 11 + .../recipes-drivers/v-hdmi-common_2024.2.bb | 11 + .../recipes-drivers/v-hdmiphy1_2024.1.bb | 14 ++ .../recipes-drivers/v-hdmiphy1_2024.2.bb | 14 ++ .../recipes-drivers/v-hdmirx1_2024.1.bb | 14 ++ .../recipes-drivers/v-hdmirx1_2024.2.bb | 14 ++ .../recipes-drivers/v-hdmirxss1_2024.1.bb | 14 ++ .../recipes-drivers/v-hdmirxss1_2024.2.bb | 14 ++ .../recipes-drivers/v-hdmitx1_2024.1.bb | 14 ++ .../recipes-drivers/v-hdmitx1_2024.2.bb | 14 ++ .../recipes-drivers/v-hdmitxss1_2024.1.bb | 14 ++ .../recipes-drivers/v-hdmitxss1_2024.2.bb | 14 ++ .../recipes-drivers/v-hscaler_2024.1.bb | 13 + .../recipes-drivers/v-hscaler_2024.2.bb | 13 + .../recipes-drivers/v-letterbox_2024.1.bb | 13 + .../recipes-drivers/v-letterbox_2024.2.bb | 13 + .../recipes-drivers/v-mix-example_2024.1.bb | 5 + .../recipes-drivers/v-mix-example_2024.2.bb | 5 + .../recipes-drivers/v-mix_2024.1.bb | 13 + .../recipes-drivers/v-mix_2024.2.bb | 13 + .../v-multi-scaler-example_2024.1.bb | 5 + .../v-multi-scaler-example_2024.2.bb | 5 + .../recipes-drivers/v-multi-scaler_2024.1.bb | 13 + .../recipes-drivers/v-multi-scaler_2024.2.bb | 13 + .../v-scenechange-example_2024.1.bb | 5 + .../v-scenechange-example_2024.2.bb | 5 + .../recipes-drivers/v-scenechange_2024.1.bb | 13 + .../recipes-drivers/v-scenechange_2024.2.bb | 13 + .../recipes-drivers/v-tpg_2024.1.bb | 13 + .../recipes-drivers/v-tpg_2024.2.bb | 13 + .../recipes-drivers/v-vcresampler_2024.1.bb | 13 + .../recipes-drivers/v-vcresampler_2024.2.bb | 13 + .../recipes-drivers/v-vscaler_2024.1.bb | 13 + .../recipes-drivers/v-vscaler_2024.2.bb | 13 + .../recipes-drivers/v-warp-filter_2024.1.bb | 14 ++ .../recipes-drivers/v-warp-filter_2024.2.bb | 14 ++ .../recipes-drivers/v-warp-init_2024.1.bb | 14 ++ .../recipes-drivers/v-warp-init_2024.2.bb | 14 ++ .../recipes-drivers/video-common_2024.1.bb | 10 + .../recipes-drivers/video-common_2024.2.bb | 10 + .../recipes-drivers/vphy_2024.1.bb | 14 ++ .../recipes-drivers/vphy_2024.2.bb | 14 ++ .../recipes-drivers/vprocss-example_2024.1.bb | 5 + .../recipes-drivers/vprocss-example_2024.2.bb | 5 + .../recipes-drivers/vprocss_2024.1.bb | 13 + .../recipes-drivers/vprocss_2024.2.bb | 13 + .../recipes-drivers/vtc_2024.1.bb | 13 + .../recipes-drivers/vtc_2024.2.bb | 13 + .../recipes-drivers/wdtps-example_2024.1.bb | 5 + .../recipes-drivers/wdtps-example_2024.2.bb | 5 + .../recipes-drivers/wdtps_2024.1.bb | 13 + .../recipes-drivers/wdtps_2024.2.bb | 13 + .../recipes-drivers/wdttb-example_2024.1.bb | 5 + .../recipes-drivers/wdttb-example_2024.2.bb | 5 + .../recipes-drivers/wdttb_2024.1.bb | 13 + .../recipes-drivers/wdttb_2024.2.bb | 13 + .../recipes-drivers/xadcps-example_2024.1.bb | 5 + .../recipes-drivers/xadcps-example_2024.2.bb | 5 + .../recipes-drivers/xadcps_2024.1.bb | 13 + .../recipes-drivers/xadcps_2024.2.bb | 13 + .../recipes-drivers/xdmapcie-example_2024.1.bb | 5 + .../recipes-drivers/xdmapcie-example_2024.2.bb | 5 + .../recipes-drivers/xdmapcie_2024.1.bb | 13 + .../recipes-drivers/xdmapcie_2024.2.bb | 13 + .../recipes-drivers/xxvethernet-example_2024.1.bb | 5 + .../recipes-drivers/xxvethernet-example_2024.2.bb | 5 + .../recipes-drivers/xxvethernet_2024.1.bb | 13 + .../recipes-drivers/xxvethernet_2024.2.bb | 13 + .../recipes-drivers/zdma-example_2024.1.bb | 5 + .../recipes-drivers/zdma-example_2024.2.bb | 5 + .../recipes-drivers/zdma_2024.1.bb | 13 + .../recipes-drivers/zdma_2024.2.bb | 13 + .../recipes-libraries/freertos10-xilinx_2024.1.bb | 15 ++ .../recipes-libraries/freertos10-xilinx_2024.2.bb | 15 ++ .../recipes-libraries/libxil_2024.1.bb | 55 +++++ .../recipes-libraries/libxil_2024.2.bb | 55 +++++ .../recipes-libraries/lwip_2024.1.bb | 34 +++ .../recipes-libraries/lwip_2024.2.bb | 34 +++ .../recipes-libraries/xilffs-example_2024.1.bb | 32 +++ .../recipes-libraries/xilffs-example_2024.2.bb | 32 +++ .../recipes-libraries/xilffs_2024.1.bb | 13 + .../recipes-libraries/xilffs_2024.2.bb | 11 + .../recipes-libraries/xilfpga-example_2024.1.bb | 29 +++ .../recipes-libraries/xilfpga-example_2024.2.bb | 29 +++ .../recipes-libraries/xilfpga_2024.1.bb | 8 + .../recipes-libraries/xilfpga_2024.2.bb | 8 + .../recipes-libraries/xilloader_2024.1.bb | 9 + .../recipes-libraries/xilloader_2024.2.bb | 9 + .../recipes-libraries/xilmailbox-example_2024.1.bb | 38 +++ .../recipes-libraries/xilmailbox-example_2024.2.bb | 38 +++ .../recipes-libraries/xilmailbox_2024.1.bb | 15 ++ .../recipes-libraries/xilmailbox_2024.2.bb | 15 ++ .../recipes-libraries/xilnvm-example_2024.1.bb | 33 +++ .../recipes-libraries/xilnvm-example_2024.2.bb | 33 +++ .../recipes-libraries/xilnvm_2024.1.bb | 10 + .../recipes-libraries/xilnvm_2024.2.bb | 10 + .../recipes-libraries/xilpdi_2024.1.bb | 6 + .../recipes-libraries/xilpdi_2024.2.bb | 6 + .../recipes-libraries/xilplmi_2024.1.bb | 6 + .../recipes-libraries/xilplmi_2024.2.bb | 6 + .../recipes-libraries/xilpm_2024.1.bb | 15 ++ .../recipes-libraries/xilpm_2024.2.bb | 15 ++ .../recipes-libraries/xilpuf-example_2024.1.bb | 33 +++ .../recipes-libraries/xilpuf-example_2024.2.bb | 33 +++ .../recipes-libraries/xilpuf_2024.1.bb | 10 + .../recipes-libraries/xilpuf_2024.2.bb | 10 + .../recipes-libraries/xilsecure-example_2024.1.bb | 33 +++ .../recipes-libraries/xilsecure-example_2024.2.bb | 33 +++ .../recipes-libraries/xilsecure_2024.1.bb | 14 ++ .../recipes-libraries/xilsecure_2024.2.bb | 14 ++ .../recipes-libraries/xilsem_2024.1.bb | 6 + .../recipes-libraries/xilsem_2024.2.bb | 6 + .../recipes-libraries/xilskey-example_2024.1.bb | 29 +++ .../recipes-libraries/xilskey-example_2024.2.bb | 29 +++ .../recipes-libraries/xilskey_2024.1.bb | 6 + .../recipes-libraries/xilskey_2024.2.bb | 6 + .../recipes-libraries/xilstandalone_2024.1.bb | 21 ++ .../recipes-libraries/xilstandalone_2024.2.bb | 21 ++ .../recipes-libraries/xiltimer_2024.1.bb | 15 ++ .../recipes-libraries/xiltimer_2024.2.bb | 15 ++ .../libmetal/libmetal-xlnx_%.bbappend | 1 + .../open-amp/open-amp-xlnx_%.bbappend | 1 + .../scripts/microblaze_dtb.py | 170 +++++++++++++ 489 files changed, 7450 insertions(+) create mode 100644 meta-xilinx-standalone-sdt/README.md create mode 100644 meta-xilinx-standalone-sdt/README.sdt.bsp.md create mode 100644 meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass create mode 100644 meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass create mode 100644 meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass create mode 100644 meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf create mode 100644 meta-xilinx-standalone-sdt/conf/layer.conf create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/ddr-self-refresh/ddr-self-refresh_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/empty-application/empty-application_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-hello-world/freertos-hello-world_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-echo-server/freertos-lwip-echo-server_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-client/freertos-lwip-tcp-perf-client_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-tcp-perf-server/freertos-lwip-tcp-perf-server_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-client/freertos-lwip-udp-perf-client_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/freertos-lwip-udp-perf-server/freertos-lwip-udp-perf-server_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/hello-world/hello-world_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-echo-server/lwip-echo-server_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-client/lwip-tcp-perf-client_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-tcp-perf-server/lwip-tcp-perf-server_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-client/lwip-udp-perf-client_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/lwip-udp-perf-server/lwip-udp-perf-server_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/memory-tests/memory-tests_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-echo-testd.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-mat-muld.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw-rpc-demo.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/sample-fw-package/sample-fw-package.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/srec-bootloader/srec-bootloader_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/srec-spi-bootloader/srec-spi-bootloader_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/zynq-dram-test/zynq-dram-test_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-applications/zynqmp-dram-test/zynqmp-dram-test_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/avbuf_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/avbuf_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axicdma-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axicdma-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axicdma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axicdma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axidma-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axidma-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axidma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axidma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axiethernet-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axiethernet-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axiethernet_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axiethernet_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axipmon-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axipmon-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axipmon_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axipmon_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axis-switch_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axis-switch_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axivdma-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axivdma-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axivdma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axivdma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/bram-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/bram-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/bram_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/bram_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/can-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/can-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/can_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/can_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canfd-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canfd-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canfd_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canfd_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/canps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/cframe_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/cframe_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/cfupmc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/cfupmc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clk-wiz_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clockps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/clockps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/common_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/common_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/coresightps-dcc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/coresightps-dcc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csudma-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csudma-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csudma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csudma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ddrcpsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ddrcpsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/devcfg-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/devcfg-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/devcfg_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/devcfg_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeccf-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeccf-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeccf_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeccf_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeequ-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeequ-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeequ_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeequ_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfemix-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfemix-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfemix_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfemix_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeofdm_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeprach-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeprach-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeprach_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfeprach_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfxasm-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfxasm-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfxasm_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dfxasm_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dmaps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dmaps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dmaps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dmaps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dpdma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dpdma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dppsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dppsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emaclite-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emaclite-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emaclite_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emaclite_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emacps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emacps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emacps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emacps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/emc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpio-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpio-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpio_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpio_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpiops-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpiops-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpiops_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/gpiops_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hwicap_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hwicap_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i2srx_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i2srx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i2stx_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i2stx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i3cpsx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iic-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iic-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iic_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iic_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iicps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iicps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iicps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iicps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/intc-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/intc-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/intc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/intc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iomodule_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/iomodule_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ipipsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ipipsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ipipsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ipipsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/llfifo-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/llfifo-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/llfifo_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/llfifo_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mbox-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mbox-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mbox_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mbox_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mcdma-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mcdma-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mcdma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mcdma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mutex-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mutex-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mutex_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mutex_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/nandps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/nandps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/nandpsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/nandpsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/nandpsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/nandpsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ospipsv-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ospipsv-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ospipsv_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ospipsv_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/pciepsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/pciepsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/pciepsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/pciepsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/prc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/prc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/prd_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/prd_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspips-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspips-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspips_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspips_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspipsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspipsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspipsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/qspipsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/resetps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/resetps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/resetps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/resetps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rfdc-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rfdc-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rfdc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rfdc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/rtcpsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scugic-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scugic-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scugic_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scugic_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scutimer_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scutimer_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scuwdt_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/scuwdt_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sd-fec_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sd-fec_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sdps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sdps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sdps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sdps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spi_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spi_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spips-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spips-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spips_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spips_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmon-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmon-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmon_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmon_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sysmonpsv_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tft_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tft_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmr-inject_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmr-inject_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmr-manager_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmr-manager_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmrctr-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmrctr-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmrctr_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/tmrctr_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trafgen-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trafgen-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trafgen_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trafgen_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trngpsv_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trngpsv_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trngpsx_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/trngpsx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ttcps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ttcps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ttcps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ttcps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartlite-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartlite-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartlite_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartlite_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartns550-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartns550-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartns550_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartns550_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartpsv-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartpsv-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usb-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usb-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usb_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usb_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usbps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usbps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usbpsu-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usbpsu-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usbpsu_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/usbpsu_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-csc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-csc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-deinterlacer_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-deinterlacer_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-demosaic_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-rd_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-frmbuf-wr_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-gamma-lut_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hcresampler_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hcresampler_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hscaler_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hscaler_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-letterbox_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-letterbox_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-mix-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-mix-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-mix_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-mix_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-multi-scaler_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-scenechange_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-tpg_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-tpg_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-vcresampler_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-vcresampler_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-vscaler_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-vscaler_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-warp-filter_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-warp-filter_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-warp-init_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-warp-init_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/video-common_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/video-common_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vprocss-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vprocss-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vprocss_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vprocss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vtc_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/vtc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdtps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdtps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdtps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdtps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdttb-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdttb-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdttb_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/wdttb_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xadcps-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xadcps-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xadcps_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xadcps_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xdmapcie_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/xxvethernet_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/zdma-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/zdma-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/zdma_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/zdma_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/freertos10-xilinx_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/freertos10-xilinx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/libxil_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/libxil_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/lwip_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/lwip_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilfpga_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilfpga_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilloader_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilloader_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilnvm_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilnvm_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpdi_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpdi_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilplmi_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilplmi_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpuf_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilpuf_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilsecure_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilsecure_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilsem_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilsem_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilskey_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilskey_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilstandalone_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xiltimer_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xiltimer_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend create mode 100644 meta-xilinx-standalone-sdt/scripts/microblaze_dtb.py (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/README.md b/meta-xilinx-standalone-sdt/README.md new file mode 100644 index 00000000..d2d54c2e --- /dev/null +++ b/meta-xilinx-standalone-sdt/README.md @@ -0,0 +1,180 @@ +# meta-xilinx-standalone-sdt + +This layer contains System Device Tree items that are related to the +meta-xilinx-standalone layer. + +## Build Instructions + +The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. +Be sure to read everything below. + +> **Pre-requisites:** +> * To use this layer you must REMOVE meta-xilinx-tools from your project. +meta-xilinx-tools is not compatible with this SDT approach. You may +also have to remove other layers that depend on meta-xilinx-tools, such as +meta-kria and meta-system-controller. +> * Follow [System Device Tree Instructions](https://github.com/Xilinx/system-device-tree-xlnx/blob/master/README.md) +> to generate the SDT output. +> * To use the SDT version of the embedded software (firmware) as well +as system configuration, you must build through gen-machineconf tool. This tool +is passed a output of system device tree directory. + +1. Follow [Building Instructions](../README.building.md) upto step 2. + +2. Clone the meta-openamp repository. + +``` +$ git clone -b https://github.com/Xilinx/meta-openamp +``` +3. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) + from step 3 to step 4. + +4. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as + meta-kria and meta-system-controller if included in bblayers.conf), then add + the meta-xilinx-standalone-sdt and meta-openamp layer. + +> **Note:** SDT builds for following devices are not supported in 2024.1 release. +> * Zynq 7000 +> * MicoBlaze +> * Kria +> * System Controller + +``` +$ bitbake-layers remove-layer meta-xilinx-tools +$ bitbake-layers remove-layer meta-kria +$ bitbake-layers remove-layer meta-system-controller +$ bitbake-layers add-layer .//meta-xilinx/meta-xilinx-standalone-sdt +$ bitbake-layers add-layer .//meta-openamp +``` + +5. Export gen-machineconf tool. +``` +$ export PATH=$PATH:/gen-machine-conf +``` + +6. Run the script from the build or ${TOPDIR} directory. This step describes + System Device Tree (SDT) with and without pl overlays. Configruations are same + for both SDT with and without pl overlays except for linux dts content. + +> **Note:** +> 1. The -l option will automatically add the necessary parameters to the + local.conf file. If you need to re-run this comment, you just clear the + parameters from the end of the file. Without the -l option the items are + printed to the screen and must be manually added to your conf/local.conf +> 2. The --soc-family argument is an optional argument and user can skip this. +> 3. By default minimal set of multiconfigs are generated by gen-machineconf tool. +> To enable full multiconfig(APU/RPU baremetal or FreeRTOS) then use +> `--multiconfigfull` option. + + a. Without SDT pl overlay: +``` + $ gen-machineconf --hw-description -c -l conf/local.conf +``` + + b. With SDT pl overlay: + To generate SDT pl overlay run gen-machineconf command with + `-g {full|dfx}` option. Once SDT pl overlay command is executed successfully + pl.dtsi will be generated under /dts/${MACHINE}/pl-overlay-{full|dfx} + directory. User can use this pl.dtsi as input to full or dfx static firmware + recipes. + +> **Note:** DFx partial dtsi is not processed by gen-machineconf(lopper) tool, User +> needs to use the *_partial.dtsi and *_partial.pdi/bit from sdtgen output +> artifacts to DFx partial firmware recipes. + + * ZynqMP Full bitstream or Versal Segmented Configuration: +``` + $ gen-machineconf parse-sdt --hw-description -c -l conf/local.conf -g full +``` + + * ZynqMP or Versal DFx: +``` + $ gen-machineconf parse-sdt --hw-description -c -l conf/local.conf -g dfx +``` + +For example, zynqmp: +``` +$ gen-machineconf --soc-family zynqmp --hw-description -c conf/ -l conf/local.conf +``` +The following will be written to the end of the conf/local.conf file: + +``` +# Use the newly generated MACHINE +MACHINE = "xlnx-zynqmp-zcu102-rev1-0" + +# Avoid errors in some baremetal configs as these layers may be present +# but are not used. Note the following lines are optional and can be +# safetly disabled. +SKIP_META_VIRT_SANITY_CHECK = "1" +SKIP_META_SECURITY_SANITY_CHECK = "1" +SKIP_META_TPM_SANITY_CHECK = "1" + +# Each generated multiconfig defines it's own TMPDIR, either edit the +# multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below +#MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" +``` + +For example, versal: +``` +$ gen-machineconf --soc-family versal --hw-description -c conf/ -l conf/local.conf +``` + +The following will be written to the end of the conf/local.conf file: + +``` +# Use the newly generated MACHINE +MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva" + +# Avoid errors in some baremetal configs as these layers may be present +# but are not used. Note the following lines are optional and can be +# safetly disabled. +SKIP_META_VIRT_SANITY_CHECK = "1" +SKIP_META_SECURITY_SANITY_CHECK = "1" +SKIP_META_TPM_SANITY_CHECK = "1" + +# Each generated multiconfig defines it's own TMPDIR, either edit the +# multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below +#MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" +``` +> **Bitbake Performance Note:** +Each BBMULTICONFIG value requires all of the recipes to be parsed for that +configuration. Thus each multiconfig will add more parsing time. A long list +can lead to a very slow parse (many minutes). To speed up parsing, it is +suggested that you trim this down to only the configurations you require. +A minimum configuration is included with the generated configuration. + + +7. Build your project, You should now be able to build your project normally. + See the Yocto Project documentation if you have questions on how to work with + the multiconfig recipes. The following is a simple build for testing. + +8. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) + from step 6. + +## Dependencies + +This layer depends on: + + URI: https://git.yoctoproject.org/poky + layers: meta, meta-poky + branch: scarthgap + + URI: https://git.openembedded.org/meta-openembedded + layers: meta-oe + branch: scarthgap + + URI: + https://git.yoctoproject.org/meta-xilinx (official version) + https://github.com/Xilinx/meta-xilinx (development and amd xilinx release) + layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone + branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) + + URI: + https://git.yoctoproject.org/meta-virtualization (official version) + https://github.com/Xilinx/meta-virtualization (development and amd xilinx release) + branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) + + URI: + https://github.com/OpenAMP/meta-openamp (official version) + https://github.com/Xilinx/meta-openamp (development and amd xilinx release) + branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) diff --git a/meta-xilinx-standalone-sdt/README.sdt.bsp.md b/meta-xilinx-standalone-sdt/README.sdt.bsp.md new file mode 100644 index 00000000..2b2ce4b0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/README.sdt.bsp.md @@ -0,0 +1,46 @@ +# SDT BSP + +This section describes the SDT BSP settings which must be added to the generated +machine configuration file, following [Build Instructions](README.md) step 4, in +order to use the runqemu command. + +## SDT BSP settings + +The following board settings need to be added in sdt machine configuration file +to define which QEMU device trees should be used. + +> **Variable usage examples:** +> +> QEMU Device tree deploy directory: `QEMU_HW_DTB_PATH = "${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch"` +> +> QEMU PMU Device tree: `QEMU_HW_DTB_PMU = "${QEMU_HW_DTB_PATH}/zynqmp-pmu.dtb"` +> +> QEMU PS Device tree: `QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vck190.dtb"` +> +> QEMU PMC Board Device tree: `QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmc-virt.dtb"` +> +> QEMU Memory: Some boards for example VEK280 and VH158 memory configurations are +> different, Hence we need to adjust the same in QB_MEM to match board dtsi files. +> Below are some examples. +> * ZynqMP `QB_MEM = "-m 4096"` +> * Versal VEK280 `QB_MEM = "-m 12G"` + + +| Devices | Evaluation Board | QEMU PMC or PMU DTB file | QEMU PS DTB file | QB Mem | +|---------|-------------------------------------------------------------------------------|-----------------------------|-------------------------------|--------| +| ZynqMP | [ZCU102](https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| | [ZCU104](https://www.xilinx.com/products/boards-and-kits/zcu104.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| | [ZCU106](https://www.xilinx.com/products/boards-and-kits/zcu106.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| | [ZCU111](https://www.xilinx.com/products/boards-and-kits/zcu111.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| | [ZCU208](https://www.xilinx.com/products/boards-and-kits/zcu208.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| | [ZCU216](https://www.xilinx.com/products/boards-and-kits/zcu216.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| | [ZCU670](https://www.xilinx.com/products/boards-and-kits/zcu670.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | +| Versal | [VCK190](https://www.xilinx.com/products/boards-and-kits/vck190.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vck190.dtb` | 8G | +| | [VMK180](https://www.xilinx.com/products/boards-and-kits/vmk180.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vmk180.dtb` | 8G | +| | [VPK120](https://www.xilinx.com/products/boards-and-kits/vpk120.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vpk120.dtb` | 8G | +| | [VPK180](https://www.xilinx.com/products/boards-and-kits/vpk180.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vpk180.dtb` | 8G | +| | [VEK280](https://www.xilinx.com/products/boards-and-kits/vek280.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vek280.dtb` | 12G | +| | [VHK158](https://www.xilinx.com/products/boards-and-kits/vhk158.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vhk158.dtb` | 32G | + +> **Note:** Additional information on Xilinx architectures can be found at: + https://www.xilinx.com/products/silicon-devices.html diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass new file mode 100644 index 00000000..663d02a0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass @@ -0,0 +1,159 @@ +inherit python3native xlnx-embeddedsw pkgconfig cmake + +# Poky always tries to enable EXPORT_COMPILE_COMMANDS, but ESW changes +# behavior when this is enabled and will generate: +# -isystem /usr/include +# which will cause a build failures. +OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON" + +SRCREV_FORMAT = "src_decouple" + +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" +OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" +LICFILENAME = "license.txt" + +SPECFILE_PATH:arm = "${S}/scripts/specs/arm/Xilinx.spec" +SPECFILE_PATH:aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" +SPECFILE_PATH:microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" + +ESW_MACHINE ?= "${MACHINE}" + +ESW_CFLAGS += "-specs=${SPECFILE_PATH}" + +inherit ccmake + +COMPATIBLE_HOST = ".*-elf" +COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" + +CONFIG_DTFILE ??= "" +DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE').replace('.dts','.dtb'))}" + +DEPENDS += "python3-pyyaml-native lopper-native device-tree python3-dtc-native" + +# We need the deployed output +do_configure[depends] += "device-tree:do_deploy" +do_compile[depends] += "device-tree:do_deploy" +do_install[depends] += "device-tree:do_deploy" + +def get_xlnx_cmake_machine(fam, variant, d): + cmake_machine = fam + if (fam == 'zynqmp'): + cmake_machine = 'ZynqMP' + elif (fam == 'versal'): + cmake_machine = 'Versal' + if (variant == 'net'): + cmake_machine = 'VersalNet' + elif (fam == 'zynq'): + cmake_machine = 'Zynq' + return cmake_machine + +def get_xlnx_cmake_processor(tune, machine, variant, d): + cmake_processor = tune + if tune.startswith('microblaze'): + if (machine == 'psu_pmu_0'): + cmake_processor = 'pmu_microblaze' + elif (machine in [ 'psv_pmc_0', 'psx_pmc_0' ]): + cmake_processor = 'plm_microblaze' + else: + cmake_processor = 'microblaze' + elif (tune in [ 'cortexr5', 'cortexr5hf' ]): + cmake_processor = 'cortexr5' + elif (tune in [ 'cortexr52', 'cortexr52hf' ]): + cmake_processor = 'cortexr52' + elif tune.startswith('cortexa9'): + cmake_processor = 'cortexa9' + elif (tune in [ 'cortexa53', 'cortexa72-cortexa53' ]): + cmake_processor = 'cortexa53' + elif tune == 'cortexa72': + cmake_processor = 'cortexa72' + if (variant == 'net'): + cmake_processor = 'cortexa78' + return cmake_processor + +XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d.getVar('SOC_VARIANT'), d)}" +XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d.getVar('SOC_VARIANT'), d)}" +XLNX_CMAKE_SYSTEM_NAME ?= "Generic" +XLNX_CMAKE_BSP_VARS ?= "" + +cmake_do_generate_toolchain_file:append() { + cat >> ${WORKDIR}/toolchain.cmake < libxil.mri + for each in ${REQUIRED_MACHINE_FEATURES}; do + each=$(echo $each | sed 's/-/_/g') + if [ -e lib$each.a ]; then + echo addlib lib$each.a >> libxil.mri + fi + done + echo “save” >> libxil.mri + echo “end” >> libxil.mri + ${AR} -M libxil.mri + for each in ${REQUIRED_MACHINE_FEATURES}; do + each=$(echo $each | sed 's/-/_/g') + if [ -e lib$each.a ]; then + echo addlib lib$each.a >> libxil.mri + fi + done + echo “save” >> libxil.mri + echo “end” >> libxil.mri + ${AR} -M Date: Thu, 23 May 2024 11:50:18 -0600 Subject: meta-xilinx-standalone: Remove obsolete entries, move override into sdt layer DTC_FLAGS and DT_INCLUDE should only be defined within the context of the layer providing the device tree components. It is obsolete in the generic case. Spit the COMPATIBLE_HOST, xilinx-freertos belongs in the SDT layer. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend | 1 + .../recipes-bsp/device-tree/device-tree.bbappend | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend new file mode 100644 index 00000000..449a69c8 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend @@ -0,0 +1 @@ +COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}" diff --git a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend index 81de24f3..3fc7a89f 100644 --- a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend +++ b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend @@ -1,8 +1 @@ COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" -COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}" - -# Enable @ flag on dtc which is required by libxil -DTC_FLAGS:append:xilinx-standalone = " -@" -DT_INCLUDE:append:xilinx-standalone = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/" -DTC_FLAGS:append:xilinx-freertos = " -@" -DT_INCLUDE:append:xilinx-freertos = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/" -- cgit v1.2.3-54-g00ecf From 608c0c0decf2687d0b7261d54c80adfc75fc6d9b Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 28 May 2024 14:07:06 -0600 Subject: meta-xilinx-standalone-sdt: Sync with latest meta-xilinx-standalone changes Signed-off-by: Mark Hatle --- .../meta-xilinx-standalone-sdt-cfg.bbclass | 6 + .../sanity-meta-xilinx-standalone-sdt.bbclass | 10 + .../classes-recipe/check_sdt_enabled.bbclass | 4 + .../classes-recipe/esw.bbclass | 2 +- ...meta-xilinx-standalone-sdt-default-versions.inc | 245 ++++++++++++++++++++ meta-xilinx-standalone-sdt/conf/layer.conf | 253 +-------------------- .../embeddedsw/fsbl-firmware_%.bbappend | 1 + .../embeddedsw/fsbl-firmware_2024.1.bbappend | 66 ------ .../embeddedsw/fsbl-firmware_2024.2.bbappend | 66 ------ .../recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc | 67 ++++++ .../recipes-bsp/embeddedsw/plm-firmware_%.bbappend | 1 + .../embeddedsw/plm-firmware_2024.1.bbappend | 34 --- .../embeddedsw/plm-firmware_2024.2.bbappend | 34 --- .../recipes-bsp/embeddedsw/plm-firmware_sdt.inc | 31 +++ .../recipes-bsp/embeddedsw/pmu-firmware_%.bbappend | 1 + .../embeddedsw/pmu-firmware_2024.1.bbappend | 25 -- .../embeddedsw/pmu-firmware_2024.2.bbappend | 25 -- .../recipes-bsp/embeddedsw/pmu-firmware_sdt.inc | 31 +++ .../recipes-bsp/embeddedsw/psm-firmware_%.bbappend | 1 + .../embeddedsw/psm-firmware_2024.1.bbappend | 34 --- .../embeddedsw/psm-firmware_2024.2.bbappend | 34 --- .../recipes-bsp/embeddedsw/psm-firmware_sdt.inc | 31 +++ 22 files changed, 441 insertions(+), 561 deletions(-) create mode 100644 meta-xilinx-standalone-sdt/classes-global/meta-xilinx-standalone-sdt-cfg.bbclass create mode 100644 meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass create mode 100644 meta-xilinx-standalone-sdt/classes-recipe/check_sdt_enabled.bbclass create mode 100644 meta-xilinx-standalone-sdt/conf/distro/include/meta-xilinx-standalone-sdt-default-versions.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_%.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_sdt.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_%.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_sdt.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_%.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.2.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_sdt.inc (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/classes-global/meta-xilinx-standalone-sdt-cfg.bbclass b/meta-xilinx-standalone-sdt/classes-global/meta-xilinx-standalone-sdt-cfg.bbclass new file mode 100644 index 00000000..c76fc14a --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-global/meta-xilinx-standalone-sdt-cfg.bbclass @@ -0,0 +1,6 @@ +# We need to load the ESW and related config components, only if XILINX_WITH_ESW +# is in defined in some way. Since we don't know the configuration during +# layer.conf load time, we delay using a special bbclass that simply includes +# the META_XILINX_STANDLONE_CONFIG_PATH file. + +include ${@'${META_XILINX_STANDLONE_SDT_CONFIG_PATH}' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass b/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass new file mode 100644 index 00000000..dcafe02b --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass @@ -0,0 +1,10 @@ +addhandler security_bbappend_distrocheck +security_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" +python security_bbappend_distrocheck() { + skip_check = e.data.getVar('SKIP_META_XILINX_TOOLS_SANITY_CHECK') == "1" + if e.data.getVar('XILINX_WITH_ESW') != 'sdt' and not skip_check: + bb.warn("You have included the meta-xilinx-standalone-sdt layer, but \ +it has not been enabled using XILINX_WITH_ESW in your configuration. Some \ +bbappend files and preferred version setting may not take effect. See the \ +meta-security README for details on enabling security support.") +} diff --git a/meta-xilinx-standalone-sdt/classes-recipe/check_sdt_enabled.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/check_sdt_enabled.bbclass new file mode 100644 index 00000000..e23afb1d --- /dev/null +++ b/meta-xilinx-standalone-sdt/classes-recipe/check_sdt_enabled.bbclass @@ -0,0 +1,4 @@ +python() { + if d.getVar('XILINX_WITH_ESW') != 'sdt': + raise bb.parse.SkipRecipe("This package requires sdt, which is not enabled. XILINX_WITH_ESW set to '%s'." % d.getVar('XILINX_WITH_ESW')) +} diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass index 663d02a0..921e2fe0 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass @@ -1,4 +1,4 @@ -inherit python3native xlnx-embeddedsw pkgconfig cmake +inherit check_sdt_enabled python3native xlnx-embeddedsw pkgconfig cmake # Poky always tries to enable EXPORT_COMPILE_COMMANDS, but ESW changes # behavior when this is enabled and will generate: diff --git a/meta-xilinx-standalone-sdt/conf/distro/include/meta-xilinx-standalone-sdt-default-versions.inc b/meta-xilinx-standalone-sdt/conf/distro/include/meta-xilinx-standalone-sdt-default-versions.inc new file mode 100644 index 00000000..47f25090 --- /dev/null +++ b/meta-xilinx-standalone-sdt/conf/distro/include/meta-xilinx-standalone-sdt-default-versions.inc @@ -0,0 +1,245 @@ +# Aid debugging, show where the device trees are we are using +BUILDCFG_VARS:append = " SYSTEM_DTFILE CONFIG_DTFILE" + +# These are the recipes-library items, they should all be from the same ESW version +PREFERRED_VERSION_freertos10-xilinx ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_libxil ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_lwip ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilffs ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilffs-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilfpga ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilfpga-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilloader ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilmailbox ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilmailbox-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilnvm ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilnvm-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilpdi ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilplmi ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilpm ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilpuf ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilpuf-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilsecure ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilsecure-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilsem ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilskey ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilskey-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xilstandalone ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xiltimer ??= "${PREFERRED_VERSION_esw}%" + +# The following are the recipes-drivers used by the library items above +# they should come from the same ESW version as the library. +PREFERRED_VERSION_avbuf ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axicdma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axicdma-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axidma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axidma-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axiethernet ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axiethernet-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axipmon ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axipmon-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axis-switch ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axivdma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_axivdma-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_bram ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_bram-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_can ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_can-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_canfd ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_canfd-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_canps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_canps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_cframe ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_cfupmc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_clk-wiz ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_clk-wiz-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_clockps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_clockps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_common ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_coresightps-dcc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_csudma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_csudma-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ddrcpsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_devcfg ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_devcfg-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeccf ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeccf-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeequ ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeequ-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfemix ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfemix-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeofdm ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeofdm-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeprach ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfeprach-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfxasm ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dfxasm-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dmaps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dmaps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dp14 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dp14rxss ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dpdma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_dppsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_emaclite ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_emaclite-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_emacps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_emacps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_emc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_gpio ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_gpio-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_gpiops ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_gpiops-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_hwicap ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_i2srx ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_i2stx ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_i3cpsx ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_i3cpsx-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_iic ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_iic-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_iicps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_iicps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_intc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_intc-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_iomodule ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ipipsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ipipsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_llfifo ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_llfifo-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_mbox ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_mbox-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_mcdma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_mcdma-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_mutex ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_mutex-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_nandps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_nandpsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_nandpsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ospipsv ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ospipsv-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_pciepsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_pciepsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_prc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_prd ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_qspips ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_qspips-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_qspipsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_qspipsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_resetps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_resetps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_rfdc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_rfdc-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_rtcpsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_rtcpsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_scugic ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_scugic-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_scutimer ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_scuwdt ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sd-fec ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sdps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sdps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_spi ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_spips ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_spips-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sysmon ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sysmon-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sysmonpsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sysmonpsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sysmonpsv ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sysmonpsv-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_tft ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_tmrctr ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_tmrctr-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_tmr-inject ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_tmr-manager ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_trafgen ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_trafgen-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_trngpsv ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_trngpsx ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ttcps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_ttcps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartlite ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartlite-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartns550 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartns550-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartpsv ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_uartpsv-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_usb ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_usb-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_usbps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_usbpsu ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_usbpsu-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-csc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-deinterlacer ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-demosaic ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-demosaic-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-frmbuf-rd ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-frmbuf-rd-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-frmbuf-wr ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-frmbuf-wr-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-gamma-lut ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-gamma-lut-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hcresampler ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hdmi-common ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hdmiphy1 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hdmirx1 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hdmirxss1 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hdmitx1 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hdmitxss1 ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-hscaler ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_video-common ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-letterbox ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-mix ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-mix-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-multi-scaler ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-multi-scaler-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_vphy ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_vprocss ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_vprocss-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-scenechange ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-scenechange-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_vtc ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-tpg ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-vcresampler ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-vscaler ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-warp-filter ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_v-warp-init ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_wdtps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_wdtps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_wdttb ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_wdttb-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xadcps ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xadcps-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xdmapcie ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xdmapcie-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xxvethernet ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_xxvethernet-example ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_zdma ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_zdma-example ??= "${PREFERRED_VERSION_esw}%" + +# The following are applications that use the libraries and drivers +PREFERRED_VERSION_ddr-self-refresh ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_empty-application ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_freertos-hello-world ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_freertos-lwip-echo-server ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_freertos-lwip-tcp-perf-client ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_freertos-lwip-tcp-perf-server ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_freertos-lwip-udp-perf-client ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_freertos-lwip-udp-perf-server ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_hello-world ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_lwip-echo-server ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_lwip-tcp-perf-client ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_lwip-tcp-perf-server ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_lwip-udp-perf-client ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_lwip-udp-perf-server ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_memory-tests ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_openamp-fw-echo-testd.bb ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_openamp-fw-mat-muld.bb ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_openamp-fw-rpc-demo.bb ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_peripheral-tests ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_sample-fw-package.bb ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_srec-bootloader ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_srec-spi-bootloader ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_zynq-dram-test ??= "${PREFERRED_VERSION_esw}%" +PREFERRED_VERSION_zynqmp-dram-test ??= "${PREFERRED_VERSION_esw}%" diff --git a/meta-xilinx-standalone-sdt/conf/layer.conf b/meta-xilinx-standalone-sdt/conf/layer.conf index 1116f72b..0f153e93 100644 --- a/meta-xilinx-standalone-sdt/conf/layer.conf +++ b/meta-xilinx-standalone-sdt/conf/layer.conf @@ -25,248 +25,17 @@ LAYERDEPENDS_xilinx-standalone-sdt = "core \ LAYERSERIES_COMPAT_xilinx-standalone-sdt = "scarthgap" -# Aid debugging, show where the device trees are we are using -BUILDCFG_VARS:append = " SYSTEM_DTFILE CONFIG_DTFILE" +# Set this to enable this layer +#XILINX_WITH_ESW = "sdt" -# These are the recipes-library items, they should all be from the same ESW version -PREFERRED_VERSION_freertos10-xilinx ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_libxil ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_lwip ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilffs ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilffs-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilfpga ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilfpga-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilloader ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilmailbox ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilmailbox-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilnvm ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilnvm-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilpdi ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilplmi ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilpm ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilpuf ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilpuf-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilsecure ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilsecure-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilsem ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilskey ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilskey-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xilstandalone ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xiltimer ??= "${PREFERRED_VERSION_esw}%" +# Sanity check for meta-xilinx-standalone layer. +# Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check. +INHERIT += "sanity-meta-xilinx-standalone-sdt" -# The following are the recipes-drivers used by the library items above -# they should come from the same ESW version as the library. -PREFERRED_VERSION_avbuf ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axicdma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axicdma-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axidma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axidma-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axiethernet ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axiethernet-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axipmon ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axipmon-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axis-switch ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axivdma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_axivdma-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_bram ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_bram-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_can ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_can-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_canfd ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_canfd-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_canps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_canps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_cframe ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_cfupmc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_clk-wiz ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_clk-wiz-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_clockps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_clockps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_common ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_coresightps-dcc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_csudma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_csudma-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ddrcpsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_devcfg ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_devcfg-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeccf ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeccf-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeequ ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeequ-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfemix ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfemix-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeofdm ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeofdm-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeprach ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfeprach-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfxasm ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dfxasm-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dmaps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dmaps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dp14 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dp14rxss ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dpdma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_dppsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_emaclite ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_emaclite-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_emacps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_emacps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_emc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_gpio ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_gpio-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_gpiops ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_gpiops-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_hwicap ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_i2srx ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_i2stx ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_i3cpsx ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_i3cpsx-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_iic ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_iic-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_iicps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_iicps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_intc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_intc-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_iomodule ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ipipsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ipipsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_llfifo ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_llfifo-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_mbox ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_mbox-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_mcdma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_mcdma-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_mutex ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_mutex-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_nandps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_nandpsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_nandpsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ospipsv ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ospipsv-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_pciepsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_pciepsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_prc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_prd ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_qspips ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_qspips-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_qspipsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_qspipsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_resetps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_resetps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_rfdc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_rfdc-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_rtcpsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_rtcpsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_scugic ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_scugic-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_scutimer ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_scuwdt ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sd-fec ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sdps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sdps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_spi ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_spips ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_spips-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sysmon ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sysmon-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sysmonpsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sysmonpsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sysmonpsv ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sysmonpsv-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_tft ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_tmrctr ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_tmrctr-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_tmr-inject ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_tmr-manager ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_trafgen ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_trafgen-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_trngpsv ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_trngpsx ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ttcps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_ttcps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartlite ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartlite-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartns550 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartns550-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartpsv ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_uartpsv-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_usb ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_usb-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_usbps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_usbpsu ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_usbpsu-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-csc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-deinterlacer ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-demosaic ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-demosaic-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-frmbuf-rd ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-frmbuf-rd-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-frmbuf-wr ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-frmbuf-wr-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-gamma-lut ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-gamma-lut-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hcresampler ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hdmi-common ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hdmiphy1 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hdmirx1 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hdmirxss1 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hdmitx1 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hdmitxss1 ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-hscaler ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_video-common ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-letterbox ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-mix ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-mix-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-multi-scaler ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-multi-scaler-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_vphy ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_vprocss ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_vprocss-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-scenechange ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-scenechange-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_vtc ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-tpg ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-vcresampler ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-vscaler ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-warp-filter ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_v-warp-init ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_wdtps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_wdtps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_wdttb ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_wdttb-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xadcps ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xadcps-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xdmapcie ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xdmapcie-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xxvethernet ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_xxvethernet-example ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_zdma ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_zdma-example ??= "${PREFERRED_VERSION_esw}%" +# We need to load the ESW and related config components, only if XILINX_WITH_ESW +# is in defined in some way. Since we don't know the configuration during +# layer.conf load time, we delay using a special bbclass that simply includes +# the META_XILINX_STANDLONE_CONFIG_PATH file. +META_XILINX_STANDLONE_SDT_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-xilinx-standalone-sdt-default-versions.inc" -# The following are applications that use the libraries and drivers -PREFERRED_VERSION_ddr-self-refresh ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_empty-application ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_freertos-hello-world ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_freertos-lwip-echo-server ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_freertos-lwip-tcp-perf-client ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_freertos-lwip-tcp-perf-server ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_freertos-lwip-udp-perf-client ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_freertos-lwip-udp-perf-server ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_hello-world ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_lwip-echo-server ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_lwip-tcp-perf-client ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_lwip-tcp-perf-server ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_lwip-udp-perf-client ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_lwip-udp-perf-server ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_memory-tests ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_openamp-fw-echo-testd.bb ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_openamp-fw-mat-muld.bb ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_openamp-fw-rpc-demo.bb ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_peripheral-tests ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_sample-fw-package.bb ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_srec-bootloader ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_srec-spi-bootloader ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_zynq-dram-test ??= "${PREFERRED_VERSION_esw}%" -PREFERRED_VERSION_zynqmp-dram-test ??= "${PREFERRED_VERSION_esw}%" +USER_CLASSES:append = " meta-xilinx-standalone-sdt-cfg" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend new file mode 100644 index 00000000..e195f5a4 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend @@ -0,0 +1 @@ +require ${@'fsbl-firmware_sdt.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend deleted file mode 100644 index d40f3cdb..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.1.bbappend +++ /dev/null @@ -1,66 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -# Not compatible with Zynq -COMPATIBLE_MACHINE:zynq = "none" -COMPATIBLE_MACHINE:microblaze = "none" - -ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" -ESW_COMPONENT_SRC:zynq = "/lib/sw_apps/zynq_fsbl/src" -ESW_COMPONENT_SRC:zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" - -DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" - -python() { - psu_init_path = d.getVar('PSU_INIT_PATH') - if not psu_init_path: - psu_init_path = os.path.dirname(d.getVar('SYSTEM_DTFILE')) - - psu_init_c = os.path.join(psu_init_path, 'psu_init.c') - psu_init_h = os.path.join(psu_init_path, 'psu_init.h') - - add_path = False - if os.path.exists(psu_init_c): - d.appendVar('SRC_URI', ' file://psu_init.c') - add_path = True - - if os.path.exists(psu_init_h): - d.appendVar('SRC_URI', ' file://psu_init.h') - add_path = True - - if add_path: - d.prependVar('FILESEXTRAPATHS', '%s:' % psu_init_path) -} - -do_configure:prepend() { - if [ -e ${WORKDIR}/psu_init.c ]; then - install -m 0644 ${WORKDIR}/psu_init.c ${S}/${ESW_COMPONENT_SRC} - else - bbwarn "Using the default psu_init.c, this may not work correctly." - fi - - if [ -e ${WORKDIR}/psu_init.h ]; then - install -m 0644 ${WORKDIR}/psu_init.h ${S}/${ESW_COMPONENT_SRC} - else - bbwarn "Using the default psu_init.h, this may not work correctly." - fi - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} -} - -do_install() { - : -} - -addtask deploy before do_build after do_package - -ESW_COMPONENT = "undefined" -ESW_COMPONENT:zynq = "zynq_fsbl.elf" -ESW_COMPONENT:zynqmp = "zynqmp_fsbl.elf" - -CFLAGS:append:aarch64 = " -DARMA53_64" -CFLAGS:append:armv7r = " -DARMR5" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.2.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.2.bbappend deleted file mode 100644 index d40f3cdb..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_2024.2.bbappend +++ /dev/null @@ -1,66 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -# Not compatible with Zynq -COMPATIBLE_MACHINE:zynq = "none" -COMPATIBLE_MACHINE:microblaze = "none" - -ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" -ESW_COMPONENT_SRC:zynq = "/lib/sw_apps/zynq_fsbl/src" -ESW_COMPONENT_SRC:zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" - -DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" - -python() { - psu_init_path = d.getVar('PSU_INIT_PATH') - if not psu_init_path: - psu_init_path = os.path.dirname(d.getVar('SYSTEM_DTFILE')) - - psu_init_c = os.path.join(psu_init_path, 'psu_init.c') - psu_init_h = os.path.join(psu_init_path, 'psu_init.h') - - add_path = False - if os.path.exists(psu_init_c): - d.appendVar('SRC_URI', ' file://psu_init.c') - add_path = True - - if os.path.exists(psu_init_h): - d.appendVar('SRC_URI', ' file://psu_init.h') - add_path = True - - if add_path: - d.prependVar('FILESEXTRAPATHS', '%s:' % psu_init_path) -} - -do_configure:prepend() { - if [ -e ${WORKDIR}/psu_init.c ]; then - install -m 0644 ${WORKDIR}/psu_init.c ${S}/${ESW_COMPONENT_SRC} - else - bbwarn "Using the default psu_init.c, this may not work correctly." - fi - - if [ -e ${WORKDIR}/psu_init.h ]; then - install -m 0644 ${WORKDIR}/psu_init.h ${S}/${ESW_COMPONENT_SRC} - else - bbwarn "Using the default psu_init.h, this may not work correctly." - fi - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} -} - -do_install() { - : -} - -addtask deploy before do_build after do_package - -ESW_COMPONENT = "undefined" -ESW_COMPONENT:zynq = "zynq_fsbl.elf" -ESW_COMPONENT:zynqmp = "zynqmp_fsbl.elf" - -CFLAGS:append:aarch64 = " -DARMA53_64" -CFLAGS:append:armv7r = " -DARMR5" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc new file mode 100644 index 00000000..5b2cceba --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc @@ -0,0 +1,67 @@ +inherit esw + +# Not compatible with Zynq +COMPATIBLE_MACHINE:zynq = "none" +COMPATIBLE_MACHINE:microblaze = "none" + +ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" +ESW_COMPONENT_SRC:zynq = "/lib/sw_apps/zynq_fsbl/src" +ESW_COMPONENT_SRC:zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" + +DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" + +CFLAGS:append:aarch64 = " -DARMA53_64" +CFLAGS:append:armv7r = " -DARMR5" + +python() { + psu_init_path = d.getVar('PSU_INIT_PATH') + if not psu_init_path: + psu_init_path = os.path.dirname(d.getVar('SYSTEM_DTFILE')) + + psu_init_c = os.path.join(psu_init_path, 'psu_init.c') + psu_init_h = os.path.join(psu_init_path, 'psu_init.h') + + add_path = False + if os.path.exists(psu_init_c): + d.appendVar('SRC_URI', ' file://psu_init.c') + add_path = True + + if os.path.exists(psu_init_h): + d.appendVar('SRC_URI', ' file://psu_init.h') + add_path = True + + if add_path: + d.prependVar('FILESEXTRAPATHS', '%s:' % psu_init_path) +} + +do_configure:prepend() { + if [ -e ${WORKDIR}/psu_init.c ]; then + install -m 0644 ${WORKDIR}/psu_init.c ${S}/${ESW_COMPONENT_SRC} + else + bbwarn "Using the default psu_init.c, this may not work correctly." + fi + + if [ -e ${WORKDIR}/psu_init.h ]; then + install -m 0644 ${WORKDIR}/psu_init.h ${S}/${ESW_COMPONENT_SRC} + else + bbwarn "Using the default psu_init.h, this may not work correctly." + fi + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} +} + +do_install() { + : +} + +PACKAGES = "" + +ESW_COMPONENT = "undefined" +ESW_COMPONENT:zynq = "zynq_fsbl.elf" +ESW_COMPONENT:zynqmp = "zynqmp_fsbl.elf" + +do_deploy() { + install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${FSBL_BASE_NAME}.elf + ln -sf ${FSBL_BASE_NAME}.elf ${DEPLOYDIR}/${FSBL_IMAGE_NAME}.elf +} + +addtask deploy before do_build after do_package diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_%.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_%.bbappend new file mode 100644 index 00000000..56590e90 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_%.bbappend @@ -0,0 +1 @@ +require ${@'plm-firmware_sdt.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend deleted file mode 100644 index 202764ac..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.1.bbappend +++ /dev/null @@ -1,34 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -ESW_COMPONENT_SRC = "/lib/sw_apps/versal_plm/src/" - -ESW_COMPONENT = "versal_plm.elf" - -do_configure:prepend() { - ( - cd ${S} - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} - ) -} - -do_configure() { - cmake_do_configure -} - -do_compile() { - cmake_do_compile - - ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin -} - -do_install() { - : -} - -DEPENDS += "xilstandalone xiltimer xilffs xilpdi xilplmi xilloader xilpm xilsecure xilsem xilnvm" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.2.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.2.bbappend deleted file mode 100644 index 202764ac..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_2024.2.bbappend +++ /dev/null @@ -1,34 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -ESW_COMPONENT_SRC = "/lib/sw_apps/versal_plm/src/" - -ESW_COMPONENT = "versal_plm.elf" - -do_configure:prepend() { - ( - cd ${S} - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} - ) -} - -do_configure() { - cmake_do_configure -} - -do_compile() { - cmake_do_compile - - ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin -} - -do_install() { - : -} - -DEPENDS += "xilstandalone xiltimer xilffs xilpdi xilplmi xilloader xilpm xilsecure xilsem xilnvm" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_sdt.inc new file mode 100644 index 00000000..75580ba3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/plm-firmware_sdt.inc @@ -0,0 +1,31 @@ +inherit esw + +DEPENDS += "xilstandalone xiltimer xilffs xilpdi xilplmi xilloader xilpm xilsecure xilsem xilnvm" + +ESW_COMPONENT_SRC = "/lib/sw_apps/versal_plm/src/" + +do_configure:prepend() { + ( + cd ${S} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_compile:append() { + ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin +} + +do_install() { + : +} + +ESW_COMPONENT = "versal_plm.elf" + +do_deploy() { + install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${PLM_BASE_NAME}.elf + ln -sf ${PLM_BASE_NAME}.elf ${DEPLOYDIR}/${PLM_IMAGE_NAME}.elf + install -m 0644 ${B}/${ESW_COMPONENT}.bin ${DEPLOYDIR}/${PLM_BASE_NAME}.bin + ln -sf ${PLM_BASE_NAME}.bin ${DEPLOYDIR}/${PLM_IMAGE_NAME}.bin +} + +addtask deploy before do_build after do_install diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_%.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_%.bbappend new file mode 100644 index 00000000..26c09a7f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_%.bbappend @@ -0,0 +1 @@ +require ${@'pmu-firmware_sdt.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend deleted file mode 100644 index 0c51fbad..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.1.bbappend +++ /dev/null @@ -1,25 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" - -ESW_COMPONENT = "zynqmp_pmufw.elf" - - -do_configure:prepend() { - ( - cd ${S} - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} - ) -} - -do_install() { - : -} - -DEPENDS += "xilstandalone xiltimer xilfpga xilskey" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.2.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.2.bbappend deleted file mode 100644 index 0c51fbad..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_2024.2.bbappend +++ /dev/null @@ -1,25 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" - -ESW_COMPONENT = "zynqmp_pmufw.elf" - - -do_configure:prepend() { - ( - cd ${S} - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} - ) -} - -do_install() { - : -} - -DEPENDS += "xilstandalone xiltimer xilfpga xilskey" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_sdt.inc new file mode 100644 index 00000000..e5b123cd --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/pmu-firmware_sdt.inc @@ -0,0 +1,31 @@ +inherit esw + +ESW_COMPONENT_SRC = "/lib/sw_apps/zynqmp_pmufw/src" + +DEPENDS += "xilstandalone xiltimer xilfpga xilskey" + +do_configure:prepend() { + ( + cd ${S} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_compile:append() { + ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin +} + +do_install() { + : +} + +ESW_COMPONENT = "zynqmp_pmufw.elf" + +do_deploy() { + install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.elf + ln -sf ${PMU_FIRMWARE_BASE_NAME}.elf ${DEPLOYDIR}/${PMU_FIRMWARE_IMAGE_NAME}.elf + install -m 0644 ${B}/${ESW_COMPONENT}.bin ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.bin + ln -sf ${PMU_FIRMWARE_BASE_NAME}.bin ${DEPLOYDIR}/${PMU_FIRMWARE_IMAGE_NAME}.bin +} + +addtask deploy before do_build after do_install diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_%.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_%.bbappend new file mode 100644 index 00000000..2033f801 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_%.bbappend @@ -0,0 +1 @@ +require ${@'psm-firmware_sdt.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend deleted file mode 100644 index 96cd38cd..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.1.bbappend +++ /dev/null @@ -1,34 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/" - -ESW_COMPONENT = "versal_psmfw.elf" - -do_configure:prepend() { - ( - cd ${S} - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} - ) -} - -do_configure() { - cmake_do_configure -} - -do_compile() { - cmake_do_compile - - ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin -} - -do_install() { - : -} - -DEPENDS += "xilstandalone libxil xiltimer" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.2.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.2.bbappend deleted file mode 100644 index 96cd38cd..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_2024.2.bbappend +++ /dev/null @@ -1,34 +0,0 @@ -# We WANT to default to this version when available -DEFAULT_PREFERENCE = "100" - -# Reset this -SRC_URI = "${EMBEDDEDSW_SRCURI}" - -inherit esw - -ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/" - -ESW_COMPONENT = "versal_psmfw.elf" - -do_configure:prepend() { - ( - cd ${S} - install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} - ) -} - -do_configure() { - cmake_do_configure -} - -do_compile() { - cmake_do_compile - - ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin -} - -do_install() { - : -} - -DEPENDS += "xilstandalone libxil xiltimer" diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_sdt.inc new file mode 100644 index 00000000..acd3a82a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/psm-firmware_sdt.inc @@ -0,0 +1,31 @@ +inherit esw + +DEPENDS += "xilstandalone libxil xiltimer" + +ESW_COMPONENT_SRC = "/lib/sw_apps/versal_psmfw/src/" + +do_configure:prepend() { + ( + cd ${S} + install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} + ) +} + +do_compile:append() { + ${OBJCOPY} -O binary ${B}/${ESW_COMPONENT} ${B}/${ESW_COMPONENT}.bin +} + +do_install() { + : +} + +ESW_COMPONENT = "versal_psmfw.elf" + +do_deploy() { + install -Dm 0644 ${B}/${ESW_COMPONENT} ${DEPLOYDIR}/${PSM_FIRMWARE_BASE_NAME}.elf + ln -sf ${PSM_FIRMWARE_BASE_NAME}.elf ${DEPLOYDIR}/${PSM_FIRMWARE_IMAGE_NAME}.elf + install -m 0644 ${B}/${ESW_COMPONENT}.bin ${DEPLOYDIR}/${PSM_FIRMWARE_BASE_NAME}.bin + ln -sf ${PSM_FIRMWARE_BASE_NAME}.bin ${DEPLOYDIR}/${PSM_FIRMWARE_IMAGE_NAME}.bin +} + +addtask deploy before do_build after do_install -- cgit v1.2.3-54-g00ecf From d7c566a3a7f91533a83013a35afa75c2f401b16f Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 28 May 2024 14:39:09 -0600 Subject: meta-xilinx-standalone-sdt: layer.conf: temporary workaround Set a default value for XILINX_WITH_ESW until gen-machine-conf can be adjusted. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/conf/layer.conf b/meta-xilinx-standalone-sdt/conf/layer.conf index 0f153e93..805e002c 100644 --- a/meta-xilinx-standalone-sdt/conf/layer.conf +++ b/meta-xilinx-standalone-sdt/conf/layer.conf @@ -26,7 +26,7 @@ LAYERDEPENDS_xilinx-standalone-sdt = "core \ LAYERSERIES_COMPAT_xilinx-standalone-sdt = "scarthgap" # Set this to enable this layer -#XILINX_WITH_ESW = "sdt" +XILINX_WITH_ESW ?= "sdt" # Sanity check for meta-xilinx-standalone layer. # Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check. -- cgit v1.2.3-54-g00ecf From 82a7d0286dd5fdd4c624416347419baf3bdc82ff Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 3 Jun 2024 14:48:48 -0600 Subject: meta-xilinx-standalone-sdt: esw.bbclas: Avoid exception When the glob '*_g.c' does not exist in the source code an exception could occur. Avoid this by checking if any files were found before looking for the first file. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass index 921e2fe0..a87e1dad 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass @@ -152,7 +152,7 @@ python do_generate_driver_data() { command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] subprocess.run(command, check = True) src_file = glob.glob('*_g.c') - if os.path.exists(src_file[0]): + if src_file and os.path.exists(src_file[0]): bb.note("Generated config file for driver %s" % driver_name) command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]] subprocess.run(command, check = True) -- cgit v1.2.3-54-g00ecf From 195e1fa9fb13b21bc41af4e0747d4646caeb65e5 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 4 Jun 2024 16:51:04 -0600 Subject: various: Remove SOC_VARIANT, split versal and versal-net, add machine_features SOC_VARIANT has been remove, we are now only using the YP standard SOC_FAMILY configuration. The defined families are: zynq, zynqmp, versal and versal-net. Our decision of breaking up versal-net from versal, is based on the SoC CPU changes from cortexa72/r5 to cortexa78/r52, thus we're treating it as a different SoC family. In order to capture the individual capabilities that we used to handle via SOC_VARIANT, we have defined the following features (some may have been previously defined): - mali400 (zynqmp eg and ev) - vcu (zynqmp ev) - rfsoc (zynqmp dr RF capabiltiies) - aie - (versal ai & premium) - vdu - (versal ai) SOC_VARIANT_ARCH and SOC_FAMILY_ARCH are now obsolete and replaced by MACHINE_ARCH. This is based on the guideline that any recipes that use MACHINE_FEATURES should be MACHINE_ARCH specific. Signed-off-by: Mark Hatle --- meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf | 4 +- .../classes-recipe/qemuboot-xilinx.bbclass | 12 +-- meta-xilinx-core/conf/layer.conf | 2 +- meta-xilinx-core/conf/machine/README | 2 - .../conf/machine/include/soc-versal-net.inc | 26 ++++++ .../conf/machine/include/soc-versal.inc | 20 ++--- meta-xilinx-core/conf/machine/include/soc-zynq.inc | 8 +- .../conf/machine/include/soc-zynqmp.inc | 26 ++---- .../conf/machine/include/xilinx-soc-family.inc | 10 --- .../conf/machine/versal-ai-core-generic.conf | 2 +- .../conf/machine/versal-ai-edge-generic.conf | 2 +- .../conf/machine/versal-hbm-generic.conf | 2 - .../conf/machine/versal-net-generic.conf | 98 ++++++++++++++++++++-- .../conf/machine/versal-premium-generic.conf | 2 +- .../conf/machine/versal-prime-generic.conf | 2 - .../conf/machine/zynqmp-cg-generic.conf | 2 - .../conf/machine/zynqmp-dr-generic.conf | 2 +- .../conf/machine/zynqmp-eg-generic.conf | 2 +- .../conf/machine/zynqmp-ev-generic.conf | 2 +- .../open-amp/open-amp-xlnx_%.bbappend | 3 + .../openamp-layer/recipes-xrt/xrt/xrt_%.bbappend | 20 ++--- .../recipes-xrt/xrt/xrt_202310.2.15.0.bbappend | 3 +- .../recipes-xrt/xrt/xrt_202320.2.16.0.bbappend | 3 +- meta-xilinx-core/lib/devtool/boot-jtag.py | 30 ++++--- .../recipes-apps/image-update/image-update_1.1.bb | 3 +- .../recipes-bsp/ai-engine/ai-engine-driver_3.3.bb | 10 +-- .../recipes-bsp/ai-engine/ai-engine-driver_3.4.bb | 12 ++- .../recipes-bsp/ai-engine/ai-engine-driver_3.5.bb | 12 ++- .../recipes-bsp/ai-engine/aiefal_1.4.bb | 10 +-- .../recipes-bsp/ai-engine/aiefal_1.5.bb | 12 ++- .../recipes-bsp/ai-engine/aiefal_1.6.bb | 12 ++- .../arm-trusted-firmware/arm-trusted-firmware.inc | 4 + .../recipes-bsp/base-pdi/base-pdi_1.0.bb | 1 + .../bootbin/machine-xilinx-versal-net.inc | 1 + .../recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | 18 +++- .../recipes-bsp/cdo/extract-cdo_1.0.bb | 1 + .../recipes-bsp/device-tree/device-tree.bb | 1 + .../recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb | 1 + .../recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb | 1 + .../recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb | 1 + .../recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb | 1 + meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb | 1 + meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb | 1 + meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb | 1 + .../recipes-bsp/libdfx/libdfx_2023.1.bb | 1 + .../recipes-bsp/libdfx/libdfx_2023.2.bb | 1 + .../recipes-bsp/libdfx/libdfx_2024.1.bb | 1 + .../recipes-bsp/u-boot/u-boot-xlnx-scr.bb | 14 ++++ .../recipes-bsp/u-boot/u-boot-xlnx.inc | 2 +- .../images/core-image-ptest-all.bbappend | 1 + .../images/core-image-ptest-all.bbppend | 5 -- .../images/core-image-ptest-fast.bbappend | 1 + .../recipes-core/images/core-image-ptest.bbappend | 1 + .../recipes-kernel/dp/kernel-module-dp_6.6.10.bb | 1 + .../hdmi/kernel-module-hdmi_6.6.10.bb | 1 + .../linux-xlnx-udev-rules/linux-xlnx-udev-rules.bb | 1 + .../recipes-kernel/linux/linux-xlnx.inc | 3 + .../zocl/kernel-module-zocl_202310.2.15.0.bb | 1 + .../zocl/kernel-module-zocl_202320.2.16.0.bb | 1 + .../zocl/kernel-module-zocl_202410.2.17.0.bb | 1 + .../recipes-graphics/wayland/weston.inc | 15 +--- .../classes-recipe/esw.bbclass | 27 +++--- .../recipes-bsp/embeddedsw/plm-firmware.inc | 1 + .../recipes-bsp/embeddedsw/psm-firmware.inc | 1 + 64 files changed, 279 insertions(+), 190 deletions(-) create mode 100644 meta-xilinx-core/conf/machine/include/soc-versal-net.inc delete mode 100644 meta-xilinx-core/conf/machine/include/xilinx-soc-family.inc create mode 100644 meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend create mode 100644 meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc delete mode 100644 meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbppend (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf index c3518577..a9dbe800 100644 --- a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf @@ -3,9 +3,7 @@ #@DESCRIPTION: Machine support for ZC1254 Evaluation Board. # -SOC_VARIANT = "dr" - -require conf/machine/zynqmp-generic.conf +require conf/machine/zynqmp-dr-generic.conf # Add board compatibility override MACHINEOVERRIDES .= ":zc1254" diff --git a/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass b/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass index 5dc21efa..c021ea93 100644 --- a/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass +++ b/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass @@ -55,7 +55,7 @@ def qemu_add_extra_args(data): # Add kernel image and boot.scr to qemu boot command when initramfs_image supplied kernel_name = '' bootscr_image = '%s/boot.scr' % deploy_dir - if soc_family in ('zynqmp', 'versal'): + if soc_family in ('zynqmp', 'versal', 'versal-net'): kernel_name = 'Image' bootscr_loadaddr = '0x20000000' if initramfs_image: @@ -66,10 +66,10 @@ def qemu_add_extra_args(data): if kernel_name: qb_extra_args = ' -device loader,file=%s,addr=%s,force-raw=on' % (kernel_image, kernel_loadaddr) qb_extra_args += ' -device loader,file=%s,addr=%s,force-raw=on' % (bootscr_image, bootscr_loadaddr) - if soc_family == 'versal': + if soc_family in ('versal', 'versal-net'): qb_extra_args += ' %s' % boot_mode else: - if soc_family in ('zynqmp', 'versal'): + if soc_family in ('zynqmp', 'versal', 'versal-net'): qb_extra_args = ' %s' % boot_mode return qb_extra_args @@ -80,7 +80,6 @@ def qemu_rootfs_params(data, param): tune_features = (data.getVar('TUNE_FEATURES') or []).split() if 'microblaze' in tune_features: soc_family = 'microblaze' - soc_variant = data.getVar('SOC_VARIANT') or "" if param == 'rootfs': return 'none' if bundle_image == "1" else '' @@ -90,7 +89,8 @@ def qemu_rootfs_params(data, param): "microblaze": "cpio.gz", "zynq": "cpio.gz", "zynqmp": "cpio.gz.u-boot", - "versal": "cpio.gz.u-boot.qemu-sd-fatimg" + "versal": "cpio.gz.u-boot.qemu-sd-fatimg", + "versal-net": "cpio.gz.u-boot.qemu-sd-fatimg" } if not initramfs_image: image_fs = data.getVar('IMAGE_FSTYPES') @@ -104,7 +104,7 @@ def qemu_rootfs_params(data, param): sd_index = "1" if soc_family == 'zynq': sd_index = "0" - if soc_family == 'versal' and soc_variant == 'net': + if soc_family == 'versal-net': sd_index = "0" # Device is using a disk diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index 443e408e..bbd46631 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf @@ -44,7 +44,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ XILINX_RELEASE_VERSION ??= "v2024.2" -BUILDCFG_VARS:append = " SOC_VARIANT XILINX_RELEASE_VERSION" +BUILDCFG_VARS:append = " XILINX_RELEASE_VERSION" DEFAULT_XILINX_QEMU = "qemu-xilinx" DEFAULT_XILINX_QEMU:arm = "qemu" diff --git a/meta-xilinx-core/conf/machine/README b/meta-xilinx-core/conf/machine/README index de8cf58d..f664a2f0 100644 --- a/meta-xilinx-core/conf/machine/README +++ b/meta-xilinx-core/conf/machine/README @@ -132,8 +132,6 @@ easiy make a local change, if allowed by the machine .conf: UBOOT_MACHINE - The defconfig for u-boot. (Note, this may be an error TBD). -SOC_VARIANT - See include/soc-*.inc (Note, most machines this is fixed). - The following variables must be set AFTER the 'require' line, using '=' or '+='/'=+' as required. Using ':append', ':prepend', or ':remove' will diff --git a/meta-xilinx-core/conf/machine/include/soc-versal-net.inc b/meta-xilinx-core/conf/machine/include/soc-versal-net.inc new file mode 100644 index 00000000..b59bdacc --- /dev/null +++ b/meta-xilinx-core/conf/machine/include/soc-versal-net.inc @@ -0,0 +1,26 @@ +DEFAULTTUNE ?= "cortexa72-cortexa53" +SOC_FAMILY ?= "versal-net" + +require conf/machine/include/soc-family.inc +require soc-tune-include.inc + +# Linux Configuration +KERNEL_IMAGETYPE ?= "Image" + +WIC_DEPENDS ?= "virtual/kernel virtual/bootloader virtual/boot-bin virtual/arm-trusted-firmware" + +UBOOT_ELF ?= "u-boot.elf" + +# Default, if multiconfig is off, call plm/psm-firmware directly, otherwise call the versal-fw multiconfig version +# The Linux compatible plm/psm-firmware though requires meta-xilinx-tools +PLM_DEPENDS ??= "" +PLM_MCDEPENDS ??= "" +PLM_DEPLOY_DIR ??= "${DEPLOY_DIR_IMAGE}" +PLM_IMAGE_NAME ??= "plm-${MACHINE}" +PLM_DEPLOY_DIR[vardepsexclude] += "TOPDIR" + +PSM_DEPENDS ??= "" +PSM_MCDEPENDS ??= "" +PSM_FIRMWARE_DEPLOY_DIR ??= "${DEPLOY_DIR_IMAGE}" +PSM_FIRMWARE_IMAGE_NAME ??= "psm-firmware-${MACHINE}" +PSM_DEPLOY_DIR[vardepsexclude] += "TOPDIR" diff --git a/meta-xilinx-core/conf/machine/include/soc-versal.inc b/meta-xilinx-core/conf/machine/include/soc-versal.inc index dcf3796e..daa129af 100644 --- a/meta-xilinx-core/conf/machine/include/soc-versal.inc +++ b/meta-xilinx-core/conf/machine/include/soc-versal.inc @@ -1,17 +1,15 @@ DEFAULTTUNE ?= "cortexa72-cortexa53" SOC_FAMILY ?= "versal" -# Available SOC_VARIANT's for versal: -# "prime" - Versal deafult Prime Devices -# "premium" - Versal Premium Devices -# "hbm" - Versal HMB Devices -# "ai-core" - Versal AI-core Devices -# "ai-edge" - Versal AI-Edge Devices -# "net" - Versal Net Devices - -SOC_VARIANT ?= "prime" - -require xilinx-soc-family.inc +# Available MACHINE_FETURES for versal processors: +# prime - (none) +# premium - aie +# hbm - (none) +# ai-core - aie, vdu +# ai-edge - aie, vdu +# net - none + +require conf/machine/include/soc-family.inc require soc-tune-include.inc # Linux Configuration diff --git a/meta-xilinx-core/conf/machine/include/soc-zynq.inc b/meta-xilinx-core/conf/machine/include/soc-zynq.inc index eea02a6c..e456a31f 100644 --- a/meta-xilinx-core/conf/machine/include/soc-zynq.inc +++ b/meta-xilinx-core/conf/machine/include/soc-zynq.inc @@ -1,13 +1,7 @@ DEFAULTTUNE ?= "cortexa9thf-neon" SOC_FAMILY ?= "zynq" -# Available SOC_VARIANT's for zynq: -# 7zs - Zynq-7000 Single A9 Core -# 7z - Zynq-7000 Dual A9 Core - -SOC_VARIANT ?= "7z" - -require xilinx-soc-family.inc +require conf/machine/include/soc-family.inc require soc-tune-include.inc # Linux Configuration diff --git a/meta-xilinx-core/conf/machine/include/soc-zynqmp.inc b/meta-xilinx-core/conf/machine/include/soc-zynqmp.inc index 95ac54e2..a9c3ad73 100644 --- a/meta-xilinx-core/conf/machine/include/soc-zynqmp.inc +++ b/meta-xilinx-core/conf/machine/include/soc-zynqmp.inc @@ -1,27 +1,13 @@ DEFAULTTUNE ?= "cortexa72-cortexa53" SOC_FAMILY ?= "zynqmp" -# Available SOC_VARIANT's for zynqmp: -# "cg" - Zynq UltraScale+ CG Devices (default lowest common denominator) -# "eg" - Zynq UltraScale+ EG Devices -# "ev" - Zynq UltraScale+ EV Devices -# "dr" - Zynq UltraScale+ DR Devices - -SOC_VARIANT ?= "cg" - -# Add VCU feature on "ev" devices -VCU_MACHINE_FEATURE = "" -VCU_MACHINE_FEATURE:zynqmp-ev = " vcu" -MACHINE_FEATURES .= "${VCU_MACHINE_FEATURE}" - -# Add mali400 a.k.a Mali Utgard, "ev" and "eg" devices -MALI_MACHINE_FEATURE = "" -MALI_MACHINE_FEATURE:zynqmp-eg = " mali400" -MALI_MACHINE_FEATURE:zynqmp-ev = " mali400" -MACHINE_FEATURES .= "${MALI_MACHINE_FEATURE}" - -require xilinx-soc-family.inc +# Available MACHINE_FETURES for zynqmp processors: +# zynqmp-cg - (none) +# zynqmp-eg - mali400 +# zynqmp-ev - mali400, vcu +# zynqmp-dr - rfsoc +require conf/machine/include/soc-family.inc require soc-tune-include.inc # Linux Configuration diff --git a/meta-xilinx-core/conf/machine/include/xilinx-soc-family.inc b/meta-xilinx-core/conf/machine/include/xilinx-soc-family.inc deleted file mode 100644 index dd54f5c6..00000000 --- a/meta-xilinx-core/conf/machine/include/xilinx-soc-family.inc +++ /dev/null @@ -1,10 +0,0 @@ -SOC_VARIANT ??= "" -MACHINEOVERRIDES =. "${@['', '${SOC_FAMILY}-${SOC_VARIANT}:']['${SOC_VARIANT}' != '']}" - -require conf/machine/include/soc-family.inc - -SOC_FAMILY_ARCH ?= "${SOC_FAMILY}" -SOC_VARIANT_ARCH ?= "${@['${SOC_FAMILY}-${SOC_VARIANT}','${SOC_FAMILY}'][d.getVar('SOC_VARIANT')=='']}" - -PACKAGE_EXTRA_ARCHS:append = " ${SOC_FAMILY_ARCH}" -PACKAGE_EXTRA_ARCHS:append = "${@['', ' ${SOC_VARIANT_ARCH}'][d.getVar('SOC_VARIANT_ARCH') != d.getVar('SOC_FAMILY_ARCH')]}" diff --git a/meta-xilinx-core/conf/machine/versal-ai-core-generic.conf b/meta-xilinx-core/conf/machine/versal-ai-core-generic.conf index 34f57691..3b7218c1 100644 --- a/meta-xilinx-core/conf/machine/versal-ai-core-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-ai-core-generic.conf @@ -4,7 +4,7 @@ MACHINEOVERRIDES =. "${@['', 'versal-ai-core-generic:']['versal-ai-core-generic' require conf/machine/versal-generic.conf -SOC_VARIANT = "ai-core" +MACHINE_FEATURES += "aie vdu" #### No additional settings should be after the Postamble #### Postamble diff --git a/meta-xilinx-core/conf/machine/versal-ai-edge-generic.conf b/meta-xilinx-core/conf/machine/versal-ai-edge-generic.conf index 1028ac04..2b4f94d2 100644 --- a/meta-xilinx-core/conf/machine/versal-ai-edge-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-ai-edge-generic.conf @@ -4,7 +4,7 @@ MACHINEOVERRIDES =. "${@['', 'versal-ai-edge-generic:']['versal-ai-edge-generic' require conf/machine/versal-generic.conf -SOC_VARIANT = "ai-edge" +MACHINE_FEATURES += "aie vdu" # VEK280 board has 12GB memory only but default versal-generic has QB_MEM set to # 8G, Hence we need set 12G in QB_MEM. diff --git a/meta-xilinx-core/conf/machine/versal-hbm-generic.conf b/meta-xilinx-core/conf/machine/versal-hbm-generic.conf index 3e72da60..9fef78f3 100644 --- a/meta-xilinx-core/conf/machine/versal-hbm-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-hbm-generic.conf @@ -4,8 +4,6 @@ MACHINEOVERRIDES =. "${@['', 'versal-hbm-generic:']['versal-hbm-generic' != '${M require conf/machine/versal-generic.conf -SOC_VARIANT = "hbm" - # VHK158 has 32GB memory only but default versal-generic has QB_MEM set to 8G, # Since versal-vhk158-reva.dts has 32GB set, we need set same in QB_MEM QB_MEM = "-m 32G" diff --git a/meta-xilinx-core/conf/machine/versal-net-generic.conf b/meta-xilinx-core/conf/machine/versal-net-generic.conf index eb450bbf..65c2dd23 100644 --- a/meta-xilinx-core/conf/machine/versal-net-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-net-generic.conf @@ -6,30 +6,83 @@ MACHINEOVERRIDES =. "${@['', 'versal-net-generic:']['versal-net-generic' != '${MACHINE}']}" #### Regular settings follow -# Must be set first, or versal-generic will set it -UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig" +# Variables that changes based on hw design or board specific requirement must be +# defined before calling the required inclusion file else pre-expansion value +# defined in local.conf without machine override will not be reflected. -# Yocto Versal Net device-tree variables +# Yocto Versal device-tree variables YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "psx_wizard_0_psxl_0_psx_sbsauart_0" +DT_PADDING_SIZE:pn-device-tree ?= "0x1000" +DTC_FLAGS:pn-device-tree = "-@" YAML_DT_BOARD_FLAGS ?= "{BOARD versal-net-ipp-rev1.9}" -# Yocto Versal Net PLM variables +# Yocto Versal u-boot-xlnx variables +UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig" +BOOTMODE ?= "generic.root" + +# Yocto Versal arm-trusted-firmware(TF-A) variables +TFA_BL33_LOAD ?= "0x8000000" + +# Yocto Versal PLM variables YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "psx_wizard_0_psxl_0_psx_sbsauart_0" YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "psx_wizard_0_psxl_0_psx_sbsauart_0" +# Yocto Versal KERNEL Variables +UBOOT_ENTRYPOINT ?= "0x200000" +UBOOT_LOADADDRESS ?= "0x200000" + # Versal Serial Console SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200" -require conf/machine/versal-generic.conf +require conf/machine/include/soc-versal-net.inc +require conf/machine/include/machine-xilinx-default.inc +require conf/machine/include/machine-xilinx-qemu.inc -SOC_VARIANT = "net" - -# versal-generic.conf uses vck190-versal xsa as reference input. +# versal-net-generic.conf uses a qemu only xsa as reference input. # User can override with custom xsa using HDF_BASE and HDF_PATH variables from # local.conf. HDF_MACHINE = "versal-net-generic" +MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost" + +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "${PREFERRED_PROVIDER_virtual/dtb}" + +# Default SD image build onfiguration, use qemu-sd to pad +IMAGE_CLASSES += "image-types-xilinx-qemu" +# Add wic.qemu-sd only if initramfs_image not set due to circular dependecies +IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz.u-boot.qemu-sd-fatimg'}" + +EXTRA_IMAGEDEPENDS += " \ + libyaml-native \ + python3-cython-native \ + python3-pyyaml-native \ + arm-trusted-firmware \ + virtual/boot-bin \ + virtual/bootloader \ + virtual/psm-firmware \ + virtual/plm \ + u-boot-xlnx-scr \ + qemu-devicetrees:do_deploy \ + virtual/cdo:do_deploy \ + " + +IMAGE_BOOT_FILES += " \ + boot.bin \ + ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', '', d)} \ + Image \ + boot.scr \ + " + +# Versal QEMU Configurations +# This machine has a QEMU model, runqemu setup: +QB_MEM = "-m 8G" +QB_DEFAULT_KERNEL = "none" +# Iteration appears to be eth0 then eth1 +QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@ -net nic" +QB_KERNEL_CMDLINE_APPEND ?= "" + +QEMU_HW_DTB_PATH = "${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch" QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-net-psx-spp-1.4.dtb" QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmx-virt.dtb" @@ -41,7 +94,34 @@ QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmx-virt.dtb" # hw serial3 pl011 (0xf1930000) - linux serial1 (ttyAMA1) QB_XILINX_SERIAL = "-serial null -serial null -serial mon:stdio -serial null" +QB_OSPI_FILE ??= "" + +QB_OPT_APPEND += " \ + -hw-dtb ${QEMU_HW_DTB_PS} \ + ${@qemu_add_extra_args(d)} \ + ${@'-bootbin ${QB_OSPI_FILE}' if d.getVar('QB_OSPI_FILE') != '' else ''} \ + " + +# PLM instance args +QB_PLM_OPT = " \ + -M microblaze-fdt \ + -device loader,addr=0xf0000000,data=0xba020004,data-len=4 \ + -device loader,addr=0xf0000004,data=0xb800fffc,data-len=4 \ + -device loader,addr=0xF1110624,data=0x0,data-len=4 \ + -device loader,addr=0xF1110620,data=0x1,data-len=4 \ + -hw-dtb ${QEMU_HW_DTB_PMC} \ + -display none \ + " + +QB_FW_FILES = " \ + -device loader,file=${DEPLOY_DIR_IMAGE}/BOOT-${MACHINE}_bh.bin,addr=0xF201E000,force-raw \ + -device loader,file=${DEPLOY_DIR_IMAGE}/CDO/pmc_cdo.bin,addr=0xf2000000,force-raw \ + -device loader,file=${DEPLOY_DIR_IMAGE}/plm-${MACHINE}.elf,cpu-num=1 \ +" +QB_PLM_OPT += "${@"d.getVar('QB_FW_FILES')" if d.getVar('QB_OSPI_FILE') == '' else ''}" + +QB_OPT_APPEND += " -plm-args '${QB_PLM_OPT}'" + #### No additional settings should be after the Postamble #### Postamble PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_net_generic']['versal-net-generic' != "${MACHINE}"]}" - diff --git a/meta-xilinx-core/conf/machine/versal-premium-generic.conf b/meta-xilinx-core/conf/machine/versal-premium-generic.conf index d785edff..357e852d 100644 --- a/meta-xilinx-core/conf/machine/versal-premium-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-premium-generic.conf @@ -4,7 +4,7 @@ MACHINEOVERRIDES =. "${@['', 'versal-premium-generic:']['versal-premium-generic' require conf/machine/versal-generic.conf -SOC_VARIANT = "premium" +MACHINE_FEATURES += "aie" #### No additional settings should be after the Postamble #### Postamble diff --git a/meta-xilinx-core/conf/machine/versal-prime-generic.conf b/meta-xilinx-core/conf/machine/versal-prime-generic.conf index 206f0e2a..edce3577 100644 --- a/meta-xilinx-core/conf/machine/versal-prime-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-prime-generic.conf @@ -4,8 +4,6 @@ MACHINEOVERRIDES =. "${@['', 'versal-prime-generic:']['versal-prime-generic' != require conf/machine/versal-generic.conf -SOC_VARIANT = "prime" - QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vmk180.dtb" #### No additional settings should be after the Postamble diff --git a/meta-xilinx-core/conf/machine/zynqmp-cg-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-cg-generic.conf index 38c9126f..44169186 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-cg-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-cg-generic.conf @@ -4,8 +4,6 @@ MACHINEOVERRIDES =. "${@['', 'zynqmp-cg-generic:']['zynqmp-cg-generic' != '${MAC require conf/machine/zynqmp-generic.conf -SOC_VARIANT = "cg" - #### No additional settings should be after the Postamble #### Postamble PACKAGE_EXTRA_ARCHS:append = "${@['', ' zynqmp_cg_generic']['zynqmp-cg-generic' != "${MACHINE}"]}" diff --git a/meta-xilinx-core/conf/machine/zynqmp-dr-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-dr-generic.conf index fbe445aa..316175af 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-dr-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-dr-generic.conf @@ -4,7 +4,7 @@ MACHINEOVERRIDES =. "${@['', 'zynqmp-dr-generic:']['zynqmp-dr-generic' != '${MAC require conf/machine/zynqmp-generic.conf -SOC_VARIANT = "dr" +MACHINE_FEATURES += "rfsoc" #### No additional settings should be after the Postamble #### Postamble diff --git a/meta-xilinx-core/conf/machine/zynqmp-eg-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-eg-generic.conf index 33375b46..239ded34 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-eg-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-eg-generic.conf @@ -4,7 +4,7 @@ MACHINEOVERRIDES =. "${@['', 'zynqmp-eg-generic:']['zynqmp-eg-generic' != '${MAC require conf/machine/zynqmp-generic.conf -SOC_VARIANT = "eg" +MACHINE_FEATURES += "mali400" #### No additional settings should be after the Postamble #### Postamble diff --git a/meta-xilinx-core/conf/machine/zynqmp-ev-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-ev-generic.conf index f2ffe40f..31d94f63 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-ev-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-ev-generic.conf @@ -4,7 +4,7 @@ MACHINEOVERRIDES =. "${@['', 'zynqmp-ev-generic:']['zynqmp-ev-generic' != '${MAC require conf/machine/zynqmp-generic.conf -SOC_VARIANT = "ev" +MACHINE_FEATURES += "mali400 vcu" #### No additional settings should be after the Postamble #### Postamble diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend new file mode 100644 index 00000000..33cd55c1 --- /dev/null +++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend @@ -0,0 +1,3 @@ +# Prevents parse failrues on zynq + +COMPATIBLE_MACHINE:zynq = "^$" diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_%.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_%.bbappend index 4d21c98b..0e7f3693 100644 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_%.bbappend +++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_%.bbappend @@ -1,14 +1,8 @@ # Use libmetal for systems with AIE -# For vck190 kind of devices -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" -EXTRA_OECMAKE:append:versal-ai-core = " -DXRT_AIE_BUILD=true" -TARGET_CXXFLAGS:append:versal-ai-core = " -DXRT_ENABLE_AIE -DFAL_LINUX=on" -DEPENDS:append:versal-ai-core = " libxaiengine aiefal" -RDEPENDS:${PN}:append:versal-ai-core = " libxaiengine aiefal" - -# For vek280 kind of devices -PACKAGE_ARCH:versal-ai-edge = "${SOC_VARIANT_ARCH}" -EXTRA_OECMAKE:append:versal-ai-edge = " -DXRT_AIE_BUILD=true" -TARGET_CXXFLAGS:append:versal-ai-edge = " -DXRT_ENABLE_AIE -DFAL_LINUX=on" -DEPENDS:append:versal-ai-edge = " libxaiengine aiefal" -RDEPENDS:${PN}:append:versal-ai-edge = " libxaiengine aiefal" +# For versal devices with the ai-engine +PACKAGE_ARCH_orig := "${PACKAGE_ARCH}" +PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'aie', '${MACHINE_ARCH}', '${PACKAGE_ARCH_orig}', d)}" +EXTRA_OECMAKE .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' -DXRT_AIE_BUILD=true', '', d)}" +TARGET_CXXFLAGS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' -DXRT_ENABLE_AIE -DFAL_LINUX=on', '', d)}" +DEPENDS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libxaiengine aiefal', '', d)}" +RDEPENDS:${PN} += "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libxaiengine aiefal', '', d)}" diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202310.2.15.0.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202310.2.15.0.bbappend index 89f1b4ad..362dc45a 100644 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202310.2.15.0.bbappend +++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202310.2.15.0.bbappend @@ -1,3 +1,2 @@ # Older xrt requires a manual dependency on libmetal -DEPENDS:append:versal-ai-core = " libmetal" -DEPENDS:append:versal-ai-edge = " libmetal" +DEPENDS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libmetal', '', d)}" diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202320.2.16.0.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202320.2.16.0.bbappend index 89f1b4ad..362dc45a 100644 --- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202320.2.16.0.bbappend +++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-xrt/xrt/xrt_202320.2.16.0.bbappend @@ -1,3 +1,2 @@ # Older xrt requires a manual dependency on libmetal -DEPENDS:append:versal-ai-core = " libmetal" -DEPENDS:append:versal-ai-edge = " libmetal" +DEPENDS .= "${@bb.utils.contains('MACHINE_FEATURES', 'aie', ' libmetal', '', d)}" diff --git a/meta-xilinx-core/lib/devtool/boot-jtag.py b/meta-xilinx-core/lib/devtool/boot-jtag.py index 53d70262..247851ec 100644 --- a/meta-xilinx-core/lib/devtool/boot-jtag.py +++ b/meta-xilinx-core/lib/devtool/boot-jtag.py @@ -32,7 +32,6 @@ def bootjtag(args, config, basepath, workspace): machine = rd.getVar('MACHINE') arch = rd.getVar('TARGET_ARCH') soc = rd.getVar("SOC_FAMILY") - soc_variant = rd.getVar("SOC_VARIANT") ddr_base_addr = rd.getVar('DDR_BASEADDR') kernel_img_name = rd.getVar('KERNEL_IMAGE') kernel_load_addr = rd.getVar('KERNEL_LOAD_ADDRESS') @@ -59,7 +58,7 @@ def bootjtag(args, config, basepath, workspace): # MB = (DDR base address + DDR Size) - 0xe00000 # Zynq 7000 = DDR base address + 0x3000000 # ZynqMP = DDR base address + 0x20000000 - # Versal = DDR base address + 0x20000000 + # Versal & Versal-net = DDR base address + 0x20000000 if arch == 'microblazeel': # Assuming DDR size is 2GB bootscr_addr = hex(int(ddr_base_addr, 16) + 0x80000000 - 0xe00000) @@ -93,7 +92,7 @@ def bootjtag(args, config, basepath, workspace): data['atf'] = os.path.join(deploy_dir, 'arm-trusted-firmware.elf') data['pmufw'] = os.path.join(deploy_dir, 'pmu-firmware-' + machine + '.elf') - if soc == 'versal': + if soc in ('versal', 'versal-net'): data['bootbin'] = os.path.join(deploy_dir, 'boot.bin') data['bootscr'] = os.path.join(deploy_dir, 'boot.scr') @@ -165,12 +164,17 @@ def bootjtag(args, config, basepath, workspace): lines.append('puts stderr "INFO: Downloading BOOT bin file: ' + data['bootbin'] + '"') lines.append('device program \"' + data['bootbin'] + '\"') lines.append('') - - if soc_variant == 'net': - lines.append('targets -set -nocase -filter {name =~ \"*A78*#0\"}') - else: - lines.append('targets -set -nocase -filter {name =~ \"*A72*#0\"}') - + lines.append('targets -set -nocase -filter {name =~ \"*A72*#0\"}') + lines.append('stop') + lines.append('') + lines.append('targets -set -nocase -filter {name =~ \"*Versal*\"}') + elif soc == 'versal-net': + # Download boot.bin to versal device + lines.append('targets -set -nocase -filter {name =~ \"*PMC*\"}') + lines.append('puts stderr "INFO: Downloading BOOT bin file: ' + data['bootbin'] + '"') + lines.append('device program \"' + data['bootbin'] + '\"') + lines.append('') + lines.append('targets -set -nocase -filter {name =~ \"*A78*#0\"}') lines.append('stop') lines.append('') lines.append('targets -set -nocase -filter {name =~ \"*Versal*\"}') @@ -235,10 +239,10 @@ def bootjtag(args, config, basepath, workspace): # Select A72 Core 0 to load and run Versal images if soc == 'versal': - if soc_variant == 'net': - lines.append('targets -set -nocase -filter {name =~ \"*A78*#0\"}') - else: - lines.append('targets -set -nocase -filter {name =~ \"*A72*#0\"}') + lines.append('targets -set -nocase -filter {name =~ \"*A72*#0\"}') + + if soc == 'versal-net': + lines.append('targets -set -nocase -filter {name =~ \"*A78*#0\"}') lines.append('con') lines.append('exit\n') diff --git a/meta-xilinx-core/recipes-apps/image-update/image-update_1.1.bb b/meta-xilinx-core/recipes-apps/image-update/image-update_1.1.bb index 1f1d0606..63718813 100644 --- a/meta-xilinx-core/recipes-apps/image-update/image-update_1.1.bb +++ b/meta-xilinx-core/recipes-apps/image-update/image-update_1.1.bb @@ -17,8 +17,9 @@ S = "${WORKDIR}/git" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" -PACKAGE_ARCH:zynqmp = "${SOC_FAMILY_ARCH}" +PACKAGE_ARCH:zynqmp = "${MACHINE_ARCH}" # Force the make system to use the flags we want! EXTRA_OEMAKE = 'CC="${CC} ${TARGET_CFLAGS} ${TARGET_LDFLAGS}" all' diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb index c609f3e4..e726ac5b 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb @@ -9,9 +9,11 @@ AIEDIR ?= "${S}/driver" S = "${WORKDIR}/git" I = "${AIEDIR}/include" -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" -COMPATIBLE_MACHINE:versal-ai-edge = "${SOC_VARIANT_ARCH}" +inherit features_check + +REQUIRED_MACHINE_FEATURES = "aie" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IOBACKENDS ?= "Linux" @@ -42,5 +44,3 @@ do_install(){ install -d ${D}${libdir} cp -dr ${AIEDIR}/src/*.so* ${D}${libdir} } - -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb index 154d02cf..92f44a34 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb @@ -9,9 +9,11 @@ AIEDIR ?= "${S}/driver" S = "${WORKDIR}/git" I = "${AIEDIR}/include" -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" -COMPATIBLE_MACHINE:versal-ai-edge = "${SOC_VARIANT_ARCH}" +inherit features_check + +REQUIRED_MACHINE_FEATURES = "aie" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IOBACKENDS ?= "Linux" @@ -42,7 +44,3 @@ do_install(){ install -d ${D}${libdir} cp -dr ${AIEDIR}/src/*.so* ${D}${libdir} } - -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" -PACKAGE_ARCH:versal-ai-edge = "${SOC_VARIANT_ARCH}" - diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb index 075fd94c..6befcffa 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb @@ -9,9 +9,11 @@ AIEDIR ?= "${S}/driver" S = "${WORKDIR}/git" I = "${AIEDIR}/include" -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" -COMPATIBLE_MACHINE:versal-ai-edge = "${SOC_VARIANT_ARCH}" +inherit features_check + +REQUIRED_MACHINE_FEATURES = "aie" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IOBACKENDS ?= "Linux" @@ -42,7 +44,3 @@ do_install(){ install -d ${D}${libdir} cp -dr ${AIEDIR}/src/*.so* ${D}${libdir} } - -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" -PACKAGE_ARCH:versal-ai-edge = "${SOC_VARIANT_ARCH}" - diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb index 7bb4b849..5b741f9a 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb @@ -8,9 +8,11 @@ SECTION = "devel" XAIEFAL_DIR ?= "fal" S = "${WORKDIR}/git" -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" -COMPATIBLE_MACHINE:versal-ai-edge = "${SOC_VARIANT_ARCH}" +inherit features_check + +REQUIRED_MACHINE_FEATURES = "aie" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IOBACKENDS ?= "Linux" @@ -29,5 +31,3 @@ EXTRA_OECMAKE:append = "${@'-DWITH_EXAMPLES=ON' if d.getVar('WITH_EXAMPLES') == FILES:${PN}-demos = " \ ${bindir}/* \ " - -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb index 45e38977..8b5c4334 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb @@ -8,9 +8,11 @@ SECTION = "devel" XAIEFAL_DIR ?= "fal" S = "${WORKDIR}/git" -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" -COMPATIBLE_MACHINE:versal-ai-edge = "${SOC_VARIANT_ARCH}" +inherit features_check + +REQUIRED_MACHINE_FEATURES = "aie" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IOBACKENDS ?= "Linux" @@ -29,7 +31,3 @@ EXTRA_OECMAKE:append = "${@'-DWITH_EXAMPLES=ON' if d.getVar('WITH_EXAMPLES') == FILES:${PN}-demos = " \ ${bindir}/* \ " - -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" -PACKAGE_ARCH:versal-ai-edge = "${SOC_VARIANT_ARCH}" - diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb index 5c479d05..f8c9482b 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb @@ -8,9 +8,11 @@ SECTION = "devel" XAIEFAL_DIR ?= "fal" S = "${WORKDIR}/git" -COMPATIBLE_MACHINE = "^$" -COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" -COMPATIBLE_MACHINE:versal-ai-edge = "${SOC_VARIANT_ARCH}" +inherit features_check + +REQUIRED_MACHINE_FEATURES = "aie" + +PACKAGE_ARCH = "${MACHINE_ARCH}" IOBACKENDS ?= "Linux" @@ -29,7 +31,3 @@ EXTRA_OECMAKE:append = "${@'-DWITH_EXAMPLES=ON' if d.getVar('WITH_EXAMPLES') == FILES:${PN}-demos = " \ ${bindir}/* \ " - -PACKAGE_ARCH:versal-ai-core = "${SOC_VARIANT_ARCH}" -PACKAGE_ARCH:versal-ai-edge = "${SOC_VARIANT_ARCH}" - diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index df97c3cf..67b97613 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc @@ -28,6 +28,7 @@ ATF_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}${IMAGE_VERSION_SUFFIX}" COMPATIBLE_MACHINE ?= "^$" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -47,10 +48,12 @@ LD[unexport] = "1" ATF_CONSOLE_DEFAULT = "" ATF_CONSOLE_DEFAULT:zynqmp = "cadence" ATF_CONSOLE_DEFAULT:versal = "pl011" +ATF_CONSOLE_DEFAULT:versal-net = "pl011" ATF_CONSOLE ?= "${ATF_CONSOLE_DEFAULT}" DEBUG_ATF_DEFAULT = "" DEBUG_ATF_DEFAULT:versal = "1" +DEBUG_ATF_DEFAULT:versal-net = "1" DEBUG_ATF ?= "${DEBUG_ATF_DEFAULT}" EXTRA_OEMAKE:append:zynqmp = "${@' ZYNQMP_CONSOLE=${ATF_CONSOLE}' if d.getVar('ATF_CONSOLE', True) != '' else ''}" @@ -125,3 +128,4 @@ FILES:${PN} += "/boot/*.elf /boot/*.bin /boot/*.ub" # Disable buildpaths QA check warnings for Versal. INSANE_SKIP:${PN}:append:versal = " buildpaths" +INSANE_SKIP:${PN}:append:versal-net = " buildpaths" diff --git a/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb b/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb index deb8bb3d..f3457640 100644 --- a/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb @@ -7,6 +7,7 @@ PROVIDES = "virtual/base-pdi" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:microblaze = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" PACKAGE_ARCH ?= "${MACHINE_ARCH}" diff --git a/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc new file mode 100644 index 00000000..46191720 --- /dev/null +++ b/meta-xilinx-core/recipes-bsp/bootbin/machine-xilinx-versal-net.inc @@ -0,0 +1 @@ +require machine-xilinx-versal.inc diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb index e0e1e506..e53d21f7 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb @@ -14,6 +14,7 @@ COMPATIBLE_MACHINE ?= "^$" COMPATIBLE_MACHINE:zynq = ".*" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" PROVIDES = "virtual/boot-bin" @@ -36,8 +37,11 @@ SRC_URI += "${@('file://' + d.getVar("BIF_FILE_PATH")) if d.getVar("BIF_FILE_PAT # zynqmp : zynqmp # versal : versal # versal-net : versalnet -BOOTGEN_ARCH_DEFAULT = "${SOC_FAMILY}" -BOOTGEN_ARCH_DEFAULT:versal-net = "${SOC_FAMILY}${SOC_VARIANT}" +BOOTGEN_ARCH_DEFAULT = "undefined" +BOOTGEN_ARCH_DEFAULT:zynq = "zynq" +BOOTGEN_ARCH_DEFAULT:zynqmp = "zynqmp" +BOOTGEN_ARCH_DEFAULT:versal = "versal" +BOOTGEN_ARCH_DEFAULT:versal-net = "versalnet" BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}" BOOTGEN_EXTRA_ARGS ?= "" @@ -135,7 +139,7 @@ python do_configure() { attrflags = d.getVarFlags("BIF_COMMON_ATTR") or {} if arch in ['zynq', 'zynqmp']: create_zynq_bif(bifattr, attrflags,'','', 1, biffd, d) - elif arch in ['versal']: + elif arch in ['versal', 'versal-net']: create_versal_bif(bifattr, attrflags,'','', 1, biffd, d) else: create_bif(bifattr, attrflags,'','', 1, biffd, d) @@ -147,7 +151,7 @@ python do_configure() { ids = d.getVarFlags("BIF_PARTITION_ID") or {} if arch in ['zynq', 'zynqmp']: create_zynq_bif(bifpartition, attrflags, attrimage, ids, 0, biffd, d) - elif arch in ['versal']: + elif arch in ['versal', 'versal-net']: create_versal_bif(bifpartition, attrflags, attrimage, ids, 0, biffd, d) else: create_bif(bifpartition, attrflags, attrimage, ids, 0, biffd, d) @@ -197,6 +201,12 @@ do_deploy:append:versal () { ln -sf ${BOOTBIN_BASE_NAME}_bh.bin ${DEPLOYDIR}/BOOT-${MACHINE}_bh.bin } +do_deploy:append:versal-net () { + + install -m 0644 ${B}/BOOT_bh.bin ${DEPLOYDIR}/${BOOTBIN_BASE_NAME}_bh.bin + ln -sf ${BOOTBIN_BASE_NAME}_bh.bin ${DEPLOYDIR}/BOOT-${MACHINE}_bh.bin +} + FILES:${PN} += "/boot/BOOT.bin" SYSROOT_DIRS += "/boot" diff --git a/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb b/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb index 8b1e52ac..b52c7853 100644 --- a/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb @@ -12,6 +12,7 @@ do_compile[depends] += "virtual/boot-bin:do_deploy" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" PACKAGE_ARCH ?= "${MACHINE_ARCH}" diff --git a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb index 9367fa2c..4783a329 100644 --- a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb +++ b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb @@ -49,6 +49,7 @@ SRC_URI:append = " ${@" ".join(["file://%s" % f for f in (d.getVar('EXTRA_OVERLA COMPATIBLE_MACHINE:zynq = ".*" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" DEPENDS += "python3-dtc-native" diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb index 1d4ab5a3..a5413bdc 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb @@ -17,6 +17,7 @@ SOVERSION = "${SOMAJOR}.${SOMINOR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb index b15fff74..8343451d 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb @@ -17,6 +17,7 @@ SOVERSION = "${SOMAJOR}.${SOMINOR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb index 60096e33..199ff4de 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb @@ -17,6 +17,7 @@ SOVERSION = "${SOMAJOR}.${SOMINOR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb index 28f997f2..c646228d 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb @@ -17,6 +17,7 @@ SOVERSION = "${SOMAJOR}.${SOMINOR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb index a10d3924..80063f85 100644 --- a/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb @@ -9,6 +9,7 @@ INHIBIT_DEFAULT_DEPS = "1" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" # Since we're just copying, we can run any config COMPATIBLE_HOST = ".*" diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb index d47ab114..3fa6d98c 100644 --- a/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb @@ -9,6 +9,7 @@ INHIBIT_DEFAULT_DEPS = "1" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" # Since we're just copying, we can run any config COMPATIBLE_HOST = ".*" diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb index 2c180561..1bd468d7 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb @@ -13,6 +13,7 @@ SRCREV = "f2b7bbca9d6936141024becfb92266600eeefc2b" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb index 287246c2..15c04add 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb @@ -13,6 +13,7 @@ SRCREV = "52c1d83c72a2b2e85d256411a199ed1baed12ae1" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb index b3ccb884..70d85f88 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb @@ -13,6 +13,7 @@ SRCREV = "52c1d83c72a2b2e85d256411a199ed1baed12ae1" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb index 42e67ce6..c82984f4 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb @@ -13,6 +13,7 @@ SRCREV = "c8275891ead62b3dfce68c00cf466715f0ac75f1" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" S = "${WORKDIR}/git" diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb index 985ca427..678ae236 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb @@ -12,6 +12,7 @@ COMPATIBLE_MACHINE ?= "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:zynq = "zynq" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal" COMPATIBLE_MACHINE:microblaze = "microblaze" KERNELDT = "${@os.path.basename(d.getVar('KERNEL_DEVICETREE').split(' ')[0]) if d.getVar('KERNEL_DEVICETREE') else ''}" @@ -25,6 +26,7 @@ PXERAMDISK_IMAGE ?= "${@'${RAMDISK_IMAGE1}' if d.getVar('INITRAMFS_IMAGE') and d KERNEL_BOOTCMD:zynqmp ?= "booti" KERNEL_BOOTCMD:zynq ?= "bootm" KERNEL_BOOTCMD:versal ?= "booti" +KERNEL_BOOTCMD:versal-net ?= "booti" KERNEL_BOOTCMD:microblaze ?= "bootm" BOOTMODE ??= "generic" @@ -56,6 +58,7 @@ UENV_TEXTFILE ?= "uEnv.txt" UENV_MMC_OFFSET:zynqmp ??= "0x200000" UENV_MMC_OFFSET:zynq ??= "0x2080000" UENV_MMC_OFFSET:versal ??= "0x200000" +UENV_MMC_OFFSET:versal-net ??= "0x200000" UENV_MMC_OFFSET:microblaze ??= "0x0" UENV_MMC_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('UENV_MMC_OFFSET'))}" @@ -71,11 +74,13 @@ DEVICETREE_OFFSET:microblaze ??= "0x1e00000" DEVICETREE_OFFSET:zynqmp ??= "0x100000" DEVICETREE_OFFSET:zynq ??= "0x100000" DEVICETREE_OFFSET:versal ??= "0x1000" +DEVICETREE_OFFSET:versal-net ??= "0x1000" DEVICETREE_OVERLAY_OFFSET:microblaze ??= "0x1e00000" DEVICETREE_OVERLAY_OFFSET:zynqmp ??= "0x100000" DEVICETREE_OVERLAY_OFFSET:zynq ??= "0x100000" DEVICETREE_OVERLAY_OFFSET:versal ??= "0x1000" +DEVICETREE_OVERLAY_OFFSET:versal-net ??= "0x1000" DEVICETREE_OVERLAY_PADSIZE ??= "0xf00000" DEVICETREE_OVERLAY_ADDRESS ?= "${@hex(int(append_baseaddr(d,d.getVar('DEVICETREE_OVERLAY_OFFSET')),16) \ @@ -87,6 +92,7 @@ KERNEL_OFFSET:microblaze ??= "0x0" KERNEL_OFFSET:zynqmp ??= "0x200000" KERNEL_OFFSET:zynq ??= "0x200000" KERNEL_OFFSET:versal ??= "0x200000" +KERNEL_OFFSET:versal-net ??= "0x200000" KERNEL_IMAGE ?= "${KERNEL_IMAGETYPE}" @@ -96,6 +102,7 @@ RAMDISK_OFFSET:microblaze ??= "0x2e00000" RAMDISK_OFFSET:zynq ??= "0x4000000" RAMDISK_OFFSET:zynqmp ??= "0x4000000" RAMDISK_OFFSET:versal ??= "0x4000000" +RAMDISK_OFFSET:versal-net ??= "0x4000000" FIT_IMAGE_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('FIT_IMAGE_OFFSET'))}" FIT_IMAGE_OFFSET ??= "0x10000000" @@ -141,18 +148,25 @@ QSPI_RAMDISK_SIZE:zynqmpdr ??= "0x1D00000" ## For versal ## Load boot.scr at 0x7F80000 -> 127MB of QSPI/NAND Memory QSPI_KERNEL_OFFSET:versal ??= "0xF00000" +QSPI_KERNEL_OFFSET:versal-net ??= "0xF00000" QSPI_RAMDISK_OFFSET:versal ??= "0x2E00000" +QSPI_RAMDISK_OFFSET:versal-net ??= "0x2E00000" NAND_KERNEL_OFFSET:versal ??= "0x4100000" +NAND_KERNEL_OFFSET:versal-net ??= "0x4100000" NAND_RAMDISK_OFFSET:versal ??= "0x8200000" +NAND_RAMDISK_OFFSET:versal-net ??= "0x8200000" QSPI_KERNEL_SIZE:versal ??= "0x1D00000" +QSPI_KERNEL_SIZE:versal-net ??= "0x1D00000" QSPI_RAMDISK_SIZE:versal ??= "0x4000000" +QSPI_RAMDISK_SIZE:versal-net ??= "0x4000000" QSPI_KERNEL_IMAGE:microblaze ?= "image.ub" QSPI_KERNEL_IMAGE:zynq ?= "image.ub" QSPI_KERNEL_IMAGE:zynqmp ?= "image.ub" QSPI_KERNEL_IMAGE:versal ?= "image.ub" +QSPI_KERNEL_IMAGE:versal-net ?= "image.ub" NAND_KERNEL_IMAGE ?= "image.ub" diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc index bd9711f5..e2ee2c3f 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc @@ -75,7 +75,7 @@ do_deploy:prepend() { fi # In ZynqMP u-boot.dtb is generated by default but not for versal, Hence manually deploy. - if [ "${SOC_FAMILY}" == "versal" ]; then + if [ "${SOC_FAMILY}" == "versal" -o "${SOC_FAMILY}" == "versal-net" ]; then if [ -f ${B}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dtb ]; then install -Dm 0644 ${B}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dtb ${DEPLOYDIR}/u-boot.dtb fi diff --git a/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbappend b/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbappend index fd3a3c11..8901a611 100644 --- a/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbappend +++ b/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbappend @@ -3,3 +3,4 @@ QB_MEM:microblaze = "-m 2G" QB_MEM:zynq = "-m 1G" QB_MEM:zynqmp = "-m 4G" QB_MEM:versal = "-m 16G" +QB_MEM:versal-net = "-m 16G" diff --git a/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbppend b/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbppend deleted file mode 100644 index fd3a3c11..00000000 --- a/meta-xilinx-core/recipes-core/images/core-image-ptest-all.bbppend +++ /dev/null @@ -1,5 +0,0 @@ -# Minimum board memory required for each type -QB_MEM:microblaze = "-m 2G" -QB_MEM:zynq = "-m 1G" -QB_MEM:zynqmp = "-m 4G" -QB_MEM:versal = "-m 16G" diff --git a/meta-xilinx-core/recipes-core/images/core-image-ptest-fast.bbappend b/meta-xilinx-core/recipes-core/images/core-image-ptest-fast.bbappend index e748c9e4..e7133ca9 100644 --- a/meta-xilinx-core/recipes-core/images/core-image-ptest-fast.bbappend +++ b/meta-xilinx-core/recipes-core/images/core-image-ptest-fast.bbappend @@ -3,6 +3,7 @@ QB_MEM:microblaze = "-m 2G" QB_MEM:zynq = "-m 1G" QB_MEM:zynqmp = "-m 4G" QB_MEM:versal = "-m 16G" +QB_MEM:versal-net = "-m 16G" # Zynq can't build qemu-xilinx or it's ptests PTESTS_FAST:remove:zynq = "qemu-ptest" diff --git a/meta-xilinx-core/recipes-core/images/core-image-ptest.bbappend b/meta-xilinx-core/recipes-core/images/core-image-ptest.bbappend index fd3a3c11..8901a611 100644 --- a/meta-xilinx-core/recipes-core/images/core-image-ptest.bbappend +++ b/meta-xilinx-core/recipes-core/images/core-image-ptest.bbappend @@ -3,3 +3,4 @@ QB_MEM:microblaze = "-m 2G" QB_MEM:zynq = "-m 1G" QB_MEM:zynqmp = "-m 4G" QB_MEM:versal = "-m 16G" +QB_MEM:versal-net = "-m 16G" diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_6.6.10.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_6.6.10.bb index 3aaac030..22f363c9 100644 --- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_6.6.10.bb +++ b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_6.6.10.bb @@ -23,3 +23,4 @@ EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" diff --git a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_6.6.10.bb b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_6.6.10.bb index 7e25fe1f..318a3cc0 100644 --- a/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_6.6.10.bb +++ b/meta-xilinx-core/recipes-kernel/hdmi/kernel-module-hdmi_6.6.10.bb @@ -23,3 +23,4 @@ EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:zynqmp = "zynqmp" COMPATIBLE_MACHINE:versal = "versal" +COMPATIBLE_MACHINE:versal-net = "versal-net" diff --git a/meta-xilinx-core/recipes-kernel/linux-xlnx-udev-rules/linux-xlnx-udev-rules.bb b/meta-xilinx-core/recipes-kernel/linux-xlnx-udev-rules/linux-xlnx-udev-rules.bb index 7ff3ef79..966aaaf5 100644 --- a/meta-xilinx-core/recipes-kernel/linux-xlnx-udev-rules/linux-xlnx-udev-rules.bb +++ b/meta-xilinx-core/recipes-kernel/linux-xlnx-udev-rules/linux-xlnx-udev-rules.bb @@ -16,6 +16,7 @@ COMPATIBLE_MACHINE:zynq = ".*" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:microblaze = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" do_configure[noexec] = '1' do_compile[noexec] = '1' diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc index fff62eb6..329ae03b 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc @@ -46,6 +46,7 @@ COMPATIBLE_MACHINE:zynq = ".*" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:microblaze = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" # Use DEFCONFIGs for configuring linux-xlnx kernels KCONFIG_MODE ?= "alldefconfig" @@ -53,11 +54,13 @@ KBUILD_DEFCONFIG:zynqmp ?= "xilinx_defconfig" KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig" KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" +KBUILD_DEFCONFIG:versal-net ?= "xilinx_defconfig" KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" KERNEL_FEATURES:append:zynqmp = "${@' features/xilinx/overlay_of/overlay_of.scc' if d.getVar('FPGA_MNGR_RECONFIG_ENABLE') == '1' else ''}" KERNEL_FEATURES:append:versal = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)} features/xilinx/hdmi-module/hdmi-module.scc" +KERNEL_FEATURES:append:versal-net = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)} features/xilinx/hdmi-module/hdmi-module.scc" KERNEL_FEATURES:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', ' features/ocicontainer/ocicontainer.scc', '', d)}" diff --git a/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202310.2.15.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202310.2.15.0.bb index b91572f9..e5efd89c 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202310.2.15.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202310.2.15.0.bb @@ -13,6 +13,7 @@ LICENSE = "GPL-2.0-or-later & Apache-2.0" COMPATIBLE_MACHINE ?= "^$" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" diff --git a/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202320.2.16.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202320.2.16.0.bb index b91572f9..e5efd89c 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202320.2.16.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202320.2.16.0.bb @@ -13,6 +13,7 @@ LICENSE = "GPL-2.0-or-later & Apache-2.0" COMPATIBLE_MACHINE ?= "^$" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" diff --git a/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202410.2.17.0.bb b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202410.2.17.0.bb index b91572f9..e5efd89c 100644 --- a/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202410.2.17.0.bb +++ b/meta-xilinx-core/recipes-xrt/zocl/kernel-module-zocl_202410.2.17.0.bb @@ -13,6 +13,7 @@ LICENSE = "GPL-2.0-or-later & Apache-2.0" COMPATIBLE_MACHINE ?= "^$" COMPATIBLE_MACHINE:zynqmp = ".*" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" S = "${WORKDIR}/git/src/runtime_src/core/edge/drm/zocl" diff --git a/meta-xilinx-mali400/recipes-graphics/wayland/weston.inc b/meta-xilinx-mali400/recipes-graphics/wayland/weston.inc index fadc9486..f18cae89 100644 --- a/meta-xilinx-mali400/recipes-graphics/wayland/weston.inc +++ b/meta-xilinx-mali400/recipes-graphics/wayland/weston.inc @@ -1,15 +1,4 @@ SRC_URI:append:zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" -# Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific -SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" -DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" -DEFAULT_PACKAGE_ARCH:zynqmp = "${SOC_FAMILY_ARCH}" -PACKAGE_ARCH = "${DEFAULT_PACKAGE_ARCH}" - - -# Links to libmali-xlnx, so it becomes MACHINE_ARCH specific -DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" -MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" -MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" -PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" -PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" +# Due to the SRC_URI zynqmp specific change, this needs to be MACHINE_ARCH specific +PACKAGE_ARCH:zynqmp = "${MACHINE_ARCH}" diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass index a87e1dad..abd08a5d 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass @@ -36,19 +36,7 @@ do_configure[depends] += "device-tree:do_deploy" do_compile[depends] += "device-tree:do_deploy" do_install[depends] += "device-tree:do_deploy" -def get_xlnx_cmake_machine(fam, variant, d): - cmake_machine = fam - if (fam == 'zynqmp'): - cmake_machine = 'ZynqMP' - elif (fam == 'versal'): - cmake_machine = 'Versal' - if (variant == 'net'): - cmake_machine = 'VersalNet' - elif (fam == 'zynq'): - cmake_machine = 'Zynq' - return cmake_machine - -def get_xlnx_cmake_processor(tune, machine, variant, d): +def get_xlnx_cmake_processor(tune, machine, d): cmake_processor = tune if tune.startswith('microblaze'): if (machine == 'psu_pmu_0'): @@ -67,12 +55,17 @@ def get_xlnx_cmake_processor(tune, machine, variant, d): cmake_processor = 'cortexa53' elif tune == 'cortexa72': cmake_processor = 'cortexa72' - if (variant == 'net'): - cmake_processor = 'cortexa78' + elif tune == 'cortexa78': + cmake_processor = 'cortexa78' return cmake_processor -XLNX_CMAKE_MACHINE = "${@get_xlnx_cmake_machine(d.getVar('SOC_FAMILY'), d.getVar('SOC_VARIANT'), d)}" -XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d.getVar('SOC_VARIANT'), d)}" +XLNX_CMAKE_MACHINE = "undefined" +XLNX_CMAKE_MACHINE:zynq = "Zynq" +XLNX_CMAKE_MACHINE:zynqmp = "ZynqMP" +XLNX_CMAKE_MACHINE:versal = "Versal" +XLNX_CMAKE_MACHINE:versal-net = "VersalNet" + +XLNX_CMAKE_PROCESSOR = "${@get_xlnx_cmake_processor(d.getVar('DEFAULTTUNE'), d.getVar('ESW_MACHINE'), d)}" XLNX_CMAKE_SYSTEM_NAME ?= "Generic" XLNX_CMAKE_BSP_VARS ?= "" diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc index bac5c997..99451c3b 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc @@ -6,6 +6,7 @@ inherit xlnx-embeddedsw deploy COMPATIBLE_HOST = "microblaze.*-elf" COMPATIBLE_MACHINE = "none" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc index 42463173..6c378270 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc @@ -6,6 +6,7 @@ inherit xlnx-embeddedsw deploy COMPATIBLE_HOST = "microblaze.*-elf" COMPATIBLE_MACHINE = "none" COMPATIBLE_MACHINE:versal = ".*" +COMPATIBLE_MACHINE:versal-net = ".*" PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit v1.2.3-54-g00ecf From fe8e2676f452c3b67897aab603fed07291ee0741 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 4 Jun 2024 17:01:10 -0600 Subject: open-amp-xlnx: Fix parse error when SDT is enabled Signed-off-by: Mark Hatle --- .../recipes-openamp/open-amp/open-amp-xlnx_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend b/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend index 88b45295..ca167bd1 100644 --- a/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend +++ b/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend @@ -1 +1 @@ -require ${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc +require ${@'${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} -- cgit v1.2.3-54-g00ecf From 496ccda770c0321849b723e192250b1266c332b0 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 17 Jun 2024 12:52:40 -0600 Subject: meta-xilinx-standalone-sdt: Fix warning disable Signed-off-by: Mark Hatle --- .../classes-global/sanity-meta-xilinx-standalone-sdt.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass b/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass index dcafe02b..2fa861a2 100644 --- a/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass +++ b/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass @@ -1,7 +1,7 @@ addhandler security_bbappend_distrocheck security_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" python security_bbappend_distrocheck() { - skip_check = e.data.getVar('SKIP_META_XILINX_TOOLS_SANITY_CHECK') == "1" + skip_check = e.data.getVar('SKIP_META_XILINX_STANDALONE_SDT_SANITY_CHECK') == "1" if e.data.getVar('XILINX_WITH_ESW') != 'sdt' and not skip_check: bb.warn("You have included the meta-xilinx-standalone-sdt layer, but \ it has not been enabled using XILINX_WITH_ESW in your configuration. Some \ -- cgit v1.2.3-54-g00ecf From d733dba2bf15225818d6b45006da2b3ee000fb27 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 20 Jun 2024 11:25:59 -0600 Subject: sanity-meta-xilinx-standalone-sdt.bbclass: Fix sanity check The sanity check was based on the example from meta-security. However, the function was not renamed. This could have caused the meta-security version to be run instead. Signed-off-by: Mark Hatle --- .../classes-global/sanity-meta-xilinx-standalone-sdt.bbclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass b/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass index 2fa861a2..4234f38b 100644 --- a/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass +++ b/meta-xilinx-standalone-sdt/classes-global/sanity-meta-xilinx-standalone-sdt.bbclass @@ -1,10 +1,10 @@ -addhandler security_bbappend_distrocheck -security_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" -python security_bbappend_distrocheck() { +addhandler standalone_sdt_bbappend_distrocheck +standalone_sdt_bbappend_distrocheck[eventmask] = "bb.event.SanityCheck" +python standalone_sdt_bbappend_distrocheck() { skip_check = e.data.getVar('SKIP_META_XILINX_STANDALONE_SDT_SANITY_CHECK') == "1" if e.data.getVar('XILINX_WITH_ESW') != 'sdt' and not skip_check: bb.warn("You have included the meta-xilinx-standalone-sdt layer, but \ it has not been enabled using XILINX_WITH_ESW in your configuration. Some \ bbappend files and preferred version setting may not take effect. See the \ -meta-security README for details on enabling security support.") +meta-xilinx-standalone-sdt README for details.") } -- cgit v1.2.3-54-g00ecf From cd2f900a6e347c72fa644e9036631d9d6e05129e Mon Sep 17 00:00:00 2001 From: Jaydip Patel Date: Tue, 25 Jun 2024 04:41:30 -0700 Subject: meta-xilinx-standalone-sdt: Added recipes for aienginev2 & aiefal Added aienginev2 and aiefal recipes to support AIENGINE in baremtal decoupling flow. AIENGINE v2 is not dependent on ESW repo. It fetches aie-rt repo & compile yocto baremtal driver. Updated latest SRCREV of main-aie branch as there is dependency on CMake APIs to build AIENGINE driver. Signed-off-by: Jaydip Patel Signed-off-by: Mark Hatle --- .../recipes-bsp/ai-engine/aie-rt-2024.2.inc | 2 +- .../recipes-drivers/aiefal_2024.2.bb | 35 +++++++++++++++++++ .../recipes-drivers/aienginev2_2024.2.bb | 39 ++++++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/aienginev2_2024.2.bb (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc b/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc index 95a86f7f..28c4806c 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc @@ -3,7 +3,7 @@ SECTION = "libs" REPO ?= "git://github.com/Xilinx/aie-rt.git;protocol=https" BRANCH ?= "main-aie" -SRCREV ?= "950a7dccf4e53e3f435b847e18e4a138d6caadb9" +SRCREV ?= "5f669f09cb48fbf1f4e7fea3d5097a194d568a29" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM ?= "file://license.txt;md5=04a153cae61a8a606fc79dff49c2c897" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb new file mode 100644 index 00000000..7d7b76ac --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb @@ -0,0 +1,35 @@ +inherit cmake ccmake + +COMPATIBLE_HOST = "aarch64-xilinx-elf" + +require ../../meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc + +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" + +EXTRA_OECMAKE += "-DYOCTO=ON" +DEPENDS += "xilstandalone xiltimer aienginev2" + +ESW_COMPONENT_SRC = "/fal/src/" + +OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" +XLNX_CMAKE_SYSTEM_NAME ?= "Generic" +XLNX_CMAKE_BSP_VARS ?= "" + +cmake_do_generate_toolchain_file:append() { + cat >> ${WORKDIR}/toolchain.cmake <> ${WORKDIR}/toolchain.cmake < Date: Tue, 23 Jul 2024 17:16:54 -0700 Subject: meta-xilinx-standalone-sdt: openamp-fw: Update to work with latest There is issue with installing firmware. Update path to work with scarthgap update. Signed-off-by: Ben Levinsky Signed-off-by: Mark Hatle --- .../recipes-applications/openamp-fw/openamp-fw.inc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc index 398f8dce..0aa6ae4b 100644 --- a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc @@ -2,26 +2,30 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda LICENSE = "MIT" INSANE_SKIP:${PN} = "arch" -FW_LIB_DIR = "/lib/firmware" +FW_LIB_DIR = "${nonarch_base_libdir}/firmware" +INSANE_SKIP:${PN} = "arch" OPENAMP_FW_SRC_NAME ?= "rpmsg-echo.out" OPENAMP_FW_NAME ?= "image_echo_test" -FW_MACHINE:zynqmp = "cortexr5-0-zynqmp" -FW_MACHINE:versal = "cortexr5-0-versal" -FW_MACHINE:versal-net = "cortexr52-0-versal-net" +FW_MACHINE:zynqmp = "cortexr5-0" +FW_MACHINE:versal = "cortexr5-0" +FW_MACHINE:versal-net = "cortexr52-0" FW_OS ?= "baremetal" -OPENAMP_FW_DEPLOY_DIR ?= "${MC_TMPDIR_PREFIX}-${FW_MACHINE}-${FW_OS}/deploy/images/${MACHINE}" +FW_TARGET ?= "${MACHINE}-${FW_MACHINE}-${FW_OS}" + +OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy" + DEPENDS = " open-amp-xlnx " -do_install[mcdepends] += "mc::${FW_MACHINE}-${FW_OS}:open-amp-xlnx:do_deploy" +do_install[mcdepends] += "mc::${FW_TARGET}:open-amp-xlnx:do_deploy" do_install() { install -d ${D}${FW_LIB_DIR} - src=${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} + src=${TOPDIR}/${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME} install -m 0644 ${src} ${dest} } do_compile[noexec] = "1" -FILES:${PN} = "/lib/firmware/${OPENAMP_FW_NAME}" +FILES:${PN} = "${FW_LIB_DIR}/${OPENAMP_FW_NAME}" -- cgit v1.2.3-54-g00ecf From e90b58bd42c16de5f039c41ac35c4dcdf69d5865 Mon Sep 17 00:00:00 2001 From: Nandanikhil Gajulapally Date: Tue, 23 Apr 2024 22:39:47 +0530 Subject: xilffs_2024.2: added bsp configuration required for versal_plm add missing xilffs bsp configuraiton required for versal_plm to boot from SD1 controller in eMMC1 boot mode when the design has both the controllers enabled. Signed-off-by: Nandanikhil Gajulapally Apply existing commit 41be3639ea7b0009adeda889bb3ff7916403a245 to 2024.2 version of the recipe. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.2.bb index b8dc3b33..b7e0784a 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs_2024.2.bb @@ -8,4 +8,6 @@ PACKAGECONFIG[use_mkfs] ="-DXILFFS_use_mkfs=ON,-DXILFFS_use_mkfs=OFF,," PACKAGECONFIG[read_only] ="-DXILFFS_read_only=ON,-DXILFFS_read_only=OFF,," PACKAGECONFIG[word_access]="-DXILFFS_word_access=ON,-DXILFFS_word_access=OFF,," +EXTRA_OECMAKE += "${@'-DXILFFS_num_logical_vol=10 -DXILFFS_enable_multi_partition=ON' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" + DEPENDS += "xilstandalone libxil" -- cgit v1.2.3-54-g00ecf From 11b608fbcaf7416c025bcbbdfd12932bc3a76f19 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 2 Aug 2024 12:38:34 -0500 Subject: meta-xilinx-standalone-sdt: openamp-fw: Expand error message / Fix path Make it clear the package can't not be built if the specified multiconf is not available in the users configuration. Also fix the default deploy path. Signed-off-by: Mark Hatle --- .../recipes-applications/openamp-fw/openamp-fw.inc | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc index 0aa6ae4b..dd2835ab 100644 --- a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc @@ -2,6 +2,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda LICENSE = "MIT" INSANE_SKIP:${PN} = "arch" +COMPATIBLE_HOST = ".*" + FW_LIB_DIR = "${nonarch_base_libdir}/firmware" INSANE_SKIP:${PN} = "arch" @@ -15,17 +17,29 @@ FW_OS ?= "baremetal" FW_TARGET ?= "${MACHINE}-${FW_MACHINE}-${FW_OS}" -OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy" +OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy/images/${MACHINE}" +#OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy/" DEPENDS = " open-amp-xlnx " do_install[mcdepends] += "mc::${FW_TARGET}:open-amp-xlnx:do_deploy" do_install() { - install -d ${D}${FW_LIB_DIR} src=${TOPDIR}/${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME} + if [ ! -e $src ]; then + bberror "Multiconfig firmware $src is not found. Set OPENAMP_FW_DEPLOY_DIR:pn-${PN} if necessary." + exit 1 + fi + install -d ${D}${FW_LIB_DIR} install -m 0644 ${src} ${dest} } do_compile[noexec] = "1" FILES:${PN} = "${FW_LIB_DIR}/${OPENAMP_FW_NAME}" + +python() { + multiconfigs = (d.getVar('BBMULTICONFIG') or '').split() + fw_target = d.getVar('FW_TARGET') + if not fw_target in multiconfigs: + raise bb.parse.SkipRecipe("Required multiconfig %s is not available. Either add the multiconfig to your configuration or adjust FW_TARGET:pn-%s." % (fw_target, d.getVar('PN'))) +} -- cgit v1.2.3-54-g00ecf From 7a5357c4c9639f22e7449eeb55c7b6473a22b553 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Mon, 5 Aug 2024 19:25:48 -0600 Subject: recipes-libraries: Add recipe for xilrsa Add recipe for xilrsa library, Also zynq-7000 fsbl depends on this library. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../recipes-libraries/xilrsa_2024.1.bb | 15 +++++++++++++++ .../recipes-libraries/xilrsa_2024.2.bb | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb new file mode 100644 index 00000000..3337dce9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.1.bb @@ -0,0 +1,15 @@ +inherit esw python3native + +ESW_COMPONENT_SRC = "/lib/sw_services/xilrsa/src/" +ESW_COMPONENT_NAME = "libxilrsa.a" + +DEPENDS += "libxil" + +do_configure:prepend() { + # This script should also not rely on relative paths and such + ( + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + ) +} diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb new file mode 100644 index 00000000..3337dce9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilrsa_2024.2.bb @@ -0,0 +1,15 @@ +inherit esw python3native + +ESW_COMPONENT_SRC = "/lib/sw_services/xilrsa/src/" +ESW_COMPONENT_NAME = "libxilrsa.a" + +DEPENDS += "libxil" + +do_configure:prepend() { + # This script should also not rely on relative paths and such + ( + cd ${S} + lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S} + install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ + ) +} -- cgit v1.2.3-54-g00ecf From 65e888c7ef65913a4129ccc54f965aee3c5f2e99 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Mon, 5 Aug 2024 19:25:51 -0600 Subject: fsbl-firmware_sdt: Add support for zynq-7000 sdt fsbl Add support for zynq-7000 sdt fsbl builds. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc | 36 +++++++++++++--------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc index 5b2cceba..9b0683aa 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc @@ -1,33 +1,41 @@ inherit esw # Not compatible with Zynq -COMPATIBLE_MACHINE:zynq = "none" COMPATIBLE_MACHINE:microblaze = "none" ESW_COMPONENT_SRC = "/lib/sw_apps/undefined/src" ESW_COMPONENT_SRC:zynq = "/lib/sw_apps/zynq_fsbl/src" ESW_COMPONENT_SRC:zynqmp = "/lib/sw_apps/zynqmp_fsbl/src" -DEPENDS += "xilstandalone xiltimer xilffs xilsecure xilpm" +ESW_FSBL_DEPENDS = "xilstandalone xiltimer xilffs" +ESW_FSBL_DEPENDS:append:zynq = " xilrsa" +ESW_FSBL_DEPENDS:append:zynqmp = " xilsecure xilpm" + +DEPENDS += "${ESW_FSBL_DEPENDS}" CFLAGS:append:aarch64 = " -DARMA53_64" CFLAGS:append:armv7r = " -DARMR5" +FSBL_PS_INIT_C:zynq = "ps7_init.c" +FSBL_PS_INIT_C:zynqmp = "psu_init.c" +FSBL_PS_INIT_H:zynq = "ps7_init.h" +FSBL_PS_INIT_H:zynqmp = "psu_init.h" + python() { psu_init_path = d.getVar('PSU_INIT_PATH') if not psu_init_path: psu_init_path = os.path.dirname(d.getVar('SYSTEM_DTFILE')) - psu_init_c = os.path.join(psu_init_path, 'psu_init.c') - psu_init_h = os.path.join(psu_init_path, 'psu_init.h') + ps_init_c = d.getVar('FSBL_PS_INIT_C') + ps_init_h = d.getVar('FSBL_PS_INIT_H') add_path = False - if os.path.exists(psu_init_c): - d.appendVar('SRC_URI', ' file://psu_init.c') + if os.path.exists(os.path.join(psu_init_path, ps_init_c)): + d.appendVar('SRC_URI', ' file://${FSBL_PS_INIT_C}') add_path = True - if os.path.exists(psu_init_h): - d.appendVar('SRC_URI', ' file://psu_init.h') + if os.path.exists(os.path.join(psu_init_path, ps_init_h)): + d.appendVar('SRC_URI', ' file://${FSBL_PS_INIT_H}') add_path = True if add_path: @@ -35,16 +43,16 @@ python() { } do_configure:prepend() { - if [ -e ${WORKDIR}/psu_init.c ]; then - install -m 0644 ${WORKDIR}/psu_init.c ${S}/${ESW_COMPONENT_SRC} + if [ -e ${WORKDIR}/${FSBL_PS_INIT_C} ]; then + install -m 0644 ${WORKDIR}/${FSBL_PS_INIT_C} ${S}/${ESW_COMPONENT_SRC} else - bbwarn "Using the default psu_init.c, this may not work correctly." + bbwarn "Using the default ${FSBL_PS_INIT_C}, this may not work correctly." fi - if [ -e ${WORKDIR}/psu_init.h ]; then - install -m 0644 ${WORKDIR}/psu_init.h ${S}/${ESW_COMPONENT_SRC} + if [ -e ${WORKDIR}/${FSBL_PS_INIT_H} ]; then + install -m 0644 ${WORKDIR}/${FSBL_PS_INIT_H} ${S}/${ESW_COMPONENT_SRC} else - bbwarn "Using the default psu_init.h, this may not work correctly." + bbwarn "Using the default ${FSBL_PS_INIT_H}, this may not work correctly." fi install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} } -- cgit v1.2.3-54-g00ecf From 19d6e256b228a06db096065d2fcf5c07c258124c Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Mon, 5 Aug 2024 19:25:53 -0600 Subject: README.md: Add instructions for Zynq-7000 SDT build Add instructions for Zynq-7000 system device tree build. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/README.md | 51 ++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 22 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/README.md b/meta-xilinx-standalone-sdt/README.md index d2d54c2e..0ecc6e4d 100644 --- a/meta-xilinx-standalone-sdt/README.md +++ b/meta-xilinx-standalone-sdt/README.md @@ -33,26 +33,22 @@ $ git clone -b https://github.com/Xilinx/meta-openamp meta-kria and meta-system-controller if included in bblayers.conf), then add the meta-xilinx-standalone-sdt and meta-openamp layer. -> **Note:** SDT builds for following devices are not supported in 2024.1 release. -> * Zynq 7000 -> * MicoBlaze -> * Kria -> * System Controller +> **Note:** SDT builds for following devices are not supported in 2024.2 release. +> * MicroBlaze + ``` $ bitbake-layers remove-layer meta-xilinx-tools -$ bitbake-layers remove-layer meta-kria -$ bitbake-layers remove-layer meta-system-controller $ bitbake-layers add-layer .//meta-xilinx/meta-xilinx-standalone-sdt $ bitbake-layers add-layer .//meta-openamp ``` -5. Export gen-machineconf tool. +1. Export gen-machineconf tool. ``` $ export PATH=$PATH:/gen-machine-conf ``` -6. Run the script from the build or ${TOPDIR} directory. This step describes +1. Run the script from the build or ${TOPDIR} directory. This step describes System Device Tree (SDT) with and without pl overlays. Configruations are same for both SDT with and without pl overlays except for linux dts content. @@ -82,7 +78,7 @@ $ export PATH=$PATH:/gen-machine-conf > needs to use the *_partial.dtsi and *_partial.pdi/bit from sdtgen output > artifacts to DFx partial firmware recipes. - * ZynqMP Full bitstream or Versal Segmented Configuration: + * Zynq-700 or ZynqMP Full bitstream or Versal Segmented Configuration: ``` $ gen-machineconf parse-sdt --hw-description -c -l conf/local.conf -g full ``` @@ -92,15 +88,15 @@ $ export PATH=$PATH:/gen-machine-conf $ gen-machineconf parse-sdt --hw-description -c -l conf/local.conf -g dfx ``` -For example, zynqmp: +For example, Zynq-7000: ``` -$ gen-machineconf --soc-family zynqmp --hw-description -c conf/ -l conf/local.conf +$ gen-machineconf parse-sdt --hw-description -c conf/ -l conf/local.conf ``` The following will be written to the end of the conf/local.conf file: ``` # Use the newly generated MACHINE -MACHINE = "xlnx-zynqmp-zcu102-rev1-0" +MACHINE = "xlnx-zynq-zc702" # Avoid errors in some baremetal configs as these layers may be present # but are not used. Note the following lines are optional and can be @@ -108,15 +104,29 @@ MACHINE = "xlnx-zynqmp-zcu102-rev1-0" SKIP_META_VIRT_SANITY_CHECK = "1" SKIP_META_SECURITY_SANITY_CHECK = "1" SKIP_META_TPM_SANITY_CHECK = "1" +``` -# Each generated multiconfig defines it's own TMPDIR, either edit the -# multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below -#MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" +For example, ZynqMP: ``` +$ gen-machineconf parse-sdt --hw-description -c conf/ -l conf/local.conf +``` +The following will be written to the end of the conf/local.conf file: -For example, versal: ``` -$ gen-machineconf --soc-family versal --hw-description -c conf/ -l conf/local.conf +# Use the newly generated MACHINE +MACHINE = "xlnx-zynqmp-zcu102-rev1-0" + +# Avoid errors in some baremetal configs as these layers may be present +# but are not used. Note the following lines are optional and can be +# safetly disabled. +SKIP_META_VIRT_SANITY_CHECK = "1" +SKIP_META_SECURITY_SANITY_CHECK = "1" +SKIP_META_TPM_SANITY_CHECK = "1" +``` + +For example, Versal: +``` +$ gen-machineconf parse-sdt --hw-description -c conf/ -l conf/local.conf ``` The following will be written to the end of the conf/local.conf file: @@ -131,11 +141,8 @@ MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva" SKIP_META_VIRT_SANITY_CHECK = "1" SKIP_META_SECURITY_SANITY_CHECK = "1" SKIP_META_TPM_SANITY_CHECK = "1" - -# Each generated multiconfig defines it's own TMPDIR, either edit the -# multiconfig files, or uncomment and adjust MC_TMPDIR_PREFIX below -#MC_TMPDIR_PREFIX = "${TOPDIR}/tmp" ``` + > **Bitbake Performance Note:** Each BBMULTICONFIG value requires all of the recipes to be parsed for that configuration. Thus each multiconfig will add more parsing time. A long list -- cgit v1.2.3-54-g00ecf From 3702a0aa10bc5e5b210e597fba9c9c07616c1131 Mon Sep 17 00:00:00 2001 From: Appana Durga Kedareswara rao Date: Thu, 8 Aug 2024 22:21:47 +0530 Subject: meta-xilinx-standalone-sdt: classes-recipe: esw: Generate lopper meta-data directly into the source folder itself Pass -O option to the lopper command so that all the required artifacts will be copied to the source folder and no need to do explict copy. Signed-off-by: Appana Durga Kedareswara rao Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass index abd08a5d..76245cf7 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass @@ -142,11 +142,6 @@ python do_generate_driver_data() { bb.error("Couldn't find source dir %s" % d.getVar('OECMAKE_SOURCEPATH')) os.chdir(d.getVar('B')) - command = ["lopper"] + ["-f"] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] + command = ["lopper"] + ["-f"] + ["-O"] + [src_dir[0]] + [system_dt[0]] + ["--"] + ["baremetalconfig_xlnx.py"] + [machine] + [src_dir[0]] subprocess.run(command, check = True) - src_file = glob.glob('*_g.c') - if src_file and os.path.exists(src_file[0]): - bb.note("Generated config file for driver %s" % driver_name) - command = ["install"] + ["-m"] + ["0755"] + [src_file[0]] + [src_dir[0]] - subprocess.run(command, check = True) } -- cgit v1.2.3-54-g00ecf From 2da95beae0ffb61ade921c87e8c642fd5023c137 Mon Sep 17 00:00:00 2001 From: Appana Durga Kedareswara rao Date: Thu, 8 Aug 2024 22:21:48 +0530 Subject: meta-xilinx-standalone-sdt: recipes-applications: peripheral-tests: Add missing slash in the do_compile Add the missing slash(\) while generating the bin file. Signed-off-by: Appana Durga Kedareswara rao Signed-off-by: Mark Hatle --- .../recipes-applications/peripheral-tests/peripheral-tests_2024.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.2.bb index d2fb106a..d8bedfe5 100644 --- a/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-applications/peripheral-tests/peripheral-tests_2024.2.bb @@ -38,7 +38,7 @@ addtask do_generate_app_data before do_configure after do_prepare_recipe_sysroot do_prepare_recipe_sysroot[rdeptask] = "do_unpack" do_compile:append() { - ${OBJCOPY} -O binary ${B}/${ESW_EXECUTABLE_NAME}.elf ${B}${ESW_EXECUTABLE_NAME}.bin + ${OBJCOPY} -O binary ${B}/${ESW_EXECUTABLE_NAME}.elf ${B}/${ESW_EXECUTABLE_NAME}.bin } do_install() { -- cgit v1.2.3-54-g00ecf From 5f8a43ddcb8b9ff27e38d311d14dc39202b45152 Mon Sep 17 00:00:00 2001 From: Raju Kumar Pothuraju Date: Tue, 13 Aug 2024 18:52:19 +0530 Subject: openamp-fw.inc: Update OPENAMP_FW_DEPLOY_DIR Using TOPDIR will fail when TMPDIR redirected to different location than the default one. Use TMPDIR instead of TOPDIR and add open-amp-xlnx directory suffix as per the recent open-amp recipe changes. Signed-off-by: Raju Kumar Pothuraju Signed-off-by: Mark Hatle --- .../recipes-applications/openamp-fw/openamp-fw.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc index dd2835ab..f6c53414 100644 --- a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc @@ -17,13 +17,12 @@ FW_OS ?= "baremetal" FW_TARGET ?= "${MACHINE}-${FW_MACHINE}-${FW_OS}" -OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy/images/${MACHINE}" -#OPENAMP_FW_DEPLOY_DIR ?= "tmp-${FW_TARGET}/deploy/" +OPENAMP_FW_DEPLOY_DIR ?= "-${FW_TARGET}/deploy/images/${MACHINE}/open-amp-xlnx" DEPENDS = " open-amp-xlnx " do_install[mcdepends] += "mc::${FW_TARGET}:open-amp-xlnx:do_deploy" do_install() { - src=${TOPDIR}/${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} + src=${TMPDIR}${OPENAMP_FW_DEPLOY_DIR}/${OPENAMP_FW_SRC_NAME} dest=${D}${FW_LIB_DIR}/${OPENAMP_FW_NAME} if [ ! -e $src ]; then bberror "Multiconfig firmware $src is not found. Set OPENAMP_FW_DEPLOY_DIR:pn-${PN} if necessary." -- cgit v1.2.3-54-g00ecf From d95d0158187802a913236a67758d7e8e629dc8ae Mon Sep 17 00:00:00 2001 From: John Toomey Date: Wed, 14 Aug 2024 17:14:49 +0100 Subject: image-selector: Add SDT image selector recipe Also add imgsel wrapper allowing for the correct image-selector recipe to be built depending if the XSCT or SDT flow is in use Signed-off-by: John Toomey Signed-off-by: Mark Hatle --- meta-xilinx-core/recipes-bsp/embeddedsw/imgsel.bb | 72 ++++++++++++++++++++++ .../image-selector/image-selector_2024.2.bb | 45 ++++++++++++++ .../embeddedsw/imgsel-meta-xilinx-standalone.inc | 19 ++++++ .../recipes-bsp/embeddedsw/imgsel.bbappend | 1 + 4 files changed, 137 insertions(+) create mode 100644 meta-xilinx-core/recipes-bsp/embeddedsw/imgsel.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb create mode 100644 meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc create mode 100644 meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/imgsel.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/imgsel.bb new file mode 100644 index 00000000..0c0f1549 --- /dev/null +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/imgsel.bb @@ -0,0 +1,72 @@ +DESCRIPTION = "Image Selector" + +LICENSE = "CLOSED" + +PROVIDES = "virtual/imgsel" + +INHIBIT_DEFAULT_DEPS = "1" + +COMPATIBLE_MACHINE = "^$" +COMPATIBLE_MACHINE:zynqmp = "zynqmp" + +# Since we're just copying, we can run any config +COMPATIBLE_HOST = ".*" + +# Default expects the user to provide the imageselector in the deploy +# directory, named "image-selector-${MACHINE}.bin" and "image-selector-${MACHINE}.bin" +# A machine, multiconfig, or local.conf should override this +IMGSEL_DEPENDS ??= "" +IMGSEL_MCDEPENDS ??= "" +IMGSEL_DEPLOY_DIR ??= "${DEPLOY_DIR_IMAGE}" +IMGSEL_DEPLOY_DIR[vardepsexclude] += "TOPDIR" +IMGSEL_IMAGE_NAME ??= "image-selector-${MACHINE}" + +# Default is for the multilib case (without the extension .bin) +IMGSEL_FILE ??= "${IMGSEL_DEPLOY_DIR}/${IMGSEL_IMAGE_NAME}" +IMGSEL_FILE[vardepsexclude] = "IMGSEL_DEPLOY_DIR" + +do_fetch[depends] += "${IMGSEL_DEPENDS}" +do_fetch[mcdepends] += "${IMGSEL_MCDEPENDS}" + +inherit deploy + +# If the item is already in OUR deploy_image_dir, nothing to deploy! +SHOULD_DEPLOY = "${@'false' if (d.getVar('IMGSEL_FILE')).startswith(d.getVar('DEPLOY_DIR_IMAGE')) else 'true'}" +do_deploy() { + # If the item is already in OUR deploy_image_dir, nothing to deploy! + if ${SHOULD_DEPLOY}; then + install -Dm 0644 ${IMGSEL_FILE}.bin ${DEPLOYDIR}/${IMGSEL_IMAGE_NAME}.bin + install -Dm 0644 ${IMGSEL_FILE}.elf ${DEPLOYDIR}/${IMGSEL_IMAGE_NAME}.elf + fi +} + +addtask deploy before do_build after do_install + +INSANE_SKIP:${PN} = "arch" +INSANE_SKIP:${PN}-dbg = "arch" + +# Disable buildpaths QA check warnings. +INSANE_SKIP:${PN} += "buildpaths" + +#SYSROOT_DIRS += "/boot" +#FILES:${PN} = "/boot/${PN}.bin" + +def check_imgsel_variables(d): + # If both are blank, the user MUST pass in the path to the firmware! + if not d.getVar('IMGSEL_DEPENDS') and not d.getVar('IMGSEL_MCDEPENDS'): + # Don't cache this, as the items on disk can change! + d.setVar('BB_DONT_CACHE', '1') + + if not os.path.exists(d.getVar('IMGSEL_FILE') + ".bin"): + if not d.getVar('WITHIN_EXT_SDK'): + raise bb.parse.SkipRecipe("The expected file %s.bin is not available.\nSet IMGSEL_FILE to the path with a precompiled IMGSEL binary." % d.getVar('IMGSEL_FILE')) + else: + # We found the file, so be sure to track it + d.setVar('SRC_URI', 'file://${IMGSEL_FILE}.bin') + d.setVarFlag('do_install', 'file-checksums', '${IMGSEL_FILE}.bin:True') + d.setVarFlag('do_deploy', 'file-checksums', '${IMGSEL_FILE}.bin:True') + +python() { + # Need to allow bbappends to change the check + check_imgsel_variables(d) +} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb new file mode 100644 index 00000000..eee73fcb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb @@ -0,0 +1,45 @@ +inherit esw python3native esw_apps_common deploy + +DEPENDS += "libxil xiltimer bootgen-native" + +PROVIDES = "virtual/imgsel" +RCONFLICTS:${PN} = "imgsel" + +ESW_COMPONENT_SRC = "/src/" +ESW_EXECUTABLE_NAME = "imgsel" + +SRC_URI:append = " git://github.com/Xilinx/image-selector.git;protocol=https;branch=main;destsuffix=image-selector;name=image-selector" +SRCREV_image-selector = "809441712855a64a35496192c180e31328a78b7b" + +do_configure:prepend() { + ( + cd ${S} + lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC} + install -m 0644 *.cmake ${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC}/ + install -m 0644 ${S}/cmake/UserConfig.cmake ${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC} + ) +} + +OECMAKE_SOURCEPATH = "${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC}" + +do_compile:append () { +cat > ${WORKDIR}/${PN}.bif << EOF + the_ROM_image: + { + [bootloader,destination_cpu=a53-0] ${B}/${ESW_EXECUTABLE_NAME}.elf + } +EOF + + bootgen -image ${WORKDIR}/${PN}.bif -arch ${SOC_FAMILY} -w -o ${B}/${PN}.bin +} + +do_install[noexec] = "1" + +do_deploy() { + install -Dm 0644 ${B}/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${PN}.elf + ln -sf ${PN}.elf ${DEPLOYDIR}/${PN}-${MACHINE}.elf + install -Dm 0644 ${B}/${PN}.bin ${DEPLOYDIR}/${PN}.bin + ln -sf ${PN}.bin ${DEPLOYDIR}/${PN}-${MACHINE}.bin +} + +addtask deploy before do_build after do_install diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc new file mode 100644 index 00000000..d353e264 --- /dev/null +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc @@ -0,0 +1,19 @@ +# Default imgsel configuration, using fsbl multiconfig +IMGSEL_DEPENDS ?= "" +IMGSEL_MCDEPENDS ?= "mc::${MACHINE}-cortexa53-fsbl:image-selector:do_deploy" +IMGSEL_DEPLOY_DIR ?= "${TOPDIR}/tmp-${MACHINE}-cortexa53-fsbl/deploy/images/${MACHINE}/" +IMGSEL_IMAGE_NAME ?= "image-selector-${MACHINE}" + +def check_imgsel_variables(d): + # If both are blank, the user MUST pass in the path to the firmware! + if not d.getVar('IMGSEL_DEPENDS') and not d.getVar('IMGSEL_MCDEPENDS'): + # Don't cache this, as the items on disk can change! + d.setVar('BB_DONT_CACHE', '1') + + if not os.path.exists(d.getVar('IMGSEL_FILE') + ".bin"): + raise bb.parse.SkipRecipe("Could not open image selector file: %s" % d.getVar('IMGSEL_FILE')) + else: + # We found the file, so be sure to track it + d.setVar('SRC_URI', 'file://${IMGSEL_FILE}.bin') + d.setVarFlag('do_install', 'file-checksums', '${IMGSEL_FILE}.bin:True') + d.setVarFlag('do_deploy', 'file-checksums', '${IMGSEL_FILE}.bin:True') diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend new file mode 100644 index 00000000..af3b2d59 --- /dev/null +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend @@ -0,0 +1 @@ +require ${@'imgsel-meta-xilinx-standalone.inc' if d.getVar('XILINX_WITH_ESW') else ''} -- cgit v1.2.3-54-g00ecf From 733654c754a3203cb9dc7e1064c3cd27ab00b009 Mon Sep 17 00:00:00 2001 From: John Toomey Date: Wed, 14 Aug 2024 17:18:53 +0100 Subject: device-tree: Add dir include required for SDT flow Signed-off-by: John Toomey Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend index 449a69c8..626d7a0d 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend +++ b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend @@ -1 +1,3 @@ COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}" + +DT_INCLUDE:kria:append = "${DT_FILES_PATH}/u-boot-xlnx/include/" -- cgit v1.2.3-54-g00ecf From 469435f21a42d1949aa9c2438bf487eca61d1b13 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 15 Aug 2024 09:19:22 -0600 Subject: sdt-artifacts: Recipe to clone sdt artifacts This recipe will provide a feature to clone sdt artifacts using https, http and file protocol. sdt artfacts will be downloaded and extract to SYSROOT_DIRS(/usr/share) directory. Machine conf files and other recipes are use this sdt artifacts such as PDI_PATH, SYSTEM_DTFILE paths. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../recipes-bsp/sdt-artifacts/sdt-artifacts.inc | 7 ++ .../sdt-artifacts/sdt-artifacts_2024.2.bb | 106 +++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc new file mode 100644 index 00000000..327378e0 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc @@ -0,0 +1,7 @@ +# +# Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved. +# +# SPDX-License-Identifier: MIT +# + +# Automatically generated. Manual changes will be lost. diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb new file mode 100644 index 00000000..18834cbb --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb @@ -0,0 +1,106 @@ +SUMMARY = "Recipe to download SDT artifacts and extract to directory" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +INHIBIT_DEFAULT_DEPS = "1" + +BB_STRICT_CHECKSUM = "${VALIDATE_SDT_CHECKSUM}" + +SDT_MACHINE ??= "${@(d.getVar('MACHINE') or '')}" +SDT_MACHINE[doc] = "By defaul it is set to MACHINE, but can user change" + +SDT_PROT ??= "" +SDT_PROT[doc] = "Download protocol method such as file://, git://, http:// or https://" + +SDT_PATH ??= "" +SDT_PATH[doc] = "Path to https or http url or git repository or local file" + +SDT_NAME ??= "" +SDT_NAME[doc] = "Path to the SDT output directory once downloaded, usually set by the recipe" + +SDT_FILE_NAME ??= "" +SDT_FILE_NAME[doc] = "SDT File name such as .tar.gz excluding extension" + +BRANCH ??= "" +SRCREV ??= "" +SDT_BRANCHARG ??= "${@['', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" +SDT_BRANCHARGS = "${@['', ';${SDT_BRANCHARG}'][d.getVar('SDT_BRANCHARG', True) != '']}" + +SDT_VERSION ??= "${@(d.getVar('XILINX_RELEASE_VERSION') or 'undefined').replace('v', '')}" +SDT_VERSION[doc] = "SDT artifacts release version" + +# Provide a way to extend the SRC_URI, default to adding protocol=https for git:// usage. +SDT_EXTENSION ?= "${@';protocol=https' if d.getVar('SDT_PROT') == 'git://' else ''}" + +PV = "${SDT_VERSION}" + +SRC_URI = "${SDT_PROT}${SDT_PATH}${SDT_BRANCHARGS}${SDT_EXTENSION}" + +include sdt-artifacts.inc + +PACKAGE_ARCH ?= "${MACHINE_ARCH}" + +COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" + +# Don't set S = "${WORKDIR}/git" as we need this to work for other protocols +# SDT_NAME will be adjusted to include /git if needed +S = "${WORKDIR}" + +python do_fetch() { + src_uri = (d.getVar('SRC_URI') or "").split() + if not src_uri: + return + + try: + for uri in src_uri: + if uri.startswith("file://"): + import shutil + fn = uri.split("://")[1].split(";")[0] + shutil.copy(fn, os.path.join(d.getVar('DL_DIR'))) + else: + fetcher = bb.fetch2.Fetch([uri], d) + fetcher.download() + except bb.fetch2.BBFetchException as e: + bb.fatal("Bitbake Fetcher Error: " + repr(e)) +} + +python do_unpack() { + src_uri = (d.getVar('SRC_URI') or "").split() + if not src_uri: + return + + try: + for uri in src_uri: + if uri.startswith("file://"): + fn = uri.split("://")[1].split(";")[0] + local_uri = "file://" + os.path.join(d.getVar('DL_DIR')) + else: + local_uri = uri + + fetcher = bb.fetch2.Fetch([local_uri], d) + fetcher.unpack(d.getVar('WORKDIR')) + except bb.fetch2.BBFetchException as e: + bb.fatal("Bitbake Fetcher Error: " + repr(e)) +} + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + + if [ -d ${S}/${SDT_FILE_NAME} ]; then + install -d ${D}${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME} + cp --preserve=mode,timestamps -R ${S}/${SDT_FILE_NAME}/* ${D}${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME} + else + bbwarn "SDT artifacts expected but not found" + fi +} + +# Artifacts has plm.elf, psm.elf or other aie elf hence we need to strip and skip +# the packages. +INSANE_SKIP += "arch" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +FILES:${PN} = "${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME}/*" -- cgit v1.2.3-54-g00ecf From 09260f6d661e046f55b5257c52c7f0b0a5ffe56b Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 15 Aug 2024 09:19:23 -0600 Subject: fsbl-firmware_sdt.inc: Add support to fetch cached ps init files Add support to fetch cached ps init files from sdt-artifacts repo. Also make sdt-artifacts as conditional DEPENDS. Set USE_SDT_ARTIFACTS variable to "1" in machine file, if SDT artifacts are used from repo. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc | 35 +++++++--------------- 1 file changed, 10 insertions(+), 25 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc index 9b0683aa..838004fa 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc @@ -11,7 +11,10 @@ ESW_FSBL_DEPENDS = "xilstandalone xiltimer xilffs" ESW_FSBL_DEPENDS:append:zynq = " xilrsa" ESW_FSBL_DEPENDS:append:zynqmp = " xilsecure xilpm" -DEPENDS += "${ESW_FSBL_DEPENDS}" +USE_SDT_ARTIFACTS ?= "" +USE_SDT_ARTIFACTS[doc] = "Set this to "1" in machine file, if SDT artifacts are used from repo" + +DEPENDS += "${@'sdt-artifacts' if d.getVar('USE_SDT_ARTIFACTS') == '1' else ''} ${ESW_FSBL_DEPENDS}" CFLAGS:append:aarch64 = " -DARMA53_64" CFLAGS:append:armv7r = " -DARMR5" @@ -21,36 +24,18 @@ FSBL_PS_INIT_C:zynqmp = "psu_init.c" FSBL_PS_INIT_H:zynq = "ps7_init.h" FSBL_PS_INIT_H:zynqmp = "psu_init.h" -python() { - psu_init_path = d.getVar('PSU_INIT_PATH') - if not psu_init_path: - psu_init_path = os.path.dirname(d.getVar('SYSTEM_DTFILE')) - - ps_init_c = d.getVar('FSBL_PS_INIT_C') - ps_init_h = d.getVar('FSBL_PS_INIT_H') - - add_path = False - if os.path.exists(os.path.join(psu_init_path, ps_init_c)): - d.appendVar('SRC_URI', ' file://${FSBL_PS_INIT_C}') - add_path = True - - if os.path.exists(os.path.join(psu_init_path, ps_init_h)): - d.appendVar('SRC_URI', ' file://${FSBL_PS_INIT_H}') - add_path = True - - if add_path: - d.prependVar('FILESEXTRAPATHS', '%s:' % psu_init_path) -} +PSU_INIT_PATH ?= "${SYSTEM_DTFILE_DIR}" +PSU_INIT_PATH[doc] = "Path to psu_init or ps7_init files, defaults to system device tree output directory" do_configure:prepend() { - if [ -e ${WORKDIR}/${FSBL_PS_INIT_C} ]; then - install -m 0644 ${WORKDIR}/${FSBL_PS_INIT_C} ${S}/${ESW_COMPONENT_SRC} + if [ -e ${PSU_INIT_PATH}/${FSBL_PS_INIT_C} ]; then + install -m 0644 ${PSU_INIT_PATH}/${FSBL_PS_INIT_C} ${S}/${ESW_COMPONENT_SRC} else bbwarn "Using the default ${FSBL_PS_INIT_C}, this may not work correctly." fi - if [ -e ${WORKDIR}/${FSBL_PS_INIT_H} ]; then - install -m 0644 ${WORKDIR}/${FSBL_PS_INIT_H} ${S}/${ESW_COMPONENT_SRC} + if [ -e ${PSU_INIT_PATH}/${FSBL_PS_INIT_H} ]; then + install -m 0644 ${PSU_INIT_PATH}/${FSBL_PS_INIT_H} ${S}/${ESW_COMPONENT_SRC} else bbwarn "Using the default ${FSBL_PS_INIT_H}, this may not work correctly." fi -- cgit v1.2.3-54-g00ecf From b5c6386b1a09b0e12a2d17bbd22a212caefa15c6 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 15 Aug 2024 09:15:19 -0600 Subject: sdt-artifacts: Only copy if the SDT_FILE_NAME is defined This resolves an issue when SDT_FILE_NAME is not set that results in: cp: cannot copy a directory, '.../tmp/work/.../sdt-artifacts/2024.2//image', into itself, '.../tmp/work/.../sdt-artifacts/2024.2/image/usr/share/sdt/zynqmp-generic/image' Signed-off-by: Mark Hatle --- .../recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb index 18834cbb..f822bb7c 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb @@ -88,7 +88,7 @@ do_compile[noexec] = "1" do_install() { - if [ -d ${S}/${SDT_FILE_NAME} ]; then + if [ -n ${SDT_FILE_NAME} -a -d ${S}/${SDT_FILE_NAME} ]; then install -d ${D}${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME} cp --preserve=mode,timestamps -R ${S}/${SDT_FILE_NAME}/* ${D}${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME} else -- cgit v1.2.3-54-g00ecf From ee959b648945d06867badb7e8d2dec5040c26332 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 13 Aug 2024 14:52:23 -0600 Subject: meta-xilinx-standalone-sdt: base-pdi: Move from meta-amd-adaptive-socs Signed-off-by: Mark Hatle --- .../recipes-bsp/base-pdi/base-pdi_%.bbappend | 1 + .../recipes-bsp/base-pdi/base-pdi_sdt.inc | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend new file mode 100644 index 00000000..a868f78f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_%.bbappend @@ -0,0 +1 @@ +require ${@'base-pdi_sdt.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc new file mode 100644 index 00000000..a41038d3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc @@ -0,0 +1,16 @@ +# Unset SRC_URI and use the PDI_PATH from PDI_PATH_DEPENDS (usually sdt-artifacts) SYSROOT_DIR + +SRC_URI = "" + +DEPENDS += "sdt-artifacts" + +PDI_SKIP_CHECK = "1" + +do_install() { + if [ -f ${PDI_PATH} ]; then + install -d ${D}/boot + install -m 0644 ${PDI_PATH} ${D}/boot/base-design.pdi + else + bbfatal "No base pdi supplied" + fi +} -- cgit v1.2.3-54-g00ecf From ed95273a173c65076b55c2bf0489da14c2eb63ce Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 21 Aug 2024 15:44:59 -0600 Subject: meta-xilinx-standalone-sdt: base-pdi: Use PDI_PATH_DEPENDS for pdi source Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc index a41038d3..3a8e2dca 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc +++ b/meta-xilinx-standalone-sdt/recipes-bsp/base-pdi/base-pdi_sdt.inc @@ -2,7 +2,8 @@ SRC_URI = "" -DEPENDS += "sdt-artifacts" +PDI_PATH_DEPENDS ??= "" +DEPENDS += "${PDI_PATH_DEPENDS}" PDI_SKIP_CHECK = "1" -- cgit v1.2.3-54-g00ecf From c3fb38b11750d8c3cda53634a15d0a2503d77031 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 21 Aug 2024 16:14:12 -0600 Subject: meta-xilinx-standalone-sdt: Enable SDT only if no other flow enabled by default Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/conf/layer.conf b/meta-xilinx-standalone-sdt/conf/layer.conf index 805e002c..d5c95f84 100644 --- a/meta-xilinx-standalone-sdt/conf/layer.conf +++ b/meta-xilinx-standalone-sdt/conf/layer.conf @@ -26,7 +26,7 @@ LAYERDEPENDS_xilinx-standalone-sdt = "core \ LAYERSERIES_COMPAT_xilinx-standalone-sdt = "scarthgap" # Set this to enable this layer -XILINX_WITH_ESW ?= "sdt" +XILINX_WITH_ESW ??= "sdt" # Sanity check for meta-xilinx-standalone layer. # Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check. -- cgit v1.2.3-54-g00ecf From efac63c1ed1e6c026e558a8e921c2f3be5f765c5 Mon Sep 17 00:00:00 2001 From: Ben Levinsky Date: Tue, 20 Aug 2024 21:05:34 -0700 Subject: openamp-fw.inc: Update OPENAMP_FW_DEPLOY_DIR to no BPN OpenAMP recipe now deploys without BPN. So the variable should account for this. Signed-off-by: Ben Levinsky Signed-off-by: Mark Hatle --- .../recipes-applications/openamp-fw/openamp-fw.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc index f6c53414..137532b7 100644 --- a/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc +++ b/meta-xilinx-standalone-sdt/recipes-applications/openamp-fw/openamp-fw.inc @@ -17,7 +17,7 @@ FW_OS ?= "baremetal" FW_TARGET ?= "${MACHINE}-${FW_MACHINE}-${FW_OS}" -OPENAMP_FW_DEPLOY_DIR ?= "-${FW_TARGET}/deploy/images/${MACHINE}/open-amp-xlnx" +OPENAMP_FW_DEPLOY_DIR ?= "-${FW_TARGET}/deploy/images/${MACHINE}/" DEPENDS = " open-amp-xlnx " do_install[mcdepends] += "mc::${FW_TARGET}:open-amp-xlnx:do_deploy" -- cgit v1.2.3-54-g00ecf From 4245331708cccc501d6a04e6554c537f9767773c Mon Sep 17 00:00:00 2001 From: John Toomey Date: Fri, 23 Aug 2024 16:26:59 +0100 Subject: image-selector: Add missing manifest generation Signed-off-by: John Toomey Signed-off-by: Mark Hatle --- .../recipes-bsp/image-selector/image-selector_2024.2.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb index eee73fcb..50e21675 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb @@ -31,6 +31,8 @@ cat > ${WORKDIR}/${PN}.bif << EOF EOF bootgen -image ${WORKDIR}/${PN}.bif -arch ${SOC_FAMILY} -w -o ${B}/${PN}.bin + + printf "* ${PN}\nSRCREV: ${SRCREV}\nBRANCH: ${BRANCH}\n\n" > ${S}/${PN}.manifest } do_install[noexec] = "1" @@ -40,6 +42,8 @@ do_deploy() { ln -sf ${PN}.elf ${DEPLOYDIR}/${PN}-${MACHINE}.elf install -Dm 0644 ${B}/${PN}.bin ${DEPLOYDIR}/${PN}.bin ln -sf ${PN}.bin ${DEPLOYDIR}/${PN}-${MACHINE}.bin + + install -Dm 0644 ${S}/${PN}.manifest ${DEPLOYDIR}/${PN}-${MACHINE}.manifest } addtask deploy before do_build after do_install -- cgit v1.2.3-54-g00ecf From c7074d682d8a1743062efd47037b4b59667a0b5f Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 13 Aug 2024 14:52:39 -0600 Subject: meta-xilinx-standalone-sdt: fsbl-firmware: Fix dependencies on sdt-artifacts Additionally rework the fsbl-firmware's access to the PSU_INIT files. Signed-off-by: Mark Hatle --- .../recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc index 838004fa..2c96b04f 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/fsbl-firmware_sdt.inc @@ -11,19 +11,19 @@ ESW_FSBL_DEPENDS = "xilstandalone xiltimer xilffs" ESW_FSBL_DEPENDS:append:zynq = " xilrsa" ESW_FSBL_DEPENDS:append:zynqmp = " xilsecure xilpm" -USE_SDT_ARTIFACTS ?= "" -USE_SDT_ARTIFACTS[doc] = "Set this to "1" in machine file, if SDT artifacts are used from repo" - -DEPENDS += "${@'sdt-artifacts' if d.getVar('USE_SDT_ARTIFACTS') == '1' else ''} ${ESW_FSBL_DEPENDS}" +DEPENDS += "${PSU_INIT_DEPENDS} ${ESW_FSBL_DEPENDS}" CFLAGS:append:aarch64 = " -DARMA53_64" CFLAGS:append:armv7r = " -DARMR5" +# These files usually come in from sdt-artifacts (SYSTEM_DTFILE_DEPENDS) FSBL_PS_INIT_C:zynq = "ps7_init.c" FSBL_PS_INIT_C:zynqmp = "psu_init.c" FSBL_PS_INIT_H:zynq = "ps7_init.h" FSBL_PS_INIT_H:zynqmp = "psu_init.h" +SYSTEM_DTFILE_DEPENDS ??= "" +PSU_INIT_DEPENDS ?= "${SYSTEM_DTFILE_DEPENDS}" PSU_INIT_PATH ?= "${SYSTEM_DTFILE_DIR}" PSU_INIT_PATH[doc] = "Path to psu_init or ps7_init files, defaults to system device tree output directory" @@ -31,13 +31,13 @@ do_configure:prepend() { if [ -e ${PSU_INIT_PATH}/${FSBL_PS_INIT_C} ]; then install -m 0644 ${PSU_INIT_PATH}/${FSBL_PS_INIT_C} ${S}/${ESW_COMPONENT_SRC} else - bbwarn "Using the default ${FSBL_PS_INIT_C}, this may not work correctly." + bbfatal "Using the default ${FSBL_PS_INIT_C}, this may not work correctly. Looking for ${PSU_INIT_PATH}/${FSBL_PS_INIT_C}" fi if [ -e ${PSU_INIT_PATH}/${FSBL_PS_INIT_H} ]; then install -m 0644 ${PSU_INIT_PATH}/${FSBL_PS_INIT_H} ${S}/${ESW_COMPONENT_SRC} else - bbwarn "Using the default ${FSBL_PS_INIT_H}, this may not work correctly." + bbfatal "Using the default ${FSBL_PS_INIT_H}, this may not work correctly. Looking for ${PSU_INIT_PATH}/${FSBL_PS_INIT_H}" fi install -m 0644 ${S}/cmake/UserConfig.cmake ${S}/${ESW_COMPONENT_SRC} } -- cgit v1.2.3-54-g00ecf From 393d9c00c826bfcdacf374782bba27e0e8e57764 Mon Sep 17 00:00:00 2001 From: Kunal Rane Date: Fri, 30 Aug 2024 11:55:57 +0530 Subject: recipes-drivers: Support for multimedia recipes Adding support for multimedia baremetal driver recipes to compile fsbl-firmware. Signed-off-by: Kunal Rane Signed-off-by: Mark Hatle --- .../recipes-drivers/audio-formatter_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/axipcie_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/csi2tx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/csi2txss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/csi_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp12_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp12rxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp12txss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp14_2024.2.bb | 2 +- .../recipes-drivers/dp14rxss_2024.2.bb | 2 +- .../recipes-drivers/dp14txss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp21_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp21rxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dp21txss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dphy_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dsi2rx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dsi_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dsirxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dsitxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/dual-splitter_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp1x_2024.2.bb | 21 +++++++++++++++++++++ .../recipes-drivers/hdcp22-cipher-dp_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-cipher_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-common_2024.2.bb | 12 ++++++++++++ .../recipes-drivers/hdcp22-mmult_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-rng_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-rx-dp_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-rx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-tx-dp_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/hdcp22-tx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/i3c_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/mipi-rx-phy_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/mipi-tx-phy_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/mipicsiss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/sdi-common_2024.2.bb | 12 ++++++++++++ .../recipes-drivers/sdiaud_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/spdif_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/ufspsxc_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-axi4s-remap_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-hdmi-common_2024.2.bb | 2 +- .../recipes-drivers/v-hdmiphy1_2024.2.bb | 2 +- .../recipes-drivers/v-hdmirx1_2024.2.bb | 2 +- .../recipes-drivers/v-hdmirx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-hdmirxss1_2024.2.bb | 2 +- .../recipes-drivers/v-hdmirxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-hdmitx1_2024.2.bb | 2 +- .../recipes-drivers/v-hdmitx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-hdmitxss1_2024.2.bb | 2 +- .../recipes-drivers/v-hdmitxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-sdirx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-sdirxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-sditx_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/v-sditxss_2024.2.bb | 14 ++++++++++++++ .../recipes-drivers/vphy_2024.2.bb | 2 +- 54 files changed, 642 insertions(+), 9 deletions(-) create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/audio-formatter_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/axipcie_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csi2tx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csi2txss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/csi_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp12_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp21_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp21rxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dp21txss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dphy_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dsi2rx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dsi_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dsirxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/dual-splitter_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp1x_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher-dp_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-common_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-mmult_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rng_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx-dp_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx-dp_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/i3c_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mipi-rx-phy_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mipi-tx-phy_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sdi-common_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/sdiaud_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/spdif_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/ufspsxc_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-axi4s-remap_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-sdirx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-sdirxss_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-sditx_2024.2.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-drivers/v-sditxss_2024.2.bb (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/audio-formatter_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/audio-formatter_2024.2.bb new file mode 100644 index 00000000..0ebdc46a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/audio-formatter_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "audio-formatter" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/audio_formatter/src/" +ESW_COMPONENT_NAME = "libaudio_formatter.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/axipcie_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/axipcie_2024.2.bb new file mode 100644 index 00000000..a587d2ea --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/axipcie_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "axipcie" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/axipcie/src/" +ESW_COMPONENT_NAME = "libaxipcie.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/csi2tx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/csi2tx_2024.2.bb new file mode 100644 index 00000000..638ff85d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/csi2tx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "csi2tx" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csi2tx/src/" +ESW_COMPONENT_NAME = "libcsi2tx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/csi2txss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/csi2txss_2024.2.bb new file mode 100644 index 00000000..0c438681 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/csi2txss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "csi2txss" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csi2txss/src/" +ESW_COMPONENT_NAME = "libcsi2txss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/csi_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/csi_2024.2.bb new file mode 100644 index 00000000..6b1ccfb7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/csi_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "csi" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csi/src/" +ESW_COMPONENT_NAME = "libcsi.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp12_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp12_2024.2.bb new file mode 100644 index 00000000..d3e102a1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp12_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp12" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp12/src/" +ESW_COMPONENT_NAME = "libdp12.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb new file mode 100644 index 00000000..dcd2c83c --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp12rxss" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common dp12 iic iicps hdcp1x" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp12rxss/src/" +ESW_COMPONENT_NAME = "libdp12rxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb new file mode 100644 index 00000000..fb06efac --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp12txss" + +inherit esw python3native + +DEPENDS += "xilstandalone dual-splitter vtc dp12 tmrctr" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp12txss/src/" +ESW_COMPONENT_NAME = "libdp12txss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.2.bb index ab63d3a1..8b9e1ef7 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "dp14" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14/src/" ESW_COMPONENT_NAME = "libdp14.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb index 4e98b2e4..b623d5df 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "dp14rxss" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common dp14 iic iicps hdcp1x hdcp22-rx-dp" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14rxss/src/" ESW_COMPONENT_NAME = "libdp14rxss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb new file mode 100644 index 00000000..078d277f --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp14txss" + +inherit esw python3native + +DEPENDS += "xilstandalone dual-splitter vtc dp14 tmrctr hdcp1x hdcp22-tx-dp" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14txss/src/" +ESW_COMPONENT_NAME = "libdp14txss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp21_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp21_2024.2.bb new file mode 100644 index 00000000..0398c202 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp21_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp21" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp21/src/" +ESW_COMPONENT_NAME = "libdp21.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp21rxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp21rxss_2024.2.bb new file mode 100644 index 00000000..ec939378 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp21rxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp21rxss" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp21rxss/src/" +ESW_COMPONENT_NAME = "libdp21rxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp21txss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp21txss_2024.2.bb new file mode 100644 index 00000000..714fa146 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp21txss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dp21txss" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp21txss/src/" +ESW_COMPONENT_NAME = "libdp21txss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dphy_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dphy_2024.2.bb new file mode 100644 index 00000000..c0a32a38 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dphy_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dphy" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dphy/src/" +ESW_COMPONENT_NAME = "libdphy.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dsi2rx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dsi2rx_2024.2.bb new file mode 100644 index 00000000..ffea6eb4 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dsi2rx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsi2rx" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dsi2rx/src/" +ESW_COMPONENT_NAME = "libdsi2rx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dsi_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dsi_2024.2.bb new file mode 100644 index 00000000..ab2a81fa --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dsi_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsi" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dsi/src/" +ESW_COMPONENT_NAME = "libdsi.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dsirxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dsirxss_2024.2.bb new file mode 100644 index 00000000..169037f3 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dsirxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsirxss" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dsirxss/src/" +ESW_COMPONENT_NAME = "libdsirxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb new file mode 100644 index 00000000..185d5b96 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dsitxss" + +inherit esw python3native + +DEPENDS += "xilstandalone dsi dphy" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dsitxss/src/" +ESW_COMPONENT_NAME = "libdsitxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dual-splitter_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dual-splitter_2024.2.bb new file mode 100644 index 00000000..45d546f7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dual-splitter_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "dual-splitter" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dual_splitter/src/" +ESW_COMPONENT_NAME = "libdual_splitter.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp1x_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp1x_2024.2.bb new file mode 100644 index 00000000..d3090048 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp1x_2024.2.bb @@ -0,0 +1,21 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp1x" + +inherit esw python3native + +DEPENDS += "xilstandalone tmrctr" + +DEPENDS += " ${@bb.utils.contains_any("MACHINE_FEATURES", "v-hdmirx1", "v-hdmirx1", "",d)}" +DEPENDS += " ${@bb.utils.contains_any("MACHINE_FEATURES", "v-hdmitx1", "v-hdmitx1", "",d)}" +DEPENDS += " ${@bb.utils.contains_any("MACHINE_FEATURES", "v-hdmirx", "v-hdmirx", "",d)}" +DEPENDS += " ${@bb.utils.contains_any("MACHINE_FEATURES", "v-hdmitx", "v-hdmitx", "",d)}" +DEPENDS += " ${@bb.utils.contains_any("MACHINE_FEATURES", "dp12", "dp12", "",d)}" +DEPENDS += " ${@bb.utils.contains_any("MACHINE_FEATURES", "dp14", "dp14", "",d)}" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp1x/src/" +ESW_COMPONENT_NAME = "libhdcp1x.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher-dp_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher-dp_2024.2.bb new file mode 100644 index 00000000..01ab14c9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher-dp_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-cipher-dp" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_cipher_dp/src/" +ESW_COMPONENT_NAME = "libhdcp22_cipher_dp.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher_2024.2.bb new file mode 100644 index 00000000..7899f880 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-cipher_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-cipher" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_cipher/src/" +ESW_COMPONENT_NAME = "libhdcp22_cipher.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-common_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-common_2024.2.bb new file mode 100644 index 00000000..05bb66ef --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-common_2024.2.bb @@ -0,0 +1,12 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-common" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_common/src/" +ESW_COMPONENT_NAME = "libhdcp22_common.a" + diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-mmult_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-mmult_2024.2.bb new file mode 100644 index 00000000..8dff5e6b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-mmult_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-mmult" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_mmult/src/" +ESW_COMPONENT_NAME = "libhdcp22_mmult.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rng_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rng_2024.2.bb new file mode 100644 index 00000000..96bab361 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rng_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-rng" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_rng/src/" +ESW_COMPONENT_NAME = "libhdcp22_rng.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx-dp_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx-dp_2024.2.bb new file mode 100644 index 00000000..fba6bd9d --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx-dp_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-rx-dp" + +inherit esw python3native + +DEPENDS += "xilstandalone tmrctr hdcp22-common hdcp22-cipher-dp hdcp22-mmult hdcp22-rng" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_rx_dp/src/" +ESW_COMPONENT_NAME = "libhdcp22_rx_dp.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx_2024.2.bb new file mode 100644 index 00000000..67832580 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-rx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-rx" + +inherit esw python3native + +DEPENDS += "xilstandalone tmrctr hdcp22-common hdcp22-cipher hdcp22-mmult hdcp22-rng" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_rx/src/" +ESW_COMPONENT_NAME = "libhdcp22_rx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx-dp_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx-dp_2024.2.bb new file mode 100644 index 00000000..1054d500 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx-dp_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-tx-dp" + +inherit esw python3native + +DEPENDS += "xilstandalone tmrctr hdcp22-common hdcp22-cipher-dp hdcp22-rng" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/" +ESW_COMPONENT_NAME = "libhdcp22_tx_dp.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx_2024.2.bb new file mode 100644 index 00000000..9a96606a --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/hdcp22-tx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "hdcp22-tx" + +inherit esw python3native + +DEPENDS += "xilstandalone tmrctr hdcp22-common hdcp22-cipher hdcp22-rng" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/hdcp22_tx/src/" +ESW_COMPONENT_NAME = "libhdcp22_tx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/i3c_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/i3c_2024.2.bb new file mode 100644 index 00000000..e4185d58 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/i3c_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "i3c" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/i3c/src/" +ESW_COMPONENT_NAME = "libi3c.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mipi-rx-phy_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mipi-rx-phy_2024.2.bb new file mode 100644 index 00000000..f3fe328e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mipi-rx-phy_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "mipi-rx-phy" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mipi_rx_phy/src/" +ESW_COMPONENT_NAME = "libmipi_rx_phy.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mipi-tx-phy_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mipi-tx-phy_2024.2.bb new file mode 100644 index 00000000..c7ecb399 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mipi-tx-phy_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "mipi-tx-phy" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mipi_tx_phy/src/" +ESW_COMPONENT_NAME = "libmipi_tx_phy.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb new file mode 100644 index 00000000..42d07889 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "mipicsiss" + +inherit esw python3native + +DEPENDS += "xilstandalone csi iic dphy" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mipicsiss/src/" +ESW_COMPONENT_NAME = "libmipicsiss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sdi-common_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sdi-common_2024.2.bb new file mode 100644 index 00000000..828a9ac9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sdi-common_2024.2.bb @@ -0,0 +1,12 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "sdi-common" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdi_common/src/" +ESW_COMPONENT_NAME = "libsdi_common.a" + diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/sdiaud_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/sdiaud_2024.2.bb new file mode 100644 index 00000000..192a71d7 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/sdiaud_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "sdiaud" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdiaud/src/" +ESW_COMPONENT_NAME = "libsdiaud.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/spdif_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/spdif_2024.2.bb new file mode 100644 index 00000000..34331128 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/spdif_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "spdif" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/spdif/src/" +ESW_COMPONENT_NAME = "libspdif.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/ufspsxc_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/ufspsxc_2024.2.bb new file mode 100644 index 00000000..2c52f967 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/ufspsxc_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "ufspsxc" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/ufspsxc/src/" +ESW_COMPONENT_NAME = "libufspsxc.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-axi4s-remap_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-axi4s-remap_2024.2.bb new file mode 100644 index 00000000..cd5fbccd --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-axi4s-remap_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-axi4s-remap" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_axi4s_remap/src/" +ESW_COMPONENT_NAME = "libv_axi4s_remap.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.2.bb index 1e592d40..f6b191a7 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmi-common_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "v-hdmi-common" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmi_common/src/" ESW_COMPONENT_NAME = "libv_hdmi_common.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.2.bb index d3d601cb..2b99a40a 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmiphy1_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "v-hdmiphy1" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmiphy1/src/" ESW_COMPONENT_NAME = "libv_hdmiphy1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.2.bb index f2b576cd..4035ff1c 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx1_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "v-hdmirx1" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common v-hdmi-common" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirx1/src/" ESW_COMPONENT_NAME = "libv_hdmirx1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx_2024.2.bb new file mode 100644 index 00000000..c7d4d96b --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-hdmirx" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common v-hdmi-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirx/src/" +ESW_COMPONENT_NAME = "libv_hdmirx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb index faf57614..ffc2c249 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "v-hdmirxss1" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone v-hdmi-common v-hdmirx1 tmrctr hdcp1x hdcp22-rx" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirxss1/src/" ESW_COMPONENT_NAME = "libv_hdmirxss1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb new file mode 100644 index 00000000..df690421 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-hdmirxss" + +inherit esw python3native + +DEPENDS += "xilstandalone v-hdmirx v-hdmi-common hdcp1x" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirxss/src/" +ESW_COMPONENT_NAME = "libv_hdmirxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.2.bb index 7070235e..c8e0e041 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx1_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "v-hdmitx1" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common v-hdmi-common" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitx1/src/" ESW_COMPONENT_NAME = "libv_hdmitx1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx_2024.2.bb new file mode 100644 index 00000000..d3de4af1 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-hdmitx" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common v-hdmi-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitx/src/" +ESW_COMPONENT_NAME = "libv_hdmitx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb index de4f4ad9..06a6c5a1 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "v-hdmitxss1" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone v-hdmitx1 vtc tmrctr v-hdmi-common hdcp1x hdcp22-tx" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitxss1/src/" ESW_COMPONENT_NAME = "libv_hdmitxss1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb new file mode 100644 index 00000000..a7328b19 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-hdmitxss" + +inherit esw python3native + +DEPENDS += "xilstandalone v-hdmitx vtc v-hdmi-common hdcp1x" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitxss/src/" +ESW_COMPONENT_NAME = "libv_hdmitxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-sdirx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-sdirx_2024.2.bb new file mode 100644 index 00000000..39d54f2e --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-sdirx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-sdirx" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common sdi-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_sdirx/src/" +ESW_COMPONENT_NAME = "libv_sdirx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-sdirxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-sdirxss_2024.2.bb new file mode 100644 index 00000000..bba5be70 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-sdirxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-sdirxss" + +inherit esw python3native + +DEPENDS += "xilstandalone v-sdirx" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_sdirxss/src/" +ESW_COMPONENT_NAME = "libv_sdirxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-sditx_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-sditx_2024.2.bb new file mode 100644 index 00000000..4ee47426 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-sditx_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-sditx" + +inherit esw python3native + +DEPENDS += "xilstandalone video-common sdi-common" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_sditx/src/" +ESW_COMPONENT_NAME = "libv_sditx.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-sditxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-sditxss_2024.2.bb new file mode 100644 index 00000000..b3f7e2e9 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-sditxss_2024.2.bb @@ -0,0 +1,14 @@ + +inherit features_check + +REQUIRED_MACHINE_FEATURES = "v-sditxss" + +inherit esw python3native + +DEPENDS += "xilstandalone v-sditx vtc" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_sditxss/src/" +ESW_COMPONENT_NAME = "libv_sditxss.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.2.bb index 1a06cf60..c24aaee3 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/vphy_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "vphy" inherit esw python3native -DEPENDS += "xilstandalone " +DEPENDS += "xilstandalone video-common" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/vphy/src/" ESW_COMPONENT_NAME = "libvphy.a" -- cgit v1.2.3-54-g00ecf From 9098a4f7b2873273bf2d79e01a4a67b388a69f07 Mon Sep 17 00:00:00 2001 From: Raju Kumar Pothuraju Date: Wed, 4 Sep 2024 10:24:49 +0530 Subject: device-tree.bbappend: Move kria specific DT_INCLUDE to meta-kria Move kria specific DT_INCLUDE to meta-kria Signed-off-by: Raju Kumar Pothuraju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend | 1 - 1 file changed, 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend index 626d7a0d..745b5656 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend +++ b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend @@ -1,3 +1,2 @@ COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}" -DT_INCLUDE:kria:append = "${DT_FILES_PATH}/u-boot-xlnx/include/" -- cgit v1.2.3-54-g00ecf From bf1b02b32a02459ebe09493b0e16c82c5d873431 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 14 Aug 2024 19:01:43 -0600 Subject: meta-xilinx-standalone-sdt: sdt-artifacts: Rework to implment SDT_URI Rename to a version-less component. We're not tied to a specific version of Vivado for this. Replace SDT_PROT, SDT_PATH, SDNAME and SDT_FILENAME with: SDT_URI - URI for the system device tree download SDT_URI[sha256sum] - sha256 for the file refernced in SDT_URI SDT_URI[S] - Specific extracted S(OURCE) dir (optional) If SDT_URI is a local directory, SDT_URI[sha256sum] is not required. SDT_URI[S] must be set if the component is extracted into a subdirectory of ${WORKDIR}. Most configurations will likely need this. Signed-off-by: Mark Hatle --- .../recipes-bsp/sdt-artifacts/sdt-artifacts.bb | 78 +++++++++++++++ .../recipes-bsp/sdt-artifacts/sdt-artifacts.inc | 7 -- .../sdt-artifacts/sdt-artifacts_2024.2.bb | 106 --------------------- 3 files changed, 78 insertions(+), 113 deletions(-) create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb new file mode 100644 index 00000000..594075a5 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb @@ -0,0 +1,78 @@ +SUMMARY = "Recipe to download SDT artifacts and extract to directory" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +PROVIDES = "virtual/sdt" + +INHIBIT_DEFAULT_DEPS = "1" + +inherit deploy image-artifact-names + +# The user is expected to define SDT_URI, and SDT_URI[sha256sum]. Optionally +# they may also define SDT_URI[S] to define the unpacking path. +SDT_URI[doc] = "URI for the System Device Tree file(s), usually a tarball bundle of files" + +SDT_URI ??= "" + +SRC_URI = "${SDT_URI}" +SRC_URI[sha256sum] = "${@d.getVarFlag('SDT_URI', 'sha256sum') or 'undefined'}" + +COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" +PACKAGE_ARCH ?= "${MACHINE_ARCH}" + +# Don't set S = "${WORKDIR}/git" as we need this to work for other protocols +S = "${@d.getVarFlag('SDT_URI', 'S') or '${WORKDIR}'}" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +python () { + if not d.getVar('SDT_URI'): + raise bb.parse.SkipRecipe("SDT_URI must be specified. See recipe for instructions.") +} + +do_install() { + install -d ${D}${datadir}/sdt/${MACHINE} + if [ "${S}" = "${WORKDIR}" ]; then + # If we just copying everything, then we'll copy build components. + # This fallback is for the case where the user provides each of the + # files instead of a tarball. It shouldn't be used, but is here just + # in case. + for files in ${S}/* ; do + if [ -f $files ]; then + cp --preserve=mode,timestamps $files ${D}${datadir}/sdt/${MACHINE}/. + fi + done + else + cp --preserve=mode,timestamps -R ${S}/* ${D}${datadir}/sdt/${MACHINE}/. + fi +} + +# Artifacts has plm.elf, psm.elf or other aie elf hence we need to strip and skip +# the packages. +INSANE_SKIP += "arch" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +FILES:${PN} = "${datadir}/sdt/${MACHINE}" + +do_deploy() { + install -d ${DEPLOYDIR}/system-dt${IMAGE_VERSION_SUFFIX} + if [ "${S}" = "${WORKDIR}" ]; then + # If we just copying everything, then we'll copy build components. + # This fallback is for the case where the user provides each of the + # files instead of a tarball. It shouldn't be used, but is here just + # in case. + for files in ${S}/* ; do + if [ -f $files ]; then + cp --preserve=mode,timestamps $files ${DEPLOYDIR}/system-dt${IMAGE_VERSION_SUFFIX}/. + fi + done + else + cp --preserve=mode,timestamps -R ${S}/* ${DEPLOYDIR}/system-dt${IMAGE_VERSION_SUFFIX}/. + fi + ln -s system-dt${IMAGE_VERSION_SUFFIX} ${DEPLOYDIR}/system-dt +} + +addtask deploy after do_install before do_build diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc deleted file mode 100644 index 327378e0..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.inc +++ /dev/null @@ -1,7 +0,0 @@ -# -# Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved. -# -# SPDX-License-Identifier: MIT -# - -# Automatically generated. Manual changes will be lost. diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb deleted file mode 100644 index f822bb7c..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts_2024.2.bb +++ /dev/null @@ -1,106 +0,0 @@ -SUMMARY = "Recipe to download SDT artifacts and extract to directory" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -INHIBIT_DEFAULT_DEPS = "1" - -BB_STRICT_CHECKSUM = "${VALIDATE_SDT_CHECKSUM}" - -SDT_MACHINE ??= "${@(d.getVar('MACHINE') or '')}" -SDT_MACHINE[doc] = "By defaul it is set to MACHINE, but can user change" - -SDT_PROT ??= "" -SDT_PROT[doc] = "Download protocol method such as file://, git://, http:// or https://" - -SDT_PATH ??= "" -SDT_PATH[doc] = "Path to https or http url or git repository or local file" - -SDT_NAME ??= "" -SDT_NAME[doc] = "Path to the SDT output directory once downloaded, usually set by the recipe" - -SDT_FILE_NAME ??= "" -SDT_FILE_NAME[doc] = "SDT File name such as .tar.gz excluding extension" - -BRANCH ??= "" -SRCREV ??= "" -SDT_BRANCHARG ??= "${@['', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" -SDT_BRANCHARGS = "${@['', ';${SDT_BRANCHARG}'][d.getVar('SDT_BRANCHARG', True) != '']}" - -SDT_VERSION ??= "${@(d.getVar('XILINX_RELEASE_VERSION') or 'undefined').replace('v', '')}" -SDT_VERSION[doc] = "SDT artifacts release version" - -# Provide a way to extend the SRC_URI, default to adding protocol=https for git:// usage. -SDT_EXTENSION ?= "${@';protocol=https' if d.getVar('SDT_PROT') == 'git://' else ''}" - -PV = "${SDT_VERSION}" - -SRC_URI = "${SDT_PROT}${SDT_PATH}${SDT_BRANCHARGS}${SDT_EXTENSION}" - -include sdt-artifacts.inc - -PACKAGE_ARCH ?= "${MACHINE_ARCH}" - -COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" - -# Don't set S = "${WORKDIR}/git" as we need this to work for other protocols -# SDT_NAME will be adjusted to include /git if needed -S = "${WORKDIR}" - -python do_fetch() { - src_uri = (d.getVar('SRC_URI') or "").split() - if not src_uri: - return - - try: - for uri in src_uri: - if uri.startswith("file://"): - import shutil - fn = uri.split("://")[1].split(";")[0] - shutil.copy(fn, os.path.join(d.getVar('DL_DIR'))) - else: - fetcher = bb.fetch2.Fetch([uri], d) - fetcher.download() - except bb.fetch2.BBFetchException as e: - bb.fatal("Bitbake Fetcher Error: " + repr(e)) -} - -python do_unpack() { - src_uri = (d.getVar('SRC_URI') or "").split() - if not src_uri: - return - - try: - for uri in src_uri: - if uri.startswith("file://"): - fn = uri.split("://")[1].split(";")[0] - local_uri = "file://" + os.path.join(d.getVar('DL_DIR')) - else: - local_uri = uri - - fetcher = bb.fetch2.Fetch([local_uri], d) - fetcher.unpack(d.getVar('WORKDIR')) - except bb.fetch2.BBFetchException as e: - bb.fatal("Bitbake Fetcher Error: " + repr(e)) -} - -do_configure[noexec] = "1" -do_compile[noexec] = "1" - -do_install() { - - if [ -n ${SDT_FILE_NAME} -a -d ${S}/${SDT_FILE_NAME} ]; then - install -d ${D}${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME} - cp --preserve=mode,timestamps -R ${S}/${SDT_FILE_NAME}/* ${D}${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME} - else - bbwarn "SDT artifacts expected but not found" - fi -} - -# Artifacts has plm.elf, psm.elf or other aie elf hence we need to strip and skip -# the packages. -INSANE_SKIP += "arch" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -FILES:${PN} = "${datadir}/sdt/${SDT_MACHINE}/${SDT_FILE_NAME}/*" -- cgit v1.2.3-54-g00ecf From 27707fca4f03cae92bed0ff108158738231cd781 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 14 Aug 2024 18:34:30 -0600 Subject: layer.conf: Remove the default XILINX_WITH_ESW values It is now up to the machine .conf files to define the way the ESW software will be built. 'xsct' or 'sdt' is the usual setting. Subsequent changes will adjust the default BSPs with correct defaults. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/conf/layer.conf | 3 --- meta-xilinx-standalone/conf/layer.conf | 3 --- 2 files changed, 6 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/conf/layer.conf b/meta-xilinx-standalone-sdt/conf/layer.conf index d5c95f84..5685f4e4 100644 --- a/meta-xilinx-standalone-sdt/conf/layer.conf +++ b/meta-xilinx-standalone-sdt/conf/layer.conf @@ -25,9 +25,6 @@ LAYERDEPENDS_xilinx-standalone-sdt = "core \ LAYERSERIES_COMPAT_xilinx-standalone-sdt = "scarthgap" -# Set this to enable this layer -XILINX_WITH_ESW ??= "sdt" - # Sanity check for meta-xilinx-standalone layer. # Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check. INHERIT += "sanity-meta-xilinx-standalone-sdt" diff --git a/meta-xilinx-standalone/conf/layer.conf b/meta-xilinx-standalone/conf/layer.conf index 77ed5f71..17289851 100644 --- a/meta-xilinx-standalone/conf/layer.conf +++ b/meta-xilinx-standalone/conf/layer.conf @@ -17,9 +17,6 @@ LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze" LAYERSERIES_COMPAT_xilinx-standalone = "scarthgap" -# Set this to enable this layer -#XILINX_WITH_ESW = "generic" - # Sanity check for meta-xilinx-standalone layer. # Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check. INHERIT += "sanity-meta-xilinx-standalone" -- cgit v1.2.3-54-g00ecf From 9a241f07f1630dac1b448765ab6d2229a75eed5b Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 5 Sep 2024 19:34:23 +0000 Subject: meta-xilinx-standalone-sdt: sdt-artifacts: Support the old format for local files To aid the transition to the new SDT_URI, provide a compatible way to use the previous SYSTEM_DTFILE_DIR and a fallback. Note, this will only work for local files. Signed-off-by: Mark Hatle --- .../recipes-bsp/sdt-artifacts/sdt-artifacts.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb index 594075a5..9c45c3ef 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb @@ -12,7 +12,10 @@ inherit deploy image-artifact-names # they may also define SDT_URI[S] to define the unpacking path. SDT_URI[doc] = "URI for the System Device Tree file(s), usually a tarball bundle of files" -SDT_URI ??= "" +# Add compatibility with previous gen-machine-conf output +SYSTEM_DTFILE_DIR ??= "" + +SDT_URI ??= "${@'file://${SYSTEM_DTFILE_DIR}' if d.getVar('SYSTEM_DTFILE_DIR') else ''}" SRC_URI = "${SDT_URI}" SRC_URI[sha256sum] = "${@d.getVarFlag('SDT_URI', 'sha256sum') or 'undefined'}" -- cgit v1.2.3-54-g00ecf From 4377e49ef615b1406562d9ad278c7114d0083b9b Mon Sep 17 00:00:00 2001 From: John Toomey Date: Wed, 11 Sep 2024 14:40:32 +0100 Subject: image-selector: Remove unnecessary PROVIDES Signed-off-by: John Toomey Signed-off-by: Mark Hatle --- .../recipes-bsp/image-selector/image-selector_2024.2.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb index 50e21675..69aebf06 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb @@ -2,8 +2,7 @@ inherit esw python3native esw_apps_common deploy DEPENDS += "libxil xiltimer bootgen-native" -PROVIDES = "virtual/imgsel" -RCONFLICTS:${PN} = "imgsel" +RCONFLICTS:${PN} = "image-selector-xsct" ESW_COMPONENT_SRC = "/src/" ESW_EXECUTABLE_NAME = "imgsel" -- cgit v1.2.3-54-g00ecf From 21c1aabc4be4f0609931c5f0de221fee26c3e02b Mon Sep 17 00:00:00 2001 From: Kunal Rane Date: Thu, 12 Sep 2024 12:35:49 +0530 Subject: recipes-drivers: Update condition for subcores in multimedia recipes HDCP subcores to be included only if its enabled in the subsystem. Updated conditional inclusion of the same in the DP and HDMI recipes. Signed-off-by: Kunal Rane Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb | 3 ++- meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb | 1 + meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb | 4 +++- meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb | 4 +++- meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb | 4 +++- meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb | 3 ++- meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb | 4 +++- meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb | 3 ++- 8 files changed, 19 insertions(+), 7 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb index dcd2c83c..2304e259 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp12rxss_2024.2.bb @@ -5,7 +5,8 @@ REQUIRED_MACHINE_FEATURES = "dp12rxss" inherit esw python3native -DEPENDS += "xilstandalone video-common dp12 iic iicps hdcp1x" +DEPENDS += "xilstandalone video-common dp12 iic iicps" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp12rxss/src/" ESW_COMPONENT_NAME = "libdp12rxss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb index fb06efac..b2aaf9d0 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp12txss_2024.2.bb @@ -6,6 +6,7 @@ REQUIRED_MACHINE_FEATURES = "dp12txss" inherit esw python3native DEPENDS += "xilstandalone dual-splitter vtc dp12 tmrctr" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp12txss/src/" ESW_COMPONENT_NAME = "libdp12txss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb index b623d5df..d3942a6e 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14rxss_2024.2.bb @@ -5,7 +5,9 @@ REQUIRED_MACHINE_FEATURES = "dp14rxss" inherit esw python3native -DEPENDS += "xilstandalone video-common dp14 iic iicps hdcp1x hdcp22-rx-dp" +DEPENDS += "xilstandalone video-common dp14 iic iicps" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp22-rx-dp", "hdcp22-rx-dp", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14rxss/src/" ESW_COMPONENT_NAME = "libdp14rxss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb index 078d277f..2553e788 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dp14txss_2024.2.bb @@ -5,7 +5,9 @@ REQUIRED_MACHINE_FEATURES = "dp14txss" inherit esw python3native -DEPENDS += "xilstandalone dual-splitter vtc dp14 tmrctr hdcp1x hdcp22-tx-dp" +DEPENDS += "xilstandalone dual-splitter vtc dp14 tmrctr" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp22-tx-dp", "hdcp22-tx-dp", "",d)}" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dp14txss/src/" ESW_COMPONENT_NAME = "libdp14txss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb index ffc2c249..a1139a5d 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss1_2024.2.bb @@ -5,7 +5,9 @@ REQUIRED_MACHINE_FEATURES = "v-hdmirxss1" inherit esw python3native -DEPENDS += "xilstandalone v-hdmi-common v-hdmirx1 tmrctr hdcp1x hdcp22-rx" +DEPENDS += "xilstandalone v-hdmi-common v-hdmirx1 tmrctr" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp22-rx", "hdcp22-rx", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirxss1/src/" ESW_COMPONENT_NAME = "libv_hdmirxss1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb index df690421..5b703988 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmirxss_2024.2.bb @@ -5,7 +5,8 @@ REQUIRED_MACHINE_FEATURES = "v-hdmirxss" inherit esw python3native -DEPENDS += "xilstandalone v-hdmirx v-hdmi-common hdcp1x" +DEPENDS += "xilstandalone v-hdmirx v-hdmi-common" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmirxss/src/" ESW_COMPONENT_NAME = "libv_hdmirxss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb index 06a6c5a1..7d86f9c6 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss1_2024.2.bb @@ -5,7 +5,9 @@ REQUIRED_MACHINE_FEATURES = "v-hdmitxss1" inherit esw python3native -DEPENDS += "xilstandalone v-hdmitx1 vtc tmrctr v-hdmi-common hdcp1x hdcp22-tx" +DEPENDS += "xilstandalone v-hdmitx1 vtc tmrctr v-hdmi-common" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp22-tx", "hdcp22-tx", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitxss1/src/" ESW_COMPONENT_NAME = "libv_hdmitxss1.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb index a7328b19..7dfbb3b5 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/v-hdmitxss_2024.2.bb @@ -5,7 +5,8 @@ REQUIRED_MACHINE_FEATURES = "v-hdmitxss" inherit esw python3native -DEPENDS += "xilstandalone v-hdmitx vtc v-hdmi-common hdcp1x" +DEPENDS += "xilstandalone v-hdmitx vtc v-hdmi-common" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "hdcp1x", "hdcp1x", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_hdmitxss/src/" ESW_COMPONENT_NAME = "libv_hdmitxss.a" -- cgit v1.2.3-54-g00ecf From 27d4a04813f6e409b890cf71344f8df9de3453d1 Mon Sep 17 00:00:00 2001 From: John Toomey Date: Wed, 18 Sep 2024 16:39:37 +0100 Subject: device-tree: Move bbappend to correct dir Signed-off-by: John Toomey Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend | 2 -- meta-xilinx-standalone-sdt/recipes-bsp/device-tree/device-tree.bbappend | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/device-tree/device-tree.bbappend (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend deleted file mode 100644 index 745b5656..00000000 --- a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree.bbappend +++ /dev/null @@ -1,2 +0,0 @@ -COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}" - diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree/device-tree.bbappend new file mode 100644 index 00000000..745b5656 --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/device-tree/device-tree.bbappend @@ -0,0 +1,2 @@ +COMPATIBLE_HOST:xilinx-freertos = "${HOST_SYS}" + -- cgit v1.2.3-54-g00ecf From 1f350271b4401d69d1595e85ef7ed21cdf7f5062 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 20 Sep 2024 10:52:25 -0600 Subject: various: meta-xilinx-standalone-experimental renamed to meta-xilinx-standalone-sdt Signed-off-by: Mark Hatle --- README.md | 2 +- docs/README.dfx.user.dts.md | 4 ++-- docs/README.fw.package.md | 6 +++--- meta-xilinx-core/README.md | 4 ++-- .../recipes-openamp/libmetal/libmetal-xlnx_%.bbappend | 2 +- .../recipes-openamp/open-amp/open-amp-xlnx_%.bbappend | 2 +- meta-xilinx-virtualization/README.md | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/README.md b/README.md index 428b8cad..5dea20de 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ components, kernel etc. * **meta-xilinx-standalone**: layer containing the AMD Xilinx Baremetal or Standalone Toolchains metadata to build baremetal firmware and applications. -* **meta-xilinx-standalone-experimental**: layer containing metadata to build +* **meta-xilinx-standalone-sdt**: layer containing metadata to build all the boot images using lopper and system device tree without using the meta-xilinx-tools layer. diff --git a/docs/README.dfx.user.dts.md b/docs/README.dfx.user.dts.md index 9caf866e..09e68be5 100644 --- a/docs/README.dfx.user.dts.md +++ b/docs/README.dfx.user.dts.md @@ -283,7 +283,7 @@ SRC_URI = " \ 1. Follow SDT or XSCT Build instructions whichever build method is used but not both. - a. [SDT Building Instructions](../meta-xilinx-standalone-experimental/README.md) upto step 4. + a. [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.md) upto step 4. b. [XSCT Building Instructions](../README.building.md) upto step 4.b (With SDT overlay). 2. Create recipes-firmware directory in meta layer and copy the .bit/bin/pdi, @@ -326,7 +326,7 @@ IMAGE_INSTALL:append = " \ ``` 6. Follow SDT or XSCT Build instructions whichever build method is used but not both. - a. [SDT Building Instructions](../meta-xilinx-standalone-experimental/README.md ) and continue from step 5. + a. [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.md ) and continue from step 5. b. [XSCT Building Instructions](../README.building.md) and continue from step 5. 7. Once images are built firmware app files will be installed on target_rootfs. diff --git a/docs/README.fw.package.md b/docs/README.fw.package.md index a7e54402..3280dbcd 100644 --- a/docs/README.fw.package.md +++ b/docs/README.fw.package.md @@ -14,7 +14,7 @@ filesystem. ## How to create and install firmware package recipe -1. Follow [SDT Building Instructions](../meta-xilinx-standalone-experimental/README.md ) upto step 4. +1. Follow [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.md ) upto step 4. 2. Create recipes-firmware directory in distribution meta layer. ``` @@ -34,7 +34,7 @@ $ recipetool create -o /recipes-firmware//fir > recipe name. > * **TARGET_MC:** Variable to define one of the multiconfig target name > (ex: cortexr5-0-zynqmp-baremetal) from the BBMULTICONFIG list -> generated at [SDT Building Instructions](../meta-xilinx-standalone-experimental/README.md ) +> generated at [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.md ) > step 4. ``` @@ -57,5 +57,5 @@ IMAGE_INSTALL:append = " \ firmware-package-name \ " ``` -6. Follow [SDT Building Instructions](../meta-xilinx-standalone-experimental/README.md ) and continue from +6. Follow [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.md ) and continue from step 5. diff --git a/meta-xilinx-core/README.md b/meta-xilinx-core/README.md index ec5b663b..66dc46de 100644 --- a/meta-xilinx-core/README.md +++ b/meta-xilinx-core/README.md @@ -36,13 +36,13 @@ Zynqmp-generic requires pmu-firmware. The firmware can be passed directly as a path to a binary: PMU_FILE, you may use the generic built version by including meta-xilinx-standalone, the XSCT version by adding meta-xilinx-tools or the DTB workflow version using -meta-xilinx-standalone-experimental. +meta-xilinx-standalone-sdt. Versal-generic requires both PLM and PSM firmware to be specified. They can be specified as a path to a binary using PLM_FILE and PSM_FILE. Or they can be generated by including meta-xilinx-standalone, the XSCT version by adding meta-xilinx-tools or the DTB workflow version using -meta-xilinx-standalone-experimental. Additionally some configurations may +meta-xilinx-standalone-sdt. Additionally some configurations may require you to specify the path to a PDI file using PDI_PATH. The XSCT version will extract the PDI automatically. --- diff --git a/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend b/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend index 5434c9a5..7147c71e 100644 --- a/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend +++ b/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend @@ -1 +1 @@ -require ${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx.inc +require ${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-sdt/recipes-openamp/libmetal/libmetal-xlnx.inc diff --git a/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend b/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend index ca167bd1..ee0aa58b 100644 --- a/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend +++ b/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend @@ -1 +1 @@ -require ${@'${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} +require ${@'${LAYER_PATH_openamp-layer}/vendor/xilinx/meta-xilinx-standalone-sdt/recipes-openamp/open-amp/open-amp-xlnx.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-virtualization/README.md b/meta-xilinx-virtualization/README.md index 5b66ea38..d211c65c 100644 --- a/meta-xilinx-virtualization/README.md +++ b/meta-xilinx-virtualization/README.md @@ -19,7 +19,7 @@ $ git clone -b https://git.yoctoproject.org/meta-security 3. Continue [Building Instructions](../README.building.md) from step 4. > **Note:** -> * For System Device Tree(SDT) workflow see [SDT Building Instructions](../meta-xilinx-standalone-experimental/README.md) +> * For System Device Tree(SDT) workflow see [SDT Building Instructions](../meta-xilinx-standalone-sdt/README.md) 4. Add meta-xilinx-virtualization layer to bblayers.conf as shown below. -- cgit v1.2.3-54-g00ecf From 2dc460b3637309e4ef2938d6a4e104ff4692008b Mon Sep 17 00:00:00 2001 From: John Toomey Date: Tue, 17 Sep 2024 16:22:44 +0100 Subject: imgrcry: Rework image-recover recipe Rework the image recover recipe to match image selector. imgrcry is now the top level recipe which will pull in the required version of image-recovery depending on build flow. This change also updates the output file name in a number of places and fixes an issue in image selector. Signed-off-by: John Toomey Signed-off-by: Mark Hatle --- .../classes-recipe/amd_spi_image.bbclass | 2 +- meta-xilinx-core/recipes-bsp/embeddedsw/imgrcry.bb | 69 ++++++++++++++++++++++ .../image-recovery/image-recovery_2024.2.bb | 18 ++++++ .../embeddedsw/imgrcry-meta-xilinx-standalone.inc | 19 ++++++ .../recipes-bsp/embeddedsw/imgrcry.bbappend | 1 + .../embeddedsw/imgsel-meta-xilinx-standalone.inc | 2 +- .../recipes-bsp/embeddedsw/imgsel.bbappend | 2 +- 7 files changed, 110 insertions(+), 3 deletions(-) create mode 100644 meta-xilinx-core/recipes-bsp/embeddedsw/imgrcry.bb create mode 100644 meta-xilinx-standalone-sdt/recipes-bsp/image-recovery/image-recovery_2024.2.bb create mode 100644 meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry-meta-xilinx-standalone.inc create mode 100644 meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry.bbappend (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass b/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass index 7449cfda..5020b02b 100644 --- a/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass +++ b/meta-xilinx-core/classes-recipe/amd_spi_image.bbclass @@ -105,7 +105,7 @@ def generate_spi_image(d): qspi_data.write(bootbin) # Recovery Image & Recovery Image Backup - imgrcry_file = d.getVar("DEPLOY_DIR_IMAGE")+"/imgrcry-"+d.getVar("MACHINE")+".bin" + imgrcry_file = d.getVar("DEPLOY_DIR_IMAGE")+"/image-recovery-"+d.getVar("MACHINE")+".bin" try: with open(imgrcry_file, "rb") as iy: imgrcry = iy.read(-1) diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/imgrcry.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/imgrcry.bb new file mode 100644 index 00000000..e87e8793 --- /dev/null +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/imgrcry.bb @@ -0,0 +1,69 @@ +DESCRIPTION = "Image Recovery" + +LICENSE = "CLOSED" + +PROVIDES = "virtual/imgrcry" + +INHIBIT_DEFAULT_DEPS = "1" + +COMPATIBLE_MACHINE = "^$" +COMPATIBLE_MACHINE:zynqmp = "zynqmp" + +# Since we're just copying, we can run any config +COMPATIBLE_HOST = ".*" + +# Default expects the user to provide the imagerecovery in the deploy +# directory, named "image-recovery-${MACHINE}.bin" and "image-recovery-${MACHINE}.bin" +# A machine, multiconfig, or local.conf should override this +IMGRCRY_DEPENDS ??= "" +IMGRCRY_MCDEPENDS ??= "" +IMGRCRY_DEPLOY_DIR ??= "${DEPLOY_DIR_IMAGE}" +IMGRCRY_DEPLOY_DIR[vardepsexclude] += "TOPDIR" +IMGRCRY_IMAGE_NAME ??= "image-recovery-${MACHINE}" + +# Default is for the multilib case (without the extension .bin) +IMGRCRY_FILE ??= "${IMGRCRY_DEPLOY_DIR}/${IMGRCRY_IMAGE_NAME}" +IMGRCRY_FILE[vardepsexclude] = "IMGRCRY_DEPLOY_DIR" + +do_fetch[depends] += "${IMGRCRY_DEPENDS}" +do_fetch[mcdepends] += "${IMGRCRY_MCDEPENDS}" + +inherit deploy + +# If the item is already in OUR deploy_image_dir, nothing to deploy! +SHOULD_DEPLOY = "${@'false' if (d.getVar('IMGRCRY_FILE')).startswith(d.getVar('DEPLOY_DIR_IMAGE')) else 'true'}" +do_deploy() { + # If the item is already in OUR deploy_image_dir, nothing to deploy! + if ${SHOULD_DEPLOY}; then + install -Dm 0644 ${IMGRCRY_FILE}.bin ${DEPLOYDIR}/${IMGRCRY_IMAGE_NAME}.bin + install -Dm 0644 ${IMGRCRY_FILE}.elf ${DEPLOYDIR}/${IMGRCRY_IMAGE_NAME}.elf + fi +} + +addtask deploy before do_build after do_install + +INSANE_SKIP:${PN} = "arch" +INSANE_SKIP:${PN}-dbg = "arch" + +# Disable buildpaths QA check warnings. +INSANE_SKIP:${PN} += "buildpaths" + +def check_imgrcry_variables(d): + # If both are blank, the user MUST pass in the path to the firmware! + if not d.getVar('IMGRCRY_DEPENDS') and not d.getVar('IMGRCRY_MCDEPENDS'): + # Don't cache this, as the items on disk can change! + d.setVar('BB_DONT_CACHE', '1') + + if not os.path.exists(d.getVar('IMGRCRY_FILE') + ".bin"): + if not d.getVar('WITHIN_EXT_SDK'): + raise bb.parse.SkipRecipe("The expected file %s.bin is not available.\nSet IMGRCRY_FILE to the path with a precompiled IMGRCRY binary." % d.getVar('IMGRCRY_FILE')) + else: + # We found the file, so be sure to track it + d.setVar('SRC_URI', 'file://${IMGRCRY_FILE}.bin') + d.setVarFlag('do_install', 'file-checksums', '${IMGRCRY_FILE}.bin:True') + d.setVarFlag('do_deploy', 'file-checksums', '${IMGRCRY_FILE}.bin:True') + +python() { + # Need to allow bbappends to change the check + check_imgrcry_variables(d) +} diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/image-recovery/image-recovery_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/image-recovery/image-recovery_2024.2.bb new file mode 100644 index 00000000..f7183cef --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-bsp/image-recovery/image-recovery_2024.2.bb @@ -0,0 +1,18 @@ +inherit esw esw_apps_common + +COMPATIBLE_MACHINE = ".*" +COMPATIBLE_HOST = ".*" + +python () { + + raise bb.parse.SkipRecipe(" \n \ +image-recovery is not currently supported in the SDT build flow\n \ +\n \ +Please set the following variables to provide an image-recovery binary: \n \ +IMGRCRY_MCDEPENDS = \"\" \n \ +IMGRCRY_DEPLOY_DIR = \"/path/to/image-recovery/\" \n \ +IMGRCRY_IMAGE_NAME = \"image-recovery-file.bin\" \n \ +NOTE: The IMGRCRY_DEPLOY_DIR should contain both .bin and .elf versions of the file \n \ +") + +} diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry-meta-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry-meta-xilinx-standalone.inc new file mode 100644 index 00000000..9ea52037 --- /dev/null +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry-meta-xilinx-standalone.inc @@ -0,0 +1,19 @@ +# Default imgrcry configuration, using fsbl multiconfig +IMGRCRY_DEPENDS ?= "" +IMGRCRY_MCDEPENDS ?= "mc::${MACHINE}-cortexa53-fsbl:image-recovery:do_deploy" +IMGRCRY_DEPLOY_DIR ?= "${TOPDIR}/tmp-${MACHINE}-cortexa53-fsbl/deploy/images/${MACHINE}/" +IMGRCRY_IMAGE_NAME ?= "image-recovery-${MACHINE}" + +def check_imgrcry_variables(d): + # If both are blank, the user MUST pass in the path to the firmware! + if not d.getVar('IMGRCRY_DEPENDS') and not d.getVar('IMGRCRY_MCDEPENDS'): + # Don't cache this, as the items on disk can change! + d.setVar('BB_DONT_CACHE', '1') + + if not os.path.exists(d.getVar('IMGRCRY_FILE') + ".bin"): + raise bb.parse.SkipRecipe("Could not open image recovery file: %s.bin" % d.getVar('IMGRCRY_FILE')) + else: + # We found the file, so be sure to track it + d.setVar('SRC_URI', 'file://${IMGRCRY_FILE}.bin') + d.setVarFlag('do_install', 'file-checksums', '${IMGRCRY_FILE}.bin:True') + d.setVarFlag('do_deploy', 'file-checksums', '${IMGRCRY_FILE}.bin:True') diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry.bbappend b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry.bbappend new file mode 100644 index 00000000..62bd70d7 --- /dev/null +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgrcry.bbappend @@ -0,0 +1 @@ +require ${@'imgrcry-meta-xilinx-standalone.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc index d353e264..fdc252d1 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel-meta-xilinx-standalone.inc @@ -11,7 +11,7 @@ def check_imgsel_variables(d): d.setVar('BB_DONT_CACHE', '1') if not os.path.exists(d.getVar('IMGSEL_FILE') + ".bin"): - raise bb.parse.SkipRecipe("Could not open image selector file: %s" % d.getVar('IMGSEL_FILE')) + raise bb.parse.SkipRecipe("Could not open image selector file: %s.bin" % d.getVar('IMGSEL_FILE')) else: # We found the file, so be sure to track it d.setVar('SRC_URI', 'file://${IMGSEL_FILE}.bin') diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend index af3b2d59..540a3963 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/imgsel.bbappend @@ -1 +1 @@ -require ${@'imgsel-meta-xilinx-standalone.inc' if d.getVar('XILINX_WITH_ESW') else ''} +require ${@'imgsel-meta-xilinx-standalone.inc' if d.getVar('XILINX_WITH_ESW') == 'sdt' else ''} -- cgit v1.2.3-54-g00ecf From 7a9a7ab4633a5abff185a5a27c652ac3452018be Mon Sep 17 00:00:00 2001 From: Madhav Bhatt Date: Tue, 24 Sep 2024 04:50:48 -0700 Subject: meta-xilinx-standalone-sdt: recipes-libraries: xilpm: Allow user to set xilpm library parameters Add handling block so that consumer of xilpm can set library options using some custom flags. Signed-off-by: Madhav Bhatt Signed-off-by: Mark Hatle --- .../recipes-libraries/xilpm_2024.2.bb | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.2.bb index 69b505c8..ee6faa13 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpm_2024.2.bb @@ -5,11 +5,34 @@ ESW_COMPONENT_NAME = "libxilpm.a" DEPENDS += "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" +def lopper_args(d): + lopper_cmd_append = "" + flags = [ + "APU_AS_OVERLAY_CONFIG_MASTER", + "APU_AS_POWER_MANAGEMENT_MASTER", + "APU_AS_RESET_MANAGEMENT_MASTER", + "RPU0_AS_OVERLAY_CONFIG_MASTER", + "RPU0_AS_POWER_MANAGEMENT_MASTER", + "RPU0_AS_RESET_MANAGEMENT_MASTER", + "RPU1_AS_OVERLAY_CONFIG_MASTER", + "RPU1_AS_POWER_MANAGEMENT_MASTER", + "RPU1_AS_RESET_MANAGEMENT_MASTER" + ] + + for flag in flags: + value = d.getVar("XILPM_" + flag) + if value: + lopper_cmd_append += "XILPM_" + flag.lower() + ":" + value.lower() + " " + + return lopper_cmd_append + +LOPPER_CMD_APPEND = "${@lopper_args(d)}" + do_configure:prepend:zynqmp() { # This script should also not rely on relative paths and such ( cd ${S} - lopper -f --enhanced --werror ${DTS_FILE} -- generate_config_object pm_cfg_obj.c ${ESW_MACHINE} + lopper -f --enhanced --werror ${DTS_FILE} -- generate_config_object pm_cfg_obj.c ${ESW_MACHINE} ${LOPPER_CMD_APPEND} install -m 0755 pm_cfg_obj.c ${S}/${ESW_COMPONENT_SRC}/zynqmp/client/common/ ) } -- cgit v1.2.3-54-g00ecf From 843060a2b29b3daca30bc2bf7e03d2852bc47e67 Mon Sep 17 00:00:00 2001 From: Kunal Rane Date: Thu, 26 Sep 2024 19:37:55 +0530 Subject: recipes-drivers: Update logic to support conditional building of MIPI subcores MIPI CSI RX SS has dphy subcore which can be optinal to enable in the SS. Meanwhile DSI TX SS has it compulsory. Also added support for MIPI RX PHY and TX PHY Signed-off-by: Kunal Rane Signed-off-by: Sandeep Gundlupet Raju --- meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb | 2 +- meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb index 185d5b96..af7d30b0 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb @@ -5,7 +5,7 @@ REQUIRED_MACHINE_FEATURES = "dsitxss" inherit esw python3native -DEPENDS += "xilstandalone dsi dphy" +DEPENDS += "xilstandalone dsi dphy mipi-tx-phy" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dsitxss/src/" ESW_COMPONENT_NAME = "libdsitxss.a" diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb index 42d07889..05bc5f05 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/mipicsiss_2024.2.bb @@ -5,7 +5,9 @@ REQUIRED_MACHINE_FEATURES = "mipicsiss" inherit esw python3native -DEPENDS += "xilstandalone csi iic dphy" +DEPENDS += "xilstandalone csi iic" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "dphy", "dphy", "",d)}" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "mipi-rx-phy", "mipi-rx-phy", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/mipicsiss/src/" ESW_COMPONENT_NAME = "libmipicsiss.a" -- cgit v1.2.3-54-g00ecf From c69c94854b8689df79b70cc8607b1c98ed29d721 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 1 Oct 2024 20:09:33 -0600 Subject: meta-xilinx-standalone-sdt: xilinx-freertos: Add xilinx-standalone override By default the system restricts newlib and other components to xilinx-standalone distribution configuration. xilinx-freertos needs the same override in order for newlib, and other components to be available. Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf b/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf index 84638022..88779faa 100644 --- a/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf +++ b/meta-xilinx-standalone-sdt/conf/distro/xilinx-freertos.conf @@ -1,5 +1,8 @@ require conf/distro/xilinx-standalone.inc +# Make sure any users get the xilinx-standalone distro override +DISTROOVERRIDES =. "xilinx-standalone:" + DISTRO_NAME:append = " (freertos)" XLNX_CMAKE_SYSTEM_NAME = "FreeRTOS" -- cgit v1.2.3-54-g00ecf From e2eca942cfe174d6503f098ae27819f24ad454fb Mon Sep 17 00:00:00 2001 From: Kunal Rane Date: Fri, 11 Oct 2024 11:35:20 +0530 Subject: recipes-drivers: Update logic to support conditional build of dsitxss recipe for dsitxss is made conditional so that it compiles its subcores only if they are available. Signed-off-by: Kunal Rane Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb index af7d30b0..9e16aa61 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/dsitxss_2024.2.bb @@ -5,7 +5,9 @@ REQUIRED_MACHINE_FEATURES = "dsitxss" inherit esw python3native -DEPENDS += "xilstandalone dsi dphy mipi-tx-phy" +DEPENDS += "xilstandalone dsi" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "dphy", "dphy", "",d)}" +DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "mipi-tx-phy", "mipi-tx-phy", "",d)}" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dsitxss/src/" ESW_COMPONENT_NAME = "libdsitxss.a" -- cgit v1.2.3-54-g00ecf From 820a2c901df932ff10d0f96615b8a49789ea6d97 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Fri, 18 Oct 2024 17:11:36 -0600 Subject: README.md: Update meta-xilinx-standalone-sdt docs to scarthgap 1. Update meta-xilinx-standalone-sdt docs to scarthgap. 2. Move SDT build instructions to README.sdt.bsp.md Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/README.md | 176 +++-------------------------------- 1 file changed, 14 insertions(+), 162 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/README.md b/meta-xilinx-standalone-sdt/README.md index 0ecc6e4d..97141332 100644 --- a/meta-xilinx-standalone-sdt/README.md +++ b/meta-xilinx-standalone-sdt/README.md @@ -1,162 +1,10 @@ # meta-xilinx-standalone-sdt -This layer contains System Device Tree items that are related to the -meta-xilinx-standalone layer. +This layer contains System Device Tree build metadata such as multiconfig operating +environment(baremetal, freertos etc) boot firmware drivers, libraries and +applications recipes. -## Build Instructions - -The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. -Be sure to read everything below. - -> **Pre-requisites:** -> * To use this layer you must REMOVE meta-xilinx-tools from your project. -meta-xilinx-tools is not compatible with this SDT approach. You may -also have to remove other layers that depend on meta-xilinx-tools, such as -meta-kria and meta-system-controller. -> * Follow [System Device Tree Instructions](https://github.com/Xilinx/system-device-tree-xlnx/blob/master/README.md) -> to generate the SDT output. -> * To use the SDT version of the embedded software (firmware) as well -as system configuration, you must build through gen-machineconf tool. This tool -is passed a output of system device tree directory. - -1. Follow [Building Instructions](../README.building.md) upto step 2. - -2. Clone the meta-openamp repository. - -``` -$ git clone -b https://github.com/Xilinx/meta-openamp -``` -3. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) - from step 3 to step 4. - -4. Remove meta-xilinx-tools and meta-xilinx-tools dependency layers(such as - meta-kria and meta-system-controller if included in bblayers.conf), then add - the meta-xilinx-standalone-sdt and meta-openamp layer. - -> **Note:** SDT builds for following devices are not supported in 2024.2 release. -> * MicroBlaze - - -``` -$ bitbake-layers remove-layer meta-xilinx-tools -$ bitbake-layers add-layer .//meta-xilinx/meta-xilinx-standalone-sdt -$ bitbake-layers add-layer .//meta-openamp -``` - -1. Export gen-machineconf tool. -``` -$ export PATH=$PATH:/gen-machine-conf -``` - -1. Run the script from the build or ${TOPDIR} directory. This step describes - System Device Tree (SDT) with and without pl overlays. Configruations are same - for both SDT with and without pl overlays except for linux dts content. - -> **Note:** -> 1. The -l option will automatically add the necessary parameters to the - local.conf file. If you need to re-run this comment, you just clear the - parameters from the end of the file. Without the -l option the items are - printed to the screen and must be manually added to your conf/local.conf -> 2. The --soc-family argument is an optional argument and user can skip this. -> 3. By default minimal set of multiconfigs are generated by gen-machineconf tool. -> To enable full multiconfig(APU/RPU baremetal or FreeRTOS) then use -> `--multiconfigfull` option. - - a. Without SDT pl overlay: -``` - $ gen-machineconf --hw-description -c -l conf/local.conf -``` - - b. With SDT pl overlay: - To generate SDT pl overlay run gen-machineconf command with - `-g {full|dfx}` option. Once SDT pl overlay command is executed successfully - pl.dtsi will be generated under /dts/${MACHINE}/pl-overlay-{full|dfx} - directory. User can use this pl.dtsi as input to full or dfx static firmware - recipes. - -> **Note:** DFx partial dtsi is not processed by gen-machineconf(lopper) tool, User -> needs to use the *_partial.dtsi and *_partial.pdi/bit from sdtgen output -> artifacts to DFx partial firmware recipes. - - * Zynq-700 or ZynqMP Full bitstream or Versal Segmented Configuration: -``` - $ gen-machineconf parse-sdt --hw-description -c -l conf/local.conf -g full -``` - - * ZynqMP or Versal DFx: -``` - $ gen-machineconf parse-sdt --hw-description -c -l conf/local.conf -g dfx -``` - -For example, Zynq-7000: -``` -$ gen-machineconf parse-sdt --hw-description -c conf/ -l conf/local.conf -``` -The following will be written to the end of the conf/local.conf file: - -``` -# Use the newly generated MACHINE -MACHINE = "xlnx-zynq-zc702" - -# Avoid errors in some baremetal configs as these layers may be present -# but are not used. Note the following lines are optional and can be -# safetly disabled. -SKIP_META_VIRT_SANITY_CHECK = "1" -SKIP_META_SECURITY_SANITY_CHECK = "1" -SKIP_META_TPM_SANITY_CHECK = "1" -``` - -For example, ZynqMP: -``` -$ gen-machineconf parse-sdt --hw-description -c conf/ -l conf/local.conf -``` -The following will be written to the end of the conf/local.conf file: - -``` -# Use the newly generated MACHINE -MACHINE = "xlnx-zynqmp-zcu102-rev1-0" - -# Avoid errors in some baremetal configs as these layers may be present -# but are not used. Note the following lines are optional and can be -# safetly disabled. -SKIP_META_VIRT_SANITY_CHECK = "1" -SKIP_META_SECURITY_SANITY_CHECK = "1" -SKIP_META_TPM_SANITY_CHECK = "1" -``` - -For example, Versal: -``` -$ gen-machineconf parse-sdt --hw-description -c conf/ -l conf/local.conf -``` - -The following will be written to the end of the conf/local.conf file: - -``` -# Use the newly generated MACHINE -MACHINE = "xlnx-versal-vmk180-rev1-1-x-ebm-01-reva" - -# Avoid errors in some baremetal configs as these layers may be present -# but are not used. Note the following lines are optional and can be -# safetly disabled. -SKIP_META_VIRT_SANITY_CHECK = "1" -SKIP_META_SECURITY_SANITY_CHECK = "1" -SKIP_META_TPM_SANITY_CHECK = "1" -``` - -> **Bitbake Performance Note:** -Each BBMULTICONFIG value requires all of the recipes to be parsed for that -configuration. Thus each multiconfig will add more parsing time. A long list -can lead to a very slow parse (many minutes). To speed up parsing, it is -suggested that you trim this down to only the configurations you require. -A minimum configuration is included with the generated configuration. - - -7. Build your project, You should now be able to build your project normally. - See the Yocto Project documentation if you have questions on how to work with - the multiconfig recipes. The following is a simple build for testing. - -8. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) - from step 6. +See [SDT Build Instructions](README.sdt.bsp.md) for SDT build workflows. ## Dependencies @@ -170,18 +18,22 @@ This layer depends on: layers: meta-oe branch: scarthgap + URI: https://git.yoctoproject.org/meta-arm + layers: meta-arm, meta-arm-toolchain + branch: scarthgap + URI: https://git.yoctoproject.org/meta-xilinx (official version) - https://github.com/Xilinx/meta-xilinx (development and amd xilinx release) + https://github.com/Xilinx/meta-xilinx (development and AMD release) layers: meta-xilinx-core, meta-xilinx-bsp, meta-xilinx-standalone - branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) + branch: scarthgap or AMD release version (e.g. rel-v2024.2) URI: https://git.yoctoproject.org/meta-virtualization (official version) - https://github.com/Xilinx/meta-virtualization (development and amd xilinx release) - branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) + https://github.com/Xilinx/meta-virtualization (development and AMD release) + branch: scarthgap or AMD release version (e.g. rel-v2024.2) URI: https://github.com/OpenAMP/meta-openamp (official version) - https://github.com/Xilinx/meta-openamp (development and amd xilinx release) - branch: scarthgap or amd xilinx release version (e.g. rel-v2024.2) + https://github.com/Xilinx/meta-openamp (development and AMD release) + branch: scarthgap or AMD release version (e.g. rel-v2024.2) -- cgit v1.2.3-54-g00ecf From fe63e09cebaa75c330b56270040bd880ad0b0a53 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Fri, 18 Oct 2024 17:11:37 -0600 Subject: README.sdt.bsp.md: Add SDT build instructions 1. Move all SDT build instruction from README.md to README.xsct.bsp.md 2. Add instructions for generating SDT machine configuration files for custom board or design sdt files. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/README.sdt.bsp.md | 204 ++++++++++++++++++++++----- 1 file changed, 165 insertions(+), 39 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/README.sdt.bsp.md b/meta-xilinx-standalone-sdt/README.sdt.bsp.md index 2b2ce4b0..eb1f852f 100644 --- a/meta-xilinx-standalone-sdt/README.sdt.bsp.md +++ b/meta-xilinx-standalone-sdt/README.sdt.bsp.md @@ -1,46 +1,172 @@ -# SDT BSP +# AMD SDT BSP Machines files -This section describes the SDT BSP settings which must be added to the generated -machine configuration file, following [Build Instructions](README.md) step 4, in -order to use the runqemu command. +This section describes the SDT BSP machine files generation. -## SDT BSP settings +## SDT Build Instructions -The following board settings need to be added in sdt machine configuration file -to define which QEMU device trees should be used. +The Yocto Project setup for the System Device Tree (SDT) workflow is as follows. +Be sure to read everything below. -> **Variable usage examples:** +> **Pre-requisites:** +> * Follow [System Device Tree Instructions](https://github.com/Xilinx/system-device-tree-xlnx/blob/master/README.md) +> to generate the SDT output. +> * To use the SDT version of the embedded software (firmware) as well as system +> configuration, you must build through gen-machineconf tool. This tool is passed +> a output of system device tree directory. + +> **Note:** SDT builds for following devices are not supported in 2024.2 release. +> * MicroBlaze + +1. Follow [Building Instructions](../README.building.md) upto step 6. + +2. Clone the meta-openamp repository. +``` +$ cd ../sources +$ git clone -b https://github.com/Xilinx/meta-openamp +$ cd - +``` +3. Add meta-openamp layer. +``` +$ bitbake-layers add-layer .//meta-openamp +``` + +4. Export gen-machineconf tool. +``` +$ export PATH=$PATH:/gen-machine-conf +``` + +5. Run the script from the build or ${TOPDIR} directory. This step describes + System Device Tree (SDT) with and without pl overlays. Configruations are same + for both SDT with and without pl overlays except for linux dts content. + +> **Note:** +> 1. The -c option should point either /conf or /build/conf +> directory. +> 2. The -l option will automatically add the necessary parameters to the + local.conf file. If you need to re-run this comment, you just clear the + parameters from the end of the file. Without the -l option the items are + printed to the screen and must be manually added to your conf/local.conf +> 3. The --soc-family argument is an optional argument and user can skip this. +> 4. By default minimal set of multiconfigs are generated by gen-machineconf tool. +> To enable full multiconfig(APU/RPU baremetal or FreeRTOS) then use +> `--multiconfigfull` option. + +> **Recommended SDT Machine nomenclature:** > -> QEMU Device tree deploy directory: `QEMU_HW_DTB_PATH = "${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch"` -> -> QEMU PMU Device tree: `QEMU_HW_DTB_PMU = "${QEMU_HW_DTB_PATH}/zynqmp-pmu.dtb"` -> -> QEMU PS Device tree: `QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vck190.dtb"` +> 1. Machine Configuration file nomenclature: `--sdt-` +> * Example: `MACHINE = "versal-vek280-sdt-seg"` > -> QEMU PMC Board Device tree: `QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmc-virt.dtb"` +> 2. BSP Reference design name: +> * `full` - Zynq-7000/ZynqMP full bitstream loading Vivado design. +> * `dfx` - ZynqMP/Versal full bitstream loading Vivado design. +> * `seg` - Versal Segmented Configuration Vivado design. +> +> **Note:** In machine file nomencalutre `--sdt-` +> If design-name suffix is not set or defined then it is treated as flat design +> without dynamic PL configuration. + + a. Without SDT pl overlay: +``` + $ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- +``` + + b. With SDT pl overlay: + To generate SDT pl overlay run gen-machineconf command with + `-g {full|dfx}` option. Once SDT pl overlay command is executed successfully + pl.dtsi will be generated under /dts/${MACHINE}/pl-overlay-{full|dfx} + directory. User can use this pl.dtsi as input to full or dfx static firmware + recipes. See https://github.com/Xilinx/meta-xilinx/blob/master/docs/README.dfx.user.dts.md + for more details. + +> **Note:** DFx partial dtsi is not processed by gen-machineconf(lopper) tool, User +> needs to use the *_partial.dtsi and *_partial.pdi/bit from sdtgen output +> artifacts to DFx partial firmware recipes. + + * Zynq-700 or ZynqMP Full bitstream or Versal Segmented Configuration: +``` + $ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- -g full +``` + + * ZynqMP or Versal DFx: +``` + $ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- -g dfx +``` + +For example, Zynq-7000: +``` +$ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- +``` +The following will be written to the end of the /build/conf/local.conf file: + +``` +# Use the newly generated MACHINE +MACHINE = "zynq-zc702-sdt" + +# Avoid errors in some baremetal configs as these layers may be present +# but are not used. Note the following lines are optional and can be +# safetly disabled. +SKIP_META_VIRT_SANITY_CHECK = "1" +SKIP_META_SECURITY_SANITY_CHECK = "1" +SKIP_META_TPM_SANITY_CHECK = "1" +``` + +For example, ZynqMP: +``` +$ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- +``` +The following will be written to the end of the /conf/local.conf file: + +``` +# Use the newly generated MACHINE +MACHINE = "zynqmp-zcu102-sdt" + +# Avoid errors in some baremetal configs as these layers may be present +# but are not used. Note the following lines are optional and can be +# safetly disabled. +SKIP_META_VIRT_SANITY_CHECK = "1" +SKIP_META_SECURITY_SANITY_CHECK = "1" +SKIP_META_TPM_SANITY_CHECK = "1" +``` + +For example, Versal: +``` +$ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- +``` + +The following will be written to the end of the /conf/local.conf file: + +``` +# Use the newly generated MACHINE +MACHINE = "versal-vmk180-sdt" + +# Avoid errors in some baremetal configs as these layers may be present +# but are not used. Note the following lines are optional and can be +# safetly disabled. +SKIP_META_VIRT_SANITY_CHECK = "1" +SKIP_META_SECURITY_SANITY_CHECK = "1" +SKIP_META_TPM_SANITY_CHECK = "1" +``` + +> **Bitbake Performance Note:** +Each BBMULTICONFIG value requires all of the recipes to be parsed for that +configuration. Thus each multiconfig will add more parsing time. A long list +can lead to a very slow parse (many minutes). To speed up parsing, it is +suggested that you trim this down to only the configurations you require. +A minimum configuration is included with the generated configuration. + +6. Build your project, You should now be able to build your project normally. + See the Yocto Project documentation if you have questions on how to work with + the multiconfig recipes. The following is a simple build for testing. + +7. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) + from step 8. + +>**Note:** Only AMD eval boards have the dtsi in System Device Tree repo, for custom +> board user has to follow one of the following methods. +> 1. Patch System Device Tree to include the custom board dtsi and include the +> custom board dtsi during sdtgen build step. +> `% sdtgen set_dt_param -board_dts ` > -> QEMU Memory: Some boards for example VEK280 and VH158 memory configurations are -> different, Hence we need to adjust the same in QB_MEM to match board dtsi files. -> Below are some examples. -> * ZynqMP `QB_MEM = "-m 4096"` -> * Versal VEK280 `QB_MEM = "-m 12G"` - - -| Devices | Evaluation Board | QEMU PMC or PMU DTB file | QEMU PS DTB file | QB Mem | -|---------|-------------------------------------------------------------------------------|-----------------------------|-------------------------------|--------| -| ZynqMP | [ZCU102](https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| | [ZCU104](https://www.xilinx.com/products/boards-and-kits/zcu104.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| | [ZCU106](https://www.xilinx.com/products/boards-and-kits/zcu106.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| | [ZCU111](https://www.xilinx.com/products/boards-and-kits/zcu111.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| | [ZCU208](https://www.xilinx.com/products/boards-and-kits/zcu208.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| | [ZCU216](https://www.xilinx.com/products/boards-and-kits/zcu216.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| | [ZCU670](https://www.xilinx.com/products/boards-and-kits/zcu670.html) | `zynqmp-pmu.dtb` | `zcu102-arm.dtb` | 4096 | -| Versal | [VCK190](https://www.xilinx.com/products/boards-and-kits/vck190.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vck190.dtb` | 8G | -| | [VMK180](https://www.xilinx.com/products/boards-and-kits/vmk180.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vmk180.dtb` | 8G | -| | [VPK120](https://www.xilinx.com/products/boards-and-kits/vpk120.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vpk120.dtb` | 8G | -| | [VPK180](https://www.xilinx.com/products/boards-and-kits/vpk180.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vpk180.dtb` | 8G | -| | [VEK280](https://www.xilinx.com/products/boards-and-kits/vek280.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vek280.dtb` | 12G | -| | [VHK158](https://www.xilinx.com/products/boards-and-kits/vhk158.html) | `board-versal-pmc-virt.dtb` | `board-versal-ps-vhk158.dtb` | 32G | - -> **Note:** Additional information on Xilinx architectures can be found at: - https://www.xilinx.com/products/silicon-devices.html +> 2. Create a custom board dtsi file and use EXTRA_DT_INCLUDE_FILES variable to +> include the custom board dtsi to final dtb. Here is the example usage. +> `EXTRA_DT_INCLUDE_FILES:append = " /.dtsi"` -- cgit v1.2.3-54-g00ecf From 9da728509eca4e384aa8446a74e7126722f19fa7 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 24 Oct 2024 13:36:24 -0600 Subject: README.sdt.bsp.md: Update instructions Update README.sdt.bsp.md instructions as README.building.md got updated to fix meta-openamp layer depedency. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/README.sdt.bsp.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/README.sdt.bsp.md b/meta-xilinx-standalone-sdt/README.sdt.bsp.md index eb1f852f..db9bac0a 100644 --- a/meta-xilinx-standalone-sdt/README.sdt.bsp.md +++ b/meta-xilinx-standalone-sdt/README.sdt.bsp.md @@ -13,29 +13,20 @@ Be sure to read everything below. > * To use the SDT version of the embedded software (firmware) as well as system > configuration, you must build through gen-machineconf tool. This tool is passed > a output of system device tree directory. +> * meta-xilinx-standalone-sdt layer depends on meta-openamp layer make sure +> meta-openamp is cloned and add using `bitbake-layers` command. > **Note:** SDT builds for following devices are not supported in 2024.2 release. > * MicroBlaze 1. Follow [Building Instructions](../README.building.md) upto step 6. -2. Clone the meta-openamp repository. -``` -$ cd ../sources -$ git clone -b https://github.com/Xilinx/meta-openamp -$ cd - -``` -3. Add meta-openamp layer. -``` -$ bitbake-layers add-layer .//meta-openamp -``` - -4. Export gen-machineconf tool. +2. Export gen-machineconf tool. ``` $ export PATH=$PATH:/gen-machine-conf ``` -5. Run the script from the build or ${TOPDIR} directory. This step describes +3. Run the script from the build or ${TOPDIR} directory. This step describes System Device Tree (SDT) with and without pl overlays. Configruations are same for both SDT with and without pl overlays except for linux dts content. @@ -154,11 +145,11 @@ can lead to a very slow parse (many minutes). To speed up parsing, it is suggested that you trim this down to only the configurations you require. A minimum configuration is included with the generated configuration. -6. Build your project, You should now be able to build your project normally. +4. Build your project, You should now be able to build your project normally. See the Yocto Project documentation if you have questions on how to work with the multiconfig recipes. The following is a simple build for testing. -7. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) +5. Continue [Building Instructions](https://github.com/Xilinx/meta-xilinx/blob/master/README.building.md) from step 8. >**Note:** Only AMD eval boards have the dtsi in System Device Tree repo, for custom -- cgit v1.2.3-54-g00ecf From 3b1165e8870095f5cd6e9d653e12fa3d24d0a3fa Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Mon, 4 Nov 2024 14:33:06 -0700 Subject: README.sdt.mc.build.md: Add SDT MC build instructions Add SDT Multiconfig baremetal or FreeRTOS build instructions. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-sdt/README.sdt.mc.build.md | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-xilinx-standalone-sdt/README.sdt.mc.build.md (limited to 'meta-xilinx-standalone-sdt') diff --git a/meta-xilinx-standalone-sdt/README.sdt.mc.build.md b/meta-xilinx-standalone-sdt/README.sdt.mc.build.md new file mode 100644 index 00000000..33283577 --- /dev/null +++ b/meta-xilinx-standalone-sdt/README.sdt.mc.build.md @@ -0,0 +1,40 @@ +# AMD SDT Multiconfig Build Instructions + +This readme describes how to build multiconfig baremetal baremetal or freertos +applications. Once the applications are built it can be package and deploy baremetal +or freertos application elf or bin files to linux root filesystem under /lib/firmware +directory. + +## How to configure and build multiconfig baremetal or freertos applications + +1. Follow [SDT Building Instructions](README.sdt.bsp.md) upto step 3. + +2. By default minimal set of multiconfigs are generated by gen-machineconf tool. + To build multiconfig(APU/RPU baremetal or FreeRTOS) use `--multiconfigfull` + option to enable full multiconfig(avaiable all APU/RPU cores). +> **Note:** +> 1. To enable multiconfigs for selected APU/PRU cores then use `--meunuconfig` +> options from gen-machineconf tool to generate the Kconfig menu and go to +> `Multiconfig Targets` to make the selection. +> 2. Example usage: +> ``` +> $ gen-machineconf parse-sdt --hw-description -c -l /build/conf/local.conf --machine-name --sdt- --multiconfig --menuconfig +> ``` + +3. Run following command to build multiconfig baremetal baremetal or freertos applications. +> **Note:** See [recipes-applications](./recipes-applications/) directory for +> list of available multiconfig applications. + +* Usage: +``` +$ bitbake mc:--sdt----: +``` +* Example: +``` +$ bitbake mc:versal-vek280-sdt-cortexr5-0-freertos:freertos-hello-world +``` + +4. Follow [Firware Packaging Instructions](../docs/README.fw.package.md) if you + need to package the multiconfig applications to linux rootfs or Follow + [SDT Building Instructions](README.sdt.bsp.md) and continue from step 5 to build + target images. -- cgit v1.2.3-54-g00ecf