diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-11-02 18:35:02 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-11-02 18:35:02 +0100 |
commit | 1820151ae6735d6d3a31e4852b482b1f6a1953dc (patch) | |
tree | 77e8586908f34c938934cfa973745263488610aa /recipes/images/files/colibri-t30/colibri-t30_bin/flash_eth.scr | |
parent | 911b689b1a61fb5a5736e29aea966d52bf037524 (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.scr | 2 |
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}' |