From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Mon, 03 Feb 2014 16:17:01 +0900 Subject: [U-Boot] [PATCH] config: trats: trats2: extend dfu_alt_info by env update settings In-Reply-To: <1390388567-13607-1-git-send-email-p.marczak@samsung.com> References: <1390388567-13607-1-git-send-email-p.marczak@samsung.com> Message-ID: <52EF426D.3070404@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > 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 > CC: Piotr Wilczek > CC: Lukasz Majewski > --- > 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.