summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-kernel/lopper
Commit message (Collapse)AuthorAgeFilesLines
* various: Fix variable usageMark Hatle2024-11-211-1/+1
| | | | | | | | | | Remove most direct references to WORKDIR. S = "${WORKDIR}" is no longer allowed, adjust this to refer to UNPACKDIR ${WORKDIR}/package is also incorrect, adjust to ${PKGD}. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: recipes-kernel: lopper: xilinx-lops: lop-xilinx-id-cpus: ↵Appana Durga Kedareswara rao2023-02-101-1/+2
| | | | | | | | | | | Update cpu core number by reading the cpu node reg property This commit does the below 1) Update the cpu core number by reading the cpu node reg property. 2) Update the dict_key based on the cpu name instead of compatible string (As cpu name is unique). Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Add support for SOC_VARIANTMark Hatle2023-02-091-1/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-setup: Rework dt-processor.sh to generate a machine and configsMark Hatle2023-01-162-15/+18
| | | | | | | | | | | | | | | | | | | | | | | lop-microblaze-yocto.dts has been modified to generate the file in a slightly different format. There is no need for an intermediate representation for the various microblaze tunings, instead use fixed names for pmc, psm and pmu configurations. dt-processor.sh was reworked to generate a machine.conf file and shrink the amount of information that ends up in the local.conf file. As part of this work the -m option has been renamed to -t. This option is rarely used, so should not impact many users. A new -m option is implemented to allow the user to manually name the generated machine.conf file. Otherwise, it will discover the name from the system device tree using the root 'compatible' object. The tool will also print more useful diagnostics to the screen, this should help ensure that the correct machine is being targeted by the actions and improve early system debuggability. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-lops.bb: Add lop-machine-name.dtsMark Hatle2023-01-162-0/+45
| | | | | | Add a new lop that will pull out the model and machine name. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: recipes-kernel: lopper: xilinx-lops: Add cpu core ↵Appana Durga Kedareswara rao2022-11-211-3/+10
| | | | | | | information and cpu name Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* lopper.bbappend: Backport latest lopper from meta-virtualization (master)Mark Hatle2022-03-281-4/+6
| | | | | | | | | | | | | The bbappend essentially replaces the existing lopper.bb from meta-virt (honister). When meta-virt is updated, most of this bbappend will no longer be necessary. Also update the SRCREV and PV to indicate we're now based on version 1.0.2. Also update xilinx-lops path to match. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* core: Move lopper and python modules to dynamic-layersMark Hatle2022-01-211-54/+0
| | | | | | | Lopper comes from meta-virtualization, the python modules are required by it and the related changes. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-144-0/+452
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>