Age | Commit message (Collapse) | Author |
|
Users may use "sumo" or previous release branches to build for this
machine.
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
|
|
Increases maintainability and readability by using a single
file with the actual license text being tested.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
PV is extracted from the filename and PR is
managed through the PR service so no need to
define them explicitly.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
This enables the ability to get max. and used UVD handles from
userspace.
JIRA Ticket: INTAMDDET-1890
Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
|
|
These configurations conflict with KGDB debugging in
some cases and generate stack dumps in various other
situations.
The stack dumps related to mwaitx are properly fixed
through
https://patchwork.kernel.org/patch/8549611/
but the mentioned patch is only available for Yocto
kernel 4.8 and we don't use these so it is much
better to avoid the problem with this for the time
being rather than backporting the patch.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Setting PN and FILES inside the recipe was conflicting with the
module.bbclass bits. SPI driver made it into the RFS because of
different module package name (due to source files) than what was
specified in the recipe. This is also why we were seeing two packages
for it, namely kernel-module-spi-amd and kernel-module-amd-spi.
Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
|
|
Fixes warnings printed out during kernel_configcheck
phase regarding CONFIG_BT_6LOWPAN and
CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This consolidates common settings between standard and
RT type kernel across the BSPs.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This commit does a few things which cannot be separated easily
so it cannot be split in to separate commits.
* Drops all 4.1 kernel bits.
* Moves all common patches from meta-amdfalconx86 to common.
* Moves SE/BE builds to 4.4 kernel.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
|
|
|
|
Some components that are required for the I2S audio
to work correctly are part of the AMDGPU driver like
the amd_gnb_bus. The AMDGPU driver is not RT safe yet
so it is disabled which makes the RT builds fail.
We now disable these failing components on the RT
kernel builds to cover up the issue.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
|
|
meta-amd: add code to support falcon family
|
|
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
|
|
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
|
|
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
|
|
During consolidation of the kernel recipes for standard
kernel some changes were made to the linux-yocto-amd-4.1.inc
which was being utilized b/w standard and RT kernel for the
amdfalconx86 machine. These updates rendered void many
features on the RT kernel along with making the build
of this kernel unstable.
We now move the RT kernel recipe to common layer so it
can be utilized by other machines and fix the issues
that were present prior to the move.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
These configurations are already provided through the common
layer.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This was only being applied to the amdfalconx86 BSP earlier.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The issue was first noted and fixed for the amdfalconx86 BSP. We
now move it to common so it applies across all.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
- amdfalconx86 / SteppeEagle: IMC and AMD SPI SDK
- BaldEagle: Enable IMC
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Michael Powell <michael_powell@mentor.com>
|
|
|
|
Some configurations were duplicated among different
configuration fragments or enabled in one and then
disabled in the other vice versa. This has been
consolidated and corrected now.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Update definitions to allow overriding of the said variables
through configuration files.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The closest kernel understandable machine for the amdfalconx86
platform is the common-pc-64. We now use it as KMACHINE per
the yocto standards and manipulate configurations
accordingly.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
linux-yocto/rt: split out standard only configurations
|
|
linux-yocto: fix kgdb hangs and warnings
|
|
Some of the configuration being passed through user config fragment
are explicitly disabled in the kernel for RT type. This produces
build warnings that the configuration does not apply cleanly.
We split out the mentioned configuration to a separate config
fragment and use that in case of standard type kernel only.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
KGDB does not play nice if DEBUG_PREEMPT and DEBUG_RODATA
are enabled in the kernel. The connecting GDB gives
warning that further execution would not be possible
once it hits a breakpoint. Additionally, continuing
or stepping while debugging runs into hangs sometimes
and freezes the target.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Fixes
WARNING: [kernel config]: specified values did not make it into the kernel's final configuration:
Value requested for CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT not in final ".config"
Requested value: "CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=y"
Actual value set: ""
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The kernel is upgraded to 4.1.18 stable tag. We specifically
remove a kernel CVE coming in from mel-updates that has been
merged already in the kernel we're upgrading to here.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
This enables support for touchscreens with multitouch
support. The hid-multitouch driver supports a number
of devices so it would be a good idea keeping it in
as a module.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The AMD Falcon family uses an R8168 NIC for ethernet
which is a Realtek based card. The in-kernel R8169
driver shows flaky behavior on some of the Falcon
family variants so we integrate and leverage through
the official R8168 driver provided by Realtek.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Fixes
WARNING: [kernel]: An auto generated BSP description
was used, this normally indicates a misconfiguration.
Check that your machine (amdfalconx86) has an
associated kernel description.
The warning is superfluous in our case so we close
it.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
The handling of AMD CZ SMBus device isn't yet available
in the mainline 4.1 kernel so we patch the support in
to get the on-board eMMC working for the Falcon family
of platforms.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
In order to apply the kernel configuration fragments
deterministically we should first apply the base configurations
which are amdfalconx86-standard and amdfalconx86-preempt-rt
in the different kernel types. We now include the common
recipe fragment (linux-yocto-amd-4.1.inc) at the end so
the earlier listed fragments appear ahead in the SRC_URI
and get applied in the same manner.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
In order to use MICROCODE_EARLY which is an intention for the
latest AMD GPU to work correctly the MICRODE configuration
needs to be built-in (y) rather than configured as a
module.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
We disable the R8168 driver which is not needed anymore as
we've dropped it while upgrading for 4.1 kernel version
and the in-tree R8169 driver handles compatibility
issues with the DASH controller which were seen earlier
with the 3.14 kernel version.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
In order to generate a scratch kernel configuration we need
to use a machine not know to the kernel otherwise if we
specify a known machine like common-pc-64, the default
configuration for this machine is used and any other
machine configurations like the amdfalconx86.cfg are
ignored.
We fix this issue by defining the KMACHINE to amdfalconx86
for the falcon family so we can reliably provide configuration
fragments to handle kernel configuration.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
With the upgrade to 4.1.15 a separate directory was created
for patches and configurations which applied on the 4.1 kernel
separately although some of the old configuration fragments were
still used. With the removal of version 3.14 this is no longer
necessary, creates confusion and would be harder to maintain
at the end of the day.
We now consolidate these directories to have a single one
which provides everything needed to go through a sane
build.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
We now use 4.1.15 for both RT and standard kernel so drop
the unneeded 3.14 kernel.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
A lot of things are common between the standard and RT kernel
metadata so we use an include to specify these generic settings
between the two types of kernel recipes.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
|
|
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
|
|
bb.fetch.URI does not properly handle entries ending with ';'. For the
time being, strip trailing ';' from SRC_URI.
|