
On 22/01/14 20:02, Przemyslaw Marczak wrote:
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
board/samsung/common/dfu_sample_env.txt | 9 +++++++++ include/configs/trats.h | 3 ++- include/configs/trats2.h | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 board/samsung/common/dfu_sample_env.txt
applied to u-boot-samsung.
Thanks, Minkyu Kang.