summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | meta-xilinx-bsp: recipes-multimedia: ivasSaurabh Sengar2021-01-044-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | IVAS recipes intial checkin supporting vitis AI 1.2 Signed-off-by: Saurabh Sengar <saurabh.singh@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | qemu-xilinx: Fix patch puzz warning during do_patchSai Hari Chandana Kalluri2020-12-181-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Rework 0001-Add-enable-disable-udev.patch to fix patch fuzz warnings Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | Cleanup QB_MACHINE for xilinx machinesSai Hari Chandana Kalluri2020-12-165-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pick correct QB_MACHINE name for each of the machine from qemuboot-xilinx.bbclass. Remove QB_MACHINE from machine.conf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | linux-xlnx.inc: Update overlay config fragmentsRaju Kumar Pothuraju2020-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating overlay config fragments path. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | zcu102-zynqmp.conf: Fix qemuboot for zcu102-zynqmpSai Hari Chandana Kalluri2020-12-162-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix machine name being passed to zcu102-zynqmp qemu boot arg. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | ultra96: Using BOARD level hiearchy for ultra96 overridesJaewon Lee2020-12-156-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using BOARD level hierarchy to rewire ultra96 specific overrides. Each package using BOARD override has to also redefine PACKAGE_ARCH using BOARD_ARCH Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
| * | | Adding BOARD and BOARD_VARIANT level hierarchyJaewon Lee2020-12-153-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Going to generic machine confs, we can no longer use machine overrides for specific machine changes. Adding BOARD and BOARD_VARIANT level hierarchy for packaging for zynqmp/zynq/versal generic machines confs. BOARD and BOARD_VARIANT must be set accordingly to use these hierarchy levels properly Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
| * | | meta-toolchain: Ensure that a baremetal toolchain can finish buildingMark Hatle2020-12-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We include base qemu, the toolchain, but nothing else. (Dummy package is required to meet basic dependencies.) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | weston: Update the weston patches to comply with weston-9.0Madhurkiran Harikrishnan2020-12-143-93/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the patch pertaining to eglconfig for pbuffer surfaces as it is merged in the mainline. Upadate the patch which removes the opaque substitute to comply with weston-9.0. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | gdb: Fix on-target GDB compilationMark Hatle2020-12-074-0/+578
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Target gdb/gdbserver failed to compile due to out of date microblaze-linux-nat.c, correct this and ancillary files. Note, this only corrects compilation the code may not function properly. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | | newlib: Upstream now disabled builtin symbolsMark Hatle2020-12-042-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | libgcc.bbappend: Clear empty lib directoryMark Hatle2020-12-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the way the multilib xilinx-standalone works, one or more empty directories under ${D}/lib may exist. This triggers a QA error about unpackaged files. Use rmdir to delete these directories to ensure they are empty. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | machine/aarch64-tc.conf: Fix incorrect ilp32 pkgarchMark Hatle2020-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there is a _ in the package arch, the sstate-control files are written with a _. However, when they are used they somehow get translated to a -, triggering a warning message. The warning though means that the sstate component was not actually staged into the recipe-sysroot, causing a later build failure. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | newlib: update to early gatesgarth versionMark Hatle2020-12-0414-226/+196
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | gcc: update to early gatesgarth versionMark Hatle2020-12-0462-1051/+641
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | gdb: update to early gatesgarth versionMark Hatle2020-12-0448-1568/+2505
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | binutils: update to early gatesgarth versionMark Hatle2020-12-0459-1876/+2805
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | | pmu-firmware: Latest toolchain always treats 'assert' as a macroMark Hatle2020-12-042-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the structure member from 'assert' to 'resetAssert to avoid a compilation error: | pm_reset.c: In function ‘PmResetDoAssert’: | pm_reset.c:1905:36: error: macro “assert” passed 2 arguments, but takes just 1 | 1905 | reset->ops->assert(reset, action); | | ^ | In file included from .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/sys/reent.h:503, | from .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/string.h:11, | from ../misc/zynqmp_pmufw_bsp/psu_pmu_0/include/xil_printf.h:9, | from xpfw_debug.h:57, | from xpfw_default.h:37, | from pm_reset.c:36: | .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/assert.h:16: note: macro “assert” defined here | 16 | # define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \ | | | Makefile:37: recipe for target ‘pm_reset.o’ failed Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | | Uprev standalone toolchain bbappendsMark Hatle2020-12-044-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move newlib/libgloss from 3.1.0 to 3.% Move the gcc configuration for standalone to gcc 10. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | | meta-microblaze: Move gcc patch that was missed in the prior workMark Hatle2020-12-042-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | | Update LICENSE_CHECKSUM for kernel-module-hdmiSai Hari Chandana Kalluri2020-12-031-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| * | | xilinx-board.inc: fixing BOARD_ARCH and BOARDVARIANT_ARCH namesJaewon Lee2020-12-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing arch variables, removing SOC_ for BOARD_ARCH and BOARDVARIANT_ARCH variables Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* | | | layer.conf: Add xilinx-tools as dynamic layersSandeep Gundlupet Raju2022-07-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add meta-xilinx-tools as dynamic-layers. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* | | | README.md: Ultra96 is compatible with v1 boardSandeep Gundlupet Raju2022-07-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update README stating that Ultra96 machine configuration file is compatible with v1 board and refer to meta-avnet for v2 board. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | meta-xilinx: Move booting README from bsp layerSandeep Gundlupet Raju2022-07-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move README.booting.md file from meta-xilinx-bsp layer to meta-xilinx. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* | | | meta-xilinx: Clean up vendor specific machine configuration filesSandeep Gundlupet Raju2022-07-2838-298/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add new metal-xilinx-vendor layer which supports vendor specific machine configuration files, device-tree, kernel, platform-init etc. 2. Moved below vendor machine conf files, dt and related configs from meta-xilinx-bsp and meta-xilinx-contrib to meta-xilinx-vendor layer. - microzed-zynq7.conf - minized-zynq7.conf - picozed-zynq7.conf - zedboard-zynq7.conf - zybo-zynq7.conf - zybo-linux-bd-zynq7.conf - ultra96-zynqmp.conf 3. Obsolete qemu-zynq7, s3adsp1800-qemu-microblazeeb, v350-versal and vc-p-a2197-00-versal from meta-xilinx-bsp layer. Users should use zynq-generic.conf for zynq7000 qemu boot should be functionally equivalent to qemu-zynq7. 4. Add new MAINTAINERS.md file and move maintainers, Mailing list and Patches content from meta-xilinx-* README.md to MAINTAINERS.md file. 5. Updated README.md file for supported board machines files in meta-xilinx-bsp, meta-xilinx-contrib and meta-xilinx-vendor layers. 6. Disabled old drm kernel patches for zybo-linux-bd-zynq mahcine in meta-xilinx-contrib layer as these patches doesn't apply on 5.x kernel, if we don't hear from patch submitter we will remove these patches from meta-xilinx-contrib layer. 7. Removed drm kernel cache metadate for zybo-linux-bd-zynq7 machine as these configs are already available in xilinx_zynq_defconfig. 8. Fixed build issue for u-boot by changing PREFERRED_PROVIDER_virtual/bootloader from u-boot to u-boot-xlnx. 9. Add meta-xilinx-vendor to bblayers.conf.sample Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* | | | xrt: Uses pkgconfig, add inheritMark Hatle2022-07-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | gdb: Fix error in inline_frame_snifferMark Hatle2022-07-282-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depth: Total number of inline functions [refer inline-frame.c] state->skipped_frames : Number of inline functions skipped. the current unwind_pc is causing an issue when we try to step into inline functions[Depth is becoming 0]. It’s incrementing pc by 8 even with si instruction. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | qemuboot-xilinx.bbclass: Defaults should be ?= as classes load after confMark Hatle2022-07-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conf file(s) should specify board specific defaults, but if left not set should fall back to what is implemented here. Since the load order is: machine.conf -> *-generic.conf -> xilinx-machine-qemu.conf ---| |--> inherits -> qemuboot-xilinx.bbclass Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | qemu-xilinx cleanupJohn Toomey2022-07-287-125/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor qemuboot-xilinx.bbclass and machine-xilinx-qemu.inc. Following the example of the core version of qemu.bbclass and match inc file. Refactor some of the functions to make them more readable. Specifically around qemu_rootfs_params. Code may not be as compact, but it'll be easier to read (and update) in the future. Add mising qemu-system-native PREFERRED_PROVIDER (and recipe PROVIDE). This resolves the issue where occasionally you use runqemu and the qemu binary appears to be missing. *-generic.conf: Remove overrides that are the same as the default qemu settings. Remove :append operations on QB_OPT_APPEND, this allows easy override when someone includes a generic machine. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | *-generic.conf: Fix QB_NETWORK_DEVICE to use default settingsMark Hatle2022-07-282-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | runqemu will pass in the correct network choice for the user. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | *-generic.conf: Update qemu config to remove duplicate optionsMark Hatle2022-07-284-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runqemu now appears to set -serial mon:stdio by default. This can conflict with the built in parameters. Reported by: Jeremy Puhlman <jpuhlman@mvista.com> It may look unusual, but the remaining -serial null are still required for booting. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | qemu-system-aarch64-multiarch: Add --help supportMark Hatle2022-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --help may need to be passed in and should be directed to the main APU handler. runqemu may use --help for various reasons. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | xrt_git.bb: Cleanup += usageMark Hatle2022-07-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve the following warning WARNING: .../meta-xilinx/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb: EXTRA_OECMAKE:append:versal-ai-core += is not a recommended operator combination, please replace it. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | qemu-xilinx-native.inc: add meson and ninjaJeremy Puhlman2022-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ERROR: Cannot find Ninja Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | microblaze-generic: microblaze requires a device treeMark Hatle2022-07-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the device-tree as a dependency and kc705-microblazeel is defined as the default HDF_MACHINE. Also simplify by removing the QB_DTB and using the default value. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | zynq-generic: use default QB_DTB valueMark Hatle2022-07-281-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | machine-xilinx-qemu.inc: Adjust function to verify fstype is validMark Hatle2022-07-281-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the function to treat microblaze as a soc_family. If we do not have initramfs_image defined, then verify wic.qemu-sd is available before returning that value, otherwise fall back to the dictionary. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | u-boot-xlnx: Add support for U-boot user specified dtsSandeep Gundlupet Raju2022-07-281-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for U-boot user specified dts by setting below variables in local.conf file. UBOOT_USER_SPECIFIED_DTS:pn-u-boot-xlnx = "versal-vck190-revA-x-ebm-01-revA" This will fetch user specified dts from from u-boot repo path u-boot-xlnx/arch/arm/dts/versal-vck190-revA-x-ebm-01-revA.dts when user doesn't want to use EXT_DTB from device-tree recipes. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Adjust to keep extra_oemake args blank, unless actually needed Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | meta-microblaze: gdb is now availableMark Hatle2022-07-281-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | meta-microbalze: gdb: Enable gdb and gdbserver on microblazeMark Hatle2022-07-2814-985/+1301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace existing integration with new work that enables target gdb and gdbserver. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | Set QB_KERNEL_ROOT for zynq-genericJohn Toomey2022-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value is passed to the kernel in order to choose the correct disk but defaults to /dev/vda which does not boot. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | u-boot-xlnx-blob.inc: Move to using UBOOT_IMAGE_BLOB_DEFAULTMark Hatle2022-07-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UBOOT_IMAGE_BLOB may need a machine (override) specific default value, but we always want the user to be above to override this easily. Adding the new UBOOT_IMAGE_BLOB_DEFAULT allows us to set the default in a BSP layer, while continuing to make the UBOOT_IMAGE_BLOB setting easy for the user to adjust. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | machine:*-generic.conf: Use += instead of appendRaju Kumar Pothuraju2022-07-284-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using append enabling the FSTYPE when using the soc override in petalinux. Using += to add/reflect the value only in yocto or defined with ?= or = operators. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | zynqmp-generic.conf: Add runqemu support for zynqmp-genericRaju Kumar Pothuraju2022-07-281-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for zynqmp-generic machines when INITRAMFS/INITRD/EXT4 sets. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | zynq-generic.conf: Add runqemu support for zynq-genericRaju Kumar Pothuraju2022-07-281-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for zynq-generic machines when INITRAMFS/INITRD/EXT4 sets. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | versal-generic: Add runqemu support for versal-genericRaju Kumar Pothuraju2022-07-281-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for versal-generic when INITRAMFS/INITRD/EXT4 configurations. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | microblaze-generic: Add runqemu support for microblaze-genericRaju Kumar Pothuraju2022-07-281-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for microblaze-generic machines for INITRD/INITRAMFS types. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | machine-xilinx-qemu: Add generic functions to add qemu argsRaju Kumar Pothuraju2022-07-281-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add generic fuctions to add qemu args as per the configuration set and soc_family. Ex: - Adding Image, rootfs and boot.scr files for zynqmp if in case of IMAGE_INITRAMFS set. - Add boot mode as 5 for versal - Return the rootfs type per configuration - Skip adding rootfs in case of bundle image as kernel image will have it. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | | qemuboot-xilinx:machine-xilinx-default: Update kernel imagesRaju Kumar Pothuraju2022-07-282-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For zynq,microblaze qemu supports direct kernel boot by specifying kernel image name to QB_DEFAULT_KERNEL. Adjusting the kernel image based on the bundle image selection. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>