summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* arm-trusted-firmware: deploy versioned imagesManjukumar Matha2017-05-301-3/+9
| | | | | | | | | This patch modifies the deployed content to use versioned image names,while retaining unversioned symlinks. Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_git.bb: Make ATF machine independentManjukumar Matha2017-05-302-3/+3
| | | | | | | | Make arm-trusted-firmware machine independent Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com>
* feature-microblaze-versions.inc: Simplify version formatting functionsNathan Rossi2017-05-301-22/+8
| | | | | | | Simplify the functions used to generate the TUNE_CCARGS and PKGARCH version strings. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arch-microblaze.inc: Invert how the 'reorder' feature is used for v8.30Nathan Rossi2017-05-302-11/+7
| | | | | | | | | | | | | | | | | | | With Xilinx MicroBlaze v8.30 a configuration issue requires that the 'pattern-compare' feature is enable for the 'reorder' feature to be correctly functional. Previously the MicroBlaze tune setup would assume that 'pattern-compare' was available even when it may not actually be, and would force enable the 'pattern-compare' feature automatically. This behaviour is prone to issues and may emit broken binaries for a target when the user was not aware or expected that there target CPU was broken. This change inverts the behaviour such that instead of implicitly enabling the 'pattern-compare' feature it instead does not enable generation of reorder instructions for the compiler by setting '-mno-xl-reorder' in the same way as the case that the target does not have the feature enabled. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp: Enable all the zcu102 kernel device treesNathan Rossi2017-05-301-1/+1
| | | | | | | | | | | | Enable all of the available kernel device trees for the zcu102. This includes the 'zcu102-zynqmp.dtb'. The 'revB' device tree is kept as the first entry due to its use for QEMU. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Tested-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* linux/config: Update zynqmp config fragmentsNathan Rossi2017-05-302-0/+35
| | | | | | | Update the zynqmp config fragments, adding new drivers available in linux-xlnx as well as some mainline available drivers. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Update zynq7 fragmentsNathan Rossi2017-05-303-0/+6
| | | | | | | Update the zynq7 fragments to include new configs available in linux-xlnx and mainline kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* *-zynq7: Change some boards to mainline U-Boot by defaultNathan Rossi2017-05-303-0/+3
| | | | | | | | | | | Change the microzed-zynq7, picozed-zynq7 and zybo-zynq7 machines to use the mainline U-Boot by default. All these machines can be supported by the mainline U-Boot and do not require any of the drivers/features that are only provided in the Xilinx vendor tree (u-boot-xlnx). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kernel-module-mali.bb: Update MALI kernel module to r7p0Manjukumar Matha2017-05-1511-51/+441
| | | | | | | Update kernel-module-mali to r7p0 version Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com>
* machine-xilinx-default.inc: Remove version pinning for linux-xlnxNathan Rossi2017-05-151-2/+0
| | | | | | | Remove the version pinning for linux-xlnx, this allows for using the newest version available without needing to change the include. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp: Pin to pre-v2017.1 versions of kernel, u-boot and atfNathan Rossi2017-05-151-0/+6
| | | | | | | | | | Pin the versions of linux-xlnx, u-boot-xlnx and arm-trusted-firmware to the version prior to xilinx-v2017.1. This is due to the added requirement of pmu-firmware for xilinx-v2017.1. Currently it is not possible to boot the zcu102-zynqmp machine in QEMU with the newer versions due to missing the pmu rom as well as the pmu firmware itself. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Add recipe for xilinx-v2017.1 releaseNathan Rossi2017-05-151-0/+7
| | | | | | | | Add a recipe for the xilinx-v2017.1 release of the Xilinx fork of arm-trusted-firmware. This release is based on 1.3 of ARM Trusted Firmware. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_2016.3.bb: Rename the _git.bb to the actual releaseNathan Rossi2017-05-151-0/+0
| | | | | | | Rename the arm-trusted-firmware recipe so that the filename matches the release version of the recipe. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Split common build/config into includeNathan Rossi2017-05-152-54/+56
| | | | | | | | Split the common build/config/description/etc. of the recipe into an include file so that multiple versions can use the include instead of copying the recipe content. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kc705-microblazeel: Pin to u-boot-xlnx at xilinx-v2016.4Nathan Rossi2017-05-151-0/+3
| | | | | | | | Pin the preferred provider and version of the kc705-microblazeel machine to u-boot-xlnx and Xilinx release version xilinx-v2016.4. This is due to patches only available for this version of u-boot-xlnx. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx: Add recipe for xilinx-v2017.1 releaseNathan Rossi2017-05-154-3/+67
| | | | | | | | | | | Add a recipe for the u-boot-xlnx xilinx-v2017.1 release, this release is based on v2017.01 of U-Boot. Also add an updated version of the patches. This patch also moves the FILESEXTRAPATHS prepend to the u-boot-xlnx.inc due to common use. And a u-boot-xlnx/${XILINX_RELEASE_VERSION} subdir is added to the list for version specific patches. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx: Add recipe for xilinx-v2017.1 releaseNathan Rossi2017-05-154-0/+983
| | | | | | | | | | Add a recipe for the xilinx-v2017.1 release, this release is based on kernel version 4.9. Also update the zybo-linux-bd-zynq related patches to apply for this version of the linux-xlnx kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* qemu-xilinx-helper-native: Clean up preferred provider messageNathan Rossi2017-05-151-4/+9
| | | | | | | | | | | | | | | | | Due to this recipe being added there are two providers for qemu-helper-native, but by default one is never selected. This generates a message during the build that informs the user to select a provider. This is unnecessary as the only machines that care about setting the provider is currently zcu102-zynqmp due to its requirement for qemu-xilinx all other qemu machines should be using the qemu-helper-native recipe and non-qemu machines don't use the recipe. To prevent the message, only make the qemu-xilinx-helper-native recipe available when it is selected as the preferred provider otherwise skip it. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com>
* linux/config: Add debug-dyndbg kernel feature fragmentNathan Rossi2017-05-152-0/+15
| | | | | | | | The debug-dyndbg fragment enables CONFIG_DYNAMIC_DEBUG, which enables the building of pr_debug/etc. such that during execution the debug messages can be enabled dynamically. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.4.bb: Add provided ZynqMP platform init configsNathan Rossi2017-05-151-0/+1
| | | | | | | Add the configs that have platform-init files already available in the u-boot-xlnx source. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-zynq-uenv.bb: Add recipe to generate uEnv.txt environmentNathan Rossi2017-05-1511-18/+120
| | | | | | | | | | | | | | | Add a recipe to generate uEnv.txt environments for SD boot of Zynq targets. This replaces the existing uEnv.txt for zc702/zedboard that were manually created and populated only for u-boot-xlnx builds. The generated uEnv.txt files also support auto loading of the fpga bitstream before the kernel. Also enable the use of this recipe for all *-zynq7 machines that use U-Boot and have SD/eMMC available. And additionally setup IMAGE_BOOT_FILES for these machines. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zybo-linux-bd-zynq7: Update to use FORCE_PLATFORM_INITNathan Rossi2017-04-281-1/+1
| | | | | | | Use FORCE_PLATFORM_INIT, setting it to "1" to force U-Boot to use the platform-init from a virtual/xilinx-platform-init provider. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-spl-zynq-init.inc: Add support for ZynqMPNathan Rossi2017-04-283-28/+38
| | | | | | | | | | | | | | Update to using the xilinx-platform-init.bbclass and depending on the 'virtual/xilinx-platform-init' provider. This allows for more generic support of platform-init (between Zynq7, ZynqMP and any future targets). This change also renames some of the variables used for defining the source of the platform-init files for SPL. Specifically HAS_PS7INIT is renamed to HAS_PLATFORM_INIT, and FORCE_PS7INIT is renamed to FORCE_PLATFORM_INIT. However for compatibility the existing variables still function as expected. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* platform-init.bb: Update to xilinx-platform-initNathan Rossi2017-04-282-28/+22
| | | | | | | | | | | | | | Update to use xilinx-platform-init.bbclass. And change to providing the generic 'virtual/xilinx-platform-init' as opposed to a zynq7 specific one. Remove the 'zynq7-platform-init.inc' this include was only useful for recipes that provide/package only platform-init files. Which means it is no more useful that the platform-init.bb recipe itself. Layers that want to provide additional platform-init files can bbappend to the platform-init recipe. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zybo-linux-bd.bb: Update to use xilinx-platform-init.bbclassNathan Rossi2017-04-281-10/+4
| | | | | | | | | | Update this recipe to use the new class, and change the virtual provider to the more generic 'virtual/xilinx-platform-init'. Additionally simplify the FILES_${PN}-platform-init paths, and take advantage of the PLATFORM_INIT_FILES variable. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* xilinx-platform-init.bbclass: Generic platform-init classNathan Rossi2017-04-282-4/+14
| | | | | | | | | | | | | Create a more generic platform init class for use with Zynq 7000, ZynqMP and or future targets that use the platform initialization code files configuration setup. This generic class defines the source files (which are defined per SoC) and the staging directory to populate with the source files. This class replaces zynq7-platform-paths.bbclass. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp: Update QB_MEM to 4GB to match boardNathan Rossi2017-04-281-1/+1
| | | | | | | | | Update the QB_MEM value to match the size of memory that is expected to be emulated for the board. The ZCU102 board has 4GB of DRAM attached to the PS. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* qemu: Update to the 2017.1 releaseAlistair Francis2017-04-282-2/+2
| | | | | | | Update the QEMU and QEMU device tree commit SHAs to the 2017.1 release. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* qemuboot-xilinx.bbclass: Rework qemu-xilinx setupNathan Rossi2017-04-287-36/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change reworks how the meta-xilinx layer enables and provides the custom version of QEMU based on Xilinx's fork of QEMU. The existing implementation relied on the single sysroot which was changed in oe-core such that now recipes have their own sysroots (RSS support). Additionally oe-core now provides the QEMU binaries to the runqemu script via the 'qemu-helper-native' recipes sysroot as opposed to the image sysroot. These rework changes allow for a single machine to select the targeted QEMU version as well as to provide the qemuboot config specific to the targeted QEMU version. The selection of QEMU version is now handled by PREFERRED_PROVIDER mechanics with the meta-xilinx layer providing an additional recipe that is equivalent to qemu-helper-native and which also provides said target allowing for the machine to select via the use of PREFERRED_PROVIDER_qemu-helper-native. This recipe (qemu-xilinx-helper-native) however instead provides the sysroot populated with qemu-xilinx instead of qemu. Additionally the XILINX_QEMUBOOT variable is replaced with the qemuboot-xilinx.bbclass, this provides the overrides for setting up qemu-xilinx specific QB_* args. Additionally this bbclass points runqemu at the qemu-xilinx-helper-native sysroot for QEMU binaries. These changes also work towards making the meta-xilinx layer better handle multiple qemuboot.conf variants as well as handling different QEMU versions. This change also removes the 'qemu-system-xilinx' MACHINE_FEATURES, this is due to MACHINE_FEATURES no longer being available for native recipes. Additionally there is no longer any logic that needs to know this any way. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* device-tree: Improve, clean up and remove MACHINE_DEVICETREENathan Rossi2017-04-262-124/+41
| | | | | | | | | | | | | | | This change improves and does a number of clean up to the device-tree recipe. This includes adding support for building overlays, default inclusion of kernel device tree sources, updated license value and general clean ups to the logic. This change also removes the support for MACHINE_DEVICETREE, and additionally the now unused xilinx-utils.bbclass. Note: In order to support overlays dtc version 1.4.3 or newer is needed, currently in oe-core only 1.4.2 is available. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* machine-xilinx-qemu.inc: Don't use MACHINE_DEVICETREE for dtb detectionNathan Rossi2017-04-262-7/+11
| | | | | | | | Avoid using the MACHINE_DEVICETREE variable for detection of the device tree that needs to be loaded. Instead only rely on IMAGE_BOOT_FILES or KERNEL_DEVICETREE. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree.bbappend: Move use of MACHINE_DEVICETREE to SRC_URINathan Rossi2017-04-2616-13/+21
| | | | | | | | | | | | | | | | | | | | | Remove the use of MACHINE_DEVICETREE for providing sources to device-tree, instead provide the device tree sources as SRC_URI entires. Whilst this was already being done automatically by the MACHINE_DEVICETREE logic it also created a non-standard way of providing the device tree sources to the recipe. The setup of SRC_URI is done via the use of a device-tree.bbappend instead of directly in the device-tree.bb recipe itself. This is for two reason, separation of the source from the build logic as well as to provide an example for how a user can extend the device-tree recipe to provide custom device tree sources in their layer. This change also moves the paths to the sources around, this is to align the names of the directories to match the OVERRIDES so that when expanding the file paths it will search the subdirs based on the OVERRIDES or machine names. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Enable ZYNQMP_PM_API_DEBUGFS for linux-xlnx kernelsNathan Rossi2017-04-261-0/+3
| | | | | | | | Enable the ZYNQMP_PM_API_DEBUGFS option to expose information about the PM API. This generally useful even when not debugging. Additionally this is enabled by the zynqmp defconfig in linux-xlnx. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* README.booting.md: Update and add notesNathan Rossi2017-04-261-2/+7
| | | | | | | | | | Remove mention of 'u-boot-dtb.img' which is no longer generated. Add a small paragraph directing users to look at the Yocto dev manual for information about generating partitioned/disk images with wic. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* README.*: Fix up bullet point nestingNathan Rossi2017-04-262-17/+24
| | | | | | | Fix up the indent for nested bullet lists. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* machine-xilinx-default.inc: Remove linux-yocto version pinningNathan Rossi2017-04-261-1/+0
| | | | | | | Use the newest available on targets that default to using linux-yocto. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com>
* zybo-linux-bd.bb: Depend on unzip-native instead of unzipNathan Rossi2017-04-261-1/+2
| | | | | | | | | This recipe uses unzip, however it was depending on the targets unzip as opposed to unzip-native. Because of this it was using the hosts unzip during the build which is no longer valid with newer oe-core. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* arch-microblaze.inc: Consolidate MicroBlaze tune featuresNathan Rossi2017-03-3111-77/+77
| | | | | | | | | | | | | | | | This change adds the 'arch-microblaze.inc' architecture tune features include which provides all the relevant tune features for MicroBlaze. This include replaces the 'tune-microblaze-features.inc' include, which is not actually a valid TUNE. This change results in the MicroBlaze tune and tune feature include tree matching the layout of meta/. This change additionally consolidates all the smaller includes (feature-microblaze-*.inc) into larger sets or into the arch-microblaze.inc. This makes the package arch string ordering much clearer as well as removing the large number of variables uses to set the TUNE_CCARGS. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* feature-microblaze-versions.inc: Clean up and consolidationNathan Rossi2017-03-316-89/+106
| | | | | | | | | | | | Clean up the MicroBlaze versions tunes as well and improve the TUNECONFLICTS for version features so that the conflicts matrix is automatically generated. Additionally consolidate the version features into a single include. Improve and generate the "-mcpu=" and package strings based on the version feature. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux: Drop unused patchNathan Rossi2017-03-311-39/+0
| | | | | | | This was only used for linux-yocto 4.8 kernels, and is no longer used. So remove it. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto: drop 4.8 recipesMischan Toosarani-Hausberger2017-03-312-12/+0
| | | | | | | | | openembedded-core dropped the 4.8 recipes: http://git.openembedded.org/openembedded-core/commit/?id=466e6e45ca04a07ebe1b1f52de747f077b362d54 Signed-off-by: Mischan Toosarani-Hausberger <mischan@iviso.at> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree/microzed-zynq7.dts: Replace with kernel source versionNathan Rossi2017-03-241-41/+41
| | | | | | | | | | | Replace the existing device tree content with the content of the zynq-microzed.dts from the kernel source. Specifically based on commit df2f3c48b9cd51e2612a1598342769d09d849f39. This resolves the issues with the ethernet phy as well as adding pinctrl for USB. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Enable ZynqMP FPGA manager for linux-xlnx kernelsNathan Rossi2017-03-241-0/+4
| | | | | | | The ZynqMP FPGA manager driver is available in linux-xlnx kernels, enable it for them. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto: Enable linux-yocto and linux-yocto-tiny as wildcardNathan Rossi2017-03-246-12/+0
| | | | | | | | | | Enable linux-yocto and linux-yocto-tiny kernels via a wildcard bbappend. This allows for enabling kernels without having to explicitly create bbappends for each version. Patches are still applied in versioned bbappends. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* binutils: Drop MicroBlaze RELA patch, fixed in 2.28Nathan Rossi2017-03-242-104/+0
| | | | | | | The MicroBlaze RELA issue is resolved in binutils 2.28, the patch is no longer required, drop the patch from SRC_URI and delete the patch. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx-dev: Skip version sanity check and update versionNathan Rossi2017-03-241-2/+5
| | | | | | | | Skip the kernel version sanity checking, in the same way that linux-yocto-dev does. Also update the version number and fall back commit id. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlinx: Workaround to trigger network based jtagbootJason2017-03-121-1/+1
| | | | | | | | | | | | | | | | | Currently the jtagboot cmd fails when jtagmemboot failed. This is because the jtagmemboot returns false when it fail the itest.w or the booti failed. Thus the network based jtagboot cmd never gets triggered. The jtagboot can't be purely base on the itest.w because sometimes the dhcp command triggers the Image download which has valid image in the ram. This passes the itest.w and iminfo test but fail the booti. This patch triggers the network based jtagboot cmd if jtagmemboot failed. Signed-off-by: Jason Wu <jason.hy.wu@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* qemu-xilinx: Updates for libgcrypt and improved qemu.incNathan Rossi2017-03-101-12/+11
| | | | | | | | | | | | | | Update the append to work with the improved qemu.inc. Enable gcrypt PACKAGECONFIG options. In order to enable libgcrypt the QEMU configure must be patched to handle pkg-config support for libgcrypt. This is because upstream libgcrypt does not provide pkg-config support but OE does. The solution used works around the need to patch QEMU, by implementing the patch as a sed replace so that a patch does not need to be used and maintained across versions. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* machine-xilinx-default.inc: Remove UBOOT_OFEMBED for UBOOT_BINARYNathan Rossi2017-03-091-5/+1
| | | | | | | | | Both u-boot-xlnx and u-boot (mainline) now agree on the name for the output binary which includes the dtb. Additionally both versions load 'u-boot.img' from SPL. The UBOOT_OFEMBED variable and conditional value setting are no longer needed. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* xf86-video-armsoc: Update to 1.4.1Nathan Rossi2017-02-163-33/+57
| | | | | | | | | | Update to the 1.4.1 version of the armsoc driver to handle compatibility with newer versions of X11 as available in oe-core. Modify the driver patch to work with the new version which auto-detects which drmmode driver to use. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>