diff options
author | Yves Vandervennet <yves.vandervennet@intel.com> | 2017-12-14 09:34:04 -0600 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-02-11 20:26:12 -0800 |
commit | 357af15b780b35e66615c29ee7ba552ad0ae131d (patch) | |
tree | 5bb9779ba64c66529c279986ca5c7e1d8a33a2dd | |
parent | b6536d62f1063f47709da374dfa8c2d04f1bff74 (diff) | |
download | meta-altera-357af15b780b35e66615c29ee7ba552ad0ae131d.tar.gz |
stratix10: machine definitions
Signed-off-by: Yves Vandervennet <yves.vandervennet@intel.com>
-rw-r--r-- | conf/machine/stratix10.conf | 25 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-altera-configs.inc | 1 |
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 | |||
5 | require conf/machine/include/arm/arch-armv8.inc | ||
6 | |||
7 | SPL_BINARY_stratix10 = "spl/u-boot-spl-dtb.bin" | ||
8 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga" | ||
9 | PREFERRED_VERSION_u-boot-socfpga ?= "v2017.09%" | ||
10 | |||
11 | UBOOT_CONFIG ??= "stratix10-socdk" | ||
12 | UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" | ||
13 | |||
14 | KERNEL_PROVIDER ?= "linux-altera" | ||
15 | PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}" | ||
16 | KERNEL_IMAGETYPE = "Image" | ||
17 | |||
18 | KERNEL_DEVICETREE_stratix10 ?= "altera/socfpga_stratix10_socdk.dtb" | ||
19 | EXTRA_IMAGE_FEATURES += "autoserial" | ||
20 | FEATURE_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" | ||
25 | 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 @@ | |||
1 | 1 | ||
2 | KBUILD_DEFCONFIG ?= "socfpga_defconfig" | 2 | KBUILD_DEFCONFIG ?= "socfpga_defconfig" |
3 | KBUILD_DEFCONFIG_stratix10swvp ?= "defconfig" | 3 | KBUILD_DEFCONFIG_stratix10swvp ?= "defconfig" |
4 | KBUILD_DEFCONFIG_stratix10 ?= "s10_devkit_defconfig" | ||
4 | KBUILD_DEFCONFIG_10m50 ?= "10m50_defconfig" | 5 | KBUILD_DEFCONFIG_10m50 ?= "10m50_defconfig" |
5 | 6 | ||
6 | KCONFIG_MODE ?= "--alldefconfig" | 7 | KCONFIG_MODE ?= "--alldefconfig" |