diff options
author | Dalon Westergreen <dwesterg@gmail.com> | 2019-05-22 12:16:38 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-06-10 10:09:43 -0700 |
commit | abc72faf316e6153d6e4ea3513d9cf49816dad9d (patch) | |
tree | 2d97eacba78dda04f6b0782ebf2c636fdeb9c697 /conf | |
parent | 097f807adc5a6debdc98c0f8360fb467328c7426 (diff) | |
download | meta-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.conf | 29 |
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 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga ?= "v2014.10%" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "v2019.07%" |
8 | |||
9 | SPL_BINARY = "u-boot-with-spl.sfp" | ||
10 | UBOOT_BINARY = "u-boot-dtb.img" | ||
8 | 11 | ||
9 | UBOOT_CONFIG ??= "arria10-socdk" | 12 | UBOOT_CONFIG ??= "arria10-socdk" |
10 | 13 | ||
@@ -18,5 +21,27 @@ KMACHINE = "arria10" | |||
18 | KERNEL_DEVICETREE ?= "\ | 21 | KERNEL_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 | |||
27 | SERIAL_CONSOLES ?= "115200;ttyS0" | ||
28 | |||
29 | UBOOT_EXTLINUX ?= "1" | ||
30 | UBOOT_EXTLINUX_LABELS ?= "default" | ||
31 | UBOOT_EXTLINUX_DEFAULT_LABEL ?= "Arria10 SOCDK SDMMC" | ||
32 | |||
33 | UBOOT_EXTLINUX_MENU_DESCRIPTION_default ?= "Arria10 SOCDK SDMMC" | ||
34 | UBOOT_EXTLINUX_KERNEL_IMAGE_default ?= "../${KERNEL_IMAGETYPE}" | ||
35 | UBOOT_EXTLINUX_FDT_default ?= "../socfpga_arria10_socdk_sdmmc.dtb" | ||
36 | UBOOT_EXTLINUX_KERNEL_ARGS_default ?= "rootwait rw earlycon" | ||
37 | UBOOT_EXTLINUX_ROOT_default ?= "root=/dev/mmcblk0p3" | ||
38 | |||
39 | IMAGE_BOOT_FILES ?= " \ | ||
40 | ${KERNEL_DEVICETREE} \ | ||
41 | ${KERNEL_IMAGETYPE} \ | ||
42 | ${UBOOT_BINARY} \ | ||
43 | extlinux.conf;extlinux/extlinux.conf \ | ||
44 | " | ||
45 | |||
46 | WKS_FILE ?= "sdimage-arria10.wks" | ||
47 | IMAGE_FSTYPES +="wic" | ||