aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-03-31device-tree/microzed-zynq7.dts: Replace with kernel source versionmortyNathan Rossi
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>
2017-02-02linux/config: Add "CONFIG_USB_ULPI" for zynq7Nathan Rossi
Some boards use USB PHYs that need to be communicated with via ULPI. Enable CONFIG_USB_ULPI. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-27u-boot-xlnx_2016.07: Backport fix for memory corruptionNathan Rossi
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>
2016-12-27linux-yocto_4.8: Resolve CONFIG_DEBUG_RODATA for ZynqNathan Rossi
This patch resolves a previous commit (ea4ca65aaf) which only mitigated the issue caused due to CONFIG_DEBUG_RODATA for Zynq. This issue has been properly fixed in the next version of the kernel (v4.10) and this change backports the patch to the v4.8 kernel for linux-yocto(-tiny). Additionally this change removes the forced disabling of CONFIG_DEBUG_RODATA allowing for Zynq platforms to use the feature without issue. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-14README.booting.md: Add info about u-boot-spl.binNathan Rossi
Add information about extracting the u-boot-spl.bin from boot.bin with the use of 'dd' to strip the boot.bin header. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-04u-boot-xlnx_2016.07.bb: Add kc705 patchManjukumar Matha
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>
2016-12-04kc705-microblazeel: Update to 2016.3 Xilinx designManjukumar Matha
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>
2016-12-04arm-trusted-firmware: Handle out-of-tree buildsNathan Rossi
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>
2016-12-03u-boot-xlnx_2016.07: Remove obsolete compiler-gcc6.h patchNathan Rossi
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>
2016-12-02u-boot-xlnx_2016.01.bb: Remove older u-bootManjukumar Matha
Remove older u-boot version Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-02u-boot-xlnx_2016.07.bb: Update u-boot versionManjukumar Matha
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>
2016-12-02machine-xilinx-default.inc: Add XSERVERManjukumar Matha
Add X org X server configurations, armsoc driver for zynqmp Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-01glibc: Fix up MicroBlaze pt-vfork compat symbolsNathan Rossi
A bug has been present in glibc for a while where a symbol is emitted in libpthread.so which is corrupt. Whilst previously this has not been an issue due to how binutils has handled it, recent binutils behaviour has changed enough to make this bug surface as a linker error. Depending on the host (behaviour and native dependencies) the cross binutils that is built may emit different values for the corrupt symbol. This appears as an error similar to the following when linking against libpthread.so (e.g. librt links against libpthread in glibc): invalid string offset 1843814912 >= 4913 for section `.dynstr' This patch fixes up the symbols emitted for libpthread.so without breaking any libpthread or libc ABI. See the glibc patch for more specifics. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-12-01qemu-xilinx: Embed Xilinx Release Version into PVNathan Rossi
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 QEMU is being used. 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> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
2016-11-23arm-trusted-firmware: Embed Xilinx Release Version into PVNathan Rossi
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>
2016-11-23u-boot-xlnx: Embed Xilinx Release Version into PVNathan Rossi
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>
2016-11-23linux-xlnx: Embed Xilinx Release Version in PV and EXTENSIONNathan Rossi
Embed the Xilinx Release Version into the PV of the linux-xlnx recipes. This allows for easier determination of which version of linux-xlnx is in use and avoid any ambiguity when one or more Xilinx Release uses the same upstream kernel 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. This change sets the LINUX_VERSION_EXTENSION with the release version so that the kernel is compiled with the version in 'CONFIG_LOCALVERISON', this results in the kernel having the Xilinx Release Version embedded in its version which can be seen using uname or during boot: $ uname -sr Linux 4.6.0-xilinx-v2016.3 Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-23arm-trusted-firmware_git.bb: Add providesManjukumar Matha
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>
2016-11-23arm-trusted-firmware_git.bb: deploy sensible nameCyril Chemparathy
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>
2016-11-23arm-trusted-firmware_git.bb: Update to v2016.3 tagManjukumar Matha
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>
2016-11-23arm-trusted-firmware_git.bb: Remove package archManjukumar Matha
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>
2016-11-23kernel-module-mali: remove unused trace macrosYasir-Khan
Based on https://patchwork.kernel.org/patch/6150651/ https://github.com/Xilinx/linux-xlnx/commit/dadb5e41f28f9619debc9aae4ae543aa1dcd5be8 Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-19zybo-linux-bd-zynq7: Update the device-tree for linux-xlnx v4.6Nathan Rossi
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>
2016-11-19linux-xlnx_4.6: Update patches for zybo-linux-bd-zynq7 display supportNathan Rossi
Update the patches that enable the Digilent DRM encoder and clock cores. Also update the patch that fixes DPMS issues with the Xilinx DRM driver. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-19linux-xlnx_4.4: Drop this version it is supersededNathan Rossi
The v4.4/xilinx-v2016.2 version of the linux-xlnx kenrel is dropped in favour of the newer 4.6/xilinx-v2016.3 kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-19linux/config: Update and improve config fragmentsNathan Rossi
Update and add new config fragments to enable newer features that are now in the newer kernels (e.g. Zynq and ZynqMP drivers/features). This update also attempts to cover ZynqMP configuration that is normally provided by the ZynqMP defconfig in linux-xlnx, this allows for better consistency between the Zynq/ZynqMP/MicroBlaze configuration for linux-xlnx as well as enabling better configuration setup for the linux-yocto* kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-19zc706-zynq7: add missing support for ext3.Cyril Chemparathy
This seems to have been missed out at some point along the way. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-18xserver-xf86-config: Add xorg.confManjukumar Matha
Add X configuration for MPSoC Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-18xf86-video-armsoc_git.bb:Add armsoc display driverManjukumar Matha
This patch adds Xilinx ARM SOC displat driver for ZU+ boards Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-18linux-xlnx_4.6.bb: Update kernel to v2016.3 tagManjukumar Matha
This patch updates xilinx kernel to v4.6 release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-11linux/config: For Zynq hard disable CONFIG_DEBUG_RODATANathan Rossi
CONFIG_DEBUG_RODATA was switched to default yes in v4.6+ kernels. Whilst the feature works correctly it causes changes with how the kernel .head.text and .text sections are padded which allows for memory below 0x80000 (512KB) to be non-reserved and used as memory for DMA allocations which do not work on Zynq due to devices not being allowed to access DDR below 0x80000. Disabling CONFIG_DEBUG_RODATA prevents the padding between .head.text/.text. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-08qemu: Update to use the 2016.3 tagAlistair Francis
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-02feature-microblaze-*: Add Microblaze v10.0 IPManjukumar Matha
Add v10.0 IP for microblaze Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-11-02u-boot-xlnx: Add LICENSE field to match LIC_FILES_CHKSUMNathan Rossi
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>
2016-10-29linux-yocto-tiny: Add support for building linux-yocto-tiny 4.8Nathan Rossi
This adds support for building linux-yocto-tiny 4.8 kernel for the 3 main meta-xilinx architectures. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-29linux/config: Add specific dependencies that are defaulted to yesNathan Rossi
Add specific config options that are normally defaulted to yes when the kernel is configured with defaulting to yes. This allows for kernels that default no to be correctly configured. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-29linux/config: Add dependent configs for linux-xlnx ZynqMP featuresNathan Rossi
Enable config dependencies for DMA and PCI which are required for ZynqMP drivers/features. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-27qemu* -> *qemu-*: Rename QEMU machinesNathan Rossi
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>
2016-10-11linux-xlnx.inc: Use KBRANCH, setting it to "" for branchlessNathan Rossi
The linux-yocto recipe and metadata tools handle branchless source. Letting KBRANCH = "master" for nobranch checkouts is not needed any more. Change all uses of SRCBRANCH to KBRANCH and set KBRANCH to the branch or empty by default. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11linux-xlnx-dev: Remove duplicate setupNathan Rossi
The PREFERRED_PROVIDER check is already done by linux-yocto.inc, avoid doing it twice. Also linux-xlnx.inc sets the PV correctly, no need to set it again. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11arm-trusted-firmware: Dynamically get entry addressNathan Rossi
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>
2016-10-11zynqmp: Update the machines to take advantage of Xilinx's QEMUAlistair Francis
Now that their is a .bb for Xilinx's QEMU and QEMU device trees we can update the machines to ensure this is built where applicable. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11qemu-devicetrees: Build the Xilinx QEMU device treesAlistair Francis
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11qemu: Build Xilinx's QEMUAlistair Francis
Build Xilinx's QEMU in the qemu-xilinx direcotry. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11machine-xilinx-default.inc: Update default linux-yocto version to 4.8Nathan Rossi
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11gcc-source: Add MicroBlaze DWARF exception supportNathan Rossi
This resolves some issues with unwind support needed for pthread. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11gcc-source: Add patch to fix MicroBlaze ABI bugNathan Rossi
Add a patch which fixes a bug in GCC regarding the usage of the r20 and r21 registers specifically for the use in Linux. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11binutils: Fix bug in binutils for MicroBlazeNathan Rossi
Fix a regression in binutils where the "RELA" and "RELASZ" entries of the .dynamic table were incorrect set to invalid values/addresses. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11linux-xlnx-dev: Update kernel to current master version at 4.6+Nathan Rossi
Update the linux-xlnx-dev recipe to the current HEAD of master. Which is at a v4.6 kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2016-10-11machine-xilinx-default.inc: Set UBOOT_OFEMBED for u-boot-xlnx-devNathan Rossi
The u-boot-xlnx-dev version of u-boot is the same as u-boot-xlnx source, it generates with OF_EMBED=y. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>