From 7c758ad91693bac28796d8e7b9d27c15f89b6cac Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Wed, 5 Aug 2020 19:25:20 +0200 Subject: 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 --- recipes-bsp/u-boot/u-boot-toradex-common.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'recipes-bsp/u-boot/u-boot-toradex-common.inc') 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}" ] -- cgit v1.2.3