aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-07-28Merge pull request #709 from ArsalanHAwan/release-hardknott-ethanolx-ga-202107hardknott-ethanolx-ga-202107Wade Farnsworth
release/hardknott-ethanolx-ga-202107: add release docs and tag
2021-07-28release/hardknott-ethanolx-ga-202107: add release docs and tagArsalan H. Awan
See RELEASE.md for the release notes and FEATURES.md for a list of supported features in this release. See README.md for instructions about getting started with meta-amd. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-28Merge pull request #708 from ArsalanHAwan/hardknott-ethanolx-disable-ccpWade Farnsworth
hardknott/ethanolx: disable ccp
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-14Merge pull request #707 from ArsalanHAwan/hardknott-ethanolx-docsWade Farnsworth
docs: update references to milan and rome with ethanolx bsp
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-10Merge pull request #706 from ArsalanHAwan/hardknott-merge-bsps-rome-milanWade Farnsworth
bsp: merge milan & rome into single bsp ethanolx as they use same board
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-25Merge pull request #705 from ArsalanHAwan/hardknott-milan-initWade Farnsworth
hardknott: init milan bsp on yocto v3.3 with linux-yocto v5.10.25
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-25docs: 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: * meta-openembedded We are using the master branch for DPDK for now: * meta-dpdk 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-03Merge pull request #704 from ArsalanHAwan/hardknott-disable-soundWade Farnsworth
linux-yocto-amdx86.inc: remove sound.cfg as it is not supported here
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-29Merge pull request #701 from ArsalanHAwan/hardknott-integrate-amd-code-dropWade Farnsworth
linux-yocto,amd-spi: integrate amd code drop
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-13Merge pull request #699 from ArsalanHAwan/hardknottWade Farnsworth
init v1000 bsp based on yocto v3.3 hardknott with linux-yocto(-rt) v5.10.25
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-24Merge pull request #698 from ArsalanHAwan/dunfell-rome-ga-202103dunfell-rome-ga-202103dunfellWade Farnsworth
release/dunfell-rome-ga-202103: add release docs and tag
2021-03-24Merge pull request #697 from ArsalanHAwan/dunfell-e3000-ga-202103dunfell-e3000-ga-202103Wade Farnsworth
release/dunfell-e3000-ga-202103: add release docs and tag
2021-03-24release/dunfell-rome-ga-202103: add release docs and tagArsalan H. Awan
See RELEASE.md for the release notes and FEATURES.md for a list of supported features in this release. See README.md for instructions about getting started with meta-amd. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-24release/dunfell-e3000-ga-202103: add release docs and tagArsalan H. Awan
See RELEASE.md for the release notes and FEATURES.md for a list of supported features in this release. See README.md for instructions about getting started with meta-amd. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-18Merge pull request #696 from ArsalanHAwan/dunfell-docs-updatesWade Farnsworth
dunfell docs updates for e3000 & rome for next release
2021-03-18docs: add rome featuresArsalan 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-12Merge pull request #695 from ArsalanHAwan/dunfell-amdx86-split-machinesArsalan H. Awan
bsp/amdx86: split into separate machines that share the same kernel
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-01Merge pull request #694 from ArsalanHAwan/dunfell-rome-support-epyc-7002Wade Farnsworth
increase CONFIG_NR_CPUS to support AMD EPYC 7002 Series Processors
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-12Merge pull request #693 from ArsalanHAwan/dunfell-amd-code-dropWade Farnsworth
amdx86: integrate amd kernel patches on linux-yocto v5.4.69
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>