]> git.sur5r.net Git - u-boot/commit
scripts: Add script to extract default environment
authorLukasz Majewski <l.majewski@majess.pl>
Sat, 17 Sep 2016 04:57:39 +0000 (06:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2016 01:00:53 +0000 (21:00 -0400)
commit27229b2a4caf60ef685f8b9d1a3f6304487b18c7
treea80641556dc7d2558b2864cc641908959540888b
parentf61c9bcdfd3d1bb4ab6680d567081b0f6cbf908b
scripts: Add script to extract default environment

This script looks for env_common.o object file and extracts from it default
u-boot environment, which is afterwards printed on standard output.

Usage example:
get_default_envs.sh > u-boot-env-default.txt

The generated text file can be used as input for mkenvimage.

Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/get_default_envs.sh [new file with mode: 0755]