summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha2017-12-137-305/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-spl-zynq-init.inc: Add virtual/boot-bin providerNathan Rossi2017-12-041-2/+19
| | | | | | | | | | | | | | | | | | | | | | Add back the PROVIDES for virtual/boot-bin and additionally improve the logic that enables the provide so that U-Boot can be built without providing virtual/boot-bin. In order for the u-boot recipe to provide virtual/boot-bin for Zynq and ZynqMP targets the selected provider for virtual/boot-bin must be the current u-boot (e.g. u-boot or u-boot-xlnx) or the provider must be unset. When u-boot provides virtual/boot-bin it is only enabling the deployment of boot.bin. In cases where it is not the provider it forcibly prevents the deployment of boot.bin. This ensures that the platform-init files are still provided even if SPL is not used for the boot.bin. Additionally for ZynqMP if u-boot is not providing the boot.bin do not depend on virtual/pmu-firmware. Since the boot.bin is what contains the pmu binary. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx: provide overrideable repo/branch plumbingManjukumar Matha2017-12-041-1/+3
| | | | | | | | With these patches, top level component selection configuration can now easily override u-boot-xlnx source repositories and branches. Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx_2017.3: Fix QEMU SD boot partition setupNathan Rossi2017-11-212-0/+37
| | | | | | | | | Add a patch to fix the SD boot partition setup for QEMU targets such that instead of QEMU being special it defaults to the same behaviour as silicon/etc. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx.inc: For ZCU102 populate u-boot-spl.binNathan Rossi2017-11-211-0/+5
| | | | | | | | | u-boot-spl.bin is used for runqemu execution since boot.bin has a header it cannot be loaded such that the boot.bin image content is at its load address. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-zynq-uenv.bb: Rework into python task and support ZynqMPNathan Rossi2017-11-211-31/+63
| | | | | | | | | | | | | | | | | | Rework the do_compile from shell appends into a python task such that special string content ('${..}' of u-boot environment vars) can be handed cleanly. Additionally rework some variables such that they can be overridden for zynq/zynqmp specific values, as well as allowing custom overrides to e.g. bootargs. This also adds support for differing image load types include Image (arm64), zImage, fitImage and the existing uImage. The u-boot cmd (boot*) is automatically selected depending on the type of KERNEL_IMAGETYPE. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update recipes for Xilinx v2017.3 releaseNathan Rossi2017-11-212-47/+4
| | | | | | | | | | | | Update the arm-trusted-firmware, pmu-firmware, u-boot-xlnx, linux-xlnx, qemu-xilinx and qemu-devicetrees recipes for to the 'xilinx-v2017.3' release tags. Drop/update existing patches where applicable. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-spl-zynq-init.inc: Add ZynqMP PMU binary input supportNathan Rossi2017-11-211-0/+8
| | | | | | | | | Add support to provide the path of the PMU firmware to the U-Boot build via the CONFIG_PMUFW_INIT_FILE config so that the binary can be embedded into the boot.bin output where support is available (e.g. u-boot-xlnx). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-spl-zynq-init.inc: Use task and rework logicNathan Rossi2017-11-212-35/+36
| | | | | | | | | | | | | | | | | | | | | | | | Change the include so that is adds a task for platform-init setup when required. This avoids the need to modify the do_configure task which prevents changes to its taskhash and avoids issues with taskhash modification when the meta-xilinx layer is added but no configuration is changed or used from it. Improve the logic around how configs are detected such that UBOOT_MACHINE can specify either the make target or the defconfig file name (e.g. *_config or *_defconfig). U-Boot and u-boot.inc accept both targets as valid configs since the values are passed directory to U-Boot's kbuild/kconfig. This change also drops compatibility with the older variable names HAS_PS7INIT and FORCE_PS7INIT. Additionally the 'virtual/boot-bin' provide logic was broken in most cases since SPL_BINARY = "spl/boot.bin", so remove it. Clean up use of tabs in python. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx.inc: In certain cases the 'bc' command is neededNathan Rossi2017-10-181-1/+1
| | | | | | Add bc-native as build time dependency Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* Drop Xilinx v2016.x release recipesNathan Rossi2017-10-186-1612/+0
| | | | | | | | | | | | | These recipes were primarily kept to make the transition for ZynqMP from Non PMU Firmware to PMU Firmware easier for users. However these releases are now outdated (by at least a year) and users should have already transitioned or sorted out a long term strategy if not. This change also drops any patches that were only used/available for these recipes. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com>
* 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>
* 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>
* 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>
* 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>
* 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-041-366/+275
| | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* Add GCC6 patch for compiler-gcc6.h file missingManjukumar Matha2016-07-171-0/+92
| | | | | | | | Copy compiler-gcc5.h as compiler-gcc6.h to fix compilation error This is a temporary fix till Xilinx u-boot gets updated Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Add patch for GCC 6Manjukumar Matha2016-07-161-0/+2
| | | | | | | Include the patch to fix compilation error due to missing header file Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Update tag to v2016.2Manjukumar Matha2016-07-161-2/+2
| | | | | | | Update Xilinx u-boot to xilinx-v2016.2 tag Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Add KC705 definitionsManjukumar Matha2016-05-131-0/+2
| | | | | | | Patch uboot for KC705 board kit design Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kc705-microblazeel: Add u-boot patch for KC705Manjukumar Matha2016-05-131-0/+1156
| | | | | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* kc705-trd-microblazeel: Remove kc705-trd filesManjukumar Matha2016-05-131-656/+0
| | | | | | | Remove old kc705-trd reference Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Remove kc705-trdManjukumar Matha2016-05-131-2/+0
| | | | | | | Remove old kc705-trd reference Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-spl-zynq-init.inc: Add variable to trigger platform overwritingNathan Rossi2016-05-031-3/+8
| | | | | | | | | Add the "FORCE_PS7INIT" variable to overwrite the targeted platform with the machines preferred platform-init provider. This allows for reference designs to override the platform-init for boards with existing support in U-Boot without having to modify U-Boot configuration. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot_2016.03: Add SPL load bitstream and uEnv.txt supportJason Wu2016-05-033-0/+200
| | | | | | | | | | Adds two patches that supports the follows: - SPL loading bistream support - Loading uEnv.txt via MMC or USB and enable u-boot to load uEnv.txt from MMC when set to MMC boot mode. Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: v2016.1 release tagManjukumar Matha2016-05-031-2/+2
| | | | | | | Xilinx u-boot is tagged for release v2016.1 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx: Depends on native dtcCyril Chemparathy2016-04-131-0/+2
| | | | | | | | Updates in upstream u-boot now require the device tree compiler for u-boot builds. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot_2016.03: Configure picozed to use the custom ps7_initNathan Rossi2016-03-312-0/+32
| | | | | | | Add a patch for u-boot so that the picozed target uses the ps7_init that is provided in the custom_hw_platform/ directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot_2016.03: Zynq SPL ps7_init supportNathan Rossi2016-03-311-0/+11
| | | | | | | Add support for u-boot 2016.03 to inject the ps7_init files from platform-init providers. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx: Update to pre-release xilinx-v2016.1Nathan Rossi2016-03-314-616/+579
| | | | | | | | | | Update the recipe to the current master of u-boot-xlnx vendor tree, in preparation for the xilinx-v2016.1 release. Update the KC705 configuration patch and remove upstreamed patches for MicroBlaze. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zedboard-zynq7: Switch over to in kernel device treeNathan Rossi2016-03-061-1/+1
| | | | | | | | | | | * Switch to the device tree that is available in the kernel source tree * Remove the in layer device tree and configuration for the in layer device tree * Setup IMAGE_BOOT_FILES with the correct target device tree from the kernel source/recipe * Setup U-Boot uEnv.txt to use the correct target device tree Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zc702-zynq7: Switch over to in kernel device treeNathan Rossi2016-03-061-1/+1
| | | | | | | | | | | * Switch to the device tree that is available in the kernel source tree * Remove the in layer device tree and configuration for the in layer device tree * Setup IMAGE_BOOT_FILES with the correct target device tree from the kernel source/recipe * Setup U-Boot uEnv.txt to use the correct target device tree Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-extra.inc: Retire use of this configuration frameworkNathan Rossi2016-01-062-53/+0
| | | | | | | | | This is only used by MicroBlaze targets for U-Boot, and due to U-Boot moving to Device Model this is no longer sufficent to configure U-Boot. Instead support for MicroBlaze must be added by patches to U-Boot with partial DM and xparameters support. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2015.04: Drop this versionNathan Rossi2016-01-065-273/+0
| | | | | | | Newer version of u-boot-xlnx superseeds this version. Also remove any patches which are only needed by this version of u-boot-xlnx. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>