summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ota-u-boot-script/files/uEnv-fit.txt
diff options
context:
space:
mode:
authorAnton Gerasimov <anton.gerasimov@here.com>2019-02-21 15:54:39 +0100
committerAnton Gerasimov <anton.gerasimov@here.com>2019-02-21 15:54:39 +0100
commitf97aa66abf9a5d781478d367ce275ca61137ed2d (patch)
tree857884b9b1cc26d8a6df08a9f0a26ee33c8bb427 /recipes-sota/ota-u-boot-script/files/uEnv-fit.txt
parent3b9b75140ea58f546829cb3cf1b234e5b650de77 (diff)
downloadmeta-updater-f97aa66abf9a5d781478d367ce275ca61137ed2d.tar.gz
Add universal uEnv recipewip/unversaluenv
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
Diffstat (limited to 'recipes-sota/ota-u-boot-script/files/uEnv-fit.txt')
-rw-r--r--recipes-sota/ota-u-boot-script/files/uEnv-fit.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-sota/ota-u-boot-script/files/uEnv-fit.txt b/recipes-sota/ota-u-boot-script/files/uEnv-fit.txt
new file mode 100644
index 0000000..64e34b0
--- /dev/null
+++ b/recipes-sota/ota-u-boot-script/files/uEnv-fit.txt
@@ -0,0 +1 @@
bootcmd_fitconf=run bootcmd_getroot; if test -e ${sota_main_part} "${ostree_root}/usr/lib/fit_conf"; then load ${sota_main_part} $loadaddr "${ostree_root}/usr/lib/fit_conf"; env import -t $loadaddr $filesize; fi; setenv sota_kernel_addr ${sota_kernel_addr}${fit_conf}