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 | c2fad0831e2ea2e353b2b65abe833ff541085a6e (patch) | |
tree | 8a71fd147c65afe7152fe78fd0c3d949d7c770c5 /recipes/images/files/colibri-t20/colibri-t20_bin | |
parent | 59553f7d55d86a96bc08d4e945c80e40c309d044 (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')
-rw-r--r-- | recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img | bin | 848 -> 848 bytes | |||
-rw-r--r-- | recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr | 2 | ||||
-rw-r--r-- | recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img | bin | 728 -> 728 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img Binary files differindex 91246e1..9df988e 100644 --- a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img 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}' diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img Binary files differindex 8ad27ab..e0014c1 100644 --- a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img |