summaryrefslogtreecommitdiffstats
path: root/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch')
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch
new file mode 100644
index 0000000..5c62eb1
--- /dev/null
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch
@@ -0,0 +1,60 @@
1From 262b1dcc5f886ceb1944c8db3c1072c98d45a56e Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 14 Sep 2016 10:11:32 +0300
4Subject: [PATCH] Update only u-boot
5
6---
7 flash_blk.scr | 8 ++++----
8 flash_eth.scr | 8 ++++----
9 2 files changed, 8 insertions(+), 8 deletions(-)
10
11diff --git a/flash_blk.scr b/flash_blk.scr
12index 800383c..398c4de 100644
13--- a/flash_blk.scr
14+++ b/flash_blk.scr
15@@ -30,16 +30,16 @@ setenv update_2 'load ${interface} ${drive}:1 ${loadaddr} ${board_name}/boot.vfa
16 #do it in chunks of 64M to fit into DDR RAM of the smallest module
17 setenv update_3 'setenv filesize 4000000; setenv filepos 0; setenv blkstart a000; while test ${filesize} -eq "4000000"; do run cp_file_chunk; run set_nextpos; done; true'
18
19-setenv echo_migrate echo "successfully updated U-Boot, power-cycle and enter \"run setupdate\; run migrate\" to complete update"
20-setenv echo_migrate-it echo "successfully updated U-Boot, power-cycle and enter \"run setupdate\; run migrate_it\" to complete update"
21+setenv echo_migrate echo "successfully updated U-Boot"
22+setenv echo_migrate-it echo "successfully updated U-Boot"
23 setenv migrate 'run migrate_configblock; run update_latest; reset'
24 setenv migrate_it 'setenv module_type -it; run migrate'
25 setenv update_v2.4b1 'run check_configblock || run migrate_configblock; run migrate_uboot_old && run echo_migrate${module_type}'
26 setenv update_v2.5b3 'run check_configblock || run migrate_configblock; run migrate_uboot && run echo_migrate${module_type}'
27
28 setenv update_latest 'run update_uboot; run update_1; run update_2; run update_kernel; run update_fdt; run update_3'
29-setenv update_new 'updt_fuse -n && run update_latest && reset; run update_v2.5b3'
30+setenv update_new 'updt_fuse -n && run update_uboot && reset; run update_v2.5b3'
31 setenv update 'mmc bootbus 0 2 0 1 && run update_new && exit; run update_v2.4b1'
32 setenv update_it 'setenv module_type -it; run update'
33
34-echo 'enter "run update" or "run update_it" to update the entire module'
35+echo 'enter "run update" or "run update_it" to update the uboot'
36diff --git a/flash_eth.scr b/flash_eth.scr
37index 804c924..2f64288 100644
38--- a/flash_eth.scr
39+++ b/flash_eth.scr
40@@ -31,16 +31,16 @@ setenv update_2 'tftpboot ${loadaddr} ${board_name}/boot.vfat && run set_blkcnt
41 #split -a 2 -b `expr 64 \* 1024 \* 1024` --numeric-suffixes=10 root.ext3 root.ext3-
42 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; true'
43
44-setenv echo_migrate echo "successfully updated U-Boot, power-cycle and enter \"run setupdate\; run migrate\" to complete update"
45-setenv echo_migrate-it echo "successfully updated U-Boot, power-cycle and enter \"run setupdate\; run migrate_it\" to complete update"
46+setenv echo_migrate echo "successfully updated U-Boot"
47+setenv echo_migrate-it echo "successfully updated U-Boot"
48 setenv migrate 'run migrate_configblock; run update_latest; reset'
49 setenv migrate_it 'setenv module_type -it; run migrate'
50 setenv update_v2.4b1 'run check_configblock || run migrate_configblock; run migrate_uboot_old && run echo_migrate${module_type}'
51 setenv update_v2.5b3 'run check_configblock || run migrate_configblock; run migrate_uboot && run echo_migrate${module_type}'
52
53 setenv update_latest 'run update_uboot; run update_1; run update_2; run update_kernel; run update_fdt; run update_3'
54-setenv update_new 'updt_fuse -n && run update_latest && reset; run update_v2.5b3'
55+setenv update_new 'updt_fuse -n && run update_uboot && reset; run update_v2.5b3'
56 setenv update 'mmc bootbus 0 2 0 1 && run update_new && exit; run update_v2.4b1'
57 setenv update_it 'setenv module_type -it; run update'
58
59-echo 'enter "run update" or "run update_it" to update the entire module'
60+echo 'enter "run update" or "run update_it" to update the uboot'