summaryrefslogtreecommitdiff
path: root/recipes/images/files/colibri-t20/colibri-t20_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-t20/colibri-t20_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-t20/colibri-t20_bin/flash_eth.scr')
-rw-r--r--recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr
index 7fd62ce..bb2bd85 100644
--- a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr
+++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr
@@ -10,7 +10,7 @@ setenv migrate_configblock 'setexpr toradex_oui_addr $loadaddr + 8; run migrate_
setenv prepare_rootfs 'ubi part ubi && ubi check rootfs || ubi create rootfs'
setenv update_configblock 'tftpboot ${loadaddr} ${board_name}/configblock.bin && nand erase.part cfgblock && nand write ${loadaddr} cfgblock ${filesize}'
-setenv update_uboot 'tftpboot ${loadaddr} ${board_name}/colibri_t20-${ram-size}-${hw-version}-nand.img && nand erase 0x0 0x300000 && nand write ${loadaddr} 0x0 ${filesize}'
+setenv update_uboot 'tftpboot ${loadaddr} ${board_name}/${board_name}-${ram-size}-${hw-version}-nand.img && nand erase 0x0 0x300000 && nand write ${loadaddr} 0x0 ${filesize}'
setenv update_rootfs 'tftpboot ${loadaddr} ${board_name}/ubifs_${leb-size}.img && run prepare_rootfs && ubi write ${loadaddr} rootfs ${filesize}'
setenv echo_v2.3b7 echo "successfully updated U-Boot," \${note} "power-cycle and enter \"run setupdate\; run migrate_v2.3b7\" to complete update"