diff options
author | Dalon Westergreen <dalon.westergreen@intel.com> | 2017-01-11 10:16:43 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-01-11 10:16:43 -0800 |
commit | 0c6e036fdfec58b69903a10e886a9dfae8fe4c9f (patch) | |
tree | d20289b0fe29ddea1e637248a68e2d0f7c20a89e /conf | |
parent | ab2ee2812670be650d6a722de08dff9bf05131f8 (diff) | |
download | meta-altera-0c6e036fdfec58b69903a10e886a9dfae8fe4c9f.tar.gz |
Update uboot and kernel recipes, and fix sdcard class (#44)
* u-boot-socfpga: update PV for all recipes and add common include
for mainline uboot versions
u-boot-socfpga versioning scheme varied, some prepended with a 'v'
others not. u-boot mainline tags versions with vYYYY.MM so we
should be consistent.
Create a single include for all mainline uboot versions.
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
* u-boot-socfpga: Add support for v2016.11
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
* Update sdcard image class and add to arria5 / cyclone 5 machine
conf
* Move arria5/cyclone5 to uboot-socfpga v2016.11
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
* Update sdcard script
Seemed to be an issue with the rootfs partition being slightly
smaller then the ROOTFS_SIZE in some cases.
Signed-off-by: Dalon Westergreen <dalon.westergreen@intel.com>
* uboot: Cleanup v2014.10 recipe
v2014.10 is used for Arria10, at this time it does not support
GCC6 which is the default for morty
* Clean up arria5 and cyclone5 machine definitions
Signed-off-by: Dalon Westergreen <dalon.westergreen@intel.com>
* linux-socfpga: add 4.7 and 4.7 dev recipes
Signed-off-by: Dalon Westergreen <dalon.westergreen@intel.com>
* linux-socfpga: update srcrev for 4.6 kernel and remove 4.6 dev
Signed-off-by: Dalon Westergreen <dalon.westergreen@intel.com>
* linux-socfpga: delete 4.1 dev as 4.1 is no longer maintained
* linux-socfpga: update 4.1.22 srcrev to latest release
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/arria10.conf | 16 | ||||
-rw-r--r-- | conf/machine/arria5.conf | 9 | ||||
-rw-r--r-- | conf/machine/cyclone5.conf | 12 |
3 files changed, 28 insertions, 9 deletions
diff --git a/conf/machine/arria10.conf b/conf/machine/arria10.conf index 5cda0eb..d5f3427 100644 --- a/conf/machine/arria10.conf +++ b/conf/machine/arria10.conf | |||
@@ -4,9 +4,19 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga ?= "2014.10" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "v2014.10%" |
8 | UBOOT_MACHINE = "socfpga_arria10_defconfig" | ||
9 | 8 | ||
10 | KMACHINE = "arria10" | 9 | UBOOT_CONFIG ??= "arria10-socdk" |
10 | |||
11 | UBOOT_CONFIG[arria10-socdk] = "socfpga_arria10_defconfig" | ||
12 | UBOOT_CONFIG[arria10-socdk-nand] = "socfpga_arria10_nand_defconfig" | ||
13 | UBOOT_CONFIG[arria10-socdk-qspi] = "socfpga_arria10_qspi_defconfig" | ||
11 | 14 | ||
15 | KMACHINE = "arria10" | ||
12 | 16 | ||
17 | # Default kernel devicetrees | ||
18 | KERNEL_DEVICETREE ?= "\ | ||
19 | socfpga_arria10_socdk_sdmmc.dtb \ | ||
20 | socfpga_arria10_socdk_qspi.dtb \ | ||
21 | socfpga_arria10_socdk_nand.dts \ | ||
22 | " | ||
diff --git a/conf/machine/arria5.conf b/conf/machine/arria5.conf index 1cf893f..a04f2d5 100644 --- a/conf/machine/arria5.conf +++ b/conf/machine/arria5.conf | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga ?= "2016.05%" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "v2016.11%" |
8 | 8 | ||
9 | UBOOT_CONFIG ??= "arria5-socdk" | 9 | UBOOT_CONFIG ??= "arria5-socdk" |
10 | 10 | ||
@@ -13,7 +13,10 @@ UBOOT_CONFIG[arria5-socdk] = "socfpga_arria5_defconfig" | |||
13 | KMACHINE = "arria5" | 13 | KMACHINE = "arria5" |
14 | 14 | ||
15 | # Default kernel devicetrees | 15 | # Default kernel devicetrees |
16 | KERNEL_DEVICETREE_arria5 ?= "socfpga_arria5_socdk.dtb" | 16 | KERNEL_DEVICETREE_arria5 ?= " \ |
17 | socfpga_arria5_socdk.dtb \ | ||
18 | " | ||
17 | 19 | ||
18 | # Add support for SDCARD creation | 20 | # Add support for SDCARD creation |
19 | IMAGE_CLASSES += "image_types_socfpga" | 21 | IMAGE_CLASSES += "sdcard_image-socfpga" |
22 | SOCFPGA_SDIMG_PARTITION_COMMAND = "generate_sdcard_partitions_v2016_11_and_newer" | ||
diff --git a/conf/machine/cyclone5.conf b/conf/machine/cyclone5.conf index d28fbe7..1c4586e 100644 --- a/conf/machine/cyclone5.conf +++ b/conf/machine/cyclone5.conf | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/socfpga.inc | 5 | require conf/machine/include/socfpga.inc |
6 | 6 | ||
7 | PREFERRED_VERSION_u-boot-socfpga ?= "2016.05%" | 7 | PREFERRED_VERSION_u-boot-socfpga ?= "v2016.11%" |
8 | 8 | ||
9 | UBOOT_CONFIG ??= "cyclone5-socdk" | 9 | UBOOT_CONFIG ??= "cyclone5-socdk" |
10 | 10 | ||
@@ -18,8 +18,14 @@ UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig" | |||
18 | KMACHINE = "cyclone5" | 18 | KMACHINE = "cyclone5" |
19 | 19 | ||
20 | # Default kernel devicetrees | 20 | # Default kernel devicetrees |
21 | KERNEL_DEVICETREE ?= "socfpga_cyclone5_socdk.dtb socfpga_cyclone5_sockit.dtb socfpga_cyclone5_socrates.dtb socfpga_cyclone5_de0_sockit.dtb" | 21 | KERNEL_DEVICETREE ?= "\ |
22 | socfpga_cyclone5_socdk.dtb \ | ||
23 | socfpga_cyclone5_sockit.dtb \ | ||
24 | socfpga_cyclone5_socrates.dtb \ | ||
25 | socfpga_cyclone5_de0_sockit.dtb \ | ||
26 | " | ||
22 | 27 | ||
23 | # Add support for SDCARD creation | 28 | # Add support for SDCARD creation |
24 | IMAGE_CLASSES += "image_types_socfpga" | 29 | IMAGE_CLASSES += "sdcard_image-socfpga" |
30 | SOCFPGA_SDIMG_PARTITION_COMMAND = "generate_sdcard_partitions_v2016_11_and_newer" | ||
25 | 31 | ||