summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-03-29 11:08:06 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-30 19:57:41 +0200
commitdefd5a67fd8ce769e977478d735c7da1dd0493d8 (patch)
treeaaf18128c3b2aeee86b80971a7dd28682954332d /recipes-bsp/u-boot
parenta47a8ad7287be49897f151bc704ff8178f399066 (diff)
u-boot fsl utils: update to latest -next and add mx7
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/files/colibri-mx7/fw_env.config11
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb11
2 files changed, 16 insertions, 6 deletions
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 \
"