summaryrefslogtreecommitdiff
path: root/include/configs/colibri-imx6ull.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-12-07 14:41:39 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-12-22 14:01:56 +0100
commit980e216a8adf313049645c7b0e906e806f109243 (patch)
tree7e5f7ed91b7f91ff127e32a82fb949b58e0ab3db /include/configs/colibri-imx6ull.h
parentaf4cb9169559ad7dae59029d5ef8ba6bdbaa930a (diff)
colibri_imx6ull: add sensible default DFU configuration
Add DFU configuration which allows access to all MTD partitions. Note that DFU is mostily suited for smaller image uploads e.g. to update U-Boot but does not work well for large images such as rootfs since DFU copies the whole image in a memory buffer first. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/configs/colibri-imx6ull.h')
-rw-r--r--include/configs/colibri-imx6ull.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index 4e17e7c966c..d084199f4c7 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -117,6 +117,8 @@
#undef CONFIG_ISO_PARTITION
+#define DFU_ALT_NAND_INFO "imx6ull-bcb part 0,1;u-boot1 part 0,2;u-boot2 part 0,3;u-boot-env part 0,4;ubi partubi 0,5"
+
#define CONFIG_EXTRA_ENV_SETTINGS \
BOOTENV \
MEM_LAYOUT_ENV_SETTINGS \
@@ -125,6 +127,7 @@
UBI_BOOTCMD \
"console=ttymxc0\0" \
"defargs=user_debug=31\0" \
+ "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
"fdt_board=eval-v3\0" \
"fdt_fixup=;\0" \
"ip_dyn=yes\0" \