diff options
author | Dalon Westergreen <dwesterg@gmail.com> | 2019-05-22 17:38:09 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-06-10 10:09:43 -0700 |
commit | 3b2e53a1c5cbfcffb02eeee53aa6cbd97f8e7439 (patch) | |
tree | fa5225a0c2e0ee71afc5e65d29329815e84bf069 /conf | |
parent | adb08dc22c8e4f4769cbff3dcf0e232c3767679e (diff) | |
download | meta-altera-3b2e53a1c5cbfcffb02eeee53aa6cbd97f8e7439.tar.gz |
Cleanup stratix10 machine conf and add uboot 2019.07
Cleanup machine conf and add an include for socfgpa_armv8a
in preparation for agilex.
Add initial support for u-boot 2019.07 for S10
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/socfpga_armv8a.inc | 16 | ||||
-rw-r--r-- | conf/machine/stratix10.conf | 21 |
2 files changed, 20 insertions, 17 deletions
diff --git a/conf/machine/include/socfpga_armv8a.inc b/conf/machine/include/socfpga_armv8a.inc new file mode 100644 index 0000000..603f61a --- /dev/null +++ b/conf/machine/include/socfpga_armv8a.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | require conf/machine/include/arm/arch-armv8a.inc | ||
2 | |||
3 | KERNEL_PROVIDER ?= "linux-altera" | ||
4 | PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}" | ||
5 | KERNEL_IMAGETYPE = "Image" | ||
6 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" | ||
7 | |||
8 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga" | ||
9 | |||
10 | SPL_BINARY = "spl/u-boot-spl-dtb.hex" | ||
11 | UBOOT_SUFFIX = "img" | ||
12 | UBOOT_BINARY = "u-boot-dtb.img" | ||
13 | UBOOT_IMAGE = "u-boot-dtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
14 | |||
15 | IMAGE_FSTYPES ?= "cpio ext3 tar.gz" | ||
16 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" | ||
diff --git a/conf/machine/stratix10.conf b/conf/machine/stratix10.conf index f6bc970..a3ca1f7 100644 --- a/conf/machine/stratix10.conf +++ b/conf/machine/stratix10.conf | |||
@@ -2,34 +2,21 @@ | |||
2 | #@NAME: Altera Stratix10 | 2 | #@NAME: Altera Stratix10 |
3 | #@DESCRIPTION: Layer for the Altera Stratix10 | 3 | #@DESCRIPTION: Layer for the Altera Stratix10 |
4 | 4 | ||
5 | require conf/machine/include/arm/arch-armv8a.inc | 5 | require conf/machine/include/socfpga_armv8a.inc |
6 | |||
7 | SPL_BINARY = "spl/u-boot-spl-dtb.bin" | ||
8 | UBOOT_SUFFIX = "img" | ||
9 | UBOOT_BINARY = "u-boot-dtb.img" | ||
10 | UBOOT_IMAGE = "u-boot-dtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
11 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga" | ||
12 | PREFERRED_VERSION_u-boot-socfpga ?= "v2017.09%" | ||
13 | 6 | ||
14 | UBOOT_CONFIG ??= "stratix10-socdk" | 7 | UBOOT_CONFIG ??= "stratix10-socdk" |
15 | UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" | 8 | UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" |
16 | 9 | ||
17 | KERNEL_PROVIDER ?= "linux-altera" | ||
18 | PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}" | ||
19 | KERNEL_IMAGETYPE = "Image" | ||
20 | |||
21 | KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb" | 10 | KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb" |
22 | 11 | ||
23 | SERIAL_CONSOLES = "115200;ttyS0" | 12 | SERIAL_CONSOLES ?= "115200;ttyS0" |
24 | 13 | ||
25 | # Add variables for wic creation of sdcard image | 14 | # Add variables for wic creation of sdcard image |
26 | IMAGE_BOOT_FILES ?= " \ | 15 | IMAGE_BOOT_FILES ?= " \ |
27 | u-boot-dtb.${UBOOT_SUFFIX} \ | 16 | ${UBOOT_BINARY} \ |
28 | ${KERNEL_IMAGETYPE} \ | 17 | ${KERNEL_IMAGETYPE} \ |
29 | socfpga_stratix10_socdk.dtb \ | 18 | socfpga_stratix10_socdk.dtb \ |
30 | " | 19 | " |
31 | WKS_FILE ?= "sdimage-stratix10.wks" | 20 | WKS_FILE ?= "sdimage-stratix10.wks" |
32 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" | 21 | IMAGE_FSTYPES += "wic" |
33 | 22 | ||
34 | IMAGE_FSTYPES ?= "cpio ext3 tar.gz wic" | ||
35 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" | ||