summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2019-05-22 12:16:38 -0700
committerKhem Raj <raj.khem@gmail.com>2019-06-10 10:09:43 -0700
commitabc72faf316e6153d6e4ea3513d9cf49816dad9d (patch)
tree2d97eacba78dda04f6b0782ebf2c636fdeb9c697 /conf
parent097f807adc5a6debdc98c0f8360fb467328c7426 (diff)
downloadmeta-altera-abc72faf316e6153d6e4ea3513d9cf49816dad9d.tar.gz
arria10: Add support for wic and u-boot 2019.07
Mainline uboot for arria10 supports creating the boot header required for spl using mkimage. With this update, it is now possible to build the sdcard image without external tools. Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/arria10.conf29
1 files changed, 27 insertions, 2 deletions
diff --git a/conf/machine/arria10.conf b/conf/machine/arria10.conf
index d5f3427..b7313ae 100644
--- a/conf/machine/arria10.conf
+++ b/conf/machine/arria10.conf
@@ -4,7 +4,10 @@
4 4
5require conf/machine/include/socfpga.inc 5require conf/machine/include/socfpga.inc
6 6
7PREFERRED_VERSION_u-boot-socfpga ?= "v2014.10%" 7PREFERRED_VERSION_u-boot-socfpga ?= "v2019.07%"
8
9SPL_BINARY = "u-boot-with-spl.sfp"
10UBOOT_BINARY = "u-boot-dtb.img"
8 11
9UBOOT_CONFIG ??= "arria10-socdk" 12UBOOT_CONFIG ??= "arria10-socdk"
10 13
@@ -18,5 +21,27 @@ KMACHINE = "arria10"
18KERNEL_DEVICETREE ?= "\ 21KERNEL_DEVICETREE ?= "\
19 socfpga_arria10_socdk_sdmmc.dtb \ 22 socfpga_arria10_socdk_sdmmc.dtb \
20 socfpga_arria10_socdk_qspi.dtb \ 23 socfpga_arria10_socdk_qspi.dtb \
21 socfpga_arria10_socdk_nand.dts \ 24 socfpga_arria10_socdk_nand.dtb \
22 " 25 "
26
27SERIAL_CONSOLES ?= "115200;ttyS0"
28
29UBOOT_EXTLINUX ?= "1"
30UBOOT_EXTLINUX_LABELS ?= "default"
31UBOOT_EXTLINUX_DEFAULT_LABEL ?= "Arria10 SOCDK SDMMC"
32
33UBOOT_EXTLINUX_MENU_DESCRIPTION_default ?= "Arria10 SOCDK SDMMC"
34UBOOT_EXTLINUX_KERNEL_IMAGE_default ?= "../${KERNEL_IMAGETYPE}"
35UBOOT_EXTLINUX_FDT_default ?= "../socfpga_arria10_socdk_sdmmc.dtb"
36UBOOT_EXTLINUX_KERNEL_ARGS_default ?= "rootwait rw earlycon"
37UBOOT_EXTLINUX_ROOT_default ?= "root=/dev/mmcblk0p3"
38
39IMAGE_BOOT_FILES ?= " \
40 ${KERNEL_DEVICETREE} \
41 ${KERNEL_IMAGETYPE} \
42 ${UBOOT_BINARY} \
43 extlinux.conf;extlinux/extlinux.conf \
44 "
45
46WKS_FILE ?= "sdimage-arria10.wks"
47IMAGE_FSTYPES +="wic"