From defd5a67fd8ce769e977478d735c7da1dd0493d8 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 29 Mar 2016 11:08:06 +0200 Subject: u-boot fsl utils: update to latest -next and add mx7 Signed-off-by: Max Krummenacher --- recipes-bsp/u-boot/files/colibri-mx7/fw_env.config | 11 +++++++++++ recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb | 11 +++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 recipes-bsp/u-boot/files/colibri-mx7/fw_env.config (limited to 'recipes-bsp/u-boot') diff --git a/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config b/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config new file mode 100644 index 0000000..100b66d --- /dev/null +++ b/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config @@ -0,0 +1,11 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is ommitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash + +# MTD device name Device offset Env. size Flash sector size Number of sectors +# Colibri iMX7 +/dev/mtd2 0x00000000 0x00020000 0x20000 1 + diff --git a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb index 91c595f..711ac20 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb @@ -5,17 +5,16 @@ SECTION = "bootloader" PROVIDES = "u-boot-fw-utils" DEPENDS = "mtd-utils" -COMPATIBLE_MACHINE = "(colibri-vf|colibri-imx6|apalis-imx6)" -DEFAULT_PREFERENCE_colibri-vf = "1" +COMPATIBLE_MACHINE = "(apalis-imx6|colibri-imx6|colibri-imx7|colibri-vf)" DEFAULT_PREFERENCE_apalis-imx6 = "1" DEFAULT_PREFERENCE_colibri-imx6 = "1" +DEFAULT_PREFERENCE_colibri-imx7 = "1" +DEFAULT_PREFERENCE_colibri-vf = "1" FILESPATHPKG =. "git:" S="${WORKDIR}/git" -SRCREV_colibri-vf = "b66337d357cca761bf8627acbb1ec991f425f0b4" -SRCREV_mx6 = "b66337d357cca761bf8627acbb1ec991f425f0b4" -SRCBRANCH_colibri-vf = "2015.04-toradex" -SRCBRANCH_mx6 = "2015.04-toradex" +SRCREV = "119db1915caf1bfa42ae9e6d331d693c8585a5f4" +SRCBRANCH = "2015.04-toradex-next" SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=${SRCBRANCH} \ file://fw_env.config \ " -- cgit v1.2.3