summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/classes
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-standalone-experimental: classes: esw: Compile PLM by default on ↵Appana Durga Kedareswara rao2023-03-031-0/+3
| | | | | | | | | | | | release mode FIXME: By default CMAKE_BUILD_TYPE is Debug with the latest esw source repo changes if we try to compile plm getting linker overflow error to workaround the issue switch the default build type to Release mode. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: classes: esw: Don't enable ↵Appana Durga Kedareswara rao2023-02-101-1/+0
| | | | | | | | | | | | | CMAKE_EXPORT_COMPILE_COMMANDS With the latest esw code changes if we enable CMAKE_EXPORT_COMPILE_COMMANDS it will include CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES into the path default value this variable is /usr/include if enable this param it will try to include application headers in /usr/include resulting compilation error so disable this param for yocto flow. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: esw.bbclass: Support .dts files in ↵Mark Hatle2023-02-091-1/+1
| | | | | | CONFIG_DTFILE Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* esw.bbclass: Fix parse error when CONFIG_DTFILE isn't definedMark Hatle2023-01-161-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimetnal: Move from using DISTRO to MACHINE featuresMark Hatle2023-01-161-1/+1
| | | | | | | | | | | | | | Using DISTRO_FEATURES will affect task hashes for non-target recipes. This triggers some signficant unnecessary rebuilds. Since these options all point back to a given device-tree (related) setting they really are machine, not distribution specific anyway. So the change should also better align to the purpose of the settings. Additionally, change dt-processor.sh to generate MACHINE_FEATURES instead of DISTRO_FEATURES. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: Update recipes as per latest lopper updatesAppana Durga Kedareswara rao2023-01-061-1/+0
| | | | | | | | With the latest lopper changes memory.ld file is no longer getting generated update the recipes for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: Update machine name checks to inline ↵Appana Durga Kedareswara rao2023-01-061-2/+2
| | | | | | | | | | | with latest system device-tree system device-tree repo (DTG++) has updated the processor label names to inline with xsa ip naming, update the machine checks in the recipes for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: update recipes as per 2023.1 embeddedsw ↵Appana Durga Kedareswara rao2022-12-051-0/+3
| | | | | | | | | | repo changes Update recipes and readme as per 2023.1 embeddedsw repo and as per latest lopper changes. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimetnal: esw.bbclass: Define default PV as ↵Mark Hatle2022-12-021-0/+2
| | | | | | | | | | release version Most users will be '_git' or '_experimental'. So default the PV to the ESW version. If a recipe wants a specific version, it should set the PV after the inherit of esw. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: Update as per latest lopper updatesAppana Durga Kedareswara rao2022-11-211-2/+2
| | | | | | | | | | lopper baremeal assists got updated to take cpu name as input instead of yocto machine name this commit updates the dt-processor.sh script for the same, and also adds support for generating mulit config machine for Other processor cores (Cortexr5-1 etc...) Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: esw.bbclass: Add var XLNX_CMAKE_BSP_VARSBen Levinsky2022-07-281-0/+2
| | | | | | | Add a variable that can be used to add BSP flags Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: Wrap do_configure:prependMark Hatle2022-06-131-0/+2
| | | | | | | | The do_configure prepend steps need to run in the 'S' directory, so wrap the operations to prevent them from changing the working directory for the rest of the do_configure operations. Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* Revert "esw.bbclass: Workaround for experimental esw build"Mark Hatle2022-06-131-3/+1
| | | | This reverts commit bf6da5278138538e4a28fd2ecf843afe094cbbe2.
* meta-xilinx-standalone-experimental: Deploy images to sub folder having ↵Appana Durga Kedareswara rao2022-04-111-2/+2
| | | | | | | | | | component/recipe name This commit updates the deploy task to deploy images to a sub folder having component name. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* meta-xilinx-standalone-experimental: Change from lopper.py to lopperMark Hatle2022-03-072-3/+3
| | | | | | | Upgrade of lopper changed the executable name to lopper. Switch all of the users. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone-experimental: Uses of lopper must inherit python3nativeMark Hatle2021-12-231-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Move from cortexr5f to cortexr5Mark Hatle2021-12-201-1/+1
| | | | | | | 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>
* esw.bbclass: Workaround for experimental esw buildMark Hatle2021-12-101-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-standalone-experimental: classes: esw_examples: Deploy images ↵Appana Durga Kedareswara rao2021-11-231-2/+2
| | | | | | | | | | directly to deploy folder instead of sub folder This commit updates the deploy task to deploy images directly to deploy folder instead of a sub folder. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone-experimental: various fixes for override syntax changesMark Hatle2021-10-251-3/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Convert to new override syntaxSai Hari Chandana Kalluri2021-09-282-9/+9
| | | | | | | | | | 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>
* meta-xilinx-standalone-experimental: Move from device-tree-lops to device-treeMark Hatle2021-09-281-6/+6
| | | | | | | | | | The device trees are now generated by the user as part of the configuration steps. As such, we need to simply copy/process these device trees as part of the system build so adjust the various usages to the new variable CONFIG_DTFILE, which is a full path reference to the device tree for a particular configuration. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dtb-embeddedsw.inc: Unify the approach to overridingMark Hatle2021-09-271-3/+3
| | | | | | | | | Add an 'experimental' configuration, and default to this when using any of the experimental esw based recipes. The class must be inherited first, and THEN the override processed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* classes: esw_examples: Add support for custom linker scriptAppana Durga Kedareswara rao2021-09-271-0/+3
| | | | | | | | Custom linker script can be provided via cmake gui CUSTOM_LINKER_FILE variable or by updating ESW_CUSTOM_LINKER_FILE variable in local.conf file. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone-experimental: classes: esw: Update LICFILENAME variableAppana Durga Kedareswara rao2021-09-271-0/+1
| | | | | | | | When using EXTERNALSRC_pn the LICFILENAME variable is set to None, Correct the LICFILENAME variable so that we can compile things with EXTERNALSRC_pn. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone-experimental: Adjust to match recent changesMark Hatle2021-09-272-17/+47
| | | | | | | | | Changes to meta-xilinx-standalone, as well as the embeddedsw require various changes to be made. This brings the implementation up to the current level. Note: various things do not yet compile! Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Reorganize the various layer componentsMark Hatle2021-07-142-0/+133
Machines: Move baremetal machines to meta-xilinx-standalone Layers: - Add new meta-xilinx-standalone-experimental This layer may require components that may not yet be available to the general public. It will contain various experiemntal integration work. - meta-xilinx-standalone This layer should be functional and contain the necessary items to build a baremetal toolchain that can use libxil (replacement to libgloss) from the Xilinx embeddedsw components. (Note, libxil is NOT built as part of this work!) The layer also contains the buildable components for the various firmware components required to startup various Xilinx FPGAs. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>