summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha2017-12-1328-15390/+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>
* kc705-microblazeel: Updates to match v2017.3 bitstreamNathan Rossi2017-12-063-31/+25
| | | | | | | | | | | | | Update the device tree and machine configuration to match the updated bitstream. The bitstream was updated to v10.0 of the MicroBlaze core although mainline GCC does not currently support v10.0+. Additionally the design now enables divide-hard feature support. Memory and device addresses are unchanged. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kc705-bitstream_2017.3.bb: Update to v2017.3 KC705 bitstreamNathan Rossi2017-12-061-4/+4
| | | | | | | Update to the v2017.3 KC705 bitstream. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> 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>
* arm-trusted-firmware: provide reconfigurable repo/branchManjukumar Matha2017-12-041-2/+4
| | | | | | | | This commit adds the ability to override SRC_URI components individually via conf settings. Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: Add variable to override device tree padding sizeManjukumar Matha2017-12-041-0/+1
| | | | | | | | | Add DT_PADDING_SIZE variable which can override the default setting. There are instances where it is necessary to change device tree padding size. Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: Provide override device tree directoryManjukumar Matha2017-12-041-6/+9
| | | | | | | | | | Provide a way to override device tree work directory and include file directory, this might be particalarly helpful while using this recipes in other layers, for example in meta-xilinx-tools to override workdir and point it to dtg based build directory Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: Remove multiple inherit statementsManjukumar Matha2017-12-041-2/+1
| | | | | | | Merge all the inherit classes in a single line Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Remove stale FILESEXTRAPATHS_prependManjukumar Matha2017-11-301-2/+0
| | | | | | | | Remove stale FILESEXTRAPATHS_prepend definition, this is not required since we dont have any patches to hold under files directory. Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* pmu-firmware: Fix the pmu-firmware providerManjukumar Matha2017-11-291-0/+1
| | | | | | | Fix the issue while switching between different pmu-firmware providers Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.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>
* arm-trusted-firmware.inc: Deploy atf-uboot.ubNathan Rossi2017-11-211-0/+1
| | | | | | | | | This is the default name that U-Boot SPL uses to load ATF from, so it makes sense to deploy this by default instead of forcing all machines to define IMAGE_BOOT_FILES with a rename. 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-217-138/+13
| | | | | | | | | | | | 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>
* device-tree: Setup COMPATIBLE_MACHINENathan Rossi2017-11-212-0/+11
| | | | | | | | | | | | Setup COMPATIBLE_MACHINE for the device-tree recipe so that it is only available to machines that have provided sources/device-trees. The COMPATIBLE_MACHINE is defined by overrides to match any machine ('.*') which sets the targeted override. This allows for easy reuse of sources across similar machines. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree: Populate the built device tree blobs into the sysrootNathan Rossi2017-11-071-0/+2
| | | | | | | | Populate any built dtb's into the sysroot so that other recipes can use the output products. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* pmu-rom_2017.3.bb: Update to use the v2017.3 pmu-rom from ZCU102 BSPNathan Rossi2017-11-071-2/+2
| | | | | | | Update to use the v2017.3 ZCU102 BSP for pmu-rom binary. 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-187-1619/+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>
* pmu-firmware: Make the recipe provide virtual/pmu-firmwareNathan Rossi2017-10-021-0/+9
| | | | | | | | | | | | | | | Make the pmu-firmware recipe provide a non-prefixed virtual/pmu-firmware. Due to the common use of a class extender the PROVIDES variable will be remapped with the 'zynqmp-pmu-' prefix. In order to ensure the provider is always without a prefix modify the PROVIDES after the recipe has been parsed (and any class extender mapping is already processed). Additionally set the zcu102-zynqmp machine to use the virtual/pmu-firmware target and set the zynqmp-pmu-pmu-firmware recipe as the default provider. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* pmu-rom_2017.1.bb: Recipe that deploys pmu-rom.elf from ZCU102 BSPNathan Rossi2017-08-281-0/+41
| | | | | | | | | | | | | | | Add a recipe that extracts the pmu-rom.elf from the PetaLinux ZCU102 BSP. This recipe cannot fetch the BSP, but uses the xilinx-fetch-restricted class to handle error cases and providing information on how to manually fetch. This recipe is marked with the 'xilinx' license flag due to its use of content that has licensing/legal requirements. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com> Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kc705-bitstream_2016.3.bb: Update to use the PetaLinux BSP bitstreamNathan Rossi2017-08-282-44/+48
| | | | | | | | | | | | | | | | | | | | | | This recipe was never updated when the rest of the configuration was updated to be built for the PetaLinux v2016.3 BSP. This was due to download access issues which were not resolved. Instead of pointing at the old bitstream point at the download path on Xilinx's servers which is restricted by account access, and using the xilinx-fetch-restricted class to handle erroring properly and providing user instructions for fetching the BSP file. This recipe now also manually extracts the 'download.bit' from the BSP and populates it into a package as well as the deploy directory. The recipe is now marked with the 'xilinx' license flag due to its use of content that has licensing/legal requirements. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com> Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware: Update ATF patches to match mainlineAlistair Francis2017-08-272-18/+27
| | | | | | | | Update the patches that we are holding in Yocto to reflect the commits that have been accepted by the mainline ATF project. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* pmu-firmware: Create and deploy a binary firmware blobMike Looijmans2017-08-261-0/+4
| | | | | | | | | | | | The SPL based flow needs a raw firmware image instead of an ELF executable. Though probably any objcopy version can perform this, it's better to have the actual microblaze tool do the conversion, hence its inclusion in this recipe. With this addition, it is possible to create a bootloader for the zynqmp platforms based op opensource tools. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Fix a false positive out of boundsAlistair Francis2017-08-232-0/+41
| | | | | | | | | | | | | | | This error is received while building services/std_svc/psci/psci_common.c: In function 'psci_do_state_coordination': services/std_svc/psci/psci_common.c:220:27: error: array subscript is above array bounds [-Werror=array-bounds] psci_req_local_pwr_states[pwrlvl - 1][cpu_idx] = req_pwr_state; Patch 555ebb34db8f3424c1b394df2f10ecf9c1f70901 explains why the error is seen and supposibly includes a fix. As the fix appears not to work, let's disable the error checking. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware: Fix a double const build errorAlistair Francis2017-08-233-0/+33
| | | | | | | | Backport a mainline ATF patch to the Xilinx tree in order to fix the ATF build. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.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>
* 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>