summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* meta-xilinx-standalone: Using S instead of WORKDIRAppana Durga Kedareswara rao2020-02-274-13/+14
| | | | | | | | | | External source class manipulates S to point to external source directories, so use this variable instead of WORKDIR. Point S to the top directory as we need to access scripts directory in top directory. And instead, using OECMAKE_SOURCEPATH to point to deeper driver specific directory with necessary cmake files. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* device-tree: Fix install directoryAlejandro Enedino Hernandez Samaniego2020-02-272-6/+4
| | | | | | | | | | | | There was a typo in the patch that installed the psu_init code which initially tried to install files on the /var directory. Since this is a baremetal component, there is basically no convention on where files should be installed, for now to comply a bit more with bitbake, install these files on includedir to fix the install-vs-shipped issue. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* distro/xilinx-standalone: Make LTO optionalMark Hatle2020-02-274-16/+32
| | | | | | | | | | Some builds may require LTO, while others do not want it. The LTO components are only enabled when using the esw.bbclass and the xilinx-standalone distro. A second xilinx-standalone-nolto was added specifically to provide a default where LTO was disabled. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zynqmp-fsbl: Fix race condition on copy_psu_initAlejandro Enedino Hernandez Samaniego2020-02-271-3/+1
| | | | | | | | | | | | | | | Theres a race condition that happens when the copy_psu_init task is executed, and claims that the src directory does not exist, when this task is trying to access it. There is no need to create an additional task to copy the psu_init code, it can simply be prepended to do_configure which achieves the same result without having to keep track of other tasks dependencies that might cause an error. Copy the psu_init files on do_configure itself avoiding the race condition. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, move existing libraries ↵Alejandro Enedino Hernandez Samaniego2020-02-2713-0/+0
| | | | | | from decoupling to recipes-libraries Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: device-tree belongs on recipes-bspAlejandro Enedino Hernandez Samaniego2020-02-271-0/+0
| | | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, pmufw and fsbl belong on ↵Alejandro Enedino Hernandez Samaniego2020-02-272-0/+0
| | | | | | recipes-applications Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx: meta-xilinx-standalone: comment flto flags by defaultAppana Durga Kedareswara rao2020-02-271-2/+2
| | | | | | | | For the time being fsbl,pmufw users will uncomment the CFLAGS_append line before building the application, once we have proper disto changes in place we can delete this line all together. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx: meta-xilinx-standalone: Update source url pathAppana Durga Kedareswara rao2020-02-272-4/+4
| | | | | | | | | | This patch does the below --> Updated the esw.bbclass SRC_URI to point to gitenterprise/decoupling/embeddedsw master-next-test branch. --> Updated the device-tree recipe SRC_URI to point to gitenterprise/decoupling/device-tree-xlnx master-next-test branches. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* fsbl: avoid using underscore in the directory filenameAlejandro Enedino Hernandez Samaniego2020-02-271-0/+0
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* zynqmp-fsbl: Copy psu_init files to source codeAppana Durga Kedareswara rao2020-02-271-1/+10
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* device-tree: Install psu_init files as wellAlejandro Enedino Hernandez Samaniego2020-02-271-0/+9
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Add support for PLM and dependent library recipesAppana Durga Kedareswara rao2020-02-2713-17/+109
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* Microblaze-pmu: Change overrides to reflect machine name chanches from ↵Alejandro Enedino Hernandez Samaniego2020-02-271-0/+1
| | | | | | zynqmp-pmu to microblaze-pmu Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* SOC_FAMILY: Change overridesAlejandro Enedino Hernandez Samaniego2020-02-273-13/+41
| | | | | | | | | | | | | | | | | | | | | | The ESW repo requires to pass the application that is being built along with the proessor architecture (family) where it will be executed to workaround some of the driver/libraries functionality. For us to be able to override variables depending on the application we need to create separate machines depending on the family that will be used, e.g. microblaze-pmu and microblaze-plm, or family where it could be zynqmp or versal, these are passed by the XLNX_CMAKE_PROCESSOR and XLNX_CMAKE_MACHINE variables respectively, these separate machines will be built using separate multiconfigs, and while this is an expensive solution, since it costs: parsing and building time along with storage use for each of the multiconfigs, this is the correct solution due to their incompatibility on their dependencies. As part of these changes, it is also required to change the existing overrides for the MACHINES that already existed for them to keep the existing functionality on the standalone toolchain. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: Unify flow and get DTB using the device-tree recipe instead of ↵Alejandro Enedino Hernandez Samaniego2020-02-272-9/+5
| | | | | | creating it manually Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* esw.bbclass: Make it possible for packages to use the cmake ncurses guiAlejandro Enedino Hernandez Samaniego2020-02-271-0/+2
| | | | | | | | | | | | | | | The ccmake class provides the ncurses cmake ui functionality, inherit this class to make sure all the ESW components are able to invoke the ui. To invoke such ui, a user would perform: bitbake <pkg> -c ccmake To get the diff from the old and new config a user would perform: bitbake <pkg> -c ccmake_diffconfig. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: Install artifacts from the build directory vs WORKDIRAlejandro Enedino Hernandez Samaniego2020-02-271-1/+1
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* esw.bbclass: Install artifacts from the build directory vs WORKDIRAlejandro Enedino Hernandez Samaniego2020-02-271-2/+2
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* esw.bbclass: Fix devtool and externalsrc flowAlejandro Enedino Hernandez Samaniego2020-02-271-1/+21
| | | | | | | | | | When using externalsrc, the S variable changes, which causes the class to return an invalid value for the LIC_FILES_CHKSUM variable. Use a workaround with anonymous python to correct this, just in case the externalsrc class is being used. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* device-tree: the Flags used from device tree have to be set on the device ↵Alejandro Enedino Hernandez Samaniego2020-02-272-2/+3
| | | | | | tree recipe, not in the libxil one Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Increase layer priorityAlejandro Enedino Hernandez Samaniego2020-02-271-1/+1
| | | | | | | | We need to increase the layer priority for meta-xilinx-standalone, otherwise its not possible to set a branch for decoupling on the DTG flow, since meta-xilinx-internal overrides our changes Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Fix XILINX_RELEASE_VERSIONAlejandro Enedino Hernandez Samaniego2020-02-271-1/+1
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: Fix DTB and DTG flow to make it more transparent for the userAlejandro Enedino Hernandez Samaniego2020-02-271-15/+11
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: fix device tree flags for a53Alejandro Enedino Hernandez Samaniego2020-02-271-0/+3
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* zynqmp-fsbl: Sync flow with pmufwAlejandro Enedino Hernandez Samaniego2020-02-271-5/+15
| | | | | | | | | | Install and package the elf file so it is stripped Deploy the stripped elf file fix filename to contain the elf extension Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* device-tree: switch to AUTOREV to keep up with the repo changes for nowAlejandro Enedino Hernandez Samaniego2020-02-271-1/+2
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* device-tree.bbappend: add appent to support cortexa53 MACHINEAlejandro Enedino Hernandez Samaniego2020-02-271-0/+12
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: add flow for a53 using dtgAlejandro Enedino Hernandez Samaniego2020-02-271-11/+20
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: fix filename on elf file and fix task order to get stripped elf file ↵Alejandro Enedino Hernandez Samaniego2020-02-271-3/+3
| | | | | | deployed Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* fix license and compatible host for nowAlejandro Enedino Hernandez Samaniego2020-02-271-2/+6
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: Install and hence package and strip the pmufw elf fileAlejandro Enedino Hernandez Samaniego2020-02-271-4/+14
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Add recipes for building zynqmp fsbl applicationAppana Durga Kedareswara rao2020-02-271-0/+24
|
* Add recipes for xilffs and xilpm librariesAppana Durga Kedareswara rao2020-02-272-0/+12
|
* esw: first step to move everything into an embeddedsw classAlejandro Enedino Hernandez Samaniego2020-02-278-232/+68
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: recipes for pmufw app generation in decoupled flowAppana Durga Kedareswara rao2020-02-277-2/+204
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* libxil: Add recipes for libxil and xilstandaloneAppana Durga Kedareswara rao2020-02-272-0/+91
| | | | | | | | | | | Add both recipes which use the cmake class for basic funcitonality. Append the required arguments to generate the correct toolchain file And use AUTOREV while in development for easier adoption. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* arm-trusted-firmware.inc: installing elf with standard nameJaewon Lee2020-02-261-2/+3
| | | | | | | Installing the elf with a standard name with PN and SRCPV. Needed for update boot wiring Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* kernel-module-mali: Make the driver compatible with kernel 5.4Madhurkiran Harikrishnan2020-02-255-0/+265
| | | | | | | | The patch series makes the Mali400 kernel driver compatible with linux kernel 5.4 Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Enable kernel configurations for viruatlization distro featureSai Hari Chandana Kalluri2020-02-2112-0/+79
| | | | | | | Enable kernel configurations to support docker/oci containers when virtualization is set as distro feature Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Pass dtb and dtb load address as QB_OPT args for qemubootSai Hari Chandana Kalluri2020-02-211-0/+1
| | | | | | | | | | | | Until now we used to fatload dtb at uboot, Now boot.bin is packaged with dtb so at uboot there is not need to fatload dtb. As a result, boot.scr doesnt contain commands to load dtb at u-boot. Qemu uses boot.scr to autoboot and fails to find dtb loaded at the correct location. For successful qemu boot, pass dtb and dtb load address as qemu launch args using QB_OPT args. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update KERNEL_VERSION to 5.4Sai Hari Chandana Kalluri2020-02-211-1/+1
| | | | | | Update KERNEL_VERSION to 5.4 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Modify PMU_FIRMWARE_DEPLOY_DIR and PMU_FIRMWARE_IMAGE_NAMESai Hari Chandana Kalluri2020-02-201-2/+2
| | | | | | | | | Set the correct PMU_FIRMWARE_DEPLOY_DIR and PMU_FIRMWARE_IMAGE_NAME based on the flow used to build images. If multiconfig flow is enabled pick pmu elf from pmutmp directory else pick elf from DEPLOYDIR. This is required to ensure that runqemu boots correctly by picking the elfs from the correct path. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu208-zynqmp: Add support for zcu208 boardSwagath Gadde2020-02-201-0/+38
| | | | | | | | | | | Add machine configuration for zcu208 RFSoC board With required settings for board specific yocto variables needed for compilation of bootloader and kernel. -linux-xlnx is kernel provider -u-boot-xlnx is u-boot provider Signed-off-by: Swagath Gadde <swagathg@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-system-aarch64-multiarch: Update the binpath for qemu targetsSai Hari Chandana Kalluri2020-02-191-1/+2
| | | | | | | | | Update the binpath for qemu-system-microblazeel and qemu-system-aarch64. Earlier the targets were located under recipe-sysroots-native/usr/bin/qemu-xilinx directory, now the targets are located under recipe-sysroots-native/usr/bin Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-xilinx.inc: Configure qemu-xilinx with gcryptManjukumar Matha2020-02-181-1/+1
| | | | | | | Configure qemu-xilinx with gcrypt, this is required for the crypto models Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qemu-xilinx.inc: Remove stale packageconfig optionsManjukumar Matha2020-02-181-4/+0
| | | | | | | OE-core provides the packageconfig option in qemu.inc, use it from upstream. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qemu-xilinx-native: Enable packageconfig option for libgcryptManjukumar Matha2020-02-182-1/+0
| | | | | | | Enable packageconfig option for libgcrypt. qemu-xilinx uses libgcrypt for crypto models to implement data model behavior Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu1285-zynqmp.conf:using common u-boot defconfigVaralaxmi Bingi2020-02-171-1/+1
| | | | | | | | This patch will use common uboot defconfig for zcu1285 bsp. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-xilinx: Point to master branch by defaultMark Hatle2020-02-131-1/+1
| | | | | | There is no master-next branch on github at this time, use master. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>