summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2019-05-22 17:38:09 -0700
committerKhem Raj <raj.khem@gmail.com>2019-06-10 10:09:43 -0700
commit3b2e53a1c5cbfcffb02eeee53aa6cbd97f8e7439 (patch)
treefa5225a0c2e0ee71afc5e65d29329815e84bf069 /conf
parentadb08dc22c8e4f4769cbff3dcf0e232c3767679e (diff)
downloadmeta-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.inc16
-rw-r--r--conf/machine/stratix10.conf21
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 @@
1require conf/machine/include/arm/arch-armv8a.inc
2
3KERNEL_PROVIDER ?= "linux-altera"
4PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}"
5KERNEL_IMAGETYPE = "Image"
6MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
7
8PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga"
9
10SPL_BINARY = "spl/u-boot-spl-dtb.hex"
11UBOOT_SUFFIX = "img"
12UBOOT_BINARY = "u-boot-dtb.img"
13UBOOT_IMAGE = "u-boot-dtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
14
15IMAGE_FSTYPES ?= "cpio ext3 tar.gz"
16do_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
5require conf/machine/include/arm/arch-armv8a.inc 5require conf/machine/include/socfpga_armv8a.inc
6
7SPL_BINARY = "spl/u-boot-spl-dtb.bin"
8UBOOT_SUFFIX = "img"
9UBOOT_BINARY = "u-boot-dtb.img"
10UBOOT_IMAGE = "u-boot-dtb-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
11PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-socfpga"
12PREFERRED_VERSION_u-boot-socfpga ?= "v2017.09%"
13 6
14UBOOT_CONFIG ??= "stratix10-socdk" 7UBOOT_CONFIG ??= "stratix10-socdk"
15UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig" 8UBOOT_CONFIG[stratix10-socdk] = "socfpga_stratix10_defconfig"
16 9
17KERNEL_PROVIDER ?= "linux-altera"
18PREFERRED_PROVIDER_virtual/kernel ?= "${KERNEL_PROVIDER}"
19KERNEL_IMAGETYPE = "Image"
20
21KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb" 10KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb"
22 11
23SERIAL_CONSOLES = "115200;ttyS0" 12SERIAL_CONSOLES ?= "115200;ttyS0"
24 13
25# Add variables for wic creation of sdcard image 14# Add variables for wic creation of sdcard image
26IMAGE_BOOT_FILES ?= " \ 15IMAGE_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 "
31WKS_FILE ?= "sdimage-stratix10.wks" 20WKS_FILE ?= "sdimage-stratix10.wks"
32do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" 21IMAGE_FSTYPES += "wic"
33 22
34IMAGE_FSTYPES ?= "cpio ext3 tar.gz wic"
35MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"