summaryrefslogtreecommitdiff
path: root/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr')
-rw-r--r--recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr b/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
index b68654b..56f8441 100644
--- a/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
+++ b/recipes/images/files/apalis-imx6/apalis-imx6_bin/flash_eth.scr
@@ -11,8 +11,8 @@ setenv update 'run update_1; run update_uboot; run update_2; run update_3; reset
setenv update_it 'run update_1; run update_uboot_it; run update_2; run update_3; reset'
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'
echo 'enter "run update" or "run update_it" to update the entire module'