| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a new embeddedsw-source recipe that is a single point for unpack,
and patch of the sources. This will allow someone to universally patch
(via a bbappend or similar) the esw sources.
As part of this work, we transfered the various patches for fsbl, pmu, plm,
and psm to the universe source recipe.
Most of this is transparent to any recipe using xlnx-embeddedsw. The class
automaticaly detects if the recipe is a user our the special embeddedsw-source
recipe and enables the correct behavior.
Since the esw sources expect the S and B to be the same, the cmake objects
get written into S, we are not able to follow the gcc-source example.
Instead recipes that use the xlnx-embeddedsw class will hard link or copy
the source files to their working directory. This avoid the penalty for
fetch, unpack and patch. Note these recipes may also add their own
SRC_URI which WILL be processed as normal. This is often used to
introduce special tcl scripts. See the do_copy_shared_src task injected
by the xlnx-embeddedsw.bbclass for technical details.
Additionally, correct some of the existing patch Upstream-Status entries
to conform to current YP guidelines.
For 2024.2 introduce a special Xil_Assert fix for the current toolchain
which is more strict on type conversion.. See the patch itself for
more details.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
for parse
binutils-2.42 and gstreamer-1.22.12 were pulled in from the latest poky
scarthgap, as of commit dce4163d42f7036ea216b52b9135968d51bec4c1.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently this requires a meta-openamp fork to function properly as the
necessary changes have not yet been sent upstream.
The fork and branch are:
https://github.com/Xilinx/meta-openamp
branch: 2024.2
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Add SDT Multiconfig baremetal or FreeRTOS build instructions.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Update README.sdt.bsp.md instructions as README.building.md got updated
to fix meta-openamp layer depedency.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
1. Move all SDT build instruction from README.md to README.xsct.bsp.md
2. Add instructions for generating SDT machine configuration files
for custom board or design sdt files.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
1. Update meta-xilinx-standalone-sdt docs to scarthgap.
2. Move SDT build instructions to README.sdt.bsp.md
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
recipe for dsitxss is made conditional so that it compiles its
subcores only if they are available.
Signed-off-by: Kunal Rane <kunal.rane@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
By default the system restricts newlib and other components to
xilinx-standalone distribution configuration. xilinx-freertos needs the
same override in order for newlib, and other components to be available.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
MIPI CSI RX SS has dphy subcore which can be optinal to enable in the
SS.
Meanwhile DSI TX SS has it compulsory. Also added support for
MIPI RX PHY and TX PHY
Signed-off-by: Kunal Rane <kunal.rane@amd.com>
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
xilpm library parameters
Add handling block so that consumer of xilpm can set library options
using some custom flags.
Signed-off-by: Madhav Bhatt <madhav.bhatt@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework the image recover recipe to match image selector. imgrcry is now
the top level recipe which will pull in the required version of
image-recovery depending on build flow.
This change also updates the output file name in a number of places and
fixes an issue in image selector.
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
| |
meta-xilinx-standalone-sdt
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
HDCP subcores to be included only if its enabled in the subsystem.
Updated conditional inclusion of the same in the DP and HDMI recipes.
Signed-off-by: Kunal Rane <kunal.rane@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
files
To aid the transition to the new SDT_URI, provide a compatible way
to use the previous SYSTEM_DTFILE_DIR and a fallback.
Note, this will only work for local files.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
It is now up to the machine .conf files to define the way the ESW software
will be built. 'xsct' or 'sdt' is the usual setting. Subsequent changes
will adjust the default BSPs with correct defaults.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename to a version-less component. We're not tied to a specific version
of Vivado for this.
Replace SDT_PROT, SDT_PATH, SDNAME and SDT_FILENAME with:
SDT_URI - URI for the system device tree download
SDT_URI[sha256sum] - sha256 for the file refernced in SDT_URI
SDT_URI[S] - Specific extracted S(OURCE) dir (optional)
If SDT_URI is a local directory, SDT_URI[sha256sum] is not required.
SDT_URI[S] must be set if the component is extracted into a subdirectory of
${WORKDIR}. Most configurations will likely need this.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Move kria specific DT_INCLUDE to meta-kria
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Adding support for multimedia baremetal driver recipes to compile
fsbl-firmware.
Signed-off-by: Kunal Rane <kunal.rane@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
| |
Additionally rework the fsbl-firmware's access to the PSU_INIT files.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
OpenAMP recipe now deploys without BPN. So the variable should account for this.
Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
This resolves an issue when SDT_FILE_NAME is not set that results in:
cp: cannot copy a directory, '.../tmp/work/.../sdt-artifacts/2024.2//image', into itself, '.../tmp/work/.../sdt-artifacts/2024.2/image/usr/share/sdt/zynqmp-generic/image'
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
Add support to fetch cached ps init files from sdt-artifacts repo.
Also make sdt-artifacts as conditional DEPENDS. Set USE_SDT_ARTIFACTS
variable to "1" in machine file, if SDT artifacts are used from repo.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This recipe will provide a feature to clone sdt artifacts using
https, http and file protocol. sdt artfacts will be downloaded and
extract to SYSROOT_DIRS(/usr/share) directory. Machine conf files and
other recipes are use this sdt artifacts such as PDI_PATH,
SYSTEM_DTFILE paths.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
| |
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Also add imgsel wrapper allowing for the correct image-selector recipe
to be built depending if the XSCT or SDT flow is in use
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
Using TOPDIR will fail when TMPDIR redirected to different location than
the default one. Use TMPDIR instead of TOPDIR and add open-amp-xlnx
directory suffix as per the recent open-amp recipe changes.
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
missing slash in the do_compile
Add the missing slash(\) while generating the bin file.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
directly into the source folder itself
Pass -O option to the lopper command so that all the required artifacts
will be copied to the source folder and no need to do explict copy.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Add instructions for Zynq-7000 system device tree build.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Add support for zynq-7000 sdt fsbl builds.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Add recipe for xilrsa library, Also zynq-7000 fsbl depends on this
library.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
Make it clear the package can't not be built if the specified multiconf
is not available in the users configuration.
Also fix the default deploy path.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add missing xilffs bsp configuraiton required for versal_plm to boot
from SD1 controller in eMMC1 boot mode when the design has both the
controllers enabled.
Signed-off-by: Nandanikhil Gajulapally <nandanikhil.gajulapally@amd.com>
Apply existing commit 41be3639ea7b0009adeda889bb3ff7916403a245 to 2024.2
version of the recipe.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
There is issue with installing firmware. Update path to work with scarthgap
update.
Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added aienginev2 and aiefal recipes to support AIENGINE in baremtal
decoupling flow. AIENGINE v2 is not dependent on ESW repo. It fetches
aie-rt repo & compile yocto baremtal driver. Updated latest SRCREV of
main-aie branch as there is dependency on CMake APIs to build AIENGINE
driver.
Signed-off-by: Jaydip Patel <jaydip.patel@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
The sanity check was based on the example from meta-security. However,
the function was not renamed. This could have caused the meta-security
version to be run instead.
Signed-off-by: Mark Hatle <mark.hatle@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>
|
|
|
|
|
|
|
|
| |
When the glob '*_g.c' does not exist in the source code an exception could
occur. Avoid this by checking if any files were found before looking for
the first file.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Set a default value for XILINX_WITH_ESW until gen-machine-conf can be
adjusted.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|