From 357af15b780b35e66615c29ee7ba552ad0ae131d Mon Sep 17 00:00:00 2001 From: Yves Vandervennet Date: Thu, 14 Dec 2017 09:34:04 -0600 Subject: stratix10: machine definitions Signed-off-by: Yves Vandervennet --- conf/machine/stratix10.conf | 25 +++++++++++++++++++++++++ recipes-kernel/linux/linux-altera-configs.inc | 1 + 2 files changed, 26 insertions(+) create mode 100644 conf/machine/stratix10.conf diff --git a/conf/machine/stratix10.conf b/conf/machine/stratix10.conf new file mode 100644 index 0000000..f0b3edc --- /dev/null +++ b/conf/machine/stratix10.conf @@ -0,0 +1,25 @@ +#@TYPE: Machine +#@NAME: Altera Stratix10 SWVP +#@DESCRIPTION: Layer for the Altera Stratix10 Software Virtual Platform + +require conf/machine/include/arm/arch-armv8.inc + +SPL_BINARY_stratix10 = "spl/u-boot-spl-dtb.bin" +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga" +PREFERRED_VERSION_u-boot-socfpga ?= "v2017.09%" + +UBOOT_CONFIG ??= "stratix10-socdk" +UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" + +KERNEL_PROVIDER ?= "linux-altera" +PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}" +KERNEL_IMAGETYPE = "Image" + +KERNEL_DEVICETREE_stratix10 ?= "altera/socfpga_stratix10_socdk.dtb" +EXTRA_IMAGE_FEATURES += "autoserial" +FEATURE_PACKAGES_autoserial = "auto-serial-console" + +# we do not want to have getty running on tty1 as we run +# auto-serial-console there +#USE_VT = "0" +IMAGE_FSTYPES ?= "cpio ext3 tar.gz" diff --git a/recipes-kernel/linux/linux-altera-configs.inc b/recipes-kernel/linux/linux-altera-configs.inc index 9a757d7..eced6d1 100644 --- a/recipes-kernel/linux/linux-altera-configs.inc +++ b/recipes-kernel/linux/linux-altera-configs.inc @@ -1,6 +1,7 @@ KBUILD_DEFCONFIG ?= "socfpga_defconfig" KBUILD_DEFCONFIG_stratix10swvp ?= "defconfig" +KBUILD_DEFCONFIG_stratix10 ?= "s10_devkit_defconfig" KBUILD_DEFCONFIG_10m50 ?= "10m50_defconfig" KCONFIG_MODE ?= "--alldefconfig" -- cgit v1.2.3-54-g00ecf