Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Remove older u-boot version
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add X configuration for MPSoC
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
Add v10.0 IP for microblaze
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Enable config dependencies for DMA and PCI which are required for ZynqMP
drivers/features.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
This resolves some issues with unwind support needed for pthread.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|