summaryrefslogtreecommitdiff
path: root/recipes/images/files/apalis-t30/apalis-t30_bin/flash_eth.scr
diff options
context:
space:
mode:
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.scr8
1 files changed, 4 insertions, 4 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 965549a..a161d5a 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
@@ -26,10 +26,10 @@ setenv update_configblock 'run check_configblock; tftpboot ${loadaddr} configblo
setenv update_1 'tftpboot ${loadaddr} mbr.bin && mmc dev 0 0 && mmc write ${loadaddr} 0x0 0x1'
setenv update_2 'tftpboot ${loadaddr} boot.vfat && run set_blkcnt && mmc dev 0 0 && mmc write ${loadaddr} 0x2000 ${blkcnt}'
-#do it in chunks of 256M to fit into DDR RAM of the smallest module
-#split root.ext3 into multiple 256M chunks before copying to TFTP folder as follows
-#split -a 1 -b `expr 256 \* 1024 \* 1024` -d root.ext3 root.ext3-
-setenv update_3 'setenv filesize 10000000; setenv filenum 0; setenv blkstart a000; while test ${filesize} -eq "10000000"; do run cp_file_chunk; run set_nextnum; done'
+#do it in chunks of 64M to fit into DDR RAM of the smallest module
+#split root.ext3 into multiple 64M chunks before copying to TFTP folder as follows
+#split -a 2 -b `expr 64 \* 1024 \* 1024` --numeric-suffixes=10 root.ext3 root.ext3-
+setenv update_3 'setenv filesize 4000000; setenv filenum 10; setenv blkstart a000; while test ${filesize} -eq "4000000"; do run cp_file_chunk; run set_nextnum; done'
setenv echo_v2.3b2 echo "successfully updated U-Boot, power-cycle and enter \"run setupdate\; run migrate_v2.3b2\" to complete update"
setenv migrate_v2.3b2 'run migrate_configblock; run update_new'