aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)Author
2019-01-18glib-2.0, udev-hw_db: disable postinstall hooksAwais Belal
GIO modules and udev's hw_db requires postinstallation hooks which fail due to current tools not supporting qemu execution on AMD builds. So, such hooks are deferred to first-boot which in case of swupdate is not possible as the rootfs is read-only. Simply disable these postinstall hooks. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-17Merge pull request #596 from abelal/minor_fixesWade Farnsworth
Minor fixes
2019-01-17amd-common-configurations: fix MACHINE_FEATURES manipulationAwais Belal
Not using immediate expansion causes circular dependencies in some cases so avoid such issues while depending on EXTRA_IMAGE_FEATURES. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-17amd-common-configurations: drop syslinux supportAwais Belal
We do not support legacy boots so using syslinux does not make any sense at the moment and dropping such metadata would allow easier maintenance. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-11Merge pull request #594 from abelal/dockerWade Farnsworth
linux-yocto_4.14: enable configurations to support docker
2019-01-10Revert "common/conf: remove vmlinux from KERNEL_IMAGETYPES..."Arsalan H. Awan
This reverts commit 570b7302369a337111cb247cebe19e0ec0e47ccb as it is fixed in meta-mentor->sumo: 922ef38be26e22b98a15388f66fa0d2770d50cc0 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-01-04linux-yocto_4.14: enable configurations to support dockerAwais Belal
This enables kernel configurations to be able to support the virtualization feature, the goal for now is to simply support docker not the whole virtualization layer. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-02linux-yocto: update eMMC patches for the common layerAwais Belal
The earlier patchset is not as stable and we've seen issues with it on different revisions of the v1000 target hardware. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-12-21linux-yocto_4.14: enable basic driversAwais Belal
Most of our BSPs require these drivers and they have been part of earlier releases so enabling them for the new kernel makes the most sense. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-12-19eject: fix build with glibc 2.28+Awais Belal
This is essentially a backport of http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/eject?id=00eb88d1ce5c53d02b5a9a70af09f2e714e5234e Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-12-18gzip: fix build with glibc 2.28+Arsalan H. Awan
This is a backport from oe-core master and is required for mel-lite as it uses gcc8.2 based on glibc 2.28 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-12-03common/conf: remove vmlinux from KERNEL_IMAGETYPES to reduce img sizeArsalan H. Awan
MEL adds vmlinux to KERNEL_IMAGETYPES which ends up in the rootfs of the image being built where it is not needed by us, and as a side-effect, it results in increasing the size of the image by a considerable amount. Therefore we do this change, and we'll remove it from here once fixed in MEL. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-28grub-efi: add efibootmgr as a runtime dependencyAwais Belal
This was earlier fixed in fcfe5490920de9c9b62c7ec106fe1a731d0b2061 but we lost the change while cleaning up our repositories thinking that it was already submitted upstream. efibootmgr is an actual runtime dependency for grub-efi. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-27Merge pull request #586 from abelal/4.14-commonWade Farnsworth
Move 4.14 patches to common
2018-11-27common/linux-yocto: separate out AMD eMMC patchesAwais Belal
Just like we've bisected for the XGBE fragment, this now allows the eMMC patches to be overriden from other BSPs which want to modify/drop the fragment. We're dropping the fragment name from the snowyowl layer SRC_URI because the common append now provides it already. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-27common/linux-yocto: separate out AMD XGBE patchesAwais Belal
Separate out XGBE patches from the GPU patches fragment. We apply this on all the BSPs and any BSP that wants to override the fragment can simply provide the same named fragment from its own layer. We're dropping the fragment name from the snowyowl layer SRC_URI because the common append now provides it already. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-24linux-yocto: move v1000 patches to commonAwais Belal
These patches apply to other BSPs as well which utilize the amdgpu driver so move these to common. There are patches against XGBE and other peripherals in the same list which will be split in the upcoming commits so BSPs not requiring the subsets can modify or drop the fragments as needed. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-20mentor-industrial: drop unneeded fragmentsAwais Belal
We're not supporting the MEL add-on anymore. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-16Merge pull request #583 from ArsalanHAwan/wic-optimizationWade Farnsworth
Wic Optimizations
2018-11-15wic/amd-usbimage.wks: reduce image sizeArsalan H. Awan
This cuts down the unnecessary free space in the image by setting the --overhead-factor to 1.0, therefore reduces the image size of amd-usbimage.wks & makes it easier to handle while transferring or flashing to a USB etc. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-15wic/amd-usbimage.wks: set appropriate label considering other DISTROsArsalan H. Awan
This changes the partition label of amd-usbimage.wks wic image from "mel-live" to the default "boot", therefore makes it suitable to be used for MEL as well as open yocto (or other) DISTROs. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-15mini-x-session: do not force a display sizeAwais Belal
The mini-x-session forces a display size of 1024x768 which is way too low where our platforms support 4k displays. Simply remove the forcing of the display size from the session manager so the maximum is picked up automatically. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-14mesa: drop unused patchesAwais Belal
Although the patches were removed from SRC_URI during the upgrade process the actual patch files were left behind. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-14common: drop all the 4.9 kernel metadataAwais Belal
None of the BSPs are currently based on the 4.9 kernel so drop the common metadata as well. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-13Merge pull request #579 from abelal/mpv_updatesWade Farnsworth
MPV updates
2018-11-13mpv: upgrade to 0.28.2Awais Belal
This upgrades mpv to 0.28.2 which is the stable version of the first release that works with libva 2.x which is what we're supporting now. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-13ffmpeg: upgrade to 4.0.2Awais Belal
We need to upgrade ffmpeg to satisfy the upgrade of mpv which in turn is required for the libva upgrade. This is backported from the oe-core master branch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-13mpv: additionally depend on libva-x11Awais Belal
MPV also needs to depend on our libva-x11 stub package in order to pick up all the configurations correctly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-13libva-utils: depend on libva-x11 additionallyAwais Belal
libva-utils requires x11 components explicitly which we have split out for taking care of a circular dependency between mesa and libva. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-13libva: upgrade to 2.1.0Awais Belal
This upgrades the libva integration to 2.1.0 while updating mesa and gstreamer1.0-vaapi to use the new created mechanism for circular dependency resolution between mesa and libva. These changes cannot be split for the same reason. The new dependency chain is libva-x11 -> mesa -> libva. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-12xf86-video-amd: upgrade to 18.0.1 for amdgpuAwais Belal
This upgrades the amdgpu component of the xf86-video-amd to 18.0.1. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-12mesa: upgrade to 18.1.1Awais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-08common/IMAGE_FSTYPES: drop "hddimg" in favor of "wic"Arsalan H. Awan
This drops hddimg support as the functionality offered by this is also available through the wic image "amd-usbimage.wks" which is enabled as a default wic image. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-08common: add wic images supportArsalan H. Awan
This adds support for wic images for AMD BSPs by adding "wic" to IMAGE_FSTYPES. This commit also creates a "amd-usbimage.wks" file as a default wic image for AMD BSPs, which uses the bootimg-partition wic source plugin to create a bootable image. The contents of this image can be set via IMAGE_BOOT_FILES variable. This commit populates the image with the files same as in hddimg, therefore supports both grub EFI boot and syslinux legacy boot. The IMAGE_BOOT_FILES variable can be overridden to support any bootloader such as: systemd, or any other files that are required to be deployed into the wic image can be added here. This resulting image can be flashed on a USB, and supports both "boot" and "install" options in the bootloader menu. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-08common: refactor IMAGE_FSTYPES for "hddimg" and "iso" supportArsalan H. Awan
IMAGE_FSTYPES "live" is enabled by default in oe-core which is responsible for building live images i.e. "iso" & "hddimg". We need to specify which ones to build and which not using NOISO and NOHDD vars because NOISO = "1" by default, so "iso" doesn't get built even if specified explicitly (See commit c787dcd in oe-core). This commit sets the standard NOISO and NOHDD vars as well for "hddimg" and "iso" support, while keeping in consideration the Toaster support as Toaster build artifacts collection mechanism depends on the IMAGE_FSTYPES variable to specify the image types explicitly (See commit a5b1aa4). Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-10-31kernel : add support for v4.14.71Chaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <chaudharyamit.kumar@amd.com>
2018-10-22Merge pull request #566 from abelal/glibc_updates_mel_liteWade Farnsworth
MEL Lite: glibc updates for various packages
2018-10-18dpdk: drop changes that are merged upstreamArsalan H. Awan
This drops the do_compile override which was done to support build with external & multilib toolchains as it is merged upstream now. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-10-17snowyowl/dpdk: set DPDK_TARGET_MACHINE to align with target's ARCHArsalan H. Awan
The -march flag used in compilation of DPDK defaults to an Intel specific machine i.e. "corei7", whereas snowyowl's arch is different. It is required by DPDK to set the var DPDK_TARGET_MACHINE accordingly. This sets the DPDK_TARGET_MACHINE (effectively fixes -march flag) according to target's ARCH i.e. znver1, which is one of the supported architectures in DPDK. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-10-17numactl: fix build with glibc 2.28+Awais Belal
This is an upstream backport required for MEL Lite which is based on glibc 2.28. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16Merge pull request #565 from abelal/fUpdateWade Farnsworth
amd-features/common-configs: consolidate further
2018-10-16m4/m4-native: fix build with glibc 2.28+Awais Belal
Fixes build with glibc 2.28+ with a backport from oe-core master. MEL lite is based on gcc8.2 which in turn requires glibc 2.28 hence the fix is needed here conditionally. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16bison: fix build with glibc 2.28+Awais Belal
This backports a fix from oe-core master in order to fix the build for mel lite which is based on the glibc 2.28. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16hdparm: fix build with glibc 2.28+Awais Belal
This backports fixes from mainline hdparm in order fix build with glibc 2.28+, needed for mel lite. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16libunistring: fix build with glibc 2.28+Awais Belal
This is essentially a backport from oe-core master and required for mel-lite as it uses gcc8.2 based on glibc 2.28 Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16ppp: fix build with glibc 2.28+Awais Belal
This modifies ppp to use openssl for crypt in order to fix build with glibc 2.28+ otherwise many different failures are seen. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16coreutils: fix build with glibc 2.28+Awais Belal
This backports a patch from coreutils 8.30 which fixes the build with glibc 2.28+ tools. Needed for mel lite. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-16grub/grub-efi: fix build with gcc8+Awais Belal
This is actually a backport from upstream oe-core as the mentioned fix is not available for sumo and mel lite will be using gcc8. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-15amd-features/common-configs: consolidate furtherAwais Belal
The x11 machine feature is now only broadcasted when user is looking for graphics through EXTRA_IMAGE_FEATURES. Additionally refine the feature packages in a way such that a subset of multimedia can be used even when graphics is not included as a feature. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-15dpdk: upgrade to latest stable release 18.02.2Arsalan H. Awan
This upgrades DPDK to the latest stable release v18.02.2 according to upstream meta-dpdk -> sumo Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>