aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-08-14machine-xilinx-qemu: Refer to the standard helper then use PREFERRED_PROVIDERMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-08-14qemuboot-xilinx: Allow machine to override defaultsMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-08-14meta-microblaze: toolchainsMark Hatle
Resync the microblaze toolchain items to match the latest YP master version. binutils and gdb are based on the same patch set, but the release version are based on slightly different sources, thus the patches are a bit different. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-08-14qemu: Enable microblaze support to qemu buildsMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-08-14meta-microblaze: Rename recipes-microblaze to match oe-coreMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-08-14Move microblaze specific items to new meta-microblaze layerMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-08-13local.conf.sample: PMU_ROM to use pmu-rom.elf from /proj/yoctoSai Hari Chandana Kalluri
Users have to manually copy pmu-rom.elf to DEPLOY_DIR when using runqemu. Enable PMU_ROM line within local.conf to use pmu from /proj/yocto/pmu-rom/ Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-13machine-xilinx-qemu.inc: Specify PREFERRED_PROVIDER for qemuSai Hari Chandana Kalluri
Set default PREFERRED_PROVIDER for qemu as qemu-xilinx within machine-xilinx-qemu.inc. This eliminates the need to use PNBLACKLIST within local.conf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11linux-yocto-xilinx.inc: Remove reference to xilinx-kmetaSai Hari Chandana Kalluri
xilinx-kmeta is no longer maintained. Clean up all references to kmeta in yocto recipes Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11xilinx-kmeta: Remove xilinx-kmeta stale config fragmentsSai Hari Chandana Kalluri
Remove unused locally maintained xilinx-kmeta config fragments. Use all fragments from upstream yocto-kernel-cache Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11hdmi-module: pull from upstream yocto-kernel-cacheSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11upstream overlay config fragmentsSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11uio.scc: Remove stale config filesSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11Upstream v4l2-xilinx config fragments and update zybo-linux-bd to use ↵Sai Hari Chandana Kalluri
fragment from kernel-cache Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11kc705-microblazeel-features.scc: Pick config fragments from upstream kmetaSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11Upstream zybo-linux-bd-zynq7 config fragment to YP kernel-cacheSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11mipi-config-ultra96 - upstream mipi configs to YP kernel-cacheSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11README.md: Update maintainers listSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11qemu-xilinx*: Upgrade qemu-xilinx from 4.15->5.0Sai Hari Chandana Kalluri
Upgrade qemu-xilinx to v5.0; Track latest QEMU updates from QEMU/master Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11Assign a proper SD device to SDBOOTDEV variable.Adrian Fiergolski
In case two SD controllers are used, the user can define a proper SDBOOTDEV variable in the machine configuration. Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-08-11ZynqMP+: Use a proper SD device in U-Boot scripts (uEnv, scr).Adrian Fiergolski
It fixes the u-boot scripts in case a ZynqMP+ SoC comes with two SDHCI controllers. It requires a proper enumeration in the U-Boot Device tree, i.e. mmc0 = &sdhci0; mmc1 = &sdhci1; not mmc0 = &sdhci1; mmc1 = &sdhci0; The second enumeration being a workaround (always boot from mmc0), is not required anymore as u-boot for ZynqMP+ defines 'sdbootdev' environment variable. Moreover, the proper enumeration allows to select proper block device (mmcblk0p2 vs mmcblk1p2) passed as 'root' parameter to kernel. Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-08-11Fix CONFIG_PMUFW_INIT_FILE extension.Adrian Fiergolski
The solution with the relative path doesn't work if devtool is involved: getVar returns value of S variable before it gets overwritten by devtool recipe which cause compilation failure. The solution is to use absolute path to the pmu firmware. Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-08-11Modified image-wic-utils to strip whitespace from entries in IMAGE_BOOT_FILES.Toby Gomersall
2020-08-11linux-xlnx: perf: Make perf able to build with latest libbfdSai Hari Chandana Kalluri
libbfd has changed the bfd_section_* macros to inline functions bfd_section_<field> since 2019-09-18. See below two commits: o http://www.sourceware.org/ml/gdb-cvs/2019-09/msg00064.html o https://www.sourceware.org/ml/gdb-cvs/2019-09/msg00072.html Backport commit from mainline to make perf be able to build with both old and new libbfd. Fixes errors: <builddir>/perf/1.0-r9/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/10.1.0/ld: <builddir>/perf/1.0-r9/perf-1.0/perf-in.o: in function `find_address_in_section': | /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:200: undefined reference to `bfd_get_section_flags' | <builddir>/perf/1.0-r9/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/10.1.0/ld: /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:204: undefined reference to `bfd_get_section_vma' | <builddir>/perf/1.0-r9/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/10.1.0/ld: /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:205: undefined reference to `bfd_get_section_size Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11u-boot-xlnx.inc: Explicitly set builddir pathSai Hari Chandana Kalluri
Previous Yocto releases, builddir path was set in u-boot.inc within poky layer. Since u-boot-xlnx.inc inherits u-boot.inc, makefile configures and compiles u-boot-xlnx in a build directory ( set by B) that is not the source directory. In Dunfell, build directory path is moved from u-boot.inc to u-boot-common.inc which is not inherited in u-boot-xlnx recipes. As a result, during the build, makefile configures and compiles u-boot-xlnx from source directory resulting in the following error: tmp/work/zcu102_zynqmp-xilinx-linux/u-boot-xlnx/v2020.01-xilinx-v2020.1+gitAUTOINC+86c84c0d0f-r0/git is not clean, please run 'make mrproper' To fix the error, set builddir path (B) explicitly within u-boot-xlnx.inc Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11qemu-devicetrees: Use python3 instead of pythonSai Hari Chandana Kalluri
Makefile contains references to python2 instead of python3. As a result qemu-devicetrees compilation fails during buildtime. Fix by patching the makefile to use python3. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11python3-dtc_1.5.1.bb: Explicitly set the path to run make during configureSai Hari Chandana Kalluri
With current recipe,during build it fails with the following error: xecuting Tasks ERROR: python3-dtc-native-1.5.1-r0 do_configure: Execution of 'x86_64-linux/python3-dtc-native/1.5.1-r0/temp/run.do_configure.26600' failed with exit code 1: make: *** No rule to make target 'version_gen.h'. Stop. WARNING: x86_64-linux/python3-dtc-native/1.5.1-r0/temp/run.do_configure.26600:1 exit 1 from 'do_configure' ERROR: Logfile of failure stored in: x86_64-linux/python3-dtc-native/1.5.1-r0/temp/log.do_configure.26600 Explicitly set the path to change directory into so that the make command is succesful. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11qemu-xilinx.inc: Add patch to enable/disbable libudev in qemu configureSai Hari Chandana Kalluri
Yocto qemu provides support for libudev through packageconfig and provides a patch to modify qemu configure to handle libudev packageconfig options. Since qemu-xilinx doesnt contain this patch qemu-xilinx configure gets passed libudev packageconfig option and qemu-xilinx configure fails with invalid option. Add the patch from Yocto qemu to handle libudev configure options correctly. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11meson_%.bbappend: Remove bbappend from layerSai Hari Chandana Kalluri
Meson bbappend includes a patch that adds microblaze family to the envconfig during mesonbuild.The patch is upstreamed and no longer needed in the layer. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11libgloss, newlib: Upgrade version from 3.1 -> 3.3Sai Hari Chandana Kalluri
Upgrade newlib and libgloss version from 3.1 to 3.3 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11gcc-9*: Upgrade gcc from 9.2->10.1Sai Hari Chandana Kalluri
Upgrade microblaze recipes to use gcc-10 instead of gcc-9. This patch only ensures the builds are not broken It doesnt validate the gcc-microblaze functionality Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11libmali-xlnx: Inherit features_check instead of distro_features_checkSai Hari Chandana Kalluri
distro_features_check is deprecated in dunfell, use features_check instead Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11qemu-xilinx-native.inc: Fix the patch file names for dunfellSai Hari Chandana Kalluri
Fix patch file names for dunfell Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-08-11layer.conf: Set layer compat to dunfell & gatesgarthSai Hari Chandana Kalluri
Set layer compat to dunfell and gatesgarth Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-07-27Revert "machine-xilinx-default.inc: Add device-tree to ↵Jaewon Lee
MACHINE_ESSENTIAL_EXTRA_RDEPENDS" This reverts commit ee6d2b039501f63098831bbff141a9d1ef1ae645. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
2020-07-24machine-xilinx-default.inc: Add device-tree to MACHINE_ESSENTIAL_EXTRA_RDEPENDSRaju Kumar Pothuraju
Adding device-tree to MACHINE_ESSENTIAL_EXTRA_RDEPENDS for all xilinx machines, this will install dtb/dtbo files into the rootfs. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-07-15lopper: update to work with upstreamBen Levinsky
Update lopper to work with upstream as follows: - use latest commit - update do_install such that only relevant files are installed, not dependency mgmt related artifacts as yocto otherwise handles this Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
2020-07-13gcc: Fix microblaze SDK toolchainMark Hatle
Issue: CR-1069415 Issue: CR-1069801 Linux based SDK toolchains need to disabled multilib support, similar to the existing 0004-64-bit-multilib-hack.patch from OE. This will fix compiling C++ applications, as well as potentially other multilib header and library issues. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-07-08xilinx-standalone.conf: Switch default from -Os to -O2Mark Hatle
Based on performance measurements as well as recent presentations at ELC it is believed the correct default should always be -O2. -Os should only be selectively used per module instead of default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-06-26vck5000-versal.conf: Add support for vck5000-versal machineSai Hari Chandana Kalluri
Machine support for versal targetting the vck500 Alveo evaluation card Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-06-25meta-xilinx-bsp: binutils: Fix microblaze compilationMark Hatle
In some situations the microblaze patches will be enabled for the binutils-native compilation. Fix a compilation issue related to a change in the way the md_pseudo_table structure definition has changed. | ../../gas/config/tc-i386.c:1155:20: error: conflicting types for ‘md_pseudo_table’ | const pseudo_typeS md_pseudo_table[] = | ^~~~~~~~~~~~~~~ | In file included from ../../gas/as.h:565:0, | from ../../gas/config/tc-i386.c:28: | ../../gas/tc.h:25:21: note: previous declaration of ‘md_pseudo_table’ was here| extern pseudo_typeS md_pseudo_table[]; | ^~~~~~~~~~~~~~~ To support binutils-native on other host types, such as aarch64 a similar patch is likely needed for those types as well. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-06-25meta-xilinx-standalone: microblaze_dtb fix config genMark Hatle
The configuration generation had a typo in 'divide-hard'. Fixed a logic error with '!' table operator. Before fpu-soft was effectively always on, even when it shouldn't be. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-06-23meta-xilinx-bsp: binutils: Update microblaze binutilsMark Hatle
Issue: ER-7742 Merge code related to CR-1065984. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-06-09kernel-module-hdmi: Update license checksumSai Hari Chandana Kalluri
Update license checksum for kernel-module-hdmi Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-06-09linux-xlnx: Add kmeta for hdmi-module compilation for versalSai Hari Chandana Kalluri
Add hdmi-module kernel config fragments to enable sound, I2C for versal boards. This is needed to compile kernel-module-hdmi. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-05-22xrt_git:zocl_git: update commitid for 2020.1 releaseHimanshu Choudhary
CR-1063204 Update commit id for 2020.1 release Signed-off-by: Himanshu Choudhary <hchoudha@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-05-21xrt_git:zocl_git: update commitid for 2020.1 releaseHimanshu Choudhary
CR-1063204 Signed-off-by: Himanshu Choudhary <hchoudha@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-05-20kernel-module-hdmi: Update commit id and license md5sum for 2020.1Vishal Sagar
Update the commit id and md5sum of LICENSE.md for 2020.1 release. The external github repo is updated to have same commits as internal git repo. The LICENSE.md md5sum has changed due to whitespace being removed. Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-05-20lopper: Fix python3 reference in lopper_sanity.pyMark Hatle
Issue: CR-1065813 To avoid an error about requiring /usr/bin/python3, we need to move lopper_sanity.py to also invoke it using /usr/bin/env python3. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-05-20xrt_git:zocl_git: updated commitid > CR-1063204Himanshu Choudhary
Signed-off-by: Himanshu Choudhary <hchoudha@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>