diff options
author | Yves Vandervennet <yves.vandervennet@intel.com> | 2017-12-14 09:34:04 -0600 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-04-23 10:00:58 -0700 |
commit | a2a465673a13a2f751a5c87cc5792d9a28a193bc (patch) | |
tree | 40b77aa361ebd9e57cc76922773b26841aa00806 | |
parent | 03c5369bd8c69f2ddf02a79396a81b9ecab4d0a4 (diff) | |
download | meta-altera-a2a465673a13a2f751a5c87cc5792d9a28a193bc.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" |