summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-01-22 12:02:47 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-03 16:09:10 +0900
commita0afc6f37851fe324418fff9655abedfe2d975a2 (patch)
tree3d62c193ead20fe8dcddbb22c677f1aa8118fbd0 /include/configs
parent82b0a0556172a17aca23cd07cf1dc3bd86248b97 (diff)
downloadu-boot-imx-a0afc6f37851fe324418fff9655abedfe2d975a2.zip
u-boot-imx-a0afc6f37851fe324418fff9655abedfe2d975a2.tar.gz
u-boot-imx-a0afc6f37851fe324418fff9655abedfe2d975a2.tar.bz2
config: trats: trats2: extend dfu_alt_info by env update settings
This change allows updating environment stored on MMC by dfu or thor. New setting: - "params.bin mmc 0x38 0x8" File params.bin can be generated by: tools/mkenvimage. e.g. ./mkenvimage -s 4096 -o params.bin <env_text_file> Every new env variable in text file should start with a new line. Sample env text file: - board/samsung/common/dfu_sample_env.txt Requirements: - file name: "params.bin" - file size: 4096 Bytes - the same as CONFIG_ENV_SIZE. Other size will cause CRC miscalculation at boot. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> CC: Piotr Wilczek <p.wilczek@samsung.com> CC: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/trats.h3
-rw-r--r--include/configs/trats2.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/trats.h b/include/configs/trats.h
index a623371..41de414 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -147,7 +147,8 @@
""PARTS_BOOT" part 0 2;" \
""PARTS_ROOT" part 0 5;" \
""PARTS_DATA" part 0 6;" \
- ""PARTS_UMS" part 0 7\0"
+ ""PARTS_UMS" part 0 7;" \
+ "params.bin mmc 0x38 0x8\0"
#define CONFIG_ENV_OVERWRITE
#define CONFIG_SYS_CONSOLE_INFO_QUIET
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 095f253..b72f492 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -178,7 +178,8 @@
""PARTS_BOOT" part 0 2;" \
""PARTS_ROOT" part 0 5;" \
""PARTS_DATA" part 0 6;" \
- ""PARTS_UMS" part 0 7\0"
+ ""PARTS_UMS" part 0 7;" \
+ "params.bin mmc 0x38 0x8\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
"bootk=" \