summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Adjust generic BSPs to support the inheritance modelMark Hatle2022-01-144-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each inherited BSP must set a MACHINEOVERRIDES and PACKAGE_EXTRA_ARCHS to ensure that various overrides can be set along the way. The general format for this is (in the caller): require conf/machine/<inherited machine>.conf The callee is responsible for adding to the MACHINEOVERRIDES and PACKAGE_EXTRA_ARCHS. It does this by setting the following at the beginning and end of the file, respectively. MACHINEOVERRIDES =. "${@['', '<machine>:']['<machine>' != '${MACHINE}']}" ... ... PACKAGE_EXTRA_ARCHS_append = "${@['', ' <machine_arch>']['<machine>' != '${MACHINE}']}" where <machine> is the <machine>.conf file the line appears in; <machine_arch> is the <machine>.replace('-', '_') (matching MACHINE_ARCH) if the machine file was used by itself. The MACHINEOVERRIDES uses =. or .= everywhere in the Yocto Project. Doing it via =. in the load order ensures in order evaluation. PACKAGE_EXTRA_ARCHS is set via 'append', but needs to be the last operation to ensure that we are always added AFTER anything we include along the way. Effectively this is a late binding evaluation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Deprecate BOARD and BOARD_VARIANT supportMark Hatle2022-01-1413-26/+222
| | | | | | | If the BOARD and/or BOARD_VARIANT is set, continue to allow this to work, however warn the user it is deprecated. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move board specific items from meta-xilinx-toolsMark Hatle2022-01-144-0/+59
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-*: Move BSP settings to meta-xilinx-bspMark Hatle2022-01-147-13/+31
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* platform-init: Split into board specific entriesMark Hatle2022-01-144-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* arm-trusted-firmware: Split board specific entriesMark Hatle2022-01-142-4/+5
| | | | | | Cleanup some of the override syntax. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-mcs: Remove obsolete board specific configMark Hatle2022-01-141-1/+0
| | | | | | The board config matches the default config, it's not needed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Break into base bb and board specific bbappendMark Hatle2022-01-1410-21/+23
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* kc705-bitstream: Move to bsp layer, bsp specificMark Hatle2022-01-141-0/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-14198-223/+343
| | | | | | | | | | 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>
* zynq-generic: Replace hard coded petalinux reference with general ROOTFSMark Hatle2022-01-141-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* ultra96-zynqmp: Default to zynqmp eg variantMark Hatle2022-01-141-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Add README for the Xilinx machine infrastructure filesMark Hatle2022-01-141-0/+34
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move microblaze arch settings to xilinx-microblaze.incMark Hatle2022-01-142-8/+10
| | | | | | | No reason to set any microblaze defaults, unless we're actually building for microblaze. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Microblaze: Make microblaze-generic arch dynamic to configurationMark Hatle2022-01-148-19/+35
| | | | | | | | Adjust configurations, and users of the generic configuration. The TUNE must be set BEFOER the inclusion, otherwise there is no way to dynamicly generate the correct MACHINE_ARCH. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* soc-versal: Add AI Edge, and HBM versal variantsMark Hatle2022-01-141-1/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Move from cortexr5f to cortexr5Mark Hatle2022-01-144-5/+5
| | | | | | | After moving from Xilinx specific cortex r5 turning file, the 5f is no longer defined. Move to the now standard 'cortexr5' definition. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove cortexrm tune, as Yocto Project now has cortex-r tunesMark Hatle2022-01-146-59/+59
| | | | | | | armrm override is now replaced by armv7r and armv8r overrides. Adjust recipes to match the new usage. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move baremetal include to meta-xilinx-standaloneMark Hatle2022-01-141-0/+0
| | | | | | | This was missed in the prior move of the components to meta-xilinx-standalone layer. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* remove accidently committed fileMark Hatle2022-01-141-12/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* New microblaze-generic based on microblazeel-v11.0-bs-cmp-mh-div-genericMark Hatle2022-01-143-31/+25
| | | | | | | The new generic will be the default microblaze configuration, with the other remaining temporarily for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zynqmp-generic.conf: Remove KERNEL_DEVICETREERaju Kumar Pothuraju2022-01-141-1/+0
| | | | | | | | | | | As per the new kernel-fitimage changes in honister it is first adding the dtb from KERNEL_DEVICETREE and then dtb from device-tree.bb file. Which is leading to boot issue using the fitimage in petalinux flow. Disabling the KERNEL_DEVICETREE variable to add only dtb from device-tree.bb file(system.dtb). Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-runtime: Fix a missing _ to : transitionMark Hatle2022-01-141-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* fpgamanager_custom: Moved from meta-xilinx-toolsMark Hatle2022-01-141-0/+85
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* esw.bbclass: Workaround for experimental esw buildMark Hatle2022-01-141-1/+3
| | | | | | | | | For some reason build no longer works in a separate directory. It fails with a message indicating the system was unable to load 'the cache'. Until this is resolved, set B = S. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-setup: Update for honister based systemMark Hatle2022-01-142-7/+3
| | | | | | | | | | | README file was updates, as uninative no longer needs to be separately included. The meta-xilinx-setup needs to be updated from ?= to =, as a distro (poky) may configure it's own default TOOLCHAIN_HOST_TASK, which causes the wrong items to be loaded. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-toolchain: Adjust the bbappend to work with a 'fuller' size SDKMark Hatle2022-01-141-9/+0
| | | | | | | | The user may have specified additional host tools for the toolchain, allow this -- as a new meta-xilinx-toolchain was introduced for the cut-down prebuilt toolchain. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* aarch32-tc.conf: Fix reference to cortex-a9 tune fileMark Hatle2022-01-141-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze systemd: Add additional missing architecture supportMark Hatle2022-01-146-1/+868
| | | | | | | | | | | | | | Rename a mispelled patch name Add a patch that defines the microblaze syscalls. Disable stack-protection, as it is not supported on Microblaze at this time. Add a patch to resolve an undefined gcc internal, that is not enabled on microblaze. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze systemd: Move initial patch from meta-petalinuxMark Hatle2022-01-142-0/+61
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze m4/diffutils/grep: Add stack direction info to m4 macrosMark Hatle2022-01-146-0/+45
| | | | | | | | | | | | These tools require knowledge of the stack direction, since we are cross compiling they are unable to detect the stack growth direction so it must be defined in the m4 macro. It turns out the direction was already set, but defined as 'microblaze' instead of 'microblaze*' which caused problems on little endian. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze libxcrypt: Fall back to older style symver supportMark Hatle2022-01-142-0/+19
| | | | | | | | | | | | | Using symver related functions results in: | ../git/lib/crypt-static.c:32:1: error: symver is only supported on ELF platforms | 32 | SYMVER_crypt; | | ^~~~~~~~~~~~ Microblaze does not support these functions at this time, so fall back to the older approach to resolve this issue. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-source: Move from gcc 10 to gcc 11 supportMark Hatle2022-01-142-13/+14
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* newlib: Update to honister versionMark Hatle2022-01-1413-72/+50
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gdb: Upgrade to the honister versionMark Hatle2022-01-1468-6140/+2579
| | | | | | | | Move from pinned gdb version 9.2 to the honister version. Note: gdb/gdbserver for the target is known to not work yet. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc: Upgrade to honister (11.2) versionMark Hatle2022-01-1457-710/+465
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils: Upgraade to honister versionMark Hatle2022-01-1459-5446/+3912
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc: Move everything to gcc-11 directoryMark Hatle2022-01-142-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "binutils: Import gatesgarth version, converted to new variable syntax"Mark Hatle2022-01-1429-25355/+0
| | | | | | This reverts commit 294443d89dd53435fc0ccc6113c7ec5aff326612. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "binutils: convert away from bbappend"Mark Hatle2022-01-145-4/+15
| | | | | | This reverts commit 7f12056ccc3a978e9b69c380bffc3c04ee20520e. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "gcc: Import gatesgarth version, converted to new variable syntax"Mark Hatle2022-01-1471-7082/+0
| | | | | | This reverts commit 2c819946b5258291d1725dabb3f5180d36971bd6. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "gcc: convert away from bbappend"Mark Hatle2022-01-1459-2/+3
| | | | | | This reverts commit b56b1562c129fd12b486fd6666315afd4644ce6a. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemu-xilinx: set FILES:PN for nativesdk-qemu-xilinxSai Hari Chandana Kalluri2022-01-141-0/+1
| | | | | | | | Set FILES:PN for nativesdk-qemu-xilinx when SDKMACHINE is x86_64-mingw32. This will fix do_package error:Files/directories were installed but not shipped in any package Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Convert to new override syntaxSai Hari Chandana Kalluri2021-11-029-15/+15
| | | | | | | | | | 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>
* dt-processor.sh: Refactor and domain file supportJohn Toomey2021-11-021-418/+545
| | | | | | | | | | | | | | | | | | | Refactor for maintainability and code reuse - Add missing copyright/license and description - Implement getopts for command line arg parsing - Add proper help function and additional comments - Add error/warn/info functions and clean up output - Fix variable quoting and wrap lines to 100 chars - Fix code duplication and remove redundancy - Simplify the parse_cpus() function for readability - Add missing error checking Add support for a domain file (.yml or .dts) - Add new optional -d <domain_file> flag to getopts - Change lopper.py args in each function when a domain file is passed Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: conf: machine: update versal-generic.conf QEMU_HW_DTB_PS to ↵Appana Durga Kedareswara rao2021-11-021-1/+1
| | | | | | | use vck190 dts Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xlnx-embeddedsw: Move 2021.2 from -next to stable branchMark Hatle2021-11-021-5/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Updated SRCREV for 2021Sivaprasad Addepalli2021-11-023-3/+3
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* vcu: Move to latest on 2021.2 release branchMark Hatle2021-11-022-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* XRT: updating final XRT commit id for 2021.2ch vamshi krishna2021-11-021-1/+1
| | | | | Signed-off-by: ch vamshi krishna <chvamshi@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>