| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Rename EXTRA_OVERLAYS to EXTRA_DT_INCLUDE_FILES as these variables
add extra files to DT_FILES_PATH and add a #include for each to the
BASE_DTS, it access 1..n dtsi files and adds to SRC_URI.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SOC_VARIANT has been remove, we are now only using the YP standard SOC_FAMILY
configuration. The defined families are: zynq, zynqmp, versal and versal-net.
Our decision of breaking up versal-net from versal, is based on the SoC CPU
changes from cortexa72/r5 to cortexa78/r52, thus we're treating it as a
different SoC family.
In order to capture the individual capabilities that we used to handle via
SOC_VARIANT, we have defined the following features (some may have been
previously defined):
- mali400 (zynqmp eg and ev)
- vcu (zynqmp ev)
- rfsoc (zynqmp dr RF capabiltiies)
- aie - (versal ai & premium)
- vdu - (versal ai)
SOC_VARIANT_ARCH and SOC_FAMILY_ARCH are now obsolete and replaced by
MACHINE_ARCH. This is based on the guideline that any recipes that use
MACHINE_FEATURES should be MACHINE_ARCH specific.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is not currently possible to create symlinks in the /boot partition
due to the use of the vfat filesystem and this causes an issue when
trying to update the dtb using rpm packages which contain a symlink.
Work around the issue by copying the dtb file to the symlink location.
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 6ddde9a20775549f1434cba6006f84db1a223cb4)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Multiconfig freertos device-tree do configure task fails with below
errors:
ERROR: mc:cortexa53-0-zynqmp-freertos:device-tree-1.0-r0 do_configure: Unable to find cortexa53-0-zynqmp-freerto.dts, to use EXTRA_OVERLAYS you must set a valid CONFIG_DTFILE or use system-top.dts
ERROR: mc:cortexa53-0-zynqmp-freertos:device-tree-1.0-r0 do_configure: ExecutionError('/scratch/sandeep/yocto/2024.1/yp-dev/build-sdt/tmp-cortexa53-0-zynqmp-freertos/work/xlnx_zynqmp_zcu102_rev1_0-xilinx-elf/device-tree/1.0-r0/temp/run.do_configure.3127586', 1, None, None)
ERROR: Logfile of failure stored in: /scratch/sandeep/yocto/2024.1/yp-dev/build-sdt/tmp-cortexa53-0-zynqmp-freertos/work/xlnx_zynqmp_zcu102_rev1_0-xilinx-elf/device-tree/1.0-r0/temp/log.do_configure.3127586
ERROR: Task (mc:cortexa53-0-zynqmp-freertos:/scratch/sandeep/yocto/2024.1/yp-dev/sources/poky/../meta-xilinx/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 851 tasks of which 769 didn't need to be rerun and 1 failed.
Using python rstrip operations it will strip all the combinations of
its values. For example in below code
BASE_DTS ?= "${@os.path.basename(d.getVar('CONFIG_DTFILE') or '').rstrip('.dtb').rstrip('.dts') or 'system-top'}"
if CONFIG_DTFILE name is cortexa53-0-zynqmp-baremetald or
cortexa53-0-zynqmp-freertos resulting output with rstrip will be
cortexa53-0-zynqmp-baremetal
cortexa53-0-zynqmp-freerto
Hence instead of using rstrip use os.path.splitext to remove
.dtb or .dts extension from file name.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
supported values
GPLv2 and BSD are no longer valid. Choose an appropriate replacement.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This reverts commit f03941e1d98828e17d2bd9d6de56f61baa712f52.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
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>
|