diff options
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch')
-rw-r--r-- | meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch new file mode 100644 index 0000000..08ddd88 --- /dev/null +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From c02da9f92f6ffaee65f428e1978bd3ff379a2612 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Wed, 14 Sep 2016 10:19:28 +0300 | ||
4 | Subject: [PATCH] Update only u-boot | ||
5 | |||
6 | --- | ||
7 | flash_blk.scr | 4 ++-- | ||
8 | flash_eth.scr | 4 ++-- | ||
9 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
10 | |||
11 | diff --git a/flash_blk.scr b/flash_blk.scr | ||
12 | index cc4cf38..b63366a 100644 | ||
13 | --- a/flash_blk.scr | ||
14 | +++ b/flash_blk.scr | ||
15 | @@ -14,6 +14,6 @@ setenv update_rootfs 'fatload ${interface} 0:1 ${loadaddr} ${board_name}/ubifs.i | ||
16 | |||
17 | setenv upgrade_alpha1_msg 'Updated U-Boot, please reset the board and use "run setupdate && run update" again.' | ||
18 | setenv prepare_alpha1_uboot 'if test "${soc}" = "mx7"; then run update_uboot && echo ${upgrade_alpha1_msg} && reset; fi' | ||
19 | -setenv update 'mtdparts default && run prepare_alpha1_uboot; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset' | ||
20 | +setenv update 'mtdparts default && run update_uboot && reset' | ||
21 | |||
22 | -echo 'enter "run update" to update the entire module' | ||
23 | +echo 'enter "run update" to update the uboot' | ||
24 | diff --git a/flash_eth.scr b/flash_eth.scr | ||
25 | index 01be124..13025de 100644 | ||
26 | --- a/flash_eth.scr | ||
27 | +++ b/flash_eth.scr | ||
28 | @@ -14,6 +14,6 @@ setenv update_rootfs 'tftpboot ${loadaddr} ${board_name}/ubifs.img && ubi write | ||
29 | |||
30 | setenv upgrade_alpha1_msg 'Updated U-Boot, please reset the board and use "run setupdate && run update" again.' | ||
31 | setenv prepare_alpha1_uboot 'if test "${soc}" = "mx7"; then run update_uboot && echo ${upgrade_alpha1_msg} && reset; fi' | ||
32 | -setenv update 'mtdparts default && run prepare_alpha1_uboot; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset' | ||
33 | +setenv update 'mtdparts default && run update_uboot && reset' | ||
34 | |||
35 | -echo 'enter "run update" to update the entire module' | ||
36 | +echo 'enter "run update" to update the uboot' | ||