| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
The PLNX_SCRIPTS_PATH is being embedded into various hashes, but this
does not affect the output of the build in any way. Avoid including
this various in the hash for recipes.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
xrt API is stable, but we provide different versions if there is an ai-engine
or not. Skip the hash calculations to allow dependent packages to work with
both versions.
This resolves a problem where xrt w/ and w/o ai-engine support causes vart
and thus vitis-ai to rebuild multiple times.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IMAGE_BOOT_FILES is a whitespace-separated list of entries specifying
files to be installed into the boot partition. Entries can change the
installed filename by specifying the destination name after a semicolon (e.g.
u-boot.img;uboot). Make sure to use the installed filename when scanning
IMAGE_BOOT_FILES if one is provided, otherwise use the specified file as-is.
Signed-off-by: Trevor Woerner <trevor.woerner@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update READE docs on list of variables used in machine conf.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Fixed a couple of typos
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Update machine conf file using gen-machineconf tool by parsing
latest kcu105 xsa and reorder the variables to match the
gen-machineconf tool output.
2. Add axi-quad-spi as kcu105 reference xsa has this ip enabled.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SERIAL_CONSOLES_CHECK is supported only for sysvinit and default INIT
Manager is systemd, hence move this variable from machine conf files
to machine-xilinx-default inclusion and set only if DISTRO_FEATURES is
sysvinit.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since microblaze-generic machine conf file uses kcu105 xsa,
target fpu hard TUNE_FEATURES were missing hence add it.
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Each of these dependencies need to be based on preferred_provider.
A hard dependency on u-boot-xlnx-uenv is not required to use qemu.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Qemu boots by loading ATF and jumping to it directory. A recent change
adds a verification that the data structure passed by the FSBL is correct
in a 'mode 5' (SD card) boot. If it's not valid ATF will fail to continue
to boot. (JTAG, 'mode 0' boot will proceed but other system behavior
changes.)
In order to emulate the FSBL handoff to ATF, we need to populate a data
structure in fffc0000, and tell ATF to look at that address. See the
comments for more information. This also ends up hard-coding the u-boot
address. If it changes booting will fail.
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The PLNX_SCRIPTS_PATH is being embedded into various hashes, but this
does not affect the output of the build in any way. Avoid including
this various in the hash for recipes.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
xrt API is stable, but we provide different versions if there is an ai-engine
or not. Skip the hash calculations to allow dependent packages to work with
both versions.
This resolves a problem where xrt w/ and w/o ai-engine support causes vart
and thus vitis-ai to rebuild multiple times.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Resolved conflicts
Preserved 2022* versions
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Qemu boots by loading ATF and jumping to it directory. A recent change
adds a verification that the data structure passed by the FSBL is correct
in a 'mode 5' (SD card) boot. If it's not valid ATF will fail to continue
to boot. (JTAG, 'mode 0' boot will proceed but other system behavior
changes.)
In order to emulate the FSBL handoff to ATF, we need to populate a data
structure in fffc0000, and tell ATF to look at that address. See the
comments for more information. This also ends up hard-coding the u-boot
address. If it changes booting will fail.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 800a7efd0aced9445b215451f6e2314cdd7025fc)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
system.dtb is symlink to actual dtb file which is not present in linux
sysroot path. If specified dtb name for FIT_CONF_DEFAULT_DTB not present
fitimage.bbclass will not set default configuration variable.
To fix this, setting FIT_CONF_DEFAULT_DTB to empty if CONFIG_DTFILE not
set(xsct flow) so that which dtb comes first that will be the default
configuration in fitimage creation.
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we tried to create fitimage it will pick the dtb from linux recipe-sysroot path.
There are multiple dtb files in linux sysroot in sdt case and we did not specified any default dtb file to package in fitimage and it was picking baremetal dtb file which is leading to kernel panic.
There is a variable in yocto to specify the default dtb file to pick for fitimage FIT_CONF_DEFAULT_DTB.
If we specify the above then the fitimage is generated properly and able to boot successfully.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| | |
This reverts commit 6ad9836940fa9c3541b5339c84d6d86e36734e24.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using a system device tree build there will be more then one device-tree
that is constructed. If a fit image is constructed, then an DTB needs to be
selected. We use the CONFIG_DTFILE as the default, which should inherit
from the SYSTEM_DTFILE. The default for SYSTEM_DTFILE is empty as a fallback
which should restore the default behavior of first DTB found is the one used.
This also has ramifications for other recipes that use DTB files and unifies
everything.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
As we now support enabling for libmali and lima, we want to ensure that the
components are rebuilt if/when we switch between the configurations. This
is especially true on a non-graphics optimized part.
Signed-off-by: Mark Hatle <mark.hatle@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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Set variables for QEMU DTB PATH, PS DTB and PMU DTB for zynqmp_generic, this
allows user to use different QEMU HW DTB to match their board.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Setting the pmu-rom being required by QEMU within the machine.conf will cause
the recipe's hash to change, which can cause a ripple effect causing other
things to rebuild. Moving this to the recipe, and switching it on based
on what licenses the user allows will avoid this conflict.
Additionally add a warning message to the xilinx-vars.bbclass if the user has
not enabled the license.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| | |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add u-boot-tools-xlnx as well.
Update the PREFERRED VERSION to select the new u-boot version, add preferred
provider for u-boot-tools to be u-boot-tools-xlnx.
Needed to split the microblaze configs to older and newer versions as well.
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>
|
| |
| |
| |
| |
| |
| |
| | |
The arguments will be added by gen-machine-conf, if the user requires them.
The default configurations do not use these.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We still warn the user. This will likely be moved to fatal in the near
future, but this would impact some automated test cases so preserve it as
a warning for now.
Also remove all of the support infrastructure for the BOARD/BOARD_VARIANT
values.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Update machine conf file using gen-machineconf tool by parsing
kcu105 xsa.
2. Move variables which changes based on xsa before required
inclusion file to handle pre-expansion values.
3. Use UIMAGE_LOADADDR in KERNEL_EXTRA_ARGS instead of LOADADDR.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Update machine conf file using gen-machineconf tool by parsing
versal-net static xsa.
2. Move variables which changes based on xsa before required
inclusion file to handle pre-expansion values.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Update machine conf file using gen-machineconf tool by parsing
vck190 xsa.
2. Use TFA_BL33_LOAD for TF-A preloadded bl33 base address.
3. Move variables which changes based on xsa before required
inclusion file to handle pre-expansion values.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Update machine conf file using gen-machineconf tool by parsing
zc702 xsa.
2. Add UIMAGE_LOADADDR to KERNEL_EXTRA_ARGS.
3. Move variables which changes based on xsa before required
inclusion file to handle pre-expansion values.
4. Add uImage to IMAGE_BOOT_FILES.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Update machine conf file using gen-machineconf tool by parsing
zcu102 xsa.
2. Use TFA_BL33_LOAD for TF-A preloadded bl33 base address.
3. Move variables which changes based on xsa before required
inclusion file to handle pre-expansion values.
4. Remove uEnv.txt from IMAGE_BOOT_FILES.
5. Disable U-boot SPL boot by default. User has to set explicitly to
use it.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| | |
Refactor QEMU integration as the versions now match the Langdale core version.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make cortexa72-cortexa53-crypto tune available so it can be easily turned on by
the user.
Signed-off-by: Christian Kohn <chris.kohn@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Define a new MACHINE_FEATURE called mali400 that is used to determine if the
hardware has a mali400.
Define a new DISTRO_FEATURE called libmali, as well as one called lima to
indicated which configuration to build.
Both the MACHINE_FEATURE and DISTRO_FEATURE must be enabled to activate
the new code. This means any recipe that gets libmali-xlnx is expected
to be:
PACKAGE_ARCH = "${MACHINE_ARCH}"
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The override was not being used anywhere, this was just acting as a potential
tigger for recipes. Instead, we define the MACHINE_FEATURES vcu and will
use that to determine if VCU functionality is enabled.
By default the zynqmp-ev has VCU feature present.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| | |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| | |
Loading the devicetree/openamp.dtbo if present and merge into the loaded
system dtb. (Note, not all boot modes support this behavior.)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| | |
Switch the machine files to use the new 'xilinx-default-sd.wks' file.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IMAGE_BOOT_FILES and WKS_FILE_DEPENDS are used in the bootimg technique.
THis ensures that an bootimg will continue to work in the future.
The MACHINE_ESSENTIAL_EXTRA_RDEPENDS is also filled out based on the
same IMAGE_BOOT_FILES. This ensures that the packages used to generate
the filesystem's /boot partition is matching and full.
The end result of both approaches is slightly different, but the rootfs
method must be used for on-target package upgrade to work properly.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the system was copying the boot files directly to the /boot
partition. This does not match the package behavior, where dtbs exist
in /boot/devicetree. Adjust the configuration to keep them in the
subdirectory. This also adjust uEnv.txt and or other users of the
image-wic-utils functions.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 configuraiton and inclusion files.
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>
|