summaryrefslogtreecommitdiff
path: root/recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-11-02 18:35:02 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-11-02 18:35:02 +0100
commit15e1cbe6534accaeb7b8a604523b921f61b2c2f4 (patch)
tree480ec140cf3b8713183f2b16666c1e2f075316b7 /recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr
parent4acb4dd30accaf8be4a0bd76a911eeee57e49951 (diff)
apalis/colibri_t20/t30: further generalise u-boot update scripts
Further generalise U-Boot update scripts by using ${board_name} instead of hard coding module name like apalis_t30, colibri_t20 or colibri_t30.
Diffstat (limited to 'recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr')
-rw-r--r--recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr b/recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr
index 1feb64b..39e9424 100644
--- a/recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr
+++ b/recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr
@@ -16,7 +16,7 @@ setenv migrate_configblock 'setexpr toradex_oui_addr ${loadaddr} + 8; run migrat
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}/colibri_t30.img && run set_blkcnt && mmc dev 0 1 && mmc write ${loadaddr} 0x0 ${blkcnt}'
+setenv update_uboot 'tftpboot ${loadaddr} ${board_name}/${board_name}.img && run set_blkcnt && mmc dev 0 1 && mmc write ${loadaddr} 0x0 ${blkcnt}'
setenv update_kernel 'tftpboot ${loadaddr} ${board_name}/uImage && fatwrite mmc 0:1 ${loadaddr} uImage ${filesize}'