| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
Add versal-generic machine configuration
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Using the optimized tune file (tune-cortexa72-cortexa53.inc) instead of
armv8a tune for versal and zynqmp.
Also changing DEFAULTTUNE from aarch64 to cortexa72-cortexa53 as
otherwise it was taking aarch64, the first declared default
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
| |
mali backend""
This reverts commit 7719c87e2574a6ed2b15b99c43ecbee5cebb3b69.
Removing libmali as preferred provider due to CR-1052821
|
|
|
|
|
|
|
|
|
| |
Binutils and GDB updated to include common commits. These commits were
syncronized between binutils and gdb sources, and then equally applied as
microblaze specific bbappends.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Previously we were using gdb 7.7.1 just for microblaze for compatibility
issues, now switching back to upstream version 8.3.1 and removing no
longer needed 7.7.1 bb files and patches
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
-freg-struct-return
Adding microblaze specific patch to fix a bug in MB GCC regarding
the passing struct values in registers. Currently we are only handling SImode
With this patch all other modes are handled properly
Signed-off-by: Nagaraju Mekala <nmekala@xilix.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PV variable is set to expand as PV =
"${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" where:
XILINX_RELEASE_VERSION ?= ""
LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}"
During package compilation, the sstatecache generates a siginfo filename using
the packagename, PV, machine arch and SRCPV.
For microblaze machines i.e microblazeel-v11.0-bs-cmp-mh-div-generic and
microblazeel-v11.0-bs-cmp-ml-generic, when signinfo file is generated it fails
with the following error: OSError: [Errno 36] File name too long:
'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sigtask.v21dhivl' ->
'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sstate:linux-xlnx:microblazeel_v11.0_bs_cmp_ml_generic-xilinx-linux:4.19-xilinx-v2020.1+gitAUTOINC+3120d3694a:r0:microblazeel_v11.0_bs_cmp_ml_generic:3:bd73041379cd33962d98eb44c1b73f20f24daf3ace4a4ddc605548dc63e7f62d_kernel_version_sanity_check.tgz.siginfo'
To fix the error, trim the PV variable by removing the LINUX_VERSION_EXTENSION
to get PV = "${LINUX_VERSION}+git${SRCPV}"
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
Update XILINX_RELEASE_VERSION to v2020.1
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Add support for microblaze by generating the platform specific
gpg-error.h file. This was generated based on a patch from Nathan Rossi,
using qemu_wrapper_cmdline, more detials on patch can be found here
https://github.com/nathanrossi/meta-xilinx/commit/107f4564041c64a68bb3250f4c5f96bd9d257aaf
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Update XILINX_RELEASE_VERSION to v2020.1
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Update u-boot patch for kc705
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds the initrd label command to pxe config file
which is required to boot linux in pxeboot with initrd image.
initrd <path> - if this label is chosen, use tftp to retrieve the initrd
at <path>. it will be stored at the address indicated in
the initrd_addr_r environment variable, and that address
will be passed to bootm
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
|
|
|
|
|
|
| |
Changing generic 'DEBUG' flag to 'DEBUG_ATF' for better readability.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libmali-xlnx provides multiple shared libraries to support the update
alternatives mechanism. For this, shared libraries with different
backends are installed to the target and softlinked to libmali-xlnx.so.
When do_package task runs,
1. It creates a pkgdata/libmali-xlnx file that generates a list of
packages. In this case:
PACKAGES: libmali-xlnx-src libmali-xlnx-dbg libmali-xlnx-staticdev
libmali-xlnx-dev libmali-xlnx-doc libmali-xlnx-locale libmali-xlnx
libmali-xlnx-x11 libmali-xlnx-fbdev libmali-xlnx-wayland
libmali-xlnx-headless
2. It also tries to identify what are the shlibs files and creates a
pkgdata/shlibs2/libmali-xlnx.list file.
- The .list file contains a list of all shared object files
being provided by a package.
- This list is created by looking at list of packages from above
one by one.
- It creates a list of available .so files for target os and
then uses objdump -p to get more info(NEEDED and SONAME) about
the object files
- Writes to .list file with list of .so files and the paths
installed.
- This is generated by only looking at the .so files in each
package and not the defaiult backend being used in the recipe.
In Zeus, with this commit f7d46843e93f1acb4872bd5bcc12ed734de5168b on
package.bbclass, multiple shlib_providers for the same file error. Hence
when packages like cairo, qtbase build they error out with the following
error:
Multiple shlib providers for libMali.so.9: libmali-xlnx,
libmali-xlnx,libmali-xlnx, libmali-xlnx
Why this error generates for packages using libmali-xlnx:
When cairo/qtbase packages run do_package task, bitbake generates a
shlibs_provider_map list containing information (soname,ldir,ver) for
the given package using shlibs2/*.list files copied to pkgdata-sysroots.
libmali-xlnx.list contains list of all .so files installed inspite
default MALI_BACKEND_DEFAULT provider. Since the shlibs_provider_map
contains more than one provider, bitbake generates the above error and
fails.
To fix the above issue, append to the do_package task to update
the libmali-xlnx.list to specify only the MALI_BACKEND_DEFAULT provider
shlib and discard the remaining unused shlibs.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
This reverts commit 03115b3c35560617b2ffa9e911a6c1071ff6ad30.
|
|
|
|
|
|
|
|
|
|
| |
Fixing "Files/directories were installed but not shipped in any package"
issue where /usr/lib/locale directory was being populated with no files
included. Appeding a loop to delete empty directories in libdir to
bypass this issue
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Adding patch to add microblaze as supported CPU
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Temporarily removing preferred provider overrides for mali backed to
bypass mali packaging issues
for ex:
Multiple shlib providers for libMali.so.9
QA Issue: /usr/lib/libQt5EglFSDeviceIntegration.so.5.13.2 contained in
package qtbase requires libMali.so.9()(64bit), but no providers found in
RDEPENDS_qtbase? [file-rdeps]
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
| |
Upgrade u-boot, qemu, linux, atf to 2020.1
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Upgrade QEMU version from 2.11 -> 4.1.5 for 2020.1 release
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Rename include file from arch-armv8.inc -> arch-armv8a.inc
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Add deploy dir path for plm and psm to support multiconfig builds.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
| |
Add recipe to build plm as standalone component.
plm is platform loader and manager for versal devices.It performs boot
and configuration of the Versal ACAP device.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
Add u-boot-xlnx platform init file for zcu216-zynqmp machine
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
This patch updates compilation flag for versal silicon. This flag
is only needed for s80 device.
Signed-off-by: Vineeth Chowdary <vineeth.chowdary@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Set default SOC_VARIANT for all versal machines as s80.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add machine configuration for vmk180-versal with required setting of
board specific yocto variables needed for compilation of bootloader,
kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
| |
Only if user uses virtual/dtb enforce system.dtb name as u-boot looks
for system.dtb. Else user can specify a dtb with any name.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add machine configuration vck-sc-zynqmp for vck190 system controller with
required setting of board specific yocto variables needed for compilation of
bootloader, kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
| |
Add support to build images for v350-versal board configuration.
V350 is a PCIe based card which has s80 Versal part.
Signed-off-by: Mukund PVVN <mukundp@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to build images for vc-p-a2197-00-versal Tenzing board + SE1
board configuration
vck190-versal.conf: Rename vc-e-a2197-00-versal to vck190-versal
Rename vc-e-a2197-00-versal machine configuration to vck190-versal
with required setting of board specific yocto variables needed for
compilation of bootloader, kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
| |
Add MIPI kernel configuration for Ultra96
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Ultra96 provides support for MIPI Interface. To support the interface,
additional kernel, device tree modifications are required and must be
enabled only when mipi is included as MACHINE_FEATURE
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Ultra96 board needs the wl8xx and bts file to enable wireless and
bluetooth on the TI part. This recipe uses linux-firmware and modify to
include only wl18xx binaries. We also depend on TIInit_11.8.32 bts, add
an append to fetch the right bt firmware
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ultra96™ is an Arm-based, Xilinx Zynq UltraScale+™ MPSoC development
board based on the Linaro 96Boards specification. The 96Boards’
specifications are open and define a standard board layout for
development platforms that can be used by software application, hardware
device, kernel, and other system software developers. Ultra96 represents
a unique position in the 96Boards community with a wide range of
potential peripherals and acceleration engines in the programmable logic
that is not available from other offerings
More info: http://zedboard.org/product/ultra96
This patch adds machine configuration file for Ultra96 board with
required setting of board specific yocto variables needed for
compilation of bootloader, kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider which will also generate SPL
boot.bin
While using SPL flow, you may need to provide additional hack to pass
the PMU config object. This is similar to all ZU+ boards, due to gap in
SPL flow unable to load PMU config object.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add machine configuration for zcu216 RFSoC board With required settings
for board specific yocto variables needed for compilation of bootloader
kernel and device tree
-linux-xlnx is kernel provider
-u-boot-xlnx is u-boot provider
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
| |
Add sector size as 512K for larger SD, this is according to
specifications
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding base required dependencies to do_image_wic[depends] to make sure
the common files required to boot.bin have been deployed in DEPLOYDIR
before the do_image_wic task tries to use them.
zynqmp/versal will add virtual/kernel, virtual/boot-bin,
virtual/bootloader, and virtual/arm-trusted-firmware
zynq will add everything but virtual/arm-trusted-firmware
If you want to add other files to IMAGE_BOOT_FILES, aside from files
deployed from virtual/kernel, virtual/boot-bin, virtual/bootloader, you
may need to manually add the dependency to do_image_wic[depends]
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The run-postinsts scripts are meant to run during the first boot of the device.
At boot time, though, some resources are not available(e.g. STDOUT), hence
why applications that run at this point need to be correctly daemonized,
if, for some reason a script that runs is not able to start as a daemon,
proper behavior cannot be guaranteed.
For some unknown reason to me at this point, the console behaves differenly
on our devices depending on the chosen boot mode, for example, when using
sdboot, scripts that echo something during boot show the messages properly
on the boot log, but when using jtag as boot mode, this does not happen and
the messages are not shown.
One of such cases happens with update-alternatives, which expects STDOUT
to be present, and if it fails to get a possible output file descriptor it
exits ungracefully, causing the run-postinsts script to exit itself.
Pass the the kmsg character device as the output for the scripts run by
the run-postinsts script, not only to be able to print out the output of
such script to the boot log, but also to pass a valid file descriptor
to the scripts so they behave properly.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building and shipping flash strip utility needed for qemu:
flash_strip
flash_strip_bw
flash_unstrip
flash_unstrip_bw
From the QEMU flash strip utilities wiki:
QSPI Controllers implement byte/bit strip logic. Which mean's when an
image is flashed, its stripped bit/byte wise into two flashes. User can
use u-boot or Linux apps to flash the image after boot. By using flash
strip utilities, we can flash the image without using u-boot.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building and installing bootgen, a tool that lets you stitch
binary files together and generate device boot images.
native and nativesdk classes are inherited as well to allow native
version of bootgen to be built and to allow packaging of bootgen into an
sdk if added into the dependency.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Add qemu wiring to generic conf
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
uboot config file is renamed from "xilinx_zynqmp_zc1275_revB_defconfig"
to "xilinx_zynqmp_zcu1275_revB_defconfig", updated UBOOT_MACHINE to
reflect the change
Signed-off-by: Mukund PVVN <mukundp@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
zc1275 is renamed to zcu1275. All the references to zc1275 is renamed to
zcu1275, this patch addresses machine conf name change and other
references to zcu1275
Signed-off-by: Mukund PVVN <mukundp@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
provider
Python3 package from OE-core depends on qemu-helper-native, to meet this
dependency use qemu-xilinx-helper-native as preferred provider. In
addition this helps the sstate-cache to be similar across generic
machines and evaluation boards.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
| |
Adding boot.scr to IMAGE_BOOT_FILES so boot.scr is included in the wic
sd card generation, if wic image generation is enabled
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Setting sd as default bootmode for versal and adding default boot.scr for
versal. NOTE: the difference between zynqmp and versal boot.scr template is
versal doesn't have 'earlycon'
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Separating out sample boot.cmd file for the three supported arch (zynq,
zynqmp, versal), Updating devicetree, kernel, ramdisk load addresses for
zynq, and dynamically setting DEVICE_TREE_NAME to either system.dtb or
kernel dtb, depending on if dtg is used or not.
This u-boot-zynq-scr implementation is put in to set the default boot
and boot quicker than having to wait for the distro_bootcmd to cycle to
the correct boot medium. For example, zynq arch has boot_targets set to
"mmc mmc0 qspi usb0 pxe dhcp xilinx" and it takes about 30 seconds to
try the 'xilinx' target which will run the correct bootargs.
To use the boot.scr file, zynqmp boards must have BOOT.bin, Image,
system.dtb, and boot.scr in the boot partition and a rootfs extracted in
the second partition. Zynq boards must have BOOT.bin, uImage,
system.dtb, boot.scr, and uramdisk.image.gz in the boot partition.
(uramdisk.image.gz is the ${IMAGE}.cpio.gz.u-boot in deploy directory)
Adding u-boot-zynq-scr dependency to all zynq and zynqmp machine confs.
Conditionally adding system.dtb to IMAGE_BOOT_FILES for zcu102 to
support boot.scr in qemu flow.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds pxeboot support for versal platform by adding default
config file in pxelinux.cfg directory with below minimal mandatory
information forbooting.
label <name> - begin a label definition. labels continue until
a command not recognized as a label command is seen,
or EOF is reached.
kernel <path> - if this label is chosen, use tftp to retrieve the kernel
at <path>. it will be stored at the address indicated in
the kernel_addr_r environment variable, and that address
will be passed to bootm to boot this kernel.
fdt <path> - if this label is chosen, it will load dtb at fdt_addr
and that location of a fdt_addr will be passed
to bootm when booting a kernel.
Generally after u-boot bootup in jtag mode after autoboot time it scans
usb and then ethernet and checks for pxelinux.cfg directory with default
config file, if found it will load and boot linux.
Steps to test:
1.acquire the board
2.in systest point the tftpd <path>
3.open serial terminal and connect com0
4.load the pdi from xsdb
5.stop at uboot promt and set serverip
6.dhcp
7.pxe get
8.pxe boot
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|