aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp
AgeCommit message (Collapse)Author
2021-06-28kmod: prevent ccp module autoload at system boot on ethanolxArsalan H. Awan
ccp is probed at system boot time but is not supported on the ethanolx platforms. Lets disable that for the ethanolx platforms in order to get rid of the errors at boot time. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-28linux/ccp: make ccp & ccp_crypto modules as some machines dont use themArsalan H. Awan
The Cryptographic Coprocessor (CCP) is not exposed to the x86 CPU on the ethanolx platforms i.e. rome and milan. Therefore having this enabled in the kernel by default results in an error at boot time: [ 6.585600] ccp 0000:43:00.1: enabling device (0000 -> 0002) [ 6.590543] ccp 0000:43:00.1: no command queues available [ 6.595151] ccp 0000:43:00.1: sev enabled [ 6.598167] ccp 0000:43:00.1: psp enabled [ 6.833678] ccp 0000:43:00.1: SEV API:1.23 build:23 [ 6.837683] ccp_crypto: Cannot load: there are no available CCPs Lets compile ccp & ccp_crypto as modules so that they can be loaded when needed by a machine that supports CCP (such as: e3000), and can be disabled for a machine that does not support it (such as: ethanolx). Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-14docs: update references to milan and rome with ethanolx bspArsalan H. Awan
This is being done because milan and rome now share the same machine name ethanolx. They are binary compatible. We can use the same image on both platforms using the ethanolx board. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-10bsp: merge milan & rome into single bsp ethanolx as they use same boardArsalan H. Awan
This merges the milan and rome bsps into a single bsp called ethanolx as they make use of the same motherboard and the serial uart console device is also the same (i.e. ttyS0) on both platforms. This allows us to use the same binary images on both platforms. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-05-25docs: update supported bspsArsalan H. Awan
This removes the e3000 and rome for now and adds milan as supported. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-05-25linux-yocto: add kernel v5.10.25 support for the milan bspArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-05-25bsp/milan: add machine config for milan platform based on amdx86.incArsalan H. Awan
This adds machine file for milan with no graphics/vga support. Only serial console is supported. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-05-03linux-yocto-amdx86.inc: remove sound.cfg as it is not supported hereArsalan H. Awan
This removes the sound.cfg kernel configs as we don't support audio and alsa on bsps under amdx86.inc. This also gets rid of the following warning: WARNING: linux-yocto-rt-5.10.25+gitAUTOINC+031f6c76e4_be2935bce3-r0.1 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_FW_LOADER' last val (m) and .config val (y) do not match [INFO]: CONFIG_FW_LOADER : y ## .config: 1641 :configs/v5.10/ktypes/base/base.cfg (m) [INFO]: selection details for 'CONFIG_FW_LOADER': Symbols currently y-selecting this symbol: - SND_HDA_PATCH_LOADER - SND_HDA_CODEC_CA0132_DSP Symbols currently m-selecting this symbol: - BT_BCM - BT_RTL - BT_HCIBCM203X - BT_HCIBFUSB - BT_ATH3K - CFG80211 - BNX2X - BNXT - R8169 - CARL9170 - BRCMSMAC - BRCMFMAC_SDIO - BRCMFMAC_USB - IWLWIFI - RT2X00_LIB_FIRMWARE Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-29Merge pull request #703 from ArsalanHAwan/hardknott-docs-updatesWade Farnsworth
hardknott/docs: set ground for next release
2021-04-29Merge pull request #702 from ArsalanHAwan/hardknott-dpdk-upgradeWade Farnsworth
hardknott: upgrade dpdk
2021-04-27docs: set ground for next releaseArsalan H. Awan
This moves the following yocto meta layers to the latest commits on the hardknott branch for next release: * poky * meta-openembedded We are using the master branch for DPDK for now: * meta-dpdk This also unties meta-amd from the previous release tag. This also updates the links of yocto docs references from v3.1.4 to v3.3 as being used at the moment for the next release. This also updates the build system's dependencies as per the current yocto version 3.3. Finally, some housekeeping. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-26v1000: enable amd-feature-networking to support dpdk and ipsecArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-26dpdk: upgrade to the latest LTS release v20.11.1Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-26amd-spi: rm incompatible spirom kernel module and spirom-test appArsalan H. Awan
This removes the spirom module and app as they are not compatible with the spi_amd upstream kernel driver that we use now instead of the IOSDK driver that spirom module and spirom-test app were compatible with. We will not be able to upgrade the BIOS from userspace for now, but an alternate way to upgrade the BIOS will be introduced later on. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-20linux-yocto: patch xgbe, usb and spi on kernel v5.10.25Arsalan H. Awan
Integrates the AMD code drop for XGBE, USB and SPI. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-20linux-yocto: drop spi_amd iosdk module and use upstream kernel driverArsalan H. Awan
We now use the upstream kernel driver for amd spi instead of the local iosdk spi kernel module. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-12bsp/formfactor: add the missing formfactor definitions for all machinesArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-12bsp/grub: workaround SSE register return with SSE disabled errorArsalan H. Awan
When GRUB is compiled with -march=znver1 or -march=znver2 using the GCC v9.3 and above, the compilation fails with the following error: recipe-sysroot-native/usr/lib/x86_64-amd-linux/gcc/x86_64-amd-linux/ 10.2.0/include/shaintrin.h:40:1: error: SSE register return with SSE disabled What's interesting, is that -march=skylake also implies -mbmi which defines __BMI__ but compilation succeeds. It is probably due to different BMI implementations on AMD and INTEL processors and the way compiler uses related instructions. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-12bsp/grub: rm v2.02 recipes and use the latest from yocto poky insteadArsalan H. Awan
We now use the latest grub v2.04/2.06 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-31bsp/kernel: move to linux-yocto(-rt) v5.10.25Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-31linux-yocto: rm configs that did not make it into kernel final configArsalan H. Awan
WARNING: linux-yocto-5.10.25+gitAUTOINC+031f6c76e4_cf5b0320cf-r0.1 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_PGTABLE_LEVELS' last val (4) and .config val (5) do not match [INFO]: CONFIG_PGTABLE_LEVELS : 5 ## .config: 297 :configs/v5.10/standard/./amdx86-extra-config.cfg (4) [NOTE]: 'CONFIG_IOSF_MBI' last val (m) and .config val (y) do not match [INFO]: CONFIG_IOSF_MBI : y ## .config: 320 :configs/v5.10/standard/./amdx86-extra-config.cfg (m) [NOTE]: 'CONFIG_HOTPLUG_PCI_SHPC' last val (m) and .config val (n) do not match [INFO]: CONFIG_HOTPLUG_PCI_SHPC : n ## .config: 1578 :configs/v5.10/standard/./amdx86-user-config.cfg (m) [NOTE]: 'CONFIG_MOUSE_PS2_FOCALTECH' last val (n) and .config val (y) do not match [INFO]: CONFIG_MOUSE_PS2_FOCALTECH : y ## .config: 2662 :configs/v5.10/standard/./amdx86-extra-config.cfg (n) [NOTE]: 'CONFIG_HW_RANDOM_TPM' last val (m) and .config val (y) do not match [INFO]: CONFIG_HW_RANDOM_TPM : y ## .config: 2919 :configs/v5.10/standard/./amdx86-user-config.cfg (m) [NOTE]: 'CONFIG_PINMUX' last val (n) and .config val (y) do not match [INFO]: CONFIG_PINMUX : y ## .config: 3106 :configs/v5.10/standard/./amdx86-extra-config.cfg (n) Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30linux-yocto: rm kernel configs not found in the active configurationArsalan H. Awan
WARNING: linux-yocto-5.10.25+gitAUTOINC+031f6c76e4_cf5b0320cf-r0.1 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings: [INFO]: the following symbols were not found in the active configuration: - CONFIG_SYSCTL_SYSCALL - CONFIG_CALGARY_IOMMU - CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT - CONFIG_NODES_SPAN_OTHER_NODES - CONFIG_X86_INTEL_MPX - CONFIG_INTEL_MIC_BUS - CONFIG_GPIO_LYNXPOINT - CONFIG_THUNDERBOLT Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30linux-yocto: rm watchdog sp5100_tco patch as it is already mergedArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30linux-yocto,linux-yocto-rt: add kernel v5.10.25 recipesArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30bsp: add machine config for v1000 platform based on amdx86.incArsalan H. Awan
This adds machine file for v1000 with no graphics/vga support. Only serial console is supported. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30initialize layers for yocto v3.3 hardknottArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-18docs: updates for e3000 & rome for next releaseArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-10bsp/amdx86: split into separate machines that share the same kernelArsalan H. Awan
This splits the amdx86 bsp into separate machines i.e. e3000 & rome, as they use different serial/uart ports for kernel console. e3000 has ttyS4 and ttyS5 available for use, whereas rome has ttyS0 only. The kernel console is needed for the grub install option. Linux kernel allows only one device per device-type to be usable as kernel console device. Therefore, we cannot have 2 different ttySx as serial console devices. We are still keeping the same kernel shared across both platforms, and any other platforms that will be added under amdx86 will share the same kernel. The console device is the only thing that differs across the devices. If we could find a way to have the serial device number automatically determined at boot time, and have it passed to linux kernel commandline args, maybe we'll switch back to having a single bsp/machine that works on all the AMD x86 platforms. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-01increase CONFIG_NR_CPUS to support AMD EPYC 7002 Series ProcessorsArsalan H. Awan
This changes the max cpu limit from default of 64 cores to 256 cores in order to support the rome platform that can host 2 of 64 core cpus with 2 thread per core, giving us a total of 256 virtual cpus. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-02-12amdx86/wdt: enable sp5100_tco wdt driver for family 17h and rm amd_wdtArsalan H. Awan
This enables the CONFIG_SP5100_TCO watchdog driver and removes the amd_wdt kernel module. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-02-12amdx86/linux-yocto: patch xgbe, emmc, spi and usb on kernel v5.4.69Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-28docs: add instructions for amdx86 and remove unsupported bspsArsalan H. Awan
This removes all the bits from the documentation that are not related to the amd machines/platforms under amdx86 bsp. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17bsp/layer: remove LICENSE_PATH as we don't have any additional licensesArsalan H. Awan
Otherwise the build breaks with error: Failure expanding variable AVAILABLE_LICENSES Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17amd-common-configurations: remove libav settings as its not supportedArsalan H. Awan
We don't use this multimedia package for amdx86 ATM. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17licenses/FLTK: remove this license as we are not using fltk anymoreArsalan H. Awan
The license was added to fix QA warning: WARNING: fltk-1.3.3-r0 do_populate_lic: fltk: No generic license file exists for: FLTK in any provider See: 1fdaaf5a93456a2adc0c8aa5f82d7e19fc8f0bc0 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17amdx86: remove recipes from BBMASK that are not available anymoreArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17lttng-modules: rm patch that was added for an older kernelArsalan H. Awan
This removes the patch that was added here for an old 4.14 kernel that is not applicable for our current 5.4.69 kernel. See: 1f067a0daa21b39a87bd156f2ad2c106846489d1 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17remove e3000 and create a generic amdx86 bsp for all supported machinesArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-14dpdk: upgrade to v18.11.10 as per yocto dunfell branchArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-14e3000/kernel: move to linux-yocto v5.4.69 as per yocto-3.1.4Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-14meta-amd-bsp: remove unsupported codeArsalan H. Awan
This removes all the unsupported bsps and recipes. We can bring back bsps and/or recipes when needed. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-28meta-amd-bsp: remove unnecessary filesArsalan H. Awan
These files are leftovers of old config include fragments for local.conf that are now only to be mentioned in docs. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-25e3000/linux-yocto-rt: add recipe for the RT kernel v5.4.2Arsalan H. Awan
This adds the linux-yocto-rt v5.4.2 recipe so that the e3000 BSP can make use of it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-24e3000/kernel: move to linux-yocto v5.4.2Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-24bsp/kernel: rm linux-yocto-4.14.71 bits as it is not used by any bspArsalan H. Awan
We are keeping the linux-yocto-4.19.8 for now as r1000 has not moved to linux-yocto-5.4.2 yet. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-24dpdk: upgrade to v18.11.8 as per yocto dunfell v3.1.2Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-05-28linux-yocto_5.4.2 : add 5.4.2 amdgpu patchRahul Kumar
2020-05-28Fix amd-spi build failureRahul Kumar
- access_ok argument reduced to 2 parmaters in 5.4 kernel
2020-05-28Revert "amd-spi,spirom: disable for now as they dont get built with kernel 5.4"Rahul Kumar
This reverts commit ec4447e4a8be054fc58bdfeb3beb0e9070d07f16.
2020-05-21vulkan: inherit features_check as distro_features_check is deprecatedArsalan H. Awan
This was changed in yocto v3.1 dunfell. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>