summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-core/meta/files
Commit message (Collapse)AuthorAgeFilesLines
* recipes-core: Deprecate meta-xilinx-setup and dt-processorSandeep Gundlupet Raju2023-11-142-1356/+0
| | | | | | | | | | | 1. Deprecate meta-xilinx-setup and dt-processor.sh for generating SDK and machine configuration files. Instead use gen-machineconf tool to parse sdt file and generate machine configuration files. 2. Remove README-setup and add instructions in meta-xilinx-standalone-experimental/README.md file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: No longer need PREFERRED_VERSION for sdt workflowMark Hatle2023-10-311-6/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor: Fix issues with test commandJohn Toomey2023-10-311-2/+2
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Redirect MACHINEOVERRIDES to conf fileRaju Kumar Pothuraju2023-07-071-1/+4
| | | | | | | Redirect MACHINEOVERRIDES to conf file. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: All dts_path to be relative or absoluteMark Hatle2023-06-221-29/+41
| | | | | | | | | When the dts_path is relative, it's relative from <build>/conf/dts Note, using an absolute path may affect some recipe hashes, preventing sstate-cache re-use by other users. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Add -O option to allow the user to add overridesMark Hatle2023-06-211-1/+7
| | | | | | | | | | | | | | Additional MACHINEOVERRIDES can be automatically appeneded by using the -O option. No validation is preformed, but the value is used in the generated content. For example: dt-processor.sh .... -O override1:override2 The generated content will be: MACHINEOVERRDIES .= ":override1:override2" Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Add -r option to defined required (inherited)Mark Hatle2023-06-211-3/+9
| | | | | | | | | | | | | | | | | [-r <require_machine>] This machine will be required, instead of the generic machine if defined For example: dt-processor.sh -m xilinx-zynqmp-sc-revb -r eval-brd-sc-zynqmp.conf This will create a new machine 'xilinx-zynqmp-sc-revb' which will generate: require conf/machine/eval-brd-sc-zynqmp.conf The value of -r is not verified, but is designed to allow for arbitrary values such as: -r include/kria-k24-generic.inc Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Define dts subdirectory differentlyMark Hatle2023-06-211-26/+32
| | | | | | | | | | | The generated DTS files will be installed into the same directory as the automatically generated machine name. This provides a method for the user to specify an alternative directory name instead. Note, if the machine name is defined by the user, the dts directory is not changed from the default without using this additional argument. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: dt-processor.sh: move to min configMark Hatle2023-06-081-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: conf: dtb-embeddedsw.inc: Update branch ↵Appana Durga Kedareswara rao2023-05-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | and srcrev for 2023.2 release Below are the updates: 742a608800e7 create_bsp: Remove references to /dev/null 826fcc503554 settings.sh: Changing version from 2023.1 to 2023.2 51adc44151e7 scripts: rigel_scripts: regen_linker: Add script for regenerating linker b5e2f5e9b887 dmaps: Remove arm,primecell compat string from compatible list 89767030a151 rigel_scripts: copy psu_init* files for zynqmp_fsbl app 2a448b31f000 scripts: rigel_scritps: build_app: Remove unneeded repo handling from build_app 1d85f3d87ffd scripts: rigel_scripts: Handle drivers which are part of sdt folder 23891dfcfdad scripts: rigel_scripts: create_example: Add support for compiling library or driver examples 88b749d8e8c6 scripts: rigel_scripts: Update get_high_precedence_path API to use concatenate paths cade1b610ba4 scripts: rigel_scripts: Add support for library examples meta-data 49df9535433a scripts: rigel_scripts: load_example: Add support for driver example meta-data 3169cabf8576 scripts: rigel_scripts: Update the bsp.yaml domain drv_info with hardware instance instead of driver f81d03153a45 create_bsp: Adding libsrc subdir properly by correcting cmake syntax 1ede8254fb6e *.py: Fixing the timing issues with library addition and configuration 787efbe8dd0f sw_services:xilsecure:Fix passing device id to xilmailbox library 27d8798fb1f0 scripts: rigel_scripts: Workaround for windows support enablement 3a2ce07f49ed scripts: rigel_scripts: Use GNU Makefile generator Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor: Fix dts generated files structureSandeep Gundlupet Raju2023-05-101-27/+29
| | | | | | | | | | | | | | 1. Add AMD Copyright notice. 2. Fix pdi_path typo in usage. 3. If dt-processor is run with two different zynqmp/versal sdt dts then <cpu>-linux.dts and multiconfig dts were overwritten. Generate dts files in build/conf/dts/<machine_name>/ directory instead of build/conf/dts. This way when user use same build directory for building different machine target it will avoid overwriting dts files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor: Remove boot script dt nameSandeep Gundlupet Raju2023-02-231-4/+0
| | | | | | | | | | | | Remove DEVICE_TREE_NAME from dt-processor.sh to set right FDT name in pxeboot.cfg from u-boot-xlnx-scr recipe. With that said user can override DEVICE_TREE_NAME value from local.conf. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Removed KERNEL_DEVICETREE:example-sdt line that never did anything. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Add support for SOC_VARIANTMark Hatle2023-02-091-11/+74
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Move from DTB to DTSMark Hatle2023-02-091-139/+114
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: adding weaker assignment to BBMULTICONFIGvaralaxmi bingi2023-01-261-1/+1
| | | | | Signed-off-by: varalaxmi bingi <varalaxm@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Minor revisions for better user errorsMark Hatle2023-01-161-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Code cleanup, rename 'distro' to 'features'Mark Hatle2023-01-161-27/+27
| | | | | | | | Prior changes moved from a 'DISTRO_FEATURES' to 'MACHINE_FEATURES', but in all cases these are just generated feature files. Rename to make this more clear in the future. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Define mc_name and cleanup various usageMark Hatle2023-01-161-109/+97
| | | | | | | | mc_name (multiconfig name) is now defined for each section, this single variable is used to create files and directories as requires. This should prevent subtle errors from mismatched naming. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimetnal: Move from using DISTRO to MACHINE featuresMark Hatle2023-01-161-0/+9
| | | | | | | | | | | | | | 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>
* dt-processor.sh: Move includes from distro to machineMark Hatle2023-01-161-25/+27
| | | | | | | The include files are moved from the conf/multiconfig/include directory to the new machine/include/<machine> directory. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Move warning avoidance to local.confMark Hatle2023-01-161-36/+7
| | | | | | | | | | | | | meta-virtualization, meta-security and meta-tpm check to see if they are available, but the MACHINE_FEATURE is not enabled. For baremetal configs these become nuisance warnings. Instead of disabling them in each configuration move it to the central local.conf and thus global namespace. SKIP_META_VIRT_SANITY_CHECK = "1" SKIP_META_SECURITY_SANITY_CHECK = "1" SKIP_META_TPM_SANITY_CHECK = "1" 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-165/+291
| | | | | | | | | | | | | | | | | | | | | | | 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>
* README-setup: Update instructions to better explain usageMark Hatle2023-01-131-24/+46
| | | | | | | Reword sections, update the example to use -l, and explain how BBMULTICONFIG affects parse performance and possible mitigation strategies. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dtb-embeddedsw.inc: Rename experimental to 2023.1_sdt_experimentalMark Hatle2023-01-131-5/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: recipes-core: meta: files: ↵Appana Durga Kedareswara rao2023-01-061-2/+7
| | | | | | | | | | | dt-processor.sh: Update petalinux config assist as per latest lopper With the latest lopper change processor name needs to be passed as a first argument when calling the petalinuxconfig_xlnx assist update the logic 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-052-22/+22
| | | | | | | | | | 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>
* dt-processor.sh: Rename u-boot scripts packagesSandeep Gundlupet Raju2022-12-021-2/+2
| | | | | | | | | In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these in all the files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: Update as per latest lopper updatesAppana Durga Kedareswara rao2022-11-211-88/+102
| | | | | | | | | | 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>
* dt-processor.sh: Ignore TOPDIR in the CONFIG_DTFILEMark Hatle2022-08-191-0/+22
| | | | | | | | | | sstate-cache re-use is affected by the value of CONFIG_DTFILE as used by the device-tree recipe. If we are setting CONFIG_DTFILE, be sure to exclude TOPDIR from the hash calculations to avoid unnecessary rebuilds. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit c6f917c289be96ca030a275e0c4d92384ca5bb16) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-process.sh: Ensure the psu_init has the full pathMark Hatle2022-08-191-2/+6
| | | | | | | | | | | | By move system_dtb real path earlier, we ensure that the default psu_init (and other users) of system_dtb path will get the full path. Also ensure if the user passes in a psu_init or pdi path, it is expanded as well. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 4914145ca3944763b7171367ee056f97b213ff30) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Move BASE_TMPDIR from = to ?=Mark Hatle2022-08-181-1/+1
| | | | | | | | | | | | | The build directory may be on an NFS server, while it's easy for a user to modify the BASE_TMPDIR to a local device, this is difficult for an automated build to do via another configuration file. Switching to ?= will allow site.conf (or a similar file) to set a custom value for BASE_TMPDIR to a local disk. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit ac13c9714585deab3c6c8e815b9750e8a4e1f0b0) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: recipes-core: meta: files: ↵Appana Durga Kedareswara rao2022-07-291-2/+7
| | | | | | | | | | | | dt-processor.sh: Add relative path support for system device-tree and domain file With the existing dt-processor.sh fails if relative paths of system-top.dts or domains yaml have been provided, this commit fixes this issue. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 15e8e7ed939ce5f6e95ff3dc8bf68242cadfca12) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: recipes-core: meta: files: ↵Appana Durga Kedareswara rao2022-07-071-19/+19
| | | | | | | | | | | | | | | | | dt-processor.sh: Remove permissive flag while processing domain yaml files Earlier in the lopper, domain yaml support is there only with the permissive flag, With the latest lopper source code passing this flag is optional, When we have this flag in the lopper command and if the output format is dts in that case it will include invalid phandle references also(As this option is designed to maintain all phandle references) in the final dts resulting compilation errors, so to avoid above mentioned issue remove the permissive flag from the domain handling. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 40a8e575737be91414bed98821d9775643b4dd90) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimental: recipes-core: meta: files: ↵Appana Durga Kedareswara rao2022-06-011-0/+25
| | | | | | | | | | | | | dt-processor.sh: Generate Linux domain dts file Add support for generating Linux domain dts file along with dtb, Generated dts file consumed by the petalinux tool to add support for custom dts files (ex: system-user. dtsi). Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit f7268d92980681c3a408f80f872a30592c64d1ff) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dt-processor.sh: adding pdi_path argument (-i)Varalaxmi Bingi2022-05-241-3/+17
| | | | | | | | | | | | | | | | Expecting the pdi also in the system device tree path. This patch will add teh PDI_PATH variable in versal case. if pdi not present in sdt path it will throw warning. if more then one pdi is present, throw a warning. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Also fix -p and -h usage. Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 10c209172ae6ff91293ac1aeee706e9eb5c52e48) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dt-processor: Use pruning lop file for Versal A72 Linux loper runsBen Levinsky2022-05-241-2/+6
| | | | | | | Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 171c4114b2f9f039698e2538f2898a2913fc742d) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* meta-xilinx-standalone-experimental: recipes-core: meta: dt-processor.sh: ↵Appana Durga Kedareswara rao2022-05-241-1/+17
| | | | | | | | | | | | | Add support for generating petalinux conf file This commit adds an optional -P argument for generating the petalinux conf file, Generated file will be consumed by the petalinux tool. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 1ddaf20eb0935d76d95011084c90fda02e614508) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dt-processor: Update to use latest lopperBen Levinsky2022-05-241-2/+6
| | | | | | | | | | | | | Latest lopper separates the pruning of nodes into separate lop files. Ensure that: 1. Latest lopper is used 2. These pruning operations are included in the A53 and A72 Linux lopper runs. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 1df9b28d5284e2ee333c705ce0b41686a87decba) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dt-processor: Avoid warning messages for baremetalMark Hatle2022-03-101-0/+36
| | | | | | | | | Baremetal doesn't use tpm, virtualization or security layers. Avoid the checks, as these layers are often used by the Linux configuration. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 5bd416526195607a20ddbb5e38d85417a5790f29) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* fsbl-firmware: Move to explicit psu_init settingsMark Hatle2022-03-101-2/+35
| | | | | | | | | The location for psu_init is now explicitly set. If the psu_init files are not available, a warning will be presented to the user. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 4d2eceaeb6d0d659b8f1f84d16723dcd3dcd1b14) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dt-processor.sh: Remove SYSTEM_DTFILE Linux specific settingMark Hatle2022-03-101-4/+0
| | | | | | | | | SYSTEM_DTFILE points to the original system-top.dts. CONFIG_DTFILE will point to the configuration specific device tree (dtb). Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit ef543b3a8ee238e1e6ab2ec69019748e6fbb709d) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dt-processor.sh: Add -l argument to write local.conf to a fileMark Hatle2022-03-081-30/+46
| | | | | | | | | The -l argument will write the local.conf fragment to a file of the user's choice. This can help automation that uses the dt-processor.sh. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit a57c38d7535e3d7907916eb8e420903d39e1631d) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone-experimental: Change from lopper.py to lopperMark Hatle2022-03-081-47/+47
| | | | | | | | | Upgrade of lopper changed the executable name to lopper. Switch all of the users. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 5d28e5640859bc6f275b804e1344c6dd17e5a492) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Sync to honisterMark Hatle2022-01-251-10/+10
| | | | | | Honister fixed a couple of typos, this resolves the same in the 2022 branch. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Move from cortexr5f to cortexr5Mark Hatle2021-12-201-2/+2
| | | | | | | 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>
* meta-xilinx-setup: Update for honister based systemMark Hatle2021-12-101-5/+1
| | | | | | | | | | | 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>
* dt-processor.sh: Convert to new override syntaxMark Hatle2021-11-111-9/+9
| | | | | | This script will generate configurations, so move to the new syntax. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone-experimental: recipes-core: meta: files: Fix domain ↵Appana Durga Kedareswara rao2021-11-111-5/+16
| | | | | | | | | | handling for cortexr5 processor Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Acked-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit d18dbc02d9b68edc33bf328e9ce4e40874e7e758) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-setup: Fix bug in dt-process.sh, update READMEMark Hatle2021-11-112-5/+5
| | | | | | | | The README file needed to be updated to explain the new argument syntax. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 4623e117c97c7a001f405ded6832ee2c4b10d7f1) Signed-off-by: Mark Hatle <mark.hatle@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>