summaryrefslogtreecommitdiff
path: root/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-12-09 14:47:27 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-12-15 15:49:28 +0100
commit939cbd7d80362d246a411bdbd317d1b39c3126b9 (patch)
tree55bace83b57620004a1bb9b3afc0a8c931227c90 /recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
parent6ba97a33e93ad300836339230449e02ac62692e1 (diff)
Apalis iMX6: flash scripts, add update_uboot_it
This has been missing since our move to boot from the eMMC boot partition. While at it clarify update.sh help. _it applies only to Apalis iMX6 IT modules. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr')
-rw-r--r--recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr b/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
index 02f6a5b..7248c2e 100644
--- a/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
+++ b/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
@@ -13,6 +13,7 @@ setenv migrate_uboot 'tftpboot ${loadaddr} ${board_name}/u-boot${module_type}.im
setenv cp_file_chunk 'tftpboot ${loadaddr} ${board_name}/root.ext3-${filenum}; run set_blkcnt; mmc dev 0 0 && mmc write ${loadaddr} ${blkstart} ${blkcnt}'
setenv update_uboot 'tftpboot ${loadaddr} ${board_name}/u-boot${module_type}.imx && run set_blkcnt && mmc dev 0 1 && mmc write ${loadaddr} 2 ${blkcnt} && mmc bootbus 0 2 1 2 && mmc partconf 0 1 1 0'
+setenv update_uboot_it 'setenv module_type -it; run update_uboot'
setenv update_kernel 'tftpboot ${loadaddr} ${board_name}/uImage && fatwrite mmc 0:1 ${loadaddr} uImage ${filesize}'