| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
The conf file(s) should specify board specific defaults, but if left not set
should fall back to what is implemented here. Since the load order is:
machine.conf -> *-generic.conf -> xilinx-machine-qemu.conf ---|
|--> inherits -> qemuboot-xilinx.bbclass
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor qemuboot-xilinx.bbclass and machine-xilinx-qemu.inc. Following
the example of the core version of qemu.bbclass and match inc file.
Refactor some of the functions to make them more readable. Specifically
around qemu_rootfs_params. Code may not be as compact, but it'll be
easier to read (and update) in the future.
Add mising qemu-system-native PREFERRED_PROVIDER (and recipe PROVIDE).
This resolves the issue where occasionally you use runqemu and the qemu
binary appears to be missing.
*-generic.conf: Remove overrides that are the same as the default qemu
settings.
Remove :append operations on QB_OPT_APPEND, this allows easy override
when someone includes a generic machine.
Signed-off-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
| |
runqemu will pass in the correct network choice for the user.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
runqemu now appears to set -serial mon:stdio by default. This can
conflict with the built in parameters.
Reported by: Jeremy Puhlman <jpuhlman@mvista.com>
It may look unusual, but the remaining -serial null are still required
for booting.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
| |
--help may need to be passed in and should be directed to the main APU handler.
runqemu may use --help for various reasons.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
| |
Resolve the following warning
WARNING: .../meta-xilinx/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb:
EXTRA_OECMAKE:append:versal-ai-core += is not a recommended operator
combination, please replace it.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
| |
| ERROR: Cannot find Ninja
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
| |
Add the device-tree as a dependency and kc705-microblazeel is defined as the
default HDF_MACHINE.
Also simplify by removing the QB_DTB and using the default value.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
| |
Simplify the function to treat microblaze as a soc_family. If we do not have
initramfs_image defined, then verify wic.qemu-sd is available before
returning that value, otherwise fall back to the dictionary.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for U-boot user specified dts by setting below variables
in local.conf file.
UBOOT_USER_SPECIFIED_DTS:pn-u-boot-xlnx = "versal-vck190-revA-x-ebm-01-revA"
This will fetch user specified dts from from u-boot repo path
u-boot-xlnx/arch/arm/dts/versal-vck190-revA-x-ebm-01-revA.dts when user doesn't
want to use EXT_DTB from device-tree recipes.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
Adjust to keep extra_oemake args blank, unless actually needed
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
This value is passed to the kernel in order to choose the correct disk
but defaults to /dev/vda which does not boot.
Signed-off-by: John Toomey <jtoomey@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
UBOOT_IMAGE_BLOB may need a machine (override) specific default value, but we
always want the user to be above to override this easily. Adding the new
UBOOT_IMAGE_BLOB_DEFAULT allows us to set the default in a BSP layer, while
continuing to make the UBOOT_IMAGE_BLOB setting easy for the user to adjust.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
| |
Using append enabling the FSTYPE when using the soc override in
petalinux.
Using += to add/reflect the value only in yocto or defined with ?= or =
operators.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
This patch will add runqemu support for zynqmp-generic machines when
INITRAMFS/INITRD/EXT4 sets.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
This patch will add runqemu support for zynq-generic machines when
INITRAMFS/INITRD/EXT4 sets.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
This patch will add runqemu support for versal-generic when
INITRAMFS/INITRD/EXT4 configurations.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
This patch will add runqemu support for microblaze-generic machines for
INITRD/INITRAMFS types.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch will add generic fuctions to add qemu args as per the
configuration set and soc_family.
Ex: - Adding Image, rootfs and boot.scr files for zynqmp if in case of
IMAGE_INITRAMFS set.
- Add boot mode as 5 for versal
- Return the rootfs type per configuration
- Skip adding rootfs in case of bundle image as kernel image will
have it.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
| |
For zynq,microblaze qemu supports direct kernel boot by specifying
kernel image name to QB_DEFAULT_KERNEL.
Adjusting the kernel image based on the bundle image selection.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
qemu-sd: Qemu 6.X onwards SD image should be of power of 2, this patch
will read the generate qemu-sd image and find out its next power of 2
and adjust the size using qemu-img resize command.
qemu-sd-fatimg: Due to circular dependencies in yocto when we enable
INITRAMFS_IMAGE + wic and we need SD fat image to boot versal on qemu.
For this added new image conversion type qemu-sd-fatimg, it will
generate the sd fatimg containing
boot.bin,boot.scr,rootfs.cpio.gz.u-boot files.
Usage: IMAGE_FSTYPES += "cpio.gz.u-boot.qemu-sd-fatimg"
NOTE: qemu-sd-fatimg creation is a workaround fix for circular
dependencies.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Board specific u-boot defconfigs are deprecated from u-boot source,
hence remove deprecated defconfigs from u-boot recipes.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To populate the QEMU binaries into sysroot the populate_sysroot task
isn't enough for qemu-xilinx-helper-native, we need to use addto_recipe_sysroot task.
This patch will correct the mapping.
u-boot-zynq-uenv failing to add DEPENDS when EXTRA_IMAGEDEPENDS has
recipe:task. This patch will split the recipe name and add it to
DEPENDS.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
While unusual, the PR is updated, as the qemu and qemu helper need to have
the same version/pr or the path logic doesn't work properly.
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
| |
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
|
|
|
|
| |
Due syntax issue in defining variable the pxelinux.cfg file was not
generated properly. This patch will fix that issue.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
This patch updates the fpgautil help to describe the usage of
fpgautil -R
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Using specific arch bootcmd script works only for SD bootmode. This
patch will allow yocto flow to use the boot.cmd.generic script to
generate the boot.scr which will support for jtag/sd/usb/qspi/ospi/nand
which already used by petalinux.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
| |
Update the image offsets/sizes as per the petalinux 2022.2 changes.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Use the devnum uboot env variable to detect and read the images from
mmc.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This recipe is to add generic udev rules files for linux-xlnx in-tree
drivers.
- Create a new aie group.
- Add udev rules for aie devices and change permissions and
ownership group to "aie" so that any new user added to aie groups can
access aie devices(/dev/aie0) from linux userspace.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The commit a64ff0bf015adcefbe691a94ac3e8ecf1a2ba911 updated the upstream
source to include correct soname/soversion. Packaging was then modified
to follow this example. The end result was that 'libdfx' was replaced by
the automatic "libdfx1.0" package. This could result in:
Error: Transaction test error:
file /usr/lib/libdfx.so from install of libdfx-dev-1.0-r0.1.cortexa72_cortexa53 conflicts with file from package libdfx-1.0-r0.0.cortexa72_cortexa53
The cause was that libdfx wasn't upgraded when libdfx-dev was being
installed. To resolve this we use RREPLACES, may look strange but
this will instruct the system that "libdfx" is to be replaced by the
dynamically generated package based on the soname.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
(cherry picked from commit 4dd53057341c8a88a0e89f623330f4f9a1915561)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
|
|
|
| |
Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit bb855e43a4dad0d55b7a8f18fba51cc09fcda71f)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
| |
For Kria 2022.1 Update2
Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The flag PRELOADED_BL33_BASE is populated from petalinux for different
platforms.
Removing the hardcoded entry which is causing multiple instance of the
same flag to the make command
Signed-off-by: Akshay Belsare <Akshay.Belsare@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 1197387e16dec312ddb0a2c356ba9835d85aa15c)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 3a5ca8eda7e67dbdeb8dda1036e95745c21a47af)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Issue: CR-1130331
Fix USB functionality after suspect/resume
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PMUFW reserves memory range 0x7ff0_0000 to 0x7fff_ffff for DDR Software
Self-Refresh(refer PG201, enabled by defualt).
Update the ZYNQMP_BL32_MEM_SIZE to 0x0ff0_0000 and thus memory range from
0x7000_0000 to 0x7fef_ffff.
Provencore uses memory range 0x7000_0000 to 0x7fdf_ffff
Signed-off-by: Akshay Belsare <Akshay.Belsare@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 30d666532660082d9c3fb9d96d205fbb3f88e2f0)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SDP_PNCD_NS_IRQ flag is meant to set the NS interrupt number that will be
used between ProvenCore OS and linux ProvenCore driver
ATF is the one triggering this interrupt so it must be aware of its value.
This value is hardcoded in ProvenCore binary as 51
As per input from ProvenRun the flag SPD_PNCD_NS_IRQ=51 is to be added, for
right NS interruption to be used in PNCD
Signed-off-by: Akshay Belsare <Akshay.Belsare@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit cbb8af2b3475620313fedb4fc677498b6461fb45)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The implementation appeared to have been split between meta-som and
meta-xilinx-core. The core implementation should be generic and in
meta-xilinx-core. Specifics for the som board (or other boards) will
be captured in the board specific layers.
Note: This code may be moved in the future as part of a consolidation
of device tree related items.
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit b3470a5676ffb13addb446d0e8842e83b9c05eb2)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
A top-level Makefile and install rules have been added
in the libdfx repo. This makes the custom do_install()
task obsolete. So this patch removes the do_install()
from libdfx bb file.
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit a64ff0bf015adcefbe691a94ac3e8ecf1a2ba911)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
All fetching must happen in the do_fetch operation.
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit ce70cc1055c32d4ea22a6386d84cbc4bb0cdc39f)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
This patch updates bb file to align with libdfx latest CMake
changes.
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 2848271f22a77abd2086fa4438886f885a75e1ef)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch will remove the .dtb from BASE_DTS as the .dtb will
be added later in the python function.
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Allow CONFIG_DTFILE to be blank.
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 0c19d07c7f0bc767c160c8fcce15b30601cd6d8d)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit 98ea8ecc4cea58161b0994c7519195996c41caba)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fpgautil recipe was part of meta-xilinx-tools.
This is required in decoupling flow as well
till dfx mgr gets stabled and meta-xilinx-tools layer will
no be there in decoupling flow.
So moving this recipe to meta-xilinx.
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
(cherry picked from commit e75c70e4db78afa8f5c5ec1790359ede5e8bf00e)
Signed-off-by: Mark Hatle <mhatle@xilinx.com>
|