summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-toradex-common.inc
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2020-08-05 19:25:20 +0200
committerMing Liu <ming.liu@toradex.com>2020-08-10 15:45:03 +0200
commit7c758ad91693bac28796d8e7b9d27c15f89b6cac (patch)
treeb656eb1940fccffddb81e23fcdfb92c9fded4c67 /recipes-bsp/u-boot/u-boot-toradex-common.inc
parent8a2e5df0404ac59a5f1e74638a4220274afb4867 (diff)
meta: change to use libubootenv to provide u-boot-fw-utils
The changes include: - Drop PREFERRED_PROVIDER_u-boot-fw-utils from machine conf. - Drop u-boot-toradex-fw-utils recipes. - Drop fw_unlock_mmc.sh, that's not needed for libubootenv. - Drop u-boot.inc, use default u-boot.inc from OE layer. - Add fw_env.config to uboot recipe. - Set UBOOT_INITIAL_ENV to u-boot-initial-env, which is being referred in libubootenv. Related-to: ELB-2552 Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-toradex-common.inc')
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-common.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-common.inc b/recipes-bsp/u-boot/u-boot-toradex-common.inc
index da75041..b8343f6 100644
--- a/recipes-bsp/u-boot/u-boot-toradex-common.inc
+++ b/recipes-bsp/u-boot/u-boot-toradex-common.inc
@@ -17,10 +17,15 @@ SRCBRANCH = "toradex_2019.07"
SRCREV_use-head-next = "${AUTOREV}"
SRCBRANCH_use-head-next = "toradex_2019.07-next"
-SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=https;branch=${SRCBRANCH}"
+SRC_URI = " \
+ git://git.toradex.com/u-boot-toradex.git;protocol=https;branch=${SRCBRANCH} \
+ file://fw_env.config \
+"
S = "${WORKDIR}/git"
+UBOOT_INITIAL_ENV = "u-boot-initial-env"
+
do_deploy_append_mx8m() {
# Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary
if [ -n "${UBOOT_CONFIG}" ]