aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-03-18common/gstreamer: wayland isnt supported so remove it from plugins-badArsalan H. Awan
This disables the wayland PACKAGECONFIG of gstreamer1.0-plugins-bad as we do not support wayland. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-15Merge pull request #604 from ArsalanHAwan/swu-failsafeAwais Belal
SWUpdate Failsafe Implementation
2019-03-08swupdate/amd-wdt: do not stop wdt as swupdate implementation needs itArsalan H. Awan
Mentor SWUpdate as a part of its Failsafe Update mechanism implementation requires the WDT to keep running. So lets not disable it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-08swupdate/initrdscripts: integrate amd-wdt in GRUB cfg for SWU failsafeArsalan H. Awan
This alters the init-install-efi.sh script by integrating the AMD-WDT in GRUB cfg of MEL installation to implement SWUpdate Failsafe Update mechanism. The AMD Watchdog is started as soon as a menuentry is selected by calling the setup_wdt function. It sets the WDT timeout of 60s by default which can be changed as needed. We also introduce a variable "mel_wdt" which allows user to disable the WDT in case the user is doing kernel debugging or so and wants the system to keep running. If WDT is detected to be fired & SWU was performed, then we fallback to last working state, else we do a normal boot. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-06Merge pull request #611 from smavila/sumoWade Farnsworth
Sumo
2019-03-06Merge pull request #613 from ArsalanHAwan/fix-so-bios-flashWade Farnsworth
snowyowl/spirom-test: fix BIOS flashing from userspace functionality
2019-03-06swupdate/grub: AMD Watchdog Driver & API support for GRUB cfg/consoleArsalan H. Awan
SWUpdate Failsafe Update mechanism requires watchdog timer support to detect a failed update, and to get the WDT triggered in case of a system hang for that matter. This adds AMD Watchdog Driver & Watchdog API support for GRUB allowing us to access and configure the WDT from GRUB configuration and console. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-03-06snowyowl/spirom-test: fix BIOS flashing from userspace functionalityArsalan H. Awan
When spirom-test app is used to flash the BIOS to a version other than the one that is already flashed on the board, the output says that it all went successfully, but the BIOS/system doesn't boot up after that at all. The problem is with the chiperase function as it usually takes time on other machines, but on snowyowl, it finishes the execution instantly. This fixes the issue allowing us to flash the BIOS on snowyowl using the spirom-test app. AMDDET-502 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-02-25Merge pull request #612 from abelal/systemd-gptWade Farnsworth
systemd: fix mmc device dissection
2019-02-25Merge pull request #609 from abelal/intamddet-2678Wade Farnsworth
r1000/llvm: fix QA warning
2019-02-25systemd: fix mmc device dissectionAwais Belal
The systemd gpt autogenerator dissects each device for partition information. MMC devices having special partition layout containing fixed boot0/1 and rpmb partitions cause a failure during dissection and during boot we get: systemd-gpt-auto-generator[102]: Failed to dissect: Input/output error The fix is an upstream backport. https://github.com/endlessm/systemd/pull/81 Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-25snowyowl: amd-sev and amd-ccp backports from stable kernel Q4 2018Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2019-02-25snowyowl: amd-xgbe backports from stable kernel Q4 2018Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2019-02-25Snowyowl: amd-emmc backports from stable kernel Q4 2018Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2019-02-21Merge pull request #610 from ArsalanHAwan/iot-integrationWade Farnsworth
MEL IoT Integration
2019-02-20amd-common-conf: specify MEL supported IoT packagegroupsArsalan H. Awan
This specifies the supported MEL IOT_PACKAGES for AMD BSPs as required by mel-iot layer. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-02-20r1000/llvm: fix QA warningAwais Belal
This fixes ... Now at patch 0002-llvm-allow-env-override-of-exe-path.patch WARNING: llvm-7-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. ... We don't need to update the SRC_URI because the patch file is already added through the main recipe and we simply force our patch file as our layer has a higher prio. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-19Merge pull request #607 from chaudharyak/sumoWade Farnsworth
r1000 : amd-xgbe and mmc fix
2019-02-18r1000 : amd-xgbe and mmc fixChaudhary Amit Kumar
Signed-off-by: Chaudhary Amit Kumar <chaudharyamit.kumar@amd.com>
2019-02-15Merge pull request #605 from abelal/drm_versWade Farnsworth
libdrm: use a more aligned value for PV
2019-02-15libdrm: use a more aligned value for PVAwais Belal
This is more of a good practise and lets the user know the exact version more easily rather than digging through the source. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-14Merge pull request #602 from abelal/intamddet-2674Wade Farnsworth
r1000/mesa: fix for radeonsi dri driver crash
2019-02-14r1000/mesa: fix for radeonsi dri driver crashAwais Belal
This fixes the radeonsi dri driver loading crash seen with X server. Essentially this is a backport of an upstream commit which is required in this cases. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08Merge pull request #601 from abelal/update_manifestWade Farnsworth
m4: drop patches already incorporated upstream
2019-02-08Merge pull request #600 from abelal/swupdate_v1kWade Farnsworth
systemd: fix udev-hwdb postinst disablement
2019-02-08Merge pull request #599 from abelal/r1k-reworkAwais Belal
Initial R1000 integration
2019-02-08m4: drop patches already incorporated upstreamAwais Belal
These patches are now present in oe-core so we do not need to keep a copy here. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08systemd: fix udev-hwdb postinst disablementAwais Belal
This was done in 165f830fda9fbde5feef4c336ceb7c95532a635d but used a different override than what was required. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/mesa: fix QA issuesAwais Belal
This fixes WARNING: mesa-2_19.0.0+gitAUTOINC+0144bbdb98-r0 do_configure: QA Issue: mesa: configure was passed unrecognised options: --enable-texture-float [unknown-configure-option] WARNING: mesa-2_19.0.0+gitAUTOINC+0144bbdb98-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share /usr/share/drirc.d /usr/share/drirc.d/00-mesa-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 3 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/llvm: fix QA issueAwais Belal
This fixes WARNING: llvm-7-r0 do_package: QA Issue: llvm: Files/directories were installed but not shipped in any package: /usr/lib64/llvm7/TestPlugin.so /usr/lib64/llvm7/.debug/TestPlugin.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. llvm: 2 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000: upgrade mesa and llvm packagesAwais Belal
This upgrades llvm to v7 and mesa to 19.0.0. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/libdrm: upgrade to 2.4.96Awais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000/linux-yocto: RTQA4 updated amdgpu kernel patchAwais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-08r1000: add the initial meta layerAwais Belal
This adds the initial meta-r1000 layer. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-02-04Merge pull request #597 from abelal/swupdate_v1kWade Farnsworth
SWUpdate compound update support for V1000
2019-01-29amd-common-configurations: disable SWDESC_INCLUDE_BOOT_FILESAwais Belal
While creating the .swu through MEL's swupdate classes the contents of IMAGE_BOOT_FILES are processed in order to collect all the artifacts. While our BSPs produce a live image containing the rootfs as a loop device in the boot partition. This creates a circular dependency where the do_image_ext4 starts depending on itself. Fix this by forcing swupdate classes to not include these boot files. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-29amd-common-configurations: provide swupdate supportAwais Belal
This enables swupdate support for the AMD platforms by providing swupdate as its machine features depending on the available layers. Also, fixes a few variables required by MEL's swupdate implementation. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-29initramfs-module-install-efi: manipulate the installer for SWUpdateAwais Belal
This fixes/modifies things as per the SWUpdate support being implemented for the MEL platforms. Covers the following 1. partitioning scheme as per dual-copy approach. 2. drop blacklist of the boot device in installed image required by swupdate. 3. deploy kernels and rootfs as <image>A to conform with dual copy approach. 4. implement grub.env approach to pick up kernel and rootfs from the environment to support fallback mechanism. 5. implement fallback mechanism. 6. do not set rootfs as rw, the MEL scheme is to use ro when supporting swupdate. 7. do not set a timeout for grub menu in installed image as this will simply delay boot. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-29v1000: include SWUpdate compound update filesAwais Belal
When building an SWUpdate enabled image for a platform the build system requires these files to identify and generate update images. These will mostly be identical for all the platforms supported under meta-amd but for now the feature is only being tested on v1000. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-18swupdate: basic support for AMD platformsAwais Belal
This enables GRUB under SWUpdate which is the bootloader used by AMD platforms and deploys the bl-kernels files in accordance with the support being enabled for AMD platforms. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-01-18core-image-minimal-install-initramfs: drop illegal POST process cmdAwais Belal
The sw-description is not available for initramfs images so drop the post process commands as it fails otherwise. Signed-off-by: Awais Belal <awais_belal@mentor.com>
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-10Merge pull request #595 from ArsalanHAwan/sumoWade Farnsworth
Revert "common/conf: remove vmlinux from KERNEL_IMAGETYPES..."
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-03Merge pull request #593 from abelal/intamddet-2630Wade Farnsworth
fix eMMC patches