diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2016-09-14 16:53:57 +0300 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2016-09-19 14:46:40 +0000 |
commit | 5e19fd01a8021b2aef3488666c555edd63eb4582 (patch) | |
tree | a35161921fbfcdf0fa2d2b73c3bbd0ea79160709 /meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch | |
parent | 97e5acb0a9a1b8c772cbf0018d46f26f61605bd1 (diff) | |
download | meta-boot2qt-5e19fd01a8021b2aef3488666c555edd63eb4582.tar.gz |
toradex: use latest u-boot and flashing scripts
The script sources are from meta-toradex-demos layer, but they are
patched to update only u-boot part. The u-boot from V2.6 release is
the latest that toradex uses in their boards and uses the changed
u-boot location.
Change-Id: I86345f692961ed906af4d9f251de28eb551d9cbf
Reviewed-by: Risto Avila <risto.avila@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch')
-rw-r--r-- | meta-toradex-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-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch b/meta-toradex-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-toradex-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' | ||