X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-bsp%2Fmeta-ti%2Frecipes-bsp%2Fu-boot%2Fu-boot-ti-staging_%25.bbappend;h=8f4402bac6237ca114a0bb344ecf914cfd615e77;hb=70652e1bf32ae5d5854c1e4e29ad2b921819ab69;hp=629667805ba3cea7f5b6942dc272e169a2de5291;hpb=61baed2387ceb17c2831a720f1fd0eafdd9ae8ff;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend b/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend index 629667805..8f4402bac 100644 --- a/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend +++ b/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend @@ -1,9 +1,21 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRCREV = "7e76f5e6781205bbdf4ec53aa6671b30856a33e7" +BRANCH = "p-ti-u-boot-2016.05" + +SRC_URI = "git://git.omapzoom.org/repo/u-boot.git;protocol=git;branch=${BRANCH}" # This applies to the JACINTO 6 vayu board ... essentially it is dra7_evm. SRC_URI_vayu += "file://fix_builderror_gcc5.patch" +SRC_URI += " file://${UBOOT_ENV_BINARY}" +SRC_URI += " file://0001-mmc-disable-the-mmc-clock-during-power-off.patch" -BRANCH = "p-ti-u-boot-2016.05" -SRC_URI = "git://git.omapzoom.org/repo/u-boot.git;protocol=git;branch=${BRANCH}" -SRCREV = "${AUTOREV}" +UBOOT_ENV = "uEnv" + +do_deploy_append () { + if [ "x${UBOOT_ENV}" != "x" ] + then + install ${WORKDIR}/${UBOOT_ENV_BINARY} ${DEPLOYDIR}/${UBOOT_ENV_IMAGE} + ln -sf ${UBOOT_ENV_IMAGE} ${DEPLOYDIR}/${UBOOT_ENV_SYMLINK} + fi +}