| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
gen-machine-conf is moving to using TFA_CONSOLE to match the newer TFA
recipe implementations. Adjust the older arm-trusted-firmware to match
while retaining compatibility with prior ATF_CONSOLE if required.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QB_MACHINE is now set in each base machine. This ensures that the default
configuration is correct, and can still be overriden if necessary.
This solves a problem where bitbake -e could fail to expand properly
in some cases.
QB_DEFAULT_KERNEL was removed, and restored back to the default settings.
The defaults now work properly with all tested configurations.
Note: simpleImage.mb is obsolete and no longer used in this context.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
QB_ variables are automatically included in the generated qemuboot.conf
files, even if they are not used by runqemu. Rename various AMD specific
values to avoid them being added to the file.
QB_BOOT_MODE -> QEMU_HW_BOOT_MODE
QB_SD_DRIVE_INDEX -> QEMU_HW_SD_DRIVE_INDEX
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Add nativesdk recipe for qemu-xilinx-system multiarch which is required
for runqemu when you source sdk scripts and use runqemu script.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For some use case user would like to provide custom machine path for
qemu boot. By default we will create a temporary files using the
tempfile.mkdtemp method, when user provides a custom machine path from
runqemu command line args then skip the tempfile.mkdtemp method.
Here is how user can specify a custom machine path from qemuparams
option.
$ runqemu nographic qemuparams="-machine-path /<custom-mach-path>"
Also note when using custom machine path its user responsibility to
clean that path before running the runqemu launch.
QEMU machine-path option is a socket path. Being a socket path it’s
limited to a max of 107 characters. Since we’re passing in a path,
the socket itself is part of the path so it’s probably closer to 90
characters.
Also add missing Copyright and SPDX-License-Identifier.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Backport bmap-writer recipe from meta-openembedded master
Signed-off-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Add apu_ss attibute name to versal bif files as this is required linux
power management which is enabled by default in kernel defconfig.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Multiconfig dependencies are configured to be specific to a single from
and to multiconfig, for example:
mc:default:xilinx-image-recovery:core-image-tiny-initramfs:do_image_complete
The above says, when in the 'default' multiconfig, we depend on the
'xilinx-image-recovery' multiconfig, and need to run the do_image_complete
task within the core-image-tiny-initramfs recipe.
Two workarouns are present, the first adjusts:
mc::to_mc:recipe:task
to be
mc:${BB_CURRENT_MC}:to_mc:recipe_task
This will allow the mcdependencies produced by gen-machine-conf to wor in
any multiconfig the user may have. In the future we will adjust
gen-machine-conf to use ${BB_CURRET_MC} instead.
Second there is a bug/oversight in bitbake where the BB_CURRENT_MC reports
'default', but the system is expecting '' (blank) when in the default Linux
multiconfig. We will do this conversion to avoid any issues. A patch for
bitbake is in progress.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both python3-pybind11 and python3-pybind11-json exist in upstream meta-oe.
However, as part of another task, when python3-bokeh_3.5.1 was updated one of
its dependencies (python3-contourpy_1.2.1) required a newer version of
python3-pybind11 than what was available in meta-oe scarthgap. A second task
now needs python3-pybind11-json as well, which has a dependency on
python3-pybind11.
With the old:
inherit pypi python_setuptools_build_meta
python3-pybind11-json was not able to find python3-pybind11 during its
configure stage:
| CMake Error at CMakeLists.txt:26 (find_package):
| By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
| asked CMake to find a package configuration file provided by "pybind11",
| but CMake did not find one.
|
| Could not find a package configuration file provided by "pybind11"
| (requested version 2.2.4) with any of the following names:
|
| pybind11Config.cmake
| pybind11-config.cmake
|
| Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
| "pybind11_DIR" to a directory containing one of the above files. If
| "pybind11" provides a separate development package or SDK, be sure it has
| been installed.
Switching to:
inherit cmake python_setuptools_build_meta
fixes this issue and allows the python3-pybind11-json recipe from upsream
meta-oe to configure (and build) successfully.
Signed-off-by: Trevor Woerner <trevor.woerner@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Create recipe to deploy cdo files from system-device-tree dir to deploy
dir.
bootgen will fail if the image path in the bif is larger, this will fix
that issue by using images from deploy dir.
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to support additional risc-v extensions, specifically 'b', binutils
2.43.1 is required. Backport binutils 2.43.1 from styhead as of commit:
commit b2cd1dea0459acec76e601987ad4b0661babfcc3
Author: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Date: Tue Nov 12 04:28:09 2024 -0800
binutils: stable 2.43.1 branch update
Set this version as NOT preferred. We do not want to override the regular
Scarthgap binutils version unless we explicitly need this version.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We are using psmfw.elf in all flows to build and boot.
Remove the psmfw.bin dependency or support from psmfw recipe.
Use below command to generate the .bin from .elf.
objcopy -O binary psm-$MACHINE.elf psm.bin
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We are using pmufw.elf in all flows to build and boot.
Remove the pmufw.bin dependency or support from pmufw recipe.
Use below command to generate the .bin from .elf.
objcopy -O binary pmu-$MACHINE.elf pmu.bin
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Remove installing pmc_cdo.bin to DEPLOYDIR and create pmc_cdo.bin
symlink in DEPLOYDIR.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We are using plmfw.elf in all flows to build and boot.
Remove the plmfw.bin dependency or support from plmfw recipe.
Use below command to generate the .bin from .elf.
objcopy -O binary plm-$MACHINE.elf plm.bin
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
| |
Update cpu core to a78 for versal-net devices.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Remove hardcoded boot script and use UBOOT_BOOT_SCRIPT variable for
default u-boot boot script.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Adjusted to use an intermediate default for KERNEL, DEVICETREE and
RAMDISK image offsets, so no override is required.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
optionaldata fields can be multiple update the logic to work with
multiple with ';' separated.
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
The recipe name (PN) depends on the existence of the initram disk name.
This may or may not be set, so simply exclude this from a world build to
avoid any potential issues. (Required for yocto-check-layer script)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Prevent xrt/zocl from building when ocl-icd is not the PREFERRED_PROVIDER
for virtual/opencl-icd. This fixes an issue where yocto-check-layer's
use of the world build fails.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following items don't exist in a regular Yocto Project configurtion, only
enable if meta-xilinx-multimedia is available:
gst-shark
gstd
gst-perf
gstreamer1.0-omx
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
The tri-state is now defined as:
ENABLE_OPENAMP_DTSI = 0 or empty: Build a dtbo
ENABLE_OPENAMP_DTSI = 1: Bundle into the device-tree the openamp items
ENABLE_OPENAMP_DTSI = 2 (!= 0, 1 or empty): Do nothing, assume openamp is already integrated into the device-tree
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many parts of the build assume the u-boot script will be supplied by
u-boot-xlnx-scr. The script will be supplied, instead, by the
variable UBOOT_BOOT_SCRIPT, whose default value is u-boot-xlnx-scr.
Signed-off-by: Trevor Woerner <trevor.woerner@amd.com>
Extend change from just versal to all systems.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
It was decided to keep the default tune aligned accross all aarch64
based machines. Therefore, change the default tune to
cortexa72-cortexa53.
Signed-off-by: Christian Kohn <chris.kohn@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Enable the fpga-overlay machine feature for all common machines to
allow dynamic bitstream/PDI loading.
Signed-off-by: Christian Kohn <chris.kohn@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
COMPATIBLE_MACHINE and PACKAGE_ARCH defaults are already set as part
of the devicetree class which this class inherits, therefore remove
those entries. Use COMPATIBLE_HOST instead of COMPATIBLE_MACHINE to
disallow microblaze builds.
Signed-off-by: Christian Kohn <chris.kohn@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|\
| |
| |
| | |
Merge in latest 2024.2 changes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changelog:
power-management: Add VR-R-A2488-01 board support
power-management: Scalingtype bug fixed
power-management: Update VE-X-A2112-00 board file
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changelog:
power-management: Initial support for VE-X-A2112-00 board
power-management: Copyright dates updated to 2025
power-management: MPQ72693 voltage get and set scaling
power-management: Power sensors configs read & write updated.
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
power-management: Round total power values.
power-management: Usage example updated.
power-management: pmtool CLI parser changed.
power-management: temperature examples usage fixed
power-management: Initial support for VEK385 regulators
power-management: client api names refactored
power-management: Fixes on APIs
power-management: feature list and check functionality
power-management: Newer API returns and scaling functions
power-management: VEK385 config update
power-management: VCK190 config update
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| | |
Signed-off-by: Jonathan Stroud <jonathan.stroud@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
boot-jtag script had a type for fpga-overlay and due to this it fails
to build with below errors when fpga-overlay is enabled for zynqmp or
versal devices.
$ MACHINE=zynqmp-zcu104-sdt-full devtool boot-jtag --image core-image-full-cmdline --hw_server zcu104-5
NOTE: Starting bitbake server...
NOTE: Started PRServer with DBfile: /scratch/sandeep/yocto/2024.2/yp-dev/build-yp-native/cache/prserv.sqlite3, Address: 127.0.0.1:33765, PID: 1586408
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (09:43:24.858854)
NOTE: Started PRServer with DBfile: /scratch/sandeep/yocto/2024.2/yp-dev/build-yp-native/cache/prserv.sqlite3, Address: 127.0.0.1:35749, PID: 1586439
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:06
Loaded 26502 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:02
Parsing of 18552 .bb files complete (18543 cached, 9 parsed). 26511 targets, 13521 skipped, 81 masked, 0 errors.
INFO: HW_SERVER Connected to: zcu104-5
INFO: Using DISTRO IMAGE: core-image-full-cmdline
INFO: SOC FAMILY: zynqmp
INFO: MACHINE: zynqmp-zcu104-sdt-full
INFO: fpga-overlay MACHINE_FEATURES is not enabled, Hence PL bitstream or PDI will be loaded at initial boot.
Traceback (most recent call last):
File "/scratch/sandeep/yocto/2024.2/yp-dev/sources/poky/scripts/devtool", line 350, in <module>
ret = main()
File "/scratch/sandeep/yocto/2024.2/yp-dev/sources/poky/scripts/devtool", line 337, in main
ret = args.func(args, config, basepath, workspace)
File "/scratch/sandeep/yocto/2024.2/yp-dev/sources/poky/../meta-xilinx/meta-xilinx-core/lib/devtool/boot-jtag.py", line 82, in bootjtag
data['bit'] = glob.glob(os.path.join(deploy_dir, '*' + machine + '.bit'))[0]
IndexError: list index out of range
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change log:
arm64: zynqmp: Add eeprom labels for System Controller dts
video: zynqmp: Add support for reset
arm64: zynqmp: A few clock-related changes for VE-P-A2112 board
arm64: zynqmp: Add gpio description for SCM
arm64: zynqmp: Update MIO GPIO on Kria SC controllers
arm64: zynqmp: Update PHY settings on Kria SC controller
arm64: zynqmp: Use tabs for indentation in sc-k24
Revert "Makefile: Fake external blob with BINMAN_ALLOW_MISSING=1"
arm64: zynqmp: Fix binman-sc description (regular expression)
arm64: zynqmp: Set default RTC device at start
arm64: zynqmp: Configure SoC RTC on SOM
arm64: zynqmp: Wire all SC DTBs
arm64: zynqmp: Add description for SOM based SC on vr-r-a2488-00
net: gem: Remove undocumented is-internal-pcspma dt flag
arm64: zynqmp: Add support for VE-P-A2112 SC controller
arm64: zynqmp: Add description for SC on vek385
arm64: xilinx: Add description for SCM
arm64: xilinx: Add description for SC based on K24
arm64: zynqmp: Also generate images with single DT
arm64: zynqmp: Remove mkimage fit script
arm64: zynqmp: Generate u-boot.itb and QSPI image via binman
arm64: zynqmp: Add binman description for SOM
arm64: zynqmp: Describe empty binman node
binman: Add option for pointing to separate description
arm64: zynqmp: Remove overlays and add new dtb entries for ZynqMP
kbuild: cherry-pick kbuild fdtoverlay changes from linux
Signed-off-by: Dasari Sharath Kumar <sharath.kumar.dasari@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change log:
Remove the checks for board names and revisions.
Bump version to 1.4
Signed-off-by: Dasari Sharath Kumar <sharath.kumar.dasari@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
PM Server init exception handling changed.
Some regulator api changed.
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pull in new script to initialize boards based on carrier card eeprom
label
Changelog:
If the Device tree has an eeprom labeled as eeprom_cc, then use that
Signed-off-by: Jonathan Stroud <jonathan.stroud@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
VEK385 board initial support
VR-R-A2488-00 board initial support
VN-P-B2197-00 board initial support
Several bug fixes about sysmon-i2c, regulators apis
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Due to various DEPENDS this recipe no longer builds native or nativesdk.
References to both were removed in the past, so this should no longer
be needed.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| | |
Without this, the wrong version could get built. Generally this isn't an
issue, however there are some tool differences in various versions.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Board manifest files updated due to voltage functionality
is not complete for eval boards yet.
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Raft-PM update for SC_Update7 release with
branch 2024.2
Signed-off-by: Salih Erim <salih.erim@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was a previous change that avoided the warning message if
xilinx_pmu-rom-native was defined, but the dependency was never enabled.
Match both LICENSE_FLAGS_ACCEPTED of xilinx or xilinx_pmu-rom-native
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
Print a message similar to:
WARNING: The zynqmp-generic machine is intended to be included by other
machines, it should not be used by itself. For a non-machine, SoC specific
filesystem, please use one of the common machines defined in
meta-xilinx-core.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
lopper: assists: gen_domain_dts: delete unneeded nodes for zephyr MB-V
|
|
|
|
| |
driver:src: Elfloader unaligned data writes handled properly
|