diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-05-05 09:48:53 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-12 10:06:08 +0200 |
commit | 2602b3986aa66203ecd375139f9eba0cbd5543c3 (patch) | |
tree | 156e23eb1bcff949e19ec32c51e64677f3c441f9 /recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr | |
parent | a1f6d5b25c105b5088c3aa1b407c4fed8389064a (diff) |
apalis/colibri_imx6/t20/t30: revamp update scripts
iMX6: Always do use a secondary argument for the 'mmc dev' command.
T30: Do rootfs update of eMMC in chunks as well. Requires pre-splitting
file in Ethernet case. As an advantage allows flashing rootfs bigger
than RAM plus avoids timeouts during flashing. Added wrapper flash_mmc
script as well for backwards compatibility reason.
While at it cleanup various whitespaces throughout the update scripts.
Diffstat (limited to 'recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr')
-rw-r--r-- | recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr index 6ed07dc..9346761 100644 --- a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr @@ -1,5 +1,5 @@ -test -n ${drive} || setenv drive 1 test -n ${interface} || setenv interface mmc +test -n ${drive} || setenv drive 1 setenv prepare_rootfs 'ubi part ubi && ubi check rootfs || ubi create rootfs' setenv update_configblock 'load ${interface} 0:1 ${loadaddr} configblock.bin && nand erase.part cfgblock && nand write ${loadaddr} cfgblock ${filesize}' |