summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
Commit message (Collapse)AuthorAgeFilesLines
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-141-71/+0
| | | | | | | | | | Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move microblaze arch settings to xilinx-microblaze.incMark Hatle2022-01-141-8/+0
| | | | | | | No reason to set any microblaze defaults, unless we're actually building for microblaze. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-default.inc: Manual fixes for overrides syntax changesSai Hari Chandana Kalluri2021-11-011-5/+5
| | | | | | Manual fixes for overrides syntax changes. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Convert to new override syntaxSai Hari Chandana Kalluri2021-09-281-7/+7
| | | | | | | | | | This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* machine-xilinx-default.inc: Setting FPGA_MNGR_RECONFIG_ENABLE default 1Jaewon Lee2021-07-141-1/+1
| | | | | | | | | | Setting FPGA_MNGR_RECONFIG_ENABLE default to 1 and not dependent on a feature. At the time of this patch, this flag defaulting to 1 will enable CONFIG_OF_CONFIGFS and CONFIG_OF_OVERLAY in kernel (it is on in default configs in xilinx kernel) and enabling packaging wiring for extra hdfs in fpga-manager-util Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* machine-xilinx-default.inc: fpga-manager change to fpga-overlay DISTRO_FEATUREJaewon Lee2021-07-141-1/+1
| | | | | | | | | IMAGE_FEATURES should only control which package are getting included into the image, it shouldnt control configuration/compile options. Keeping the fpga-manager IMAGE_FEATURE but also using fpga-overlay DISTRO_FEATURE to set FPGA_MNGR_RECONFIG_ENABLE which controls config options Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Revert "machine-xilinx-default.inc: Add device-tree to ↵Jaewon Lee2020-07-271-1/+0
| | | | | | | | MACHINE_ESSENTIAL_EXTRA_RDEPENDS" This reverts commit ee6d2b039501f63098831bbff141a9d1ef1ae645. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* machine-xilinx-default.inc: Add device-tree to MACHINE_ESSENTIAL_EXTRA_RDEPENDSRaju Kumar Pothuraju2020-07-241-0/+1
| | | | | | | | Adding device-tree to MACHINE_ESSENTIAL_EXTRA_RDEPENDS for all xilinx machines, this will install dtb/dtbo files into the rootfs. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* microblaze machines: Set LINKER_HASH_STYLE defaultsMark Hatle2020-04-031-0/+2
| | | | | | | | | | | For Linux based builds, it should be set to sysv. This will result in the system using a supported hash type. (GNU hash is not supported on Microblaze., so sysv will be used instead.) For baremetal, set the value to "". This will result in no value set, and the system will use the compiler and linker default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: machine-xilinx-default.inc allow empty WIC_DEPENDSMark Hatle2020-03-161-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Move soc overrides from meta-xilinx-defaultMark Hatle2020-03-131-16/+2
| | | | | | | | | | | | | | | | | | | | Any soc overrides belong in the soc configuration files. Also move UBOOT_SUFFIX and UBOOT_ELF defaults into the meta-xilinx-default, as well as specific soc settings in each soc file. This results in the ability to override the value in multiple places based on load order: local.conf (user setting) machine.conf (machine setting) soc-....inc (soc setting) machine-xilinx-default.inc (the actual default) Each step uses ?=, so if the previous step hasn't set it that level will define it's default if necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "**TEMPORARY**: Removing preferred provider overrides for mali ↵Sai Hari Chandana Kalluri2020-01-291-6/+6
| | | | | | | | backend""" This reverts commit 55aa631780a5d804324bbb348b5df9b5d0c1f934. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Revert "Revert "**TEMPORARY**: Removing preferred provider overrides for ↵Sai Hari Chandana Kalluri2020-01-221-6/+6
| | | | | | | mali backend"" This reverts commit 7719c87e2574a6ed2b15b99c43ecbee5cebb3b69. Removing libmali as preferred provider due to CR-1052821
* gdb: Switching microblaze to use upstream gdb version 8.3.1Jaewon Lee2020-01-201-3/+0
| | | | | | | | Previously we were using gdb 7.7.1 just for microblaze for compatibility issues, now switching back to upstream version 8.3.1 and removing no longer needed 7.7.1 bb files and patches Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Revert "**TEMPORARY**: Removing preferred provider overrides for mali backend"Jaewon Lee2019-12-161-6/+6
| | | | This reverts commit 03115b3c35560617b2ffa9e911a6c1071ff6ad30.
* **TEMPORARY**: Removing preferred provider overrides for mali backendJaewon Lee2019-12-091-6/+6
| | | | | | | | | | | | | | Temporarily removing preferred provider overrides for mali backed to bypass mali packaging issues for ex: Multiple shlib providers for libMali.so.9 QA Issue: /usr/lib/libQt5EglFSDeviceIntegration.so.5.13.2 contained in package qtbase requires libMali.so.9()(64bit), but no providers found in RDEPENDS_qtbase? [file-rdeps] Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* machine-xilinx-default.inc: Adding required dependencies to image_wicJaewon Lee2019-12-091-0/+4
| | | | | | | | | | | | | | | | | Adding base required dependencies to do_image_wic[depends] to make sure the common files required to boot.bin have been deployed in DEPLOYDIR before the do_image_wic task tries to use them. zynqmp/versal will add virtual/kernel, virtual/boot-bin, virtual/bootloader, and virtual/arm-trusted-firmware zynq will add everything but virtual/arm-trusted-firmware If you want to add other files to IMAGE_BOOT_FILES, aside from files deployed from virtual/kernel, virtual/boot-bin, virtual/bootloader, you may need to manually add the dependency to do_image_wic[depends] Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Add qemu-xilinx-helper-native as preferredManjukumar Matha2019-12-091-0/+3
| | | | | | | | | | | provider Python3 package from OE-core depends on qemu-helper-native, to meet this dependency use qemu-xilinx-helper-native as preferred provider. In addition this helps the sstate-cache to be similar across generic machines and evaluation boards. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Deploy u-boot.elf for Versal devicesManjukumar Matha2019-08-161-0/+1
| | | | | | Deploy u-boot.elf for Versal devices Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Disable PIE (ASLR) for MicroblazeAlejandro Enedino Hernandez Samaniego2019-08-151-0/+5
| | | | | | | | | | | | While enabling PIE does not produce build time errors AFAIC, for example: bash fails to return/exit properly when PIE is enabled. Given the fact that init code relies on bash to source scripts at boot time and such, booting hangs at init on microblaze targets. Disable PIE on SECURITY_CFLAGS/SECURITY_LDFLAGS for MB architecture Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Adding FPGA_MNGR_RECONFIG_ENABLE to control enabling fpga managerJaewon Lee2019-06-281-0/+1
| | | | | | | | | | | | | | | Introduce FPGA_MNGR_RECONFIG_ENABLE to enable overlay configuration for fpga-manager support in kernel. To enable, set FPGA_MNGR_RECONFIG_ENABLE = "1" in local.conf or other bitbake configuration files. For backward compatibility, set FPGA_MNGR_RECONFIG_ENABLE based on IMAGE_FEATURES. In future release, the option of fpga-manager in IMAGE_FEATURES will be deprecated. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Make u-boot.elf as UBOOT_ELF for zynqSreeja Vadakattu2019-06-281-0/+1
| | | | | | | | | | | | | | | CONFIG_REMAKE_ELF is enabled for all zynq boards. Also, using CONFIG_OF_SEPERATE is recommeneded by u-boot release v2019.01. So, Deploy u-boot.elf instead of u-boot as u-boot.elf contains dtb. This would solve the following boot issue: No valid device tree binary found - please append one to U-Boot binary, use u-boot-dtb.bin or define CONFIG_OF_EMBED. For sandbox, use -d <file.dtb> initcall sequence 00461b18 failed at call 004582e0 (err=-1) Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Add dtb files for IMAGE_BOOT_FILESNathan Rossi2019-01-011-2/+8
| | | | | | | | | | | | | | | | | | | | | | Add all available dtb sources to the IMAGE_BOOT_FILES variable. For device-tree recipe generated dtbs the files available are only known after they files are deployed, so a wildcard pattern is used for these files. Note that this pattern appears before the kernel device trees due to the preference to use custom non-kernel device trees where available. This ordering is needed so that recipes like u-boot-zynq-uenv can pick the first device tree to select as the default. The kernel device trees are specifically selected based on the value of KERNEL_DEVICETREE, this avoid the duplication of kernel image type prefixed files along side having the actual files that the kernel builds. Additionally remove all instances of "${MACHINE}.dtb" as they no longer need to be specified and are incorrect due to the nesting of the files in the `devicetree` directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Default IMAGE_BOOT_FILES using functionNathan Rossi2019-01-011-3/+18
| | | | | | | | | | | | | | | Replace the definition of IMAGE_BOOT_FILES in machine-xilinx-board.inc with the use of a function which automatically selects available images that should be included. This includes the existing implementation of `get_dtb_list` and replaces it with a function that covers all image files including the existing default for KERNEL_IMAGETYPE(S) and UBOOT_BINARY. Also remove the use of `get_dtb_list` from individual machines which is replaced by the default value. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* get_dtb_list function which formats the dtb files properly before adding to ↵Franz Forstmayr2019-01-011-0/+8
| | | | | | | | | | | | IMAGE_BOOT_FILES Replaced the hard-coded devicetree files in IMAGE_BOOT_FILES with a function, which formats the KERNEL_DEVICETREE list properly. Signed-off-by: Franz Forstmayr <f.forstmayr@gmail.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: set libgles1, libgles2 and egl to libmali-xlnxVineeth Chowdary Karumanchi2019-01-011-0/+8
| | | | | | | | zynqmpeg and zynqmpev devices has Mali400, overrides extended with mali400.This patch sets preferred providers to libmali-xlnx. Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Setup MicroBlaze preferred GDBNathan Rossi2017-12-211-0/+4
| | | | | | | | | | | | | | | | | | With the perspective removal of tune-microblaze.inc, the following preferred GDB version configuration for MicroBlaze needs to be relocated. This change also drops the setting of gdb-cross* targets as they were not setup properly since "gdb-cross-${TARGET_ARCH}" was not specified correctly. This is also preferred as newer GDB (e.g. 8.0) does support gdb-cross for debugging (just not gdbserver/gdb). Ideally the MicroBlaze GDB patches should be updated to support the newest GDB and or upstreamed. However this setup continues to be available until that occurs. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Re-enable qemu-usermode for MicroBlazeNathan Rossi2017-12-211-3/+0
| | | | | | | | | | | With prelink-rtld support available for MicroBlaze and toolchain fixes for atomic CAS bugs it is functional to generate gobject introspection data for MicroBlaze binaries. This does still require the meta-xilinx append for qemu which enables the architecture such that qemu linux user is available. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha2017-12-131-0/+41
As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>