summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-bsp/device-tree
Commit message (Collapse)AuthorAgeFilesLines
* device-tree: Remove return and use bberrorSandeep Gundlupet Raju2023-05-131-1/+1
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Copy BASE_DTS setting from u-boot, adjust functionsMark Hatle2023-05-131-1/+3
| | | | | | | | BASE_DTS, and DTB_FILE_NAME default based on BASE_DTS, synced with u-boot-xlnx. This will unify the default configuration and ensure we get consistent results. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Fix EXTRA_DT_FILES and EXTRA_OVERLAYSMark Hatle2023-05-131-4/+22
| | | | | | | | | | | | | | If the WORKDIR == DT_FILES_PATH the copy operations will fail. Identify when this case happens and skip the copy as unnecessary. (This is the default configuration.) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Copy the EXTRA_DT_FILES and EXTRA_OVERLAYS files in prepend operation so that it can be preprocessed. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Disable default virtual/kernel dependencyMark Hatle2023-05-131-0/+5
| | | | | | | | KERNEL_INCLUDE implies a virtual/kernel dependency. Disable this, as our device-tree recipe does not use the Linux kernel. This greatly speeds up the build process. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Move from file CONFIG_DTFILE access to SRC_URIMark Hatle2023-05-131-9/+5
| | | | | | | | | | | | | | Move from declaring DT_FILES_PATH to the CONFIG_DTFILE dirname, to the default where it is set to S. This adds the requirement that CONFIG_DTFILE _must_ be self contained (or preprocessed). This prevents the system from compiling any other dts (or dtsi) files located in that directory, to only the ones we've specifically requested. Additionally this simplifies the check_devicetree_variables, as hashing and file validation are now done for us by the fetchers. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Add documentation for key variablesSandeep Gundlupet Raju2023-05-131-0/+6
| | | | | | | Add documentation for SYSTEM_DTFILE, CONFIG_DTFILE, EXTRA_DT_FILE. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Move dt implementation from meta-xilinx-toolsSandeep Gundlupet Raju2023-05-131-0/+52
| | | | | | | | | Move common dt implementation from meta-xilinx-tools to meta-xilinx-core layer. With this using extra dtsi and overlays feature can be used in both SDT and XSCT builds. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Ensure the system.dtb is written to the /boot directoryMark Hatle2022-12-021-1/+8
| | | | | | | | The system.dtb should be a symlink to the system-top.dtb in the devicetree subdirectory. This matches the expected behavior for u-boot-zynq-scr and possibly other users. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* arm-trusted-firmware, device-tree, qemu-devicetrees: Update license to match ↵Mark Hatle2022-08-311-1/+1
| | | | | | | | supported values GPLv2 and BSD are no longer valid. Choose an appropriate replacement. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* device-tree: Allow the CONFIG_DTFILE to be a dts and cleanupMark Hatle2022-03-281-11/+10
| | | | | | | | | Cleanup the conditionals, as only one file is allowed to be specified. Also use the converted version so if a dts is passed in, the dtb will be installed after it is generated. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "device-tree: Allow the CONFIG_DTFILE to be a dts"Mark Hatle2022-03-281-2/+2
| | | | | | This reverts commit f03941e1d98828e17d2bd9d6de56f61baa712f52. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Allow the CONFIG_DTFILE to be a dtsMark Hatle2022-03-281-2/+2
| | | | | | | | | Instead of processing the CONFIG_DTFILE, process the converted (generated) DTB files. This resolves an issue where a user passes in a DTS, the system generated a DTB and attempts to install both the DTS and DTB triggering an unexpected file problem during package generation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Update to skip checks in eSDK build/installMark Hatle2022-02-041-3/+5
| | | | | | | | | | | | device-tree, fsbl, plmfw, pmufw, psmfw do basic validation checks, when in an eSDK skip these checks. Otherwise a partially configured system can't generate an eSDK for the end user. Sync Core and Standalone usages to be consistent. Also cleanup the BB_DONT_CACHE to be consistent in all usages. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Merge experimental and standard flowsMark Hatle2022-01-221-4/+40
| | | | | | | | | | | We need a method for regular building to specify a device tree. Since the experimental flow already contained this, merge it in and connect to the existing SYSTEM_DTFILE as a fall back. Also enable addition 'early package failure' messages to alert the user as soon as possible they need to pass in additional information. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2022-01-141-4/+0
| | | | | | | PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is being used for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Break into base bb and board specific bbappendMark Hatle2022-01-149-1210/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-1410-0/+1262
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>