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 | 15e1cbe6534accaeb7b8a604523b921f61b2c2f4 (patch) | |
tree | 480ec140cf3b8713183f2b16666c1e2f075316b7 /recipes/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr | |
parent | 4acb4dd30accaf8be4a0bd76a911eeee57e49951 (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/apalis-t30/apalis-t30_bin/flash_eth.scr')
-rw-r--r-- | recipes/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr b/recipes/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr index d6bfa03..16d8073 100644 --- a/recipes/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr +++ b/recipes/images/files/apalis-t30/apalis-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}/apalis_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}' |