diff options
author | Ming Liu <ming.liu@toradex.com> | 2020-08-05 19:25:20 +0200 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2020-08-10 15:45:03 +0200 |
commit | 7c758ad91693bac28796d8e7b9d27c15f89b6cac (patch) | |
tree | b656eb1940fccffddb81e23fcdfb92c9fded4c67 /recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc | |
parent | 8a2e5df0404ac59a5f1e74638a4220274afb4867 (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_2018.03.inc')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc b/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc index 518a6e9..999ed4f 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc +++ b/recipes-bsp/u-boot/u-boot-toradex-common_2018.03.inc @@ -4,8 +4,10 @@ SECTION = "bootloaders" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" -UBOOT_SRC ?= "git://git.toradex.com/u-boot-toradex.git;protocol=https" -SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" +SRC_URI = " \ + git://git.toradex.com/u-boot-toradex.git;protocol=https;branch=${SRCBRANCH} \ + file://fw_env.config \ +" SRCREV = "548a7dcc242452d447634beef792447515c324f8" SRCREV_use-head-next = "${AUTOREV}" @@ -15,6 +17,8 @@ S = "${WORKDIR}/git" inherit toradex-u-boot-localversion +UBOOT_INITIAL_ENV = "u-boot-initial-env" + COMPATIBLE_MACHINE = "(mx8)" PACKAGE_ARCH = "${MACHINE_ARCH}" |