From ae10c5b4c27fa21f70623e63ecd65c2927b80c0d Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Thu, 12 Nov 2015 00:19:11 -0800 Subject: Add Arria10 initial --- recipes-bsp/u-boot/u-boot-socfpga_2014.10.bb | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 recipes-bsp/u-boot/u-boot-socfpga_2014.10.bb (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot-socfpga_2014.10.bb b/recipes-bsp/u-boot/u-boot-socfpga_2014.10.bb new file mode 100755 index 0000000..ff9f248 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-socfpga_2014.10.bb @@ -0,0 +1,49 @@ +UBOOT_SUFFIX ?= "img" +UBOOT_RAW_BINARY ?= "u-boot-dtb.bin" +UBOOT_DTB ?= "u-boot.dtb" + +require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc + +FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PROVIDES += "u-boot" +PKG_${PN} = "u-boot" +PKG_${PN}-dev = "u-boot-dev" +PKG_${PN}-dbg = "u-boot-dbg" + +S = "${WORKDIR}/git" + +# SPL (Second Program Loader) to be loaded over UART +SPL_UART_BINARY ?= "" +SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" +SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}" + +do_deploy_append () { + install ${S}/${UBOOT_RAW_BINARY} ${DEPLOYDIR}/${UBOOT_RAW_BINARY} + install ${S}/${UBOOT_DTB} ${DEPLOYDIR}/${UBOOT_DTB} +} + +# DEPEND on dtc-native for mainline u-boot because the mainline u-boot depends +# on some of the latest syntax constructs for an appended in dtb used for +# items like secure boot/image signing. +DEPENDS += "dtc-native" + +DESCRIPTION = "Mainline u-boot bootloader" + +LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919" + +PV = "v2014.10" + +UBOOT_BRANCH ?= "socfpga_${PV}_arria10_bringup" +UBOOT_REPO ?= "git://github.com/altera-opensource/u-boot-socfpga.git" +UBOOT_PROT ?= "https" + +SRC_URI = "${UBOOT_REPO};protocol=${UBOOT_PROT};branch=${UBOOT_BRANCH}" + +SRCREV = "${AUTOREV}" + -- cgit v1.2.3-54-g00ecf