[U-Boot] [PATCH] config: trats: trats2: extend dfu_alt_info by env update settings

Minkyu Kang mk7.kang at samsung.com
Mon Feb 3 08:17:01 CET 2014


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 at samsung.com>
> CC: Piotr Wilczek <p.wilczek at samsung.com>
> CC: Lukasz Majewski <l.majewski at 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.



More information about the U-Boot mailing list