summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
Commit message (Collapse)AuthorAgeFilesLines
...
* libmali-xlnx.bb: Add support for wayland in libMaliMadhurkiran Harikrishnan2019-01-013-14/+62
| | | | | | | Along with X11 and fbdev, MALI will now have wayland support as well. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx_2018.3.bb: Add the relevant configs available from u-bootManjukumar Matha2019-01-011-0/+5
| | | | | | Add the relevant configs available from u-boot. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* linux-xlnx.inc: Add support for simpleImageManjukumar Matha2019-01-012-0/+24
| | | | | | Add a new class to enable build simpleImage. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* linux-xlnx.inc: Add required kernel config to enable fpga-managerJaewon Lee2019-01-013-0/+10
| | | | | | | | Enable overlays in kernel if fpga-manager IMAGE_FEATURES is enabled 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>
* linux-xlnx.inc: Fixing machine override for KERNEL_FEATURESJaewon Lee2019-01-011-1/+1
| | | | | | | | Using a += with machine override will overwrite later append statements. Changing to '_append' to fix this behavior. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: define ATF_MEM_BASE/SIZESreeja Vadakattu2019-01-011-0/+5
| | | | | | | | | | | | | | | Define ATF_MEM_BASE & ATF_MEM_SIZE. Add ZYNQMP_ATF_MEM_BASE='ATF_MEM_BASE' to extra_oemake flag for zynqmp platform Similarly for ATF_MEM_SIZE According to atf documentation, ATF_MEM_BASE & SIZE have to be defined together. For more info refer: arm-trusted-firmware-src/docs/plat/<platform>.md's Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Make console a platform overrideSreeja Vadakattu2019-01-011-2/+6
| | | | | | | | | | | Define ATF_CONSOLE such that it is a platform override. zynqmp by default has cadence as console, set the ATF build dependencies based on this override. Other architectures might have different value which can be set using local.conf Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* xilinx-testimage.bbclass: Create xilinx testimage bbclassSai Hari Chandana Kalluri2019-01-011-0/+9
| | | | | | | | | | | | The testimage class from core does not support wic.qemu-sd as fstype hence incorrect arguments are passed when launching qemu instances with *.wic.qemu-sd as rootfs. This patch creates a custom testimage bbclass specific to xilinx to support wic.qemu-sd fstypes and ensure right arguments are passed. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update multimedia recipes for Xilinx v2018.3 releaseManjukumar Matha2019-01-014-8/+8
| | | | | | Update VCU recipes to Xilinx v2018.3 release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update recipes for Xilinx v2018.3 releaseManjukumar Matha2019-01-0113-89/+30
| | | | | | | Update the arm-trusted-firmware, u-boot-xlnx, linux-xlnx, qemu-xilinx and qemu-devicetrees recipes for 2018.3 release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* recipes-multimedia/vcu: Rename ctrlsw/omx test applicationsJeegar Patel2019-01-012-4/+4
| | | | | | | | | | | | Update name as per below list in ctrlsw/omx component's: AL_Encoder.exe -> ctrlsw_encoder AL_Decoder.exe -> ctrlsw_decoder omx_encoder.exe -> omx_encoder omx_decoder.exe -> omx_decoder Signed-off-by: Jeegar Patel <jeegar.patel@xilinx.com> Acked-by: Varunkumar Allagadapa <varunkumar.allagadapa@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* recipes-multimedia/vcu: Removed .exe extension from ctrlsw/omx applicationsDhaval Shah2019-01-012-4/+4
| | | | | | | | | | | | | | | | | | | | | | Updated name as per below list in ctrlsw/omx component's: AL_Encoder.exe -> ctrlsw_encoder AL_Decoder.exe -> ctrlsw_decoder omx_encoder.exe -> omx_encoder omx_decoder.exe -> omx_decoder -It is unconventional and unnecessary for Petalinux executables to have a .exe extension, as .exe is standard convention for windows applications, but not for Linux applications. -This has created confusion among users of AL_Encoder.exe/AL_Decoder.exe and omx_encoder.exe/omx_decoder.exe. The only reason to have .exe would be for cross-platform compatibility with MicroSoft Windows, but Xilinx will never support these sample applications on Windows, so it is recommend to change the names to customary Linux names. Signed-off-by: Dhaval Shah <dhaval.shah@xilinx.com> Acked-by: Varunkumar Allagadapa <varunkumar.allagadapa@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu102-zynqmp.conf: Weak assignment to QEMU appendsAlejandro Enedino Hernandez Samaniego2019-01-011-1/+1
| | | | | | | | | | | | This patch changes QEMU appends to set them weak by default, this way the user can change them if desired. Previously this was forcing the parameters for the serial console, which made it impossible for qemu to use tcp serial ports to read the output of the serial console Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-zynq-uenv: Create dependency from images to uEnv fileAlejandro Enedino Hernandez Samaniego2019-01-011-0/+1
| | | | | | | | | | | | | | | | | | | Images include a uEnv.txt file that is read from U-Boot, these parameters are read after the default environment is loaded on U-Boot and just before booting the OS. Changing anything from the environment through the build system created a new uEnv file, but this didnt cause the build system to create a new image (that included the new file), so changes did not reflect on the image until a new build was executed. This patch creates a dependency to u-boot-zynq-uenv:do_deploy which will cause the image to be recreated when something from uEnv has changed. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qemu multiarch: Replace shell based wrapper with python oneAlejandro Enedino Hernandez Samaniego2019-01-011-31/+53
| | | | | | | | | | | | | | | | | | | The qemu-system-aarch64-multiarch wrapper parses the arguments passed to it, and launches two separate instances of qemu with the correct arguments for PMU and APU respectively. Using a python based wrapper gives us more control over how the calls to the qemu instances are made and how the arguments are passed. This patch replaces the old wrapper with a python based one providing the same functionality as the old one but also enables testimage to be run on qemu instances, switching the tcp serial ports passed to qemu to be able to read the output from qemurunner correctly Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Add support for debug flagJaewon Lee2019-01-011-3/+3
| | | | | | | | | | If debug variable is set, debug flag will be passed to EXTRA_OEMAKE and OUTPUT_DIR will be set to ${B}/${PLATFORM}/debug, as all the generated binaries will be there instead of the 'release' directory Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine/*.conf: Set SPL_BINARY with weak assignment ?= in machine configsJaewon Lee2019-01-0110-10/+10
| | | | | | | | | | Set SPL_BINARY with ?= instead of = to allow overwrite for this variable without using forcevariable. When not using xilinx-bootbin to generate the boot.bin, this variable should be set to '', to deploy spl boot.bin. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-board.inc: Remove includeNathan Rossi2019-01-0111-12/+11
| | | | | | | | | | | This include has a single line which adds the virtual/bootloader to EXTRA_IMAGEDEPENDS. Move this append into the individual machines and drop the include. This makes using the meta-xilinx-bsp default machine configuration much simpler for external users as well as making the use of a bootloader explicit on a per machine basis. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-zynq-uenv.bb: Handle IMAGE_BOOT_FILES wildcard patternsNathan Rossi2019-01-012-35/+71
| | | | | | | | | | | | | Handle IMAGE_BOOT_FILES having wildcard patterns for dtbs. This requires that the recipe depend on the deployment of the dtbs in order for the correct file names to be expanded. This change also improves the parsing of the IMAGE_BOOT_FILES variable and splits out the python functions for doing this into a separate image-wic-utils.bbclass file. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-qemu.inc: Remove KERNEL_DEVICETREE parsingNathan Rossi2019-01-011-5/+1
| | | | | | | | | | | Remove the parsing of KERNEL_DEVICETREE as by default those values will be populated into the IMAGE_BOOT_FILES variable. Also add a note describing why wildcard patterns work in the QB_DTB field. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Add dtb files for IMAGE_BOOT_FILESNathan Rossi2019-01-015-6/+8
| | | | | | | | | | | | | | | | | | | | | | Add all available dtb sources to the IMAGE_BOOT_FILES variable. For device-tree recipe generated dtbs the files available are only known after they files are deployed, so a wildcard pattern is used for these files. Note that this pattern appears before the kernel device trees due to the preference to use custom non-kernel device trees where available. This ordering is needed so that recipes like u-boot-zynq-uenv can pick the first device tree to select as the default. The kernel device trees are specifically selected based on the value of KERNEL_DEVICETREE, this avoid the duplication of kernel image type prefixed files along side having the actual files that the kernel builds. Additionally remove all instances of "${MACHINE}.dtb" as they no longer need to be specified and are incorrect due to the nesting of the files in the `devicetree` directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: Default IMAGE_BOOT_FILES using functionNathan Rossi2019-01-019-12/+38
| | | | | | | | | | | | | | | Replace the definition of IMAGE_BOOT_FILES in machine-xilinx-board.inc with the use of a function which automatically selects available images that should be included. This includes the existing implementation of `get_dtb_list` and replaces it with a function that covers all image files including the existing default for KERNEL_IMAGETYPE(S) and UBOOT_BINARY. Also remove the use of `get_dtb_list` from individual machines which is replaced by the default value. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* get_dtb_list function which formats the dtb files properly before adding to ↵Franz Forstmayr2019-01-018-7/+15
| | | | | | | | | | | | IMAGE_BOOT_FILES Replaced the hard-coded devicetree files in IMAGE_BOOT_FILES with a function, which formats the KERNEL_DEVICETREE list properly. Signed-off-by: Franz Forstmayr <f.forstmayr@gmail.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* layer.conf: Add thud as LAYERSERIES_COMPATManjukumar Matha2019-01-011-1/+1
| | | | | | Add thud as LAYERSERIES_COMPAT Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* tune-versal.inc: Add support for versal devicesManjukumar Matha2019-01-011-0/+14
| | | | | | | | | | | | | | | | | | Add tune file supporting versal devices. Xilinx is introducing Versal, an adaptive compute acceleration platform (ACAP), built on 7nm FinFET process technology. Versal ACAPs combine Scalar Processing Engines, Adaptable Hardware Engines, and Intelligent Engines with leading-edge memory and interfacing technologies to deliver powerful heterogeneous acceleration for any application. The Versal AI Core series has five devices, offering 128 to 400 AI Engines. The series includes dual-core Arm Cortex™-A72 application processors, dual-core Arm Cortex-R5 real-time processors, 256KB of on-chip memory with ECC, more than 1,900 DSP engines optimized for high-precision floating point with low latency Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-default.inc: set libgles1, libgles2 and egl to libmali-xlnxVineeth Chowdary Karumanchi2019-01-011-0/+8
| | | | | | | | zynqmpeg and zynqmpev devices has Mali400, overrides extended with mali400.This patch sets preferred providers to libmali-xlnx. Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* microzed-zynq7: Change to using device tree from kernelNathan Rossi2019-01-013-101/+2
| | | | | | | | | | | | | Change the microzed board to use the device tree from the kernel. This device tree was added in in kernel v4.10 and was pulled into the meta-xilinx layer to resolve some usb issues in commit 8e01359125. With all kernel recipes being at or beyond v4.10 using the kernel source is straight forward and removes any issues caused by differences between the in kernel and the copied version. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* conf/machine: Prepend 'devicetree' directory for device-tree usersNathan Rossi2019-01-014-4/+4
| | | | | | | | Prepend the 'devicetree' subdirectory in IMAGE_BOOT_FILES for machines that use the device-tree recipe. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree: Consolidate device-tree recipe and appendNathan Rossi2019-01-012-97/+23
| | | | | | | | | | | | | | | With the introduction of devicetree.bbclass in oe-core/meta, remove the implementation of device tree compilation from device-tree.bb keeping the meta-xilinx specific information and licensing. Also consolidate the device-tree.bb and device-tree.bbappend. The only differences between the existing device-tree.bb implementation and the devicetree.bbclass implementation is the device trees are deployed in a "devicetree/" subdirectory within the deployed images directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* *-zynqmp.conf: Add variables to provide paths of pmu-firmare deploymentManjukumar Matha2019-01-014-4/+11
| | | | | | | | | | | | When building pmu firmware using multiconfig setup, the binaries can be deployed in different build directory. Provide variables to set the binaries in the required path for QEMU. Fix SPL dependency on pmu-firmware. Since the pmu-firmware is being built as a part of multiconfig provide variables to fetch appropriate pmu-firmware binaries. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zynqmp-pmu: Remove class that uses a multilib hack to build standalone ↵Alejandro Enedino Hernandez Samaniego2019-01-017-251/+1
| | | | | | | | | | | | components The zynqmp-pmu class was being used to build standalone components (PMU) for several devices, with the introduction of the meta-xilinx-standalone layer and the xilinx-standalone distro, this is not necessary anymore. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* newlib: Remove recipes because they are on oe-coreAlejandro Enedino Hernandez Samaniego2019-01-013-104/+0
| | | | | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* binutils: rebase microblaze patches for binutils 2.31Alejandro Enedino Hernandez Samaniego2019-01-0113-65/+71
| | | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Add support for atf to use 2nd UARTJaewon Lee2018-07-181-1/+6
| | | | | | | | | | | | | | | Add ZYNQMP_CONSOLE flag to EXTRA_OEMAKE to add support for the 2nd UART. If ZYNQMP_CONSOLE is set to cadence or cadence0, it will use UART 0 and if set to cadence1, it will use UART 1. The default value is set to cadence. Change do_configure to perform make clean. Without this change,you must manually clean sstate before building with the new value of ZYNQMP_CONSOLE, which is not the desired behavior. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* picozed-zynq7.conf: fix the typo in the include fileNicholas Pillitteri2018-07-181-1/+1
| | | | | | | Fix the typo in the include file, it is missing require/include Signed-off-by: Nicholas Pillitteri <njpillitteri@gmail.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: add missing include pathMartin Siegumfeldt2018-07-181-0/+1
| | | | | | | | | This patch adds a missing include path for generic kernel DTC includes. Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* README.md: Update README to include the newer board supportManjukumar Matha2018-06-251-0/+2
| | | | | | Update README to include the newer board support Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* README.building.md: Update the README for building the layerManjukumar Matha2018-06-251-2/+6
| | | | | | Update the README for building the layer Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update README with SD install steps for ZynqMPMartin Lund2018-06-251-3/+25
| | | | | | | | Update README.booting.md to include SD install steps for ZynqMP. There are small but important differences compared to Zynq. Signed-off-by: Martin Lund <malu@gomspace.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* libmali-xlnx.bb: Add recipe to support MALI 400 binariesManjukumar Matha2018-06-255-0/+156
| | | | | | | | This recipe allows user to fetch the MALI 400 binaries from xilinx.com manually and use it with compatible machines based on UltraScale+ for libgles1/libgles2 and egl libraries. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* recipes-multimedia/vcu/*: Set package arch to SOC_FAMILYManjukumar Matha2018-06-214-0/+8
| | | | | | | | | | | | | | | Set package arch of VCU to SOC_FAMILY. Even though VCU hwcodec is available only in ev devices, we are enabling the package for all MPSoC devices. gstreamer is the application used for video pipelining. When the VCU HW is not found, the behaviour will default to using software based gstreamer (in case of cg and eg devices). By making package arch common for all zynqmp devices, we can use the same sstate-cache and RPM feeds for gstreamer components. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kernel-module-mali.bb: Set compatible and package arch according to SOC_VARIANTManjukumar Matha2018-06-211-1/+4
| | | | | | | MALI 400 is available only for eg and ev devices. Set compatible string and package arch to reflect the same. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* conf/machine/*.conf: Add SOC_VARIANT for each machineVineeth Chowdary Karumanchi2018-06-1111-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add appropriate SOC_VARIANT for each machine configuration. This is required from the introduction of overrides based on SOC_VARIANT. Available SOC_VARIANT's for UltraScale+ MPSoC: "cg" - Zynq UltraScale+ CG Devices "eg" - Zynq UltraScale+ EG Devices "ev" - Zynq UltraScale+ EV Devices Add SOC_VARIANT to zcu102 board. Default variant is EG device. Add SOC_VARIANT to zcu104 board. Default variant is EV device. Add SOC_VARIANT to zcu106 board. Default variant is EV device. Available SOC_VARIANT's for zynq: "7zs" - Zynq-7000 Single A9 Core "7z" - Zynq-7000 Dual A9 Core Add SOC_VARIANT to zc702 board. Default variant is 7z device. Add SOC_VARIANT to zc706 board.Default variant is 7z device. Add SOC_VARIANT to microzed board.Default variant is 7z device. Add SOC_VARIANT to picozed board.Default variant is 7z device. Add SOC_VARIANT to zedboard board.Default variant is 7z device. Add SOC_VARIANT to zybo board.Default variant is 7z device. Add SOC_VARIANT to qemu-zynq7 board.Default variant is 7z device. Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* tune-zynq.inc: Set SOC_VARIANT for zynq devices to 7zVineeth Chowdary Karumanchi2018-06-111-0/+6
| | | | | | | | | | | | | | | | | | | zynq-7000 devices are mainly shipped in 2 variants. https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html#productTable Available SOC_VARIANT's for zynq: "7zs" - Zynq-7000 Single A9 Core "7z" - Zynq-7000 Dual A9 Core This will extend MACHINEOVERRIDES for each device variant as: 7zs --> zynq7zs 7z --> zynq7z This patch sets the default value of SOC_VARIANT to 7z. This can be overriden in machine configuration to match the intended FPGA device. Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* tune-zynqmp.inc: Set default SOC_VARIANT to egVineeth Chowdary Karumanchi2018-06-111-0/+7
| | | | | | | | | | | | | | | | | | | | | UltraScale MPSoC is shipped in 3 device variants. https://www.xilinx.com/products/silicon-devices/soc/zynq-ultrascale-mpsoc.html#productTable Available SOC_VARIANT's for zynqmp: "cg" - Zynq UltraScale+ CG Devices "eg" - Zynq UltraScale+ EG Devices (MALI 400) "ev" - Zynq UltraScale+ EV Devices (MALI 400 + VCU) This will extend MACHINEOVERRIDES for each device variant as: cg --> zynqmpcg eg --> zynqmpeg ev --> zynqmpev This patch sets the default value of SOC_VARIANT to eg. This can be overriden in machine configuration to match the intended FPGA device. Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* machine-xilinx-overrides.inc: Provide override mechanism depending on SoC ↵Alejandro Enedino Hernandez Samaniego2018-06-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | features This patch enables to add overrides depending on the SoC capabilities. UltraScale+ FPGA has different variants of silicon to support different features like MALI400, VCU. Categorically there are three variants: cg devices, eg devices(MALI 400) and ev devices (MALI 400+ VCU) See: https://www.xilinx.com/products/silicon-devices/soc/zynq-ultrascale-mpsoc.html#productTable dr devices are based for UltraScale+ RFSoC This patch allows machineoverides to be extended as zynqmp(cg|eg|ev|dr) and mali400/vcu (based on functionality). This helps in grouping of settings for similar SoC This patch also adds packages to be a part of the feed based on SOC_FAMILY and SOC_VARIANT Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu104-zynqmp.conf: Add support for ZCU104 evaluation boardJaewon Lee2018-06-072-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ZCU104 Evaluation Kit enables designers to jumpstart designs for embedded vision applications such as surveillance, Advanced Driver Assisted Systems (ADAS), machine vision, Augmented Reality (AR), drones and medical imaging. This kit features a Zynq® UltraScale+™ MPSoC EV device with video codec and supports many common peripherals and interfaces for embedded vision use case. The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53 applications processor, dual-core Cortex-R5 real-time processor, Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video codec, and 16nm FinFET+ programmable logic. This patch adds machine configuration file for ZCU104 Evaluation Kit 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 - hwcodec is provided by libomxil-xlnx recipe, this will pull in additional dependencies of VCU kernel modules, control software, firmware binaries Depending on the application need you may want to pass the appropriate CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel. 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: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu106-zynqmp.conf: Add support for ZCU106 Evaluation KitDevarsh Thakkar2018-06-072-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ZCU106 Evaluation Kit enables designers to jumpstart designs for video conferencing, surveillance, Advanced Driver Assisted Systems (ADAS) and streaming and encoding applications. This kit features a Zynq® UltraScale+™ MPSoC EV device and supports all major peripherals and interfaces, enabling development for a wide range of applications. The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53 applications processor, dual-core Cortex-R5 real-time processor, Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video codec, and 16nm FinFET+ programmable logic. This patch adds machine configuration file for ZCU106 Evaluation Kit 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 - hwcodec is provided by libomxil-xlnx recipe, this will pull in additional dependencies of VCU kernel modules, control software, firmware binaries Depending on the application need you may want to pass the appropriate CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel. 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: Devarsh Thakkar <devarsht@xilinx.com> Tested-by: Maulik Desai <maulik.desai@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* layer.conf: Add LAYERSERIES_COMPAT for sumo releaseManjukumar Matha2018-05-281-0/+3
| | | | | | Add LAYERSERIES_COMPAT for sumo release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx.inc: Remove deploying u-boot-spl.bin for runqemuManjukumar Matha2018-05-281-6/+0
| | | | | | | | | Due to this change 54e2729ed43f82b8cfd96395fb68e447a9b60f86, zcu102 runqemu does not depend on u-boot-spl.bin. It requires just ATF and u-boot to be present. Hence deploying of u-boot-spl.bin is no longer required. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>