diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-27 10:43:16 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-28 14:11:24 +0300 |
commit | d899f31b7fb5c857b159b46c52ce22b3c7b701f5 (patch) | |
tree | 3f307120e120671a7f7e81d04341f428124b1c9c /meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr | |
parent | bfbad49ac1d55ec3864ddff6d8c7b4b38fbaf907 (diff) | |
download | meta-boot2qt-d899f31b7fb5c857b159b46c52ce22b3c7b701f5.tar.gz |
toradex: add support for u-boot update on colibri vf
Include flash scripts to boot partition, which can update u-boot
to NAND. Remove kernel and dtb files from boot partition, as they
are read from second partition.
u-boot env changed to boot from MMC by default and kernel
messages removed from tty1.
apalis flash scripts updated to latest version from toradex and
to use both flash_mmc and flash_blk.
Change-Id: I1a58badafa01e2023b9ae058b833eb108c097594
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr')
-rw-r--r-- | meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr new file mode 100644 index 0000000..207c7db --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr | |||
@@ -0,0 +1,6 @@ | |||
1 | #flash_mmc has been renamed to flash_blk, ensure compatibilty when updating from older versions | ||
2 | test -n ${interface} || setenv interface mmc | ||
3 | test -n ${drive} || setenv drive 1 | ||
4 | |||
5 | fatload ${interface} ${drive}:1 ${loadaddr} flash_blk.img | ||
6 | source ${loadaddr} | ||