summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Vandervennet <yves.vandervennet@intel.com>2017-12-14 09:34:04 -0600
committerKhem Raj <raj.khem@gmail.com>2018-02-11 20:26:12 -0800
commit357af15b780b35e66615c29ee7ba552ad0ae131d (patch)
tree5bb9779ba64c66529c279986ca5c7e1d8a33a2dd
parentb6536d62f1063f47709da374dfa8c2d04f1bff74 (diff)
downloadmeta-altera-357af15b780b35e66615c29ee7ba552ad0ae131d.tar.gz
stratix10: machine definitions
Signed-off-by: Yves Vandervennet <yves.vandervennet@intel.com>
-rw-r--r--conf/machine/stratix10.conf25
-rw-r--r--recipes-kernel/linux/linux-altera-configs.inc1
2 files changed, 26 insertions, 0 deletions
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 @@
1#@TYPE: Machine
2#@NAME: Altera Stratix10 SWVP
3#@DESCRIPTION: Layer for the Altera Stratix10 Software Virtual Platform
4
5require conf/machine/include/arm/arch-armv8.inc
6
7SPL_BINARY_stratix10 = "spl/u-boot-spl-dtb.bin"
8PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga"
9PREFERRED_VERSION_u-boot-socfpga ?= "v2017.09%"
10
11UBOOT_CONFIG ??= "stratix10-socdk"
12UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig"
13
14KERNEL_PROVIDER ?= "linux-altera"
15PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}"
16KERNEL_IMAGETYPE = "Image"
17
18KERNEL_DEVICETREE_stratix10 ?= "altera/socfpga_stratix10_socdk.dtb"
19EXTRA_IMAGE_FEATURES += "autoserial"
20FEATURE_PACKAGES_autoserial = "auto-serial-console"
21
22# we do not want to have getty running on tty1 as we run
23# auto-serial-console there
24#USE_VT = "0"
25IMAGE_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 @@
1 1
2KBUILD_DEFCONFIG ?= "socfpga_defconfig" 2KBUILD_DEFCONFIG ?= "socfpga_defconfig"
3KBUILD_DEFCONFIG_stratix10swvp ?= "defconfig" 3KBUILD_DEFCONFIG_stratix10swvp ?= "defconfig"
4KBUILD_DEFCONFIG_stratix10 ?= "s10_devkit_defconfig"
4KBUILD_DEFCONFIG_10m50 ?= "10m50_defconfig" 5KBUILD_DEFCONFIG_10m50 ?= "10m50_defconfig"
5 6
6KCONFIG_MODE ?= "--alldefconfig" 7KCONFIG_MODE ?= "--alldefconfig"