diff --git a/conf/layer.conf b/conf/layer.conf index 4a722d3..f9c4a40 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,4 +9,12 @@ BBFILE_COLLECTIONS += "meta-emb-smarc" BBFILE_PATTERN_meta-emb-smarc := "^${LAYERDIR}" BBFILE_PRIORITY_meta-emb-smarc = "16" +EMB_UBOOT_MIRROR ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git" +EMB_KERNEL_MIRROR ?= "git://git@git.embedian.com/developer/smarc-fsl-linux-kernel.git" + +MIRRORS += " \ +${EMB_UBOOT_MIRROR} git://github.com/embedian/smarc-uboot.git;protocol=git;branch=${SRCBRANCH} \n \ +${EMB_KERNEL_MIRROR} git://github.com/embedian/smarc-fsl-linux-kernel.git;protocol=git;branch=${SRCBRANCH} \n \ +" + LAYERDEPENDS_meta-emb-smarc = "core fsl-arm" diff --git a/recipes-bsp/u-boot/u-boot-smarcfimx6_2014.04-smarcfimx6.bb b/recipes-bsp/u-boot/u-boot-smarcfimx6_2014.04-smarcfimx6.bb index 51e67ad..53ee967 100644 --- a/recipes-bsp/u-boot/u-boot-smarcfimx6_2014.04-smarcfimx6.bb +++ b/recipes-bsp/u-boot/u-boot-smarcfimx6_2014.04-smarcfimx6.bb @@ -11,12 +11,12 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb" PROVIDES += "u-boot" PV = "2014.04-smarcfimx6" -SRCREV = "3b1e04a5dbb7ce5ac2b69bdac905b72e2ac56308" +SRCREV = "875064eca4f80aa5179f1dc434fe3495a358d41b" SRCBRANCH = "smarc-imx_v2014.04_3.14.28_1.0.0_ga" # eMMC Boot Up -#SRCREV = "1fde73522a9617f04c5eb16b508dd70f193139bb" +#SRCREV = "7524aaeff2fef8a41ee3d4c91fde72b013d8bab5" #SRCBRANCH = "smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga" -SRC_URI = "git://git@git.embedian.com/developer/smarc-t335x-uboot.git;protocol=ssh;branch=${SRCBRANCH}" +SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${SRCBRANCH}" PR = "r0+gitr${SRCPV}" diff --git a/recipes-kernel/linux/linux-smarcfimx6_3.14.28.bb b/recipes-kernel/linux/linux-smarcfimx6_3.14.28.bb index ae48d4c..fc3329c 100644 --- a/recipes-kernel/linux/linux-smarcfimx6_3.14.28.bb +++ b/recipes-kernel/linux/linux-smarcfimx6_3.14.28.bb @@ -13,7 +13,7 @@ DEPENDS += "lzop-native bc-native" SRCBRANCH = "smarc-imx_3.14.28_1.0.0_ga" -SRC_URI = "git://git@git.embedian.com/developer/smarc-fsl-linux-kernel.git;protocol=ssh;branch=${SRCBRANCH} \ +SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH} \ file://defconfig \ "