From 2066656ffc4a95b34b2a71a50c9d125d8c5b2c55 Mon Sep 17 00:00:00 2001 From: Sivaprasad Addepalli Date: Thu, 28 Mar 2024 06:16:40 +0530 Subject: embeddedsw : Updated SRCREV for 2024.1_5339 ttcps: Add support for peripheral tests in SDT flow usbps: Fix failures reported by CV test suite "Chapter 9 Tests [USB 2 devices] CV tests" usbps: Update driver version mipicsiss: data: Update yaml file to support new MIPI RX PHY mipicsiss: src: Add support of mipi rx phy subcore sw_services:xilloader: Updated RSA KAT to use 2048-bit key sw_services: xilsecure: Fix RSA quiet mode issues and update KAT scugic: Add doxygen and editorial fixes --- meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass index 1a483e9f..ba7e7dc6 100644 --- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass +++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass @@ -13,7 +13,7 @@ BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}" ESW_REV[git] = "${AUTOREV}" ESW_REV[2023.1] = "af784f742dad0ca6e69e05baf8de51152c396b9a" ESW_REV[2023.2] = "e847e1935dca630615e5f7dc694365a44b89699c" -ESW_REV[2024.1] = "bd55a53c2e0bd9d27cd20a2660d14b0024aa8bb4" +ESW_REV[2024.1] = "2efccb1d8aafe5242ec87ec8f223784bbbbdcd08" SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or 'INVALID'}" EMBEDDEDSW_BRANCHARG ?= "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}" -- cgit v1.2.3-54-g00ecf From f2f14d3273f6a143f4a9b0a8e2fd346a7665b12d Mon Sep 17 00:00:00 2001 From: Sivaprasad Addepalli Date: Thu, 28 Mar 2024 11:48:28 +0530 Subject: u-boot-xlnx : Updated SRCREV for 2024.1_6395 mtd: spi-nor: Disable chip erase for S28HS02GT flash mtd: spi-nor: Set the ECC configuration to 1-bit error correction mtd: spi-nor: Added Fixup for S28HS02GT Infineon OSPI flash xilinx: Enable support for Infineon Octal flash arm64: zynqmp: Add bootcmd_usb4 variable --- meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc index 08e625c2..bcc657cd 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc @@ -2,7 +2,7 @@ UBOOT_VERSION = "v2024.01" UBRANCH = "xlnx_rebase_v2024.01" -SRCREV = "c0dbd5ec673441d8d8de4ac03a3b92c9512bfd6e" +SRCREV = "954550c39e976ca1e9df3f11883f771755f1beb9" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" -- cgit v1.2.3-54-g00ecf From ac934887eb0b825fc9d536871aac5ff393eca190 Mon Sep 17 00:00:00 2001 From: Sivaprasad Addepalli Date: Thu, 28 Mar 2024 19:27:59 +0530 Subject: embeddedsw : Updated SRCREV for 2024.1_8275 dfeprach: Correct order of RACH mapping steps --- meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass index ba7e7dc6..6a406b2d 100644 --- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass +++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass @@ -13,7 +13,7 @@ BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}" ESW_REV[git] = "${AUTOREV}" ESW_REV[2023.1] = "af784f742dad0ca6e69e05baf8de51152c396b9a" ESW_REV[2023.2] = "e847e1935dca630615e5f7dc694365a44b89699c" -ESW_REV[2024.1] = "2efccb1d8aafe5242ec87ec8f223784bbbbdcd08" +ESW_REV[2024.1] = "f66f953afcdcd13761e4c30a691134ca1fa989c9" SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or 'INVALID'}" EMBEDDEDSW_BRANCHARG ?= "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}" -- cgit v1.2.3-54-g00ecf From 24d7b237cba002f8f059346e1a5c9257ff232333 Mon Sep 17 00:00:00 2001 From: Sivaprasad Addepalli Date: Thu, 28 Mar 2024 19:28:36 +0530 Subject: u-boot-xlnx : Updated SRCREV for 2024.1_7095 arm64: dts: zynqmp: make hw-ecc as the default ecc mode xilinx: Do not call private env_get_location() when !ENV_IS_NOWHERE mtd: spi-nor: Disable chip erase for n25q512ax3 flash configs: zynqmp_kria: Deactivate CONFIG_SPI_FLASH_BAR arm64: zynqmp: Disable Tri-state for SDIO --- meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc index bcc657cd..b919b230 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2024.1.inc @@ -2,7 +2,7 @@ UBOOT_VERSION = "v2024.01" UBRANCH = "xlnx_rebase_v2024.01" -SRCREV = "954550c39e976ca1e9df3f11883f771755f1beb9" +SRCREV = "12c2fe646e7e98ba98334c75e082cc10faf0413d" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" -- cgit v1.2.3-54-g00ecf From 47da11ecaad984d1a86882dddf9921f3f060b687 Mon Sep 17 00:00:00 2001 From: Sivaprasad Addepalli Date: Thu, 28 Mar 2024 20:45:56 +0530 Subject: linux-xlnx : Updated SRCREV for 2024.1_4975 v4l: xilinx: dprx: Replace irq_of_parse_and_map with platform_get_irq_byname v4l: xilinx: dprx: Fix incorrect reconfiguration of registers v4l: xilinx: dprx: Correct the XDPRX_DEVICE_SERVICE_IRQ_CP_IRQ_MASK macro value soc: xilinx: Fix event notification issue for SW event node drm: xlnx: hdcp: Remove unused variable srm_version xen/pci: Add xen_reset_device_state function net: phy: xilinx-gmii2rgmii: Adopt clock support dt-bindings: net: xilinx_gmii2rgmii: Add clock support --- meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb index 019e9de9..8f65469a 100644 --- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb +++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb @@ -1,7 +1,7 @@ LINUX_VERSION = "6.6.10" YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=yocto-kmeta" KBRANCH="xlnx_rebase_v6.6_LTS" -SRCREV = "562194b7c36184701c8774d1a07da07deeae374b" +SRCREV = "dcac89c7c78a556240e07ac3c6c568dd5be90ef3" SRCREV_meta = "5d0809d0d939c7738cb6e5391126c73fd0e4e865" KCONF_AUDIT_LEVEL="0" -- cgit v1.2.3-54-g00ecf From 3fe3b225e776e0d777b1d55426e40f00c22dd0a4 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Tue, 26 Mar 2024 15:55:46 -0600 Subject: layer.conf: Fix openamp-layer dependency meta-xilinx-standalone-experimental failes to parse with below errors ERROR: No recipes in default available for: /scratch/sandeep/yocto/2024.1/yp-bc/sources/poky/../meta-xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx_%.bbappend /scratch/sandeep/yocto/2024.1/yp-bc/sources/poky/../meta-xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx_%.bbappend Hence add openamp-layer dependency to LAYERDEPENDS variable. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-experimental/conf/layer.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-xilinx-standalone-experimental/conf/layer.conf b/meta-xilinx-standalone-experimental/conf/layer.conf index c3e5cdca..2f74e49e 100644 --- a/meta-xilinx-standalone-experimental/conf/layer.conf +++ b/meta-xilinx-standalone-experimental/conf/layer.conf @@ -19,7 +19,8 @@ LAYERDEPENDS_xilinx-standalone-exp = "core \ xilinx \ xilinx-standalone \ xilinx-microblaze \ - virtualization-layer \ + virtualization-layer \ + openamp-layer \ " LAYERSERIES_COMPAT_xilinx-standalone-exp = "langdale" -- cgit v1.2.3-54-g00ecf From 67334659a2efc2b95ad6b8e9366b47199c2fe7b5 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Tue, 26 Mar 2024 15:55:47 -0600 Subject: README.md: Update README on openamp-layer dependency Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-standalone-experimental/README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/meta-xilinx-standalone-experimental/README.md b/meta-xilinx-standalone-experimental/README.md index 1c80dc8f..950e4e12 100644 --- a/meta-xilinx-standalone-experimental/README.md +++ b/meta-xilinx-standalone-experimental/README.md @@ -162,7 +162,14 @@ This layer depends on: 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: langdale or amd xilinx release version (e.g. rel-v2023.1) + branch: langdale or amd xilinx release version (e.g. rel-v2024.1) - URI: https://git.yoctoproject.org/meta-virtualization - branch: langdale + URI: + https://git.yoctoproject.org/meta-virtualization (official version) + https://github.com/Xilinx/meta-virtualization (development and amd xilinx release) + branch: langdale or amd xilinx release version (e.g. rel-v2024.1) + + URI: + https://github.com/OpenAMP/meta-openamp (official version) + https://github.com/Xilinx/meta-openamp (development and amd xilinx release) + branch: langdale or amd xilinx release version (e.g. rel-v2024.1) -- cgit v1.2.3-54-g00ecf From 2ea7450e2a43da56f0a03e977350e58434b390a9 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Tue, 26 Mar 2024 15:55:48 -0600 Subject: machine-xilinx-default.inc: Set default libmetal and openamp provider Building libmetal and openamp using poky core-image-minimal requires providers, Hence set default libmetal and openamp provider. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc index c732523c..1837da26 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc @@ -23,6 +23,10 @@ PREFERRED_PROVIDER_u-boot-tools ??= "u-boot-tools-xlnx" PREFERRED_PROVIDER_u-boot-tools-native ??= "u-boot-tools-xlnx-native" PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-u-boot-tools-xlnx" +# Libmetal and OpenAMP Configuration +PREFERRED_PROVIDER_libmetal ?= "libmetal-xlnx" +PREFERRED_PROVIDER_open-amp ?= "open-amp-xlnx" + do_image_wic[depends] += "${@' '.join('%s:do_deploy' % r for r in (d.getVar('WIC_DEPENDS') or "").split())}" UBOOT_SUFFIX ?= "bin" -- cgit v1.2.3-54-g00ecf From 8eec701f2b99c2a08b05893b7e9084ee8733c89d Mon Sep 17 00:00:00 2001 From: saumya garg Date: Tue, 26 Mar 2024 12:06:17 -0600 Subject: xrt, zocl: Update commit id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: VITIS-9887: xrt support for multiple graph linking and compilation (#8030) VITIS-11100 Display all AIE columns (#8015) VITIS-11102 Remove device status from Ryzen report json (#8031) Providing build metadata to version file (#8028) initial trace updates for client (#7980) removed debug line (#8026) Only use the XDP Static DB methods supported for Client Flow in ML Timeline Plugin (#8025) adding new job notify-slack (#8019) Incorporate partition shifts and support ML metadata (#8021) Adjusting build number for TA to pick up the build (#8024) Add noshim to ishim. Next maybeshim? (#8023) Handle an error for aie_trace plugin on client (#8020) Update cmake to pick up HIP header files from Linux distribution area… (#8022) Update Aie Enums to be compatible with future changes (#7910) XRT support for independent AIE graph compilation and linking (#7999) Change Shell name for RAVE Platform (#8017) HIP tests for GPU and other build improvements (#8008) VITIS-11114 - Command, Event, kernel_start, and copy_buffer classes and Event API Implementation Part1 (#8007) VITIS-11369 Improve get xclbin name method (#7997) Hide symbols from xrt.h header (#7998) Added variable to store the actual buffer size in xobj (#8014) Adding os_ver in matrix (#8016) removed headers related to xcl apis from xdp code (#8009) patch fix for build number for windows (#8013) Modifying build number and fix SJ release intermittent issue (#8012) add xrt::elf raw elf data constructor (#7963) master pipeline for xrt in Gh actions (#8004) Do not move an r-value (#8003) Update license (#8001) Adjustments to identifying, handling, and reporting active core/memory modules in AIE profile & trace (#7990) Adjusting profiling API logging to account for recursive calls to monitored APIs (#8000) CR-1123282 - Use get_size sdr request to receive sensor (#7944) Update skd files to remove xcl apis (#7995) Replacing xcl Apis : xclDeviceInfo2 and xclGetSysfsPath (#7994) calculate correct global index for event tiles vector (#7991) Workaround to limit Aperture Size Limit as part of QDMA Queues for SOFT QDMA IP. (#7979) CR1178636: AIE Memory Read Throughputs are 0 (#7981) VITIS-11517 Remove ReportMemory from Ryzen in XRT (#7978) change buf size to decrease throughput (#7986) fix for IVT failure (#7989) Further cleanup of xcl apis for pcie build (#7988) VITIS-11114 - HIP API initial Implementation (#7951) Use xrt::ip to read registers for XDP PL Deadlock Diagnosis (#7984) Replace xclOpen/Close in XDP (#7985) Fix seg fault when device not available is provided (#7972) VITIS-9706: xrt support for adf event apis (#7926) VITIS-11418 Upgrade AIE partition report. (#7976) Fix TXT tests for Linux (#7982) libqdma: Updating QDMA to its latest commit (#7977) Initial implementation of Hip module and function apis (#7964) xclbinutil changes to support multiple aie.resources.bin (#7970) CRs 1191344 & 1190977 - Bug fixes for AIE profile/trace on Edge (#7974) Move metadata Reader to static database (#7949) Add an aie trace timestamp binary data format (#7966) build number is - ${{ github.run_number }}_${{ github.run_attempt }} (#7969) Fixing clock rate retrieval in case of zero (#7975) Delete .github/workflows/xrt-pr-comment-ci.yaml (#7973) CR-1191367 Use PCI revision ID and deivce ID to identify device (#7971) Clean up hip tests to please clang-tidy (#7965) VITIS-11112 HIP Binding: Memory Management (#7929) Seperated bar mapping from probe in the xbmgmt driver. (#7927) xbutil fix help menu (#7960) XRT build drops a kernel-doc directory in the PWD (#7935) add initial support for transforming PDIs in AIE_PARTITION (#7954) Use debug_ip_layout_path device query in place of xclGetDebugIPlayoutPath (#7962) Enable clang-tidy for hip tests (#7943) using branch for test summary instead of version (#7961) Updating trace clock for PL (#7959) CR-1190692 Add method to set read range on xrt::ip (#7957) CR-1187549 (#7956) Add support for debug buffer object in XRT for internal use (#7955) Signed-off-by: saumya garg Signed-off-by: Mark Hatle --- meta-xilinx-core/recipes-xrt/xrt/xrt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt.inc b/meta-xilinx-core/recipes-xrt/xrt/xrt.inc index 89dc87cc..7c2e932c 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt.inc +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt.inc @@ -3,7 +3,7 @@ BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != ' SRC_URI = "${REPO};${BRANCHARG};name=xrt" BRANCH= "master" -SRCREV_xrt = "8426f5733c01018acbd8d12745bc9e5ffc4535e6" +SRCREV_xrt = "f23d53edd42fea0f0acd08c194b4750ed77127e2" PV = "202320.2.17.0" SRC_URI += "git://github.com/Xilinx/dma_ip_drivers.git;branch=master;name=dma_ip_drivers;destsuffix=git/src/runtime_src/core/pcie/driver/linux/xocl/lib/libqdma;protocol=https" -- cgit v1.2.3-54-g00ecf From c5886e8470ce8fce01fd518369bccb7e3de860ba Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 26 Mar 2024 12:06:18 -0600 Subject: Revert "xrt: Disable AIE profiling and related" This reverts commit 1c8cb60444e8e5170a46ae8a5657e164f6657f37. Signed-off-by: Mark Hatle --- .../recipes-xrt/xrt/xrt/disable_aie_profiling.patch | 17 ----------------- meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb | 2 -- 2 files changed, 19 deletions(-) delete mode 100644 meta-xilinx-core/recipes-xrt/xrt/xrt/disable_aie_profiling.patch diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt/disable_aie_profiling.patch b/meta-xilinx-core/recipes-xrt/xrt/xrt/disable_aie_profiling.patch deleted file mode 100644 index f2f63470..00000000 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt/disable_aie_profiling.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/src/runtime_src/xdp/profile/plugin/CMakeLists.txt b/src/runtime_src/xdp/profile/plugin/CMakeLists.txt -index 8ef7a2f..9b8baac 100644 ---- a/src/runtime_src/xdp/profile/plugin/CMakeLists.txt -+++ b/src/runtime_src/xdp/profile/plugin/CMakeLists.txt -@@ -33,9 +33,9 @@ if (NOT WIN32) - # ========================================================= - # The plugins to be built on Linux only - # ========================================================= --add_subdirectory(aie_status) --add_subdirectory(aie_profile) --add_subdirectory(aie_trace) -+#add_subdirectory(aie_status) -+#add_subdirectory(aie_profile) -+#add_subdirectory(aie_trace) - add_subdirectory(device_offload/hw_emu) - add_subdirectory(noc) - add_subdirectory(power) diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb index bd6f3796..48454538 100644 --- a/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb +++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb @@ -3,8 +3,6 @@ DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" require xrt.inc -SRC_URI += "file://disable_aie_profiling.patch;striplevel=2" - LICENSE = "GPL-2.0-or-later & Apache-2.0 & MIT" LIC_FILES_CHKSUM = "file://../LICENSE;md5=de2c993ac479f02575bcbfb14ef9b485 \ file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ -- cgit v1.2.3-54-g00ecf From 4c33e04ce9d3ea075c0012747fe8658d21c95109 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 28 Mar 2024 12:33:41 -0600 Subject: README.booting.versal.md: Add missing xen jtag boot steps 1. Add missing xen jtag boot steps. 2. Add info on how to calculate Versal xen image offset for JTAG boot. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- docs/README.booting.versal.md | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/docs/README.booting.versal.md b/docs/README.booting.versal.md index 4f673689..25738784 100644 --- a/docs/README.booting.versal.md +++ b/docs/README.booting.versal.md @@ -133,20 +133,27 @@ Below example uses base DDR address as 0x0 which matches in vivado address edito | Image Type | Base DDR Address | Image Offset | Load Address in DDR | |--------------------|------------------|--------------|---------------------| -| Kernel | 0x0 | 0x200000 | 0x200000 | -| Device Tree | 0x0 | 0x1000 | 0x1000 | +| Linux Kernel | 0x0 | 0x200000 | 0x200000 | +| Device Tree Blob | 0x0 | 0x1000 | 0x1000 | | Rootfs | 0x0 | 0x4000000 | 0x4000000 | | U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | 2. **Xen** +> **Note:** Xen, Rootfs and Device Tree image offset is calculated as shown below. +> * `Xen Rootfs = Base DDR Address + Linux Kernel Image Offset(0xE00000) + Size of Linux Kernel Image` +> * `Xen Kernel = Base DDR Address + Xen Rootfs Image Offset (Ex: 0x2600000) + Size of Xen Rootfs` +> * `Device Tree Blob = Base DDR Address + Xen Kernel Image Offset (Ex: 0xBA00000) + Size of Device Tree Blob` + | Image Type | Base DDR Address | Image Offset | Load Address in DDR | |--------------------|------------------|--------------|---------------------| -| Kernel | 0x0 | 0xE00000 | 0xE00000 | -| Device Tree | 0x0 | 0xC000000 | 0xc000000 | -| Rootfs | 0x0 | 0x02600000 | 0x02600000 | +| Linux Kernel | 0x0 | 0xE00000 | 0xE00000 | +| Xen Rootfs | 0x0 | 0x2600000 | 0x2600000 | +| Xen Kernel | 0x0 | 0xBA00000 | 0xBA00000 | +| Device Tree Blob | 0x0 | 0xC000000 | 0xC000000 | | U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | + > **Note:** > 1. `` refers to core-image-minimal or petalinux-image-minimal > 2. For pxeboot boot create a symlink for `-${MACHINE}-${DATETIME}.cpio.gz.u-boot` @@ -176,12 +183,14 @@ xsdb% stop xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 ``` + * Xen XSDB ``` xsdb% targets -set -nocase -filter {name =~ "*A72*#0"} xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0xE00000 - xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xc000000 - xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x02600000 + xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x2600000 + xsdb% dow -data ${DEPLOY_DIR_IMAGE}/xen 0xBA00000 + xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xC000000 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 ``` @@ -208,9 +217,10 @@ Versal> set ipaddr ``` U-Boot> tftpboot 0xE00000 Image U-Boot> setenv kernel_size 0x$filesize - U-Boot> tftpboot 0xc000000 system.dtb - U-Boot> tftpboot 0x02600000 core-image-minimal-${MACHINE}.cpio.gz + U-Boot> tftpboot 0x2600000 core-image-minimal-${MACHINE}.cpio.gz U-Boot> setenv ramdisk_size 0x$filesize + U-Boot> tftpboot 0xBA00000 xen + U-Boot> tftpboot 0xC000000 system.dtb U-Boot> tftpboot 0x20000000 boot.scr ``` -- cgit v1.2.3-54-g00ecf From 5cdfefedec4f0ffba024489e13c9034dd5814da6 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 28 Mar 2024 12:33:42 -0600 Subject: README.booting.zynqmp.md: Add missing xen jtag boot steps 1. Add missing xen jtag boot steps. 2. Add info on how to calculate zynqmp xen image offset for JTAG boot. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- docs/README.booting.zynqmp.md | 52 +++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 14 deletions(-) diff --git a/docs/README.booting.zynqmp.md b/docs/README.booting.zynqmp.md index 3b73dbbb..44e6f2b7 100644 --- a/docs/README.booting.zynqmp.md +++ b/docs/README.booting.zynqmp.md @@ -132,7 +132,10 @@ xsdb% rst -processor -clear-registers xsdb% dow ${DEPLOY_DIR_IMAGE}/zynqmp_fsbl.elf xsdb% con ``` -7. Now download TF-A, U-boot.elf and Device tree to APU and execute. +7. Now download TF-A, U-boot.elf and Device tree blob to APU and execute. + +> **Note:** For Xen boot system.dtb load address will vary, see below table. + ``` xsdb% stop xsdb% dow ${DEPLOY_DIR_IMAGE}/bl31.elf @@ -159,18 +162,24 @@ Below example uses base DDR address as 0x0 which matches in vivado address edito | Image Type | Base DDR Address | Image Offset | Load Address in DDR | |--------------------|------------------|--------------|---------------------| -| Kernel | 0x0 | 0x200000 | 0x200000 | -| Device Tree | 0x0 | 0x1000 | 0x1000 | +| Linux Kernel | 0x0 | 0x200000 | 0x200000 | +| Device Tree Blob | 0x0 | 0x100000 | 0x100000 | | Rootfs | 0x0 | 0x04000000 | 0x4000000 | | U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | 2. **Xen** +> **Note:** Xen, Rootfs and Device Tree image offset is calculated as shown below. +> * `Xen Rootfs = Base DDR Address + Linux Kernel Image Offset(0xE00000) + Size of Linux Kernel Image` +> * `Xen Kernel = Base DDR Address + Xen Rootfs Image Offset (Ex: 0x2600000) + Size of Xen Rootfs` +> * `Device Tree Blob = Base DDR Address + Xen Kernel Image Offset (Ex: 0xBA00000) + Size of Device Tree Blob` + | Image Type | Base DDR Address | Image Offset | Load Address in DDR | |--------------------|------------------|--------------|---------------------| -| Kernel | 0x0 | 0xE00000 | 0xE00000 | -| Device Tree | 0x0 | 0xC000000 | 0xc000000 | -| Rootfs | 0x0 | 0x02600000 | 0x02600000 | +| Linux Kernel | 0x0 | 0xE00000 | 0xE00000 | +| Xen Rootfs | 0x0 | 0x2600000 | 0x2600000 | +| Xen Kernel | 0x0 | 0xBA00000 | 0xBA00000 | +| Device Tree Blob | 0x0 | 0xC000000 | 0xC000000 | | U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | > **Note:** @@ -202,12 +211,14 @@ xsdb% stop xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 ``` + * Xen XSDB ``` xsdb% targets -set -nocase -filter {name =~ "*A53*#0"} xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0xE00000 - xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xc000000 - xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x02600000 + xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x2600000 + xsdb% dow -data ${DEPLOY_DIR_IMAGE}/xen 0xBA00000 + xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xC000000 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 ``` @@ -221,13 +232,26 @@ ZynqMP> set serverip ZynqMP> set ipaddr ``` 3. Load the images to DDR address. -``` -U-Boot> tftpboot 0x200000 Image -U-Boot> tftpboot 0x100000 system.dtb -U-Boot> tftpboot 0x4000000 core-image-minimal-${MACHINE}.cpio.gz.u-boot -U-Boot> tftpboot 0x20000000 boot.scr -``` + * Linux TFTP + ``` + U-Boot> tftpboot 0x200000 Image + U-Boot> tftpboot 0x100000 system.dtb + U-Boot> tftpboot 0x4000000 core-image-minimal-${MACHINE}.cpio.gz.u-boot + U-Boot> tftpboot 0x20000000 boot.scr + ``` + + * Xen TFTP + ``` + U-Boot> tftpboot 0xE00000 Image + U-Boot> setenv kernel_size 0x$filesize + U-Boot> tftpboot 0x2600000 core-image-minimal-${MACHINE}.cpio.gz + U-Boot> setenv ramdisk_size 0x$filesize + U-Boot> tftpboot 0xBA00000 xen + U-Boot> tftpboot 0xC000000 system.dtb + U-Boot> tftpboot 0x20000000 boot.scr + ``` + ##### Booting Linux Once the images are loaded continue the execution. -- cgit v1.2.3-54-g00ecf From 852c2d9bbbae143288bdb9e724d451bef6811065 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Thu, 28 Mar 2024 12:33:43 -0600 Subject: README.md: Add Xen INITRD image creation steps Add Xen INITRD image creation steps for JTAG or SD INITRD boot modes. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-virtualization/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/meta-xilinx-virtualization/README.md b/meta-xilinx-virtualization/README.md index ad6d4ada..5b66ea38 100644 --- a/meta-xilinx-virtualization/README.md +++ b/meta-xilinx-virtualization/README.md @@ -36,6 +36,17 @@ ENABLE_XEN_UBOOT_SCR = "1" ENABLE_XEN_DTSI = "1" ENABLE_XEN_QEMU_DTSI = "1" +# Default Xen Serial Console is serial0, if you are using serial1 then set as show below. +XEN_SERIAL_CONSOLES = "serial1" + +# Variables for Xen JTAG or SD INITRD boot modes but this is not required for SD WIC image. +IMAGE_FSTYPES += "cpio.gz" +RAMDISK_IMAGE = "rootfs.cpio.gz" + +# Variables for Xen SD WIC image boot flow. +IMAGE_FSTYPES += "wic" +WKS_FILES = "xilinx-default-sd.wks" + DISTRO_FEATURES:append = " multiarch security tpm virtualization vmsep xen" IMAGE_FEATURES += "ssh-server-openssh" -- cgit v1.2.3-54-g00ecf From ec2ce0aa79c478a41c88a9b48fb3cdc74229565a Mon Sep 17 00:00:00 2001 From: Varalaxmi Bingi Date: Thu, 28 Mar 2024 17:56:33 +0530 Subject: u-boot-xlnx-2023.2.inc: space is missing for SRC_URI:append when user changes any config in u-boot menu config then we are saving that in user-.cfg. While adding that user*.cfg to SRC_URI space is missing and it was treated as different file and getting compilation issue. The space missed in below line meta-xilinx/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc#L19. Signed-off-by: Varalaxmi Bingi Signed-off-by: Mark Hatle --- meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc index fba6fd22..2e761ebe 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc @@ -16,7 +16,7 @@ HAS_PLATFORM_INIT ?= " \ DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" -SRC_URI:append:microblaze = "file://microblaze-generic-top.h" +SRC_URI:append:microblaze = " file://microblaze-generic-top.h" do_configure:prepend:microblaze () { install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/ -- cgit v1.2.3-54-g00ecf From d5a631b69caaaa296b0c308b2e3ab32c9b387422 Mon Sep 17 00:00:00 2001 From: Ben Levinsky Date: Thu, 28 Mar 2024 08:49:15 -0700 Subject: lopper: srcrev update d67410d openamp: xlnx: Update model parsing 9e880fa openamp: xlnx: remove a2197 e4b6f3b lopper: assists: gen_domain_dts: Update symbol node entry for gic_its node 5069563 base/phandle: add resets and assigned-clocks 4d61969 lopper: assists: gen_domain_dts: Add option to keep TCM nodes 5666b57 lopper: assists: baremetal_validate_comp_xlnx: Update the assist to handle use cases where dev_type is missing in the driver yaml 88f9171 lopper: assists: baremetal_validate_comp_xlnx: Update mem_type check for microblaze_riscv fa2aab9 lopper: assists: baremetal_xparameters_xlnx: Generate reg and interrupt defines for all possible ranges Signed-off-by: Ben Levinsky Signed-off-by: Mark Hatle --- .../virtualization-layer/recipes-kernel/lopper/lopper_git.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-kernel/lopper/lopper_git.bbappend b/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-kernel/lopper/lopper_git.bbappend index 62a3b0f2..6e31d1f0 100644 --- a/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-kernel/lopper/lopper_git.bbappend +++ b/meta-xilinx-core/dynamic-layers/virtualization-layer/recipes-kernel/lopper/lopper_git.bbappend @@ -1,5 +1,5 @@ SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=v0.2024.x;protocol=https" -SRCREV = "a85a86eba10c7cd0f8aa4c99aa647ae8bdd72d70" +SRCREV = "9e880fa8bad815f01ca8ec4a3e141e5386f012fd" FILESEXTRAPATHS:prepend := "${THISDIR}/lopper:" -- cgit v1.2.3-54-g00ecf From 2beb71900d0f04dfdaa81e576bea50f43c1fb636 Mon Sep 17 00:00:00 2001 From: Sivaprasad Addepalli Date: Mon, 1 Apr 2024 19:21:58 +0530 Subject: embeddedsw : Updated SRCREV for 2024.1_2467 sw_apps: zynqmp_pmufw: Add ipipsu driver dependency in metadata file sw_apps: versal_psmfw: Add ipipsu driver dependency in metadata file sw_services: xilpm: Add ipipsu driver dependency in metadata file tmrctr: Update examples to complete execution within 1 seconds scripts: pyesw: create_bsp: Update the top-level CMake file to include the bsp include folder scripts: pyesw: Generate preprocessed file always inside domain directory emacps: Fix the mask for XEmacPs_BdGetBufAddr --- meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass index 6a406b2d..17e26446 100644 --- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass +++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass @@ -13,7 +13,7 @@ BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}" ESW_REV[git] = "${AUTOREV}" ESW_REV[2023.1] = "af784f742dad0ca6e69e05baf8de51152c396b9a" ESW_REV[2023.2] = "e847e1935dca630615e5f7dc694365a44b89699c" -ESW_REV[2024.1] = "f66f953afcdcd13761e4c30a691134ca1fa989c9" +ESW_REV[2024.1] = "827c36863db8e94c1b46e1f40fbc636467913589" SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or 'INVALID'}" EMBEDDEDSW_BRANCHARG ?= "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}" -- cgit v1.2.3-54-g00ecf From f4a0582919c0fead055615e63283b9f2df80bf95 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 29 Mar 2024 13:23:12 -0600 Subject: microblaze: binutils: Fix objdump/disassembly Signed-off-by: Mark Hatle --- .../binutils/binutils-microblaze.inc | 2 ++ .../0035-Fix-for-objdump-issue-for-mb32-el.patch | 37 ++++++++++++++++++++++ ...0036-Fix-for-missing-instructions-in-dump.patch | 34 ++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 meta-microblaze/recipes-devtools/binutils/binutils/0035-Fix-for-objdump-issue-for-mb32-el.patch create mode 100644 meta-microblaze/recipes-devtools/binutils/binutils/0036-Fix-for-missing-instructions-in-dump.patch diff --git a/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc b/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc index 5e85eedc..191d69ef 100644 --- a/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc +++ b/meta-microblaze/recipes-devtools/binutils/binutils-microblaze.inc @@ -35,6 +35,8 @@ SRC_URI:append = " \ file://0032-Patch-MicroBlaze-Double-free-with-ld-no-keep-memory.patch \ file://0033-Patch-MB-MB-binutils-Upstream-port-issues.patch \ file://0034-Patch-MicroBlaze-By-default-the-linker-will-generate.patch \ + file://0035-Fix-for-objdump-issue-for-mb32-el.patch \ + file://0036-Fix-for-missing-instructions-in-dump.patch \ " LDGOLD_ALTS:microblaze = "" diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0035-Fix-for-objdump-issue-for-mb32-el.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0035-Fix-for-objdump-issue-for-mb32-el.patch new file mode 100644 index 00000000..b63d368a --- /dev/null +++ b/meta-microblaze/recipes-devtools/binutils/binutils/0035-Fix-for-objdump-issue-for-mb32-el.patch @@ -0,0 +1,37 @@ +From f070f81107d4b1e497207c1668f079dabb0b4417 Mon Sep 17 00:00:00 2001 +From: Aayush Misra +Date: Mon, 24 Jul 2023 21:49:14 +0530 +Subject: [PATCH 35/36] Fix for objdump issue for mb32-el + +--- + opcodes/microblaze-dis.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/opcodes/microblaze-dis.c b/opcodes/microblaze-dis.c +index b76a5935a34..237a6081377 100644 +--- a/opcodes/microblaze-dis.c ++++ b/opcodes/microblaze-dis.c +@@ -36,7 +36,7 @@ + #define get_int_field_imml(instr) ((instr & IMML_MASK) >> IMM_LOW) + #define get_int_field_r1(instr) ((instr & RA_MASK) >> RA_LOW) + +-#define NUM_STRBUFS 3 ++#define NUM_STRBUFS 4 + #define STRBUF_SIZE 25 + + struct string_buf +@@ -466,8 +466,9 @@ print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info) + case INST_TYPE_NONE: + break; + case INST_TYPE_RD_IMML: +- print_func (stream, "\t%s, %s", get_field_rd (&buf, inst), get_field_imm16 (&buf, inst)); +- break; ++ if(info->insn_type != dis_noninsn) ++ print_func (stream, "\t%s, %s", get_field_rd (&buf, inst), get_field_imm16 (&buf, inst)); ++ break; + /* For bit field insns. */ + case INST_TYPE_RD_R1_IMMW_IMMS: + print_func (stream, "\t%s, %s, %s, %s", get_field_rd (&buf, inst),get_field_r1(&buf, inst),get_field_immw (&buf, inst), get_field_imms (&buf, inst)); +-- +2.34.1 + diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0036-Fix-for-missing-instructions-in-dump.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0036-Fix-for-missing-instructions-in-dump.patch new file mode 100644 index 00000000..e48dfe84 --- /dev/null +++ b/meta-microblaze/recipes-devtools/binutils/binutils/0036-Fix-for-missing-instructions-in-dump.patch @@ -0,0 +1,34 @@ +From 834cc7ca420d3fb783fb813b336e76960eb5b28e Mon Sep 17 00:00:00 2001 +From: Aayush Misra +Date: Thu, 28 Mar 2024 16:33:40 +0530 +Subject: [PATCH 36/36] Fix for missing instructions in dump + +--- + opcodes/microblaze-dis.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/opcodes/microblaze-dis.c b/opcodes/microblaze-dis.c +index 237a6081377..a83e00e282b 100644 +--- a/opcodes/microblaze-dis.c ++++ b/opcodes/microblaze-dis.c +@@ -266,7 +266,7 @@ print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info) + + inst = read_insn_microblaze (memaddr, info, &op); + if (inst == 0) +- return -1; ++ return 4; + + if (prev_insn_vma == curr_insn_vma) + { +@@ -274,7 +274,7 @@ print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info) + { + prev_inst = read_insn_microblaze (prev_insn_addr, info, &pop); + if (prev_inst == 0) +- return -1; ++ return 4; + if (pop->instr == imm) + { + immval = (get_int_field_imm (prev_inst) << 16) & 0xffff0000; +-- +2.34.1 + -- cgit v1.2.3-54-g00ecf From 9fc4fc9e03f25ddcc60629b83db7c5b855046229 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 29 Mar 2024 13:23:43 -0600 Subject: microblaze: gdb: Fix crash on startup Signed-off-by: Mark Hatle --- .../recipes-devtools/gdb/gdb-microblaze.inc | 1 + ...b-gdserver-Fix-ABI-settings-for-gdbserver.patch | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-microblaze/recipes-devtools/gdb/gdb/0009-gdb-gdserver-Fix-ABI-settings-for-gdbserver.patch diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc b/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc index 5eae0577..d3618229 100644 --- a/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc +++ b/meta-microblaze/recipes-devtools/gdb/gdb-microblaze.inc @@ -13,4 +13,5 @@ SRC_URI:append:microblaze = " \ file://0006-Patch-MicroBlaze-these-changes-will-make-64-bit-vect.patch \ file://0007-Patch-MicroBlaze-Added-m64-abi-for-64-bit-target-des.patch \ file://0008-Patch-MicroBlaze.patch \ + file://0009-gdb-gdserver-Fix-ABI-settings-for-gdbserver.patch \ " diff --git a/meta-microblaze/recipes-devtools/gdb/gdb/0009-gdb-gdserver-Fix-ABI-settings-for-gdbserver.patch b/meta-microblaze/recipes-devtools/gdb/gdb/0009-gdb-gdserver-Fix-ABI-settings-for-gdbserver.patch new file mode 100644 index 00000000..93f67800 --- /dev/null +++ b/meta-microblaze/recipes-devtools/gdb/gdb/0009-gdb-gdserver-Fix-ABI-settings-for-gdbserver.patch @@ -0,0 +1,33 @@ +From 53b76bb548720367032a51a6d604c975b10bb30e Mon Sep 17 00:00:00 2001 +From: Aayush Misra +Date: Fri, 29 Mar 2024 14:59:16 +0530 +Subject: [PATCH] gdb/gdserver: Fix ABI settings for gdbserver + +--- + gdb/microblaze-tdep.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/gdb/microblaze-tdep.c b/gdb/microblaze-tdep.c +index 38ba38e8c7d..35cec286d8f 100644 +--- a/gdb/microblaze-tdep.c ++++ b/gdb/microblaze-tdep.c +@@ -1120,12 +1120,13 @@ void _initialize_microblaze_tdep (); + void + _initialize_microblaze_tdep () + { ++ //Setting abi to auto manually, should be able to modify in 'arch'_gdbarch_init function ++ microblaze_abi_string = microblaze_abi_strings[0]; ++ + register_gdbarch_init (bfd_arch_microblaze, microblaze_gdbarch_init); +-// static struct cmd_list_element *setmicroblazecmdlist = NULL; +-// static struct cmd_list_element *showmicroblazecmdlist = NULL; + +- /* Add root prefix command for all "set microblaze"/"show microblaze" commands. */ + ++ /* Add root prefix command for all "set microblaze"/"show microblaze" commands. */ + add_setshow_prefix_cmd ("microblaze", no_class, + _("Various microblaze specific commands."), + _("Various microblaze specific commands."), +-- +2.34.1 + -- cgit v1.2.3-54-g00ecf