summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* u-boot-zynq-uenv.bb: Enforce default load addressesNathan Rossi2017-06-201-0/+2
| | | | | | | | | | There is differences in the value of *_load_address environment variables between U-Boot versions (u-boot/u-boot-xlnx) as well as any environment stored in spi flash. Instead of relying on correct configuration being set, set the expected values in uEnv.txt to avoid issues. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zybo-linux-bd-zynq7: Change gem0 phy to match kernel definitionNathan Rossi2017-06-081-3/+2
| | | | | | | | | Change the device tree for the gem0 phy to match that of the kernel device tree for ZYBO. This removes the compatible string and uses the phy address of 0 (broadcast). This lets the kernel auto detect the phy since there are no other devices on the MDIO bus for gem0. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx.inc: Remove redefinition of package archManjukumar Matha2017-06-031-2/+0
| | | | | | | | PACKAGE_ARCH = "${MACHINE_ARCH}" is defined in u-boot.inc. Remove the package arch here to be consistent with upstream Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com>
* pmu-firmware: Create a recipe for the PMU firmware for PMU on ZynqMPNathan Rossi2017-06-031-0/+85
| | | | | | | | | | | | | Create a recipe for the PMU firmware for the ZynqMP PMU. This firmware is provided by the embeddedsw repo, and specifically uses the 'zynqmp_pmufw' application of the repo. This build requires a MicroBlaze compiler with newlib, libgloss and libgcc. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com> Tested-by: Koteswararao Nayudu <kotin@xilinx.com>
* 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-301-2/+2
| | | | | | | | 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>
* 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>
* 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>
* 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-154-14/+82
| | | | | | | | | | | | | | | 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>
* 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>
* device-tree: Improve, clean up and remove MACHINE_DEVICETREENathan Rossi2017-04-261-66/+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>
* device-tree.bbappend: Move use of MACHINE_DEVICETREE to SRC_URINathan Rossi2017-04-2611-0/+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>
* 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>
* 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>
* 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>
* u-boot-xlnx: For ZynqMP setup auto-boot for JTAG loadingNathan Rossi2017-02-162-0/+49
| | | | | | | | | | | | | | | | When booting a ZynqMP machine configured to boot from JTAG, setup U-Boot to attempt to automatically load the kernel, rootfs and device tree from default memory locations. This enables auto-booting for QEMU allowing for a completely automated boot up when using qemu-xilinx. Note the patch in this change is not acceptable for upstreaming in its current form. The upstream maintainer would however accept a similar change that uses FIT instead of individual components. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* u-boot-xlnx: Update to xilinx-v2016.4 releaseNathan Rossi2017-02-161-3/+2
| | | | | | | | | Update the u-boot-xlnx recipe to the xilinx-v2016.04 release. Note that this changes the naming convention for the .bb file, this has no affect on the value of PV since it is specified in the recipe itself. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot_*.bbappend: Change u-boot bbappend to wildcardNathan Rossi2017-02-011-1/+1
| | | | | | | | This append no longer provides patches and only includes the platform init injection support. As such this append can apply generally to 'u-boot' versions. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree: Remove zynq7-base.dtsiNathan Rossi2017-02-012-517/+0
| | | | | | | | | This include has been deprecated for two releases. It is now completely obsolete and being removed. Remove the deprecation warning message as well. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.07: Backport fix for memory corruptionNathan Rossi2016-12-214-0/+477
| | | | | | | | | Backport the dram_init* memory corruption fix, this resolves issues with some configurations where the dram_init function for zynq/zynqmp would trash non-relocated locations in memory due to the use of static variables before bss initialization. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot_2016.11: Update appends for 2016.11Nathan Rossi2016-12-145-243/+11
| | | | | | | | Update the appends for the u-boot 2016.11 recipe. Remove unneeded patches, and drop the SPL bitstream patch as it does not apply cleanly (and newer features are available in 2016.11 for FPGA loading from FIT). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.07.bb: Add kc705 patchManjukumar Matha2016-12-041-0/+2
| | | | | | | Add kc705-microblazeel patch for u-boot Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kc705-microblazeel: Update to 2016.3 Xilinx designManjukumar Matha2016-12-043-382/+331
| | | | | | | Change kc705-microblazeel to reflect v2016.3 Xilinx tools. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Handle out-of-tree buildsNathan Rossi2016-12-041-2/+3
| | | | | | | | | | Handle building where B != S, allowing for the source and build artefacts to be separated. This allows for out-of-tree building, and enabling use of EXTERNALSRC such that the build artefacts are not written into the EXTERNALSRC directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx_2016.07: Remove obsolete compiler-gcc6.h patchNathan Rossi2016-12-032-94/+0
| | | | | | | This patch is unused, and not required as U-Boot has updated to handle newer GCC compilers without the need for a separate header. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Remove older u-bootManjukumar Matha2016-12-021-31/+0
| | | | | | | Remove older u-boot version Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.07.bb: Update u-boot versionManjukumar Matha2016-12-021-0/+30
| | | | | | | Upgrade u-boot to supported 2016.07 version Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Embed Xilinx Release Version into PVNathan Rossi2016-11-231-2/+2
| | | | | | | | | | | | | | | Embed the Xilinx Release Version (aka the 'xilinx-vYYYY.X' tag) into the PV of the recipe, this makes it easier to determine which version of Xilinx's ATF is being used. Additionally change the version string to extend instead of extra data (switch the '+' to a '-' before 'xilinx...'). This removes the need for the comment on what the SRCREV points at, instead this is replaced with a XILINX_RELEASE_VERSION variable which contains the 'vYYYY.X' release string. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx: Embed Xilinx Release Version into PVNathan Rossi2016-11-233-5/+3
| | | | | | | | | | | | | Embed the Xilinx Release Version into the PV of the u-boot-xlnx recipes. This allows for easier determination of which version of u-boot-xlnx is in use and avoid any ambiguity when one or more Xilinx Release uses the same upstream u-boot version. This removes the need for the comment on what the SRCREV points at, instead this is replaced with a XILINX_RELEASE_VERSION variable which contains the 'vYYYY.X' release string. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_git.bb: Add providesManjukumar Matha2016-11-231-0/+2
| | | | | | | | | There are cases where we want different providers for ATF depending on development methodology. Having provides will enable easier switch for ATF development. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_git.bb: deploy sensible nameCyril Chemparathy2016-11-231-3/+3
| | | | | | | | | The bl31 name doesn't mean much, and we're unlikely to support other payload types on ZU+. We therefore use a more human name for the deployed images Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_git.bb: Update to v2016.3 tagManjukumar Matha2016-11-231-2/+2
| | | | | | | Update ATF to release tag xilinx-v2016.3 tag Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_git.bb: Remove package archManjukumar Matha2016-11-231-2/+0
| | | | | | | ATF Package architecture can be ARCH specific not machine specific Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zybo-linux-bd-zynq7: Update the device-tree for linux-xlnx v4.6Nathan Rossi2016-11-192-8/+9
| | | | | | | | Update the bindings where required for the v4.6 linux-xlnx kernel. These changes are incompatible with older linux-xlnx kernels due to changes in the Xilinx DRM bindings. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx: Add LICENSE field to match LIC_FILES_CHKSUMNathan Rossi2016-11-022-0/+2
| | | | | | | | The LICENSE field is no longer provided by u-boot.inc, so for the u-boot-xlnx recipes provide the expected value which matches the source. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qemu* -> *qemu-*: Rename QEMU machinesNathan Rossi2016-10-271-0/+0
| | | | | | | | | | | | | | | Rename the QEMU machines to match the <board>-<design>-<arch> convention. QEMU only machines no longer need to be named qemu*. Note for qemuzynq it is special in that it does not model a board, as such it has no board in the name being just 'qemu-zynq7'. This updates the README.md to match the new machine names. Additional update all occurrences of the qemu* machines Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* arm-trusted-firmware: Dynamically get entry addressNathan Rossi2016-10-111-3/+10
| | | | | | | | Dynamically get the entry point address for the atf.ub image from the bl31.elf based on the program headers entry point address which matches the expected entry address (aka MEM_BASE). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx-dev: Update the default revisionNathan Rossi2016-10-111-1/+2
| | | | | | Also update the default provided platform init targets. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-spl-zynq-init.inc: Enable the FORCE_PS7INIT for new U-BootNathan Rossi2016-10-111-4/+9
| | | | | | | | | | | | | | | | | | The directory structure in U-Boot for platform init files has changed in more recent versions of U-Boot. The new naming scheme uses the name of the device-tree (that is provided in U-Boot) to determine the name of the directory in board/xilinx/zynq/. This patch changes how FORCE_PS7INIT functions, such that it is a toggle instead of requiring the target directory name. FORCE_PS7INIT is changed to overwrite all the ps7_init_gpl* files in the board/xilinx/zynq/* directories. This removes the need to specify the target directory/config and also avoids any issues with the differences in names between older and newer U-Boot versions. Additionally this patch adds a [doc] string for the variable. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* device-tree: Remove old runqemu compatibility outputsNathan Rossi2016-10-111-14/+0
| | | | | | | | | Remove the symlinking of ${KERNEL_IMAGETYPE}-${DTS}.dtb for compatibility with runqemu. This is now handled with the machines QB_DTB variable. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* device-tree: Use deploy class to handle shared stateNathan Rossi2016-09-281-3/+5
| | | | | | | | | Use the deploy class and DEPLOYDIR to ensure that deploy objects are populated into the shared state cache. This ensures that the objects are also correctly populated into the output deploy directory regardless of whether the do_deploy task is executed. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kc705-bitstream: Use deploy class to handle shared stateNathan Rossi2016-09-281-2/+4
| | | | | | | | | Use the deploy class and DEPLOYDIR to ensure that deploy objects are populated into the shared state cache. This ensures that the objects are also correctly populated into the output deploy directory regardless of whether the do_deploy task is executed. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zybo-linux-bd: Use deploy class to handle shared stateNathan Rossi2016-09-281-4/+5
| | | | | | | | | Use the deploy class and DEPLOYDIR to ensure that deploy objects are populated into the shared state cache. This ensures that the objects are also correctly populated into the output deploy directory regardless of whether the do_deploy task is executed. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* platform-init: Replace files to file in LIC_FILES_CHKSUMSujith Haridasan2016-09-101-1/+1
| | | | | | | | Replace files:// to file:// in LIC_FILES_CHKSUM Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Create and deploy the "atf.ub" fileMike Looijmans2016-07-231-0/+3
| | | | | | | | | To boot with the firmware loaded, we need the binary packaged as a u-boot image. Add the extra step to do so and output the file that u-boot SPL expects to find on the SD card. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>