diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-09-26 11:24:06 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-09-28 08:58:12 +0000 |
commit | 08713303e05da028ec4001710331fdc5edf00439 (patch) | |
tree | 7463caf6942a4832047cf96e9fa85c8b465d07c9 /meta-fsl-extras/recipes/u-boot | |
parent | c10a157aeee4b5d6ddb9dfc4945c8a533ce00150 (diff) | |
download | meta-boot2qt-08713303e05da028ec4001710331fdc5edf00439.tar.gz |
toradex: update to latest release
Update toradex layers to 2.8b3 (rocko) and make the necessary
adaptations. Use WIC for image creation.
Change-Id: I7f7cc76e6c215c9edba1bcbede796b78f08b258c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot')
9 files changed, 58 insertions, 67 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb index 136fb80..ff25ec5 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2017 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -31,7 +31,7 @@ LICENSE = "The-Qt-Company-Commercial" | |||
31 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" | 31 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" |
32 | DEPENDS = "u-boot-mkimage-native" | 32 | DEPENDS = "u-boot-mkimage-native" |
33 | 33 | ||
34 | PV = "2.7" | 34 | PV = "2.8b3" |
35 | 35 | ||
36 | SRC_URI = " \ | 36 | SRC_URI = " \ |
37 | file://fwd_mmc.scr \ | 37 | file://fwd_mmc.scr \ |
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 index cf90c35..2235fae 100644 --- 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 | |||
@@ -1,19 +1,19 @@ | |||
1 | From c02da9f92f6ffaee65f428e1978bd3ff379a2612 Mon Sep 17 00:00:00 2001 | 1 | From 7e05ac9e6dc984bd060d766740ff494e0e3519d7 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 14 Sep 2016 10:19:28 +0300 | 3 | Date: Wed, 14 Sep 2016 10:19:28 +0300 |
4 | Subject: [PATCH] Update only u-boot | 4 | Subject: [PATCH] Update only u-boot |
5 | 5 | ||
6 | --- | 6 | --- |
7 | flash_blk.scr | 4 ++-- | 7 | flash_blk.scr | 2 +- |
8 | flash_eth.scr | 4 ++-- | 8 | flash_eth.scr | 2 +- |
9 | 2 files changed, 4 insertions(+), 4 deletions(-) | 9 | 2 files changed, 2 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/flash_blk.scr b/flash_blk.scr | 11 | diff --git a/flash_blk.scr b/flash_blk.scr |
12 | index cc4cf38..b63366a 100644 | 12 | index 9fa6296..e599070 100644 |
13 | --- a/flash_blk.scr | 13 | --- a/flash_blk.scr |
14 | +++ b/flash_blk.scr | 14 | +++ b/flash_blk.scr |
15 | @@ -15,7 +15,7 @@ setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-col | 15 | @@ -15,7 +15,7 @@ setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-c |
16 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 16 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
17 | 17 | ||
18 | # Test which version of U-Boot we are currently running on | 18 | # Test which version of U-Boot we are currently running on |
19 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' | 19 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' |
@@ -22,11 +22,11 @@ index cc4cf38..b63366a 100644 | |||
22 | if itest.b *0x30360800 -lt 0x11; then | 22 | if itest.b *0x30360800 -lt 0x11; then |
23 | echo && | 23 | echo && |
24 | diff --git a/flash_eth.scr b/flash_eth.scr | 24 | diff --git a/flash_eth.scr b/flash_eth.scr |
25 | index 01be124..13025de 100644 | 25 | index 20244d7..7f3372c 100644 |
26 | --- a/flash_eth.scr | 26 | --- a/flash_eth.scr |
27 | +++ b/flash_eth.scr | 27 | +++ b/flash_eth.scr |
28 | @@ -15,7 +15,7 @@ setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board | 28 | @@ -15,7 +15,7 @@ setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_boa |
29 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 29 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
30 | 30 | ||
31 | # Test which version of U-Boot we are currently running on | 31 | # Test which version of U-Boot we are currently running on |
32 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' | 32 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch index 86d21fd..2aa8421 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch | |||
@@ -1,27 +1,27 @@ | |||
1 | From 2b11117dcc616843a6dce1a5e97fcecefa7e3f4b Mon Sep 17 00:00:00 2001 | 1 | From 7d0fc874871d79125b1c17b32fec9742b2f5839e Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 14 Sep 2016 10:22:27 +0300 | 3 | Date: Wed, 14 Sep 2016 10:22:27 +0300 |
4 | Subject: [PATCH] Update only u-boot | 4 | Subject: [PATCH] Update only u-boot |
5 | 5 | ||
6 | --- | 6 | --- |
7 | flash_blk.scr | 6 +++--- | 7 | flash_blk.scr | 4 ++-- |
8 | flash_eth.scr | 6 +++--- | 8 | flash_eth.scr | 4 ++-- |
9 | 2 files changed, 6 insertions(+), 6 deletions(-) | 9 | 2 files changed, 4 insertions(+), 4 deletions(-) |
10 | 10 | ||
11 | diff --git a/flash_blk.scr b/flash_blk.scr | 11 | diff --git a/flash_blk.scr b/flash_blk.scr |
12 | index 401c47a..8fa5af9 100644 | 12 | index ae0fd5c..1b34c75 100644 |
13 | --- a/flash_blk.scr | 13 | --- a/flash_blk.scr |
14 | +++ b/flash_blk.scr | 14 | +++ b/flash_blk.scr |
15 | @@ -11,7 +11,7 @@ setenv update_kernel 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/zImage | 15 | @@ -11,7 +11,7 @@ setenv update_kernel 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/zImag |
16 | setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${loadaddr} dtb ${filesize}' | 16 | setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${fdt_addr_r} dtb ${filesize}' |
17 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 17 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
18 | 18 | ||
19 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' | 19 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' |
20 | +setenv update_new 'run update_uboot; reset' | 20 | +setenv update_new 'run update_uboot; reset' |
21 | 21 | ||
22 | # Upgrade part 1, write new U-Boot, but with old ECC format still... | 22 | # Upgrade part 1, write new U-Boot, but with old ECC format still... |
23 | # Store config block temporarly in memory at kernel_addr_r. | 23 | # Store config block temporarly in memory at kernel_addr_r. |
24 | @@ -19,10 +19,10 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 | 24 | @@ -19,7 +19,7 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 |
25 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' | 25 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' |
26 | 26 | ||
27 | # Upgrade part 2, use new ECC format for the whole device... | 27 | # Upgrade part 2, use new ECC format for the whole device... |
@@ -30,24 +30,20 @@ index 401c47a..8fa5af9 100644 | |||
30 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' | 30 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' |
31 | 31 | ||
32 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process | 32 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process |
33 | setenv update 'mtdparts default && if test "${mtdids}" = "nand0=fsl_nfc"; then; run upgrade_part1; else run update_new; fi' | ||
34 | |||
35 | -echo 'enter "run update" to update the entire module' | ||
36 | +echo 'enter "run update" to update the uboot' | ||
37 | diff --git a/flash_eth.scr b/flash_eth.scr | 33 | diff --git a/flash_eth.scr b/flash_eth.scr |
38 | index 15aab1c..aa98b3a 100644 | 34 | index b0e4904..0a8e3cc 100644 |
39 | --- a/flash_eth.scr | 35 | --- a/flash_eth.scr |
40 | +++ b/flash_eth.scr | 36 | +++ b/flash_eth.scr |
41 | @@ -11,7 +11,7 @@ setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && ubi write ${l | 37 | @@ -11,7 +11,7 @@ setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && ubi write $ |
42 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${loadaddr} dtb ${filesize}' | 38 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${fdt_addr_r} dtb ${filesize}' |
43 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 39 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
44 | 40 | ||
45 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' | 41 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' |
46 | +setenv update_new 'run update_uboot; reset' | 42 | +setenv update_new 'run update_uboot; reset' |
47 | 43 | ||
48 | # Upgrade part 1, write new U-Boot, but with old ECC format still... | 44 | # Upgrade part 1, write new U-Boot, but with old ECC format still... |
49 | # Store config block temporarly in memory at kernel_addr_r. | 45 | # Store config block temporarly in memory at kernel_addr_r. |
50 | @@ -19,10 +19,10 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 | 46 | @@ -19,7 +19,7 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 |
51 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' | 47 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' |
52 | 48 | ||
53 | # Upgrade part 2, use new ECC format for the whole device... | 49 | # Upgrade part 2, use new ECC format for the whole device... |
@@ -56,7 +52,3 @@ index 15aab1c..aa98b3a 100644 | |||
56 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' | 52 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' |
57 | 53 | ||
58 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process | 54 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process |
59 | setenv update 'mtdparts default && if test "${mtdids}" = "nand0=fsl_nfc"; then; run upgrade_part1; else run update_new; fi' | ||
60 | |||
61 | -echo 'enter "run update" to update the entire module' | ||
62 | +echo 'enter "run update" to update the uboot' | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr index 5c75100..12d89cf 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr | |||
@@ -17,10 +17,10 @@ setenv migrate_uboot 'run update_spl && run update_uboot_bin && mmc bootbus 0 2 | |||
17 | setenv cp_file_chunk 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' | 17 | setenv cp_file_chunk 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' |
18 | 18 | ||
19 | setenv update_spl 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' | 19 | setenv update_spl 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' |
20 | setenv update_uboot_bin 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/u-boot.imx-spl && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' | 20 | setenv update_uboot_bin 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/u-boot.img && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' |
21 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' | 21 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' |
22 | 22 | ||
23 | setenv update_kernel 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/uImage && fatwrite mmc 0:1 ${fdt_addr_r} uImage ${filesize}' | 23 | setenv update_kernel 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/zImage && fatwrite mmc 0:1 ${fdt_addr_r} zImage ${filesize}' |
24 | 24 | ||
25 | setenv update_fdt 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' | 25 | setenv update_fdt 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' |
26 | 26 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr index 16f91e8..ee91523 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr | |||
@@ -15,10 +15,10 @@ setenv migrate_uboot 'run update_spl && run update_uboot_bin && mmc bootbus 0 2 | |||
15 | setenv cp_file_chunk 'tftpboot ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' | 15 | setenv cp_file_chunk 'tftpboot ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' |
16 | 16 | ||
17 | setenv update_spl 'tftpboot ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' | 17 | setenv update_spl 'tftpboot ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' |
18 | setenv update_uboot_bin 'tftpboot ${fdt_addr_r} ${board_name}/u-boot.imx-spl && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' | 18 | setenv update_uboot_bin 'tftpboot ${fdt_addr_r} ${board_name}/u-boot.img && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' |
19 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' | 19 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' |
20 | 20 | ||
21 | setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/uImage && fatwrite mmc 0:1 ${fdt_addr_r} uImage ${filesize}' | 21 | setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && fatwrite mmc 0:1 ${fdt_addr_r} zImage ${filesize}' |
22 | 22 | ||
23 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' | 23 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' |
24 | 24 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch index f6dc0cc..083ec6d 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f86bb70bd270967082cb8132eb68c3c3dea4a7a7 Mon Sep 17 00:00:00 2001 | 1 | From 0f7d6eecead2c079ac050e6d16b64f280d9feab0 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Mon, 15 May 2017 15:31:36 +0300 | 3 | Date: Mon, 15 May 2017 15:31:36 +0300 |
4 | Subject: [PATCH 1/2] Make sdboot default on all boards | 4 | Subject: [PATCH] Make sdboot default on all boards |
5 | 5 | ||
6 | ... and remove console=tty1 from kernel args | 6 | ... and remove console=tty1 from kernel args |
7 | --- | 7 | --- |
@@ -12,10 +12,10 @@ Subject: [PATCH 1/2] Make sdboot default on all boards | |||
12 | 4 files changed, 10 insertions(+), 8 deletions(-) | 12 | 4 files changed, 10 insertions(+), 8 deletions(-) |
13 | 13 | ||
14 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 14 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
15 | index 76cbdf2..9b42af9 100644 | 15 | index 71dfeb56f5..b687dab91d 100644 |
16 | --- a/include/configs/apalis_imx6.h | 16 | --- a/include/configs/apalis_imx6.h |
17 | +++ b/include/configs/apalis_imx6.h | 17 | +++ b/include/configs/apalis_imx6.h |
18 | @@ -257,7 +257,8 @@ | 18 | @@ -256,7 +256,8 @@ |
19 | #endif | 19 | #endif |
20 | #define CONFIG_EXTRA_ENV_SETTINGS \ | 20 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
21 | BOOTENV \ | 21 | BOOTENV \ |
@@ -25,20 +25,20 @@ index 76cbdf2..9b42af9 100644 | |||
25 | "run distro_bootcmd ; " \ | 25 | "run distro_bootcmd ; " \ |
26 | "usb start ;" \ | 26 | "usb start ;" \ |
27 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ | 27 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ |
28 | @@ -280,7 +281,7 @@ | 28 | @@ -279,7 +280,7 @@ |
29 | " ${loadaddr} flash_blk.img && " \ | 29 | " ${loadaddr} flash_blk.img && " \ |
30 | "source ${loadaddr}\0" \ | 30 | "source ${loadaddr}\0" \ |
31 | "setup=setenv setupargs fec_mac=${ethaddr} " \ | 31 | "setup=setenv setupargs fec_mac=${ethaddr} " \ |
32 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ | 32 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ |
33 | + "consoleblank=0 no_console_suspend=1 " \ | 33 | + "consoleblank=0 no_console_suspend=1 " \ |
34 | "console=${console},${baudrate}n8\0 " \ | 34 | "console=${console},${baudrate}n8\0" \ |
35 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | 35 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ |
36 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ | 36 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ |
37 | diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h | 37 | diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h |
38 | index ab561f3..cbaeece 100644 | 38 | index f1fd5b422e..c7d75cea2a 100644 |
39 | --- a/include/configs/colibri_imx6.h | 39 | --- a/include/configs/colibri_imx6.h |
40 | +++ b/include/configs/colibri_imx6.h | 40 | +++ b/include/configs/colibri_imx6.h |
41 | @@ -232,7 +232,8 @@ | 41 | @@ -231,7 +231,8 @@ |
42 | #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" | 42 | #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" |
43 | #define CONFIG_EXTRA_ENV_SETTINGS \ | 43 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
44 | BOOTENV \ | 44 | BOOTENV \ |
@@ -48,17 +48,17 @@ index ab561f3..cbaeece 100644 | |||
48 | "run distro_bootcmd ; " \ | 48 | "run distro_bootcmd ; " \ |
49 | "usb start ;" \ | 49 | "usb start ;" \ |
50 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ | 50 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ |
51 | @@ -253,7 +254,7 @@ | 51 | @@ -252,7 +253,7 @@ |
52 | "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ | 52 | "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ |
53 | "source ${loadaddr}\0" \ | 53 | "source ${loadaddr}\0" \ |
54 | "setup=setenv setupargs fec_mac=${ethaddr} " \ | 54 | "setup=setenv setupargs fec_mac=${ethaddr} " \ |
55 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ | 55 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ |
56 | + "consoleblank=0 no_console_suspend=1 " \ | 56 | + "consoleblank=0 no_console_suspend=1 " \ |
57 | "console=${console},${baudrate}n8\0 " \ | 57 | "console=${console},${baudrate}n8\0" \ |
58 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | 58 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ |
59 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ | 59 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ |
60 | diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h | 60 | diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h |
61 | index 2d6cee3..6773296 100644 | 61 | index ea04762b49..ca827a8a58 100644 |
62 | --- a/include/configs/colibri_imx7.h | 62 | --- a/include/configs/colibri_imx7.h |
63 | +++ b/include/configs/colibri_imx7.h | 63 | +++ b/include/configs/colibri_imx7.h |
64 | @@ -104,7 +104,7 @@ | 64 | @@ -104,7 +104,7 @@ |
@@ -80,7 +80,7 @@ index 2d6cee3..6773296 100644 | |||
80 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | 80 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ |
81 | "setusbupdate=usb start && setenv interface usb && " \ | 81 | "setusbupdate=usb start && setenv interface usb && " \ |
82 | diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h | 82 | diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h |
83 | index 7fea78b..5bc3e3d 100644 | 83 | index db610d53f1..aafd4bc95e 100644 |
84 | --- a/include/configs/colibri_vf.h | 84 | --- a/include/configs/colibri_vf.h |
85 | +++ b/include/configs/colibri_vf.h | 85 | +++ b/include/configs/colibri_vf.h |
86 | @@ -155,7 +155,7 @@ | 86 | @@ -155,7 +155,7 @@ |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch index 469009b..ea94c0c 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch | |||
@@ -1,8 +1,7 @@ | |||
1 | From 138f477c5a1990429d35ffadc8f5cea5b1e9f945 Mon Sep 17 00:00:00 2001 | 1 | From 41be67109ab0c0fd156ee8615592827624fab12e Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Fri, 19 May 2017 12:41:38 +0300 | 3 | Date: Fri, 19 May 2017 12:41:38 +0300 |
4 | Subject: [PATCH 2/2] apalis-imx6: test for Capacitive Touch Display 7" | 4 | Subject: [PATCH] apalis-imx6: test for Capacitive Touch Display 7" Parallel |
5 | Parallel | ||
6 | 5 | ||
7 | Test i2c bus if Capacitive Touch Display 7" Parallel display is present | 6 | Test i2c bus if Capacitive Touch Display 7" Parallel display is present |
8 | during boot. If found, enable it as the primary display in kernel args. | 7 | during boot. If found, enable it as the primary display in kernel args. |
@@ -14,10 +13,10 @@ support for the atmel_mxt_ts touch controller. | |||
14 | 1 file changed, 7 insertions(+), 2 deletions(-) | 13 | 1 file changed, 7 insertions(+), 2 deletions(-) |
15 | 14 | ||
16 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 15 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
17 | index 9b42af9..121eaa7 100644 | 16 | index b687dab91d..3351a18e4c 100644 |
18 | --- a/include/configs/apalis_imx6.h | 17 | --- a/include/configs/apalis_imx6.h |
19 | +++ b/include/configs/apalis_imx6.h | 18 | +++ b/include/configs/apalis_imx6.h |
20 | @@ -250,7 +250,7 @@ | 19 | @@ -249,7 +249,7 @@ |
21 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | 20 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" |
22 | 21 | ||
23 | #ifndef CONFIG_TDX_APALIS_IMX6_V1_0 | 22 | #ifndef CONFIG_TDX_APALIS_IMX6_V1_0 |
@@ -26,14 +25,14 @@ index 9b42af9..121eaa7 100644 | |||
26 | #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb" | 25 | #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb" |
27 | #else | 26 | #else |
28 | #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb" | 27 | #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb" |
29 | @@ -280,9 +280,14 @@ | 28 | @@ -279,9 +279,14 @@ |
30 | "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ | 29 | "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ |
31 | " ${loadaddr} flash_blk.img && " \ | 30 | " ${loadaddr} flash_blk.img && " \ |
32 | "source ${loadaddr}\0" \ | 31 | "source ${loadaddr}\0" \ |
33 | - "setup=setenv setupargs fec_mac=${ethaddr} " \ | 32 | - "setup=setenv setupargs fec_mac=${ethaddr} " \ |
34 | + "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \ | 33 | + "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \ |
35 | "consoleblank=0 no_console_suspend=1 " \ | 34 | "consoleblank=0 no_console_suspend=1 " \ |
36 | "console=${console},${baudrate}n8\0 " \ | 35 | "console=${console},${baudrate}n8\0" \ |
37 | + "setupvideo=i2c dev 0; if i2c probe 4A; " \ | 36 | + "setupvideo=i2c dev 0; if i2c probe 4A; " \ |
38 | + "then setenv vidargs mxc_hdmi.only_cea=1 " \ | 37 | + "then setenv vidargs mxc_hdmi.only_cea=1 " \ |
39 | + "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \ | 38 | + "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \ |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch index 1bf7c27..d2e82a7 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1f3926a8e90a7e582d28b845e812d0642a4dc5ce Mon Sep 17 00:00:00 2001 | 1 | From ccbaab75abc8d5f5cbadc6a0285dd496a45252cf Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Thu, 12 Oct 2017 11:02:54 +0300 | 3 | Date: Thu, 12 Oct 2017 11:02:54 +0300 |
4 | Subject: [PATCH 3/3] apalis-imx6: Ixora v1.0 support | 4 | Subject: [PATCH] apalis-imx6: Ixora v1.0 support |
5 | 5 | ||
6 | Add sddrive variable that can be changed to boot from different mmc card | 6 | Add sddrive variable that can be changed to boot from different mmc card |
7 | slot when using different versions of ixora carrier board. | 7 | slot when using different versions of ixora carrier board. |
@@ -11,10 +11,10 @@ Default to drive 1, which is correct for Ixora v1.1. | |||
11 | 1 file changed, 5 insertions(+), 4 deletions(-) | 11 | 1 file changed, 5 insertions(+), 4 deletions(-) |
12 | 12 | ||
13 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 13 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
14 | index 121eaa7..77a8874 100644 | 14 | index 3351a18e4c..7aabb1334b 100644 |
15 | --- a/include/configs/apalis_imx6.h | 15 | --- a/include/configs/apalis_imx6.h |
16 | +++ b/include/configs/apalis_imx6.h | 16 | +++ b/include/configs/apalis_imx6.h |
17 | @@ -227,15 +227,16 @@ | 17 | @@ -226,15 +226,16 @@ |
18 | "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | 18 | "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" |
19 | 19 | ||
20 | #define SD_BOOTCMD \ | 20 | #define SD_BOOTCMD \ |
@@ -29,7 +29,7 @@ index 121eaa7..77a8874 100644 | |||
29 | - "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \ | 29 | - "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \ |
30 | + "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \ | 30 | + "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \ |
31 | "${boot_file} && run fdt_fixup && " \ | 31 | "${boot_file} && run fdt_fixup && " \ |
32 | "bootm ${kernel_addr_r} ${dtbparam}\0" \ | 32 | "bootz ${kernel_addr_r} ${dtbparam}\0" \ |
33 | - "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \ | 33 | - "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \ |
34 | + "sddtbload=setenv dtbparam; load mmc ${sddrive}:1 ${fdt_addr_r} " \ | 34 | + "sddtbload=setenv dtbparam; load mmc ${sddrive}:1 ${fdt_addr_r} " \ |
35 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | 35 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch index c259f7f..acc5a16 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch | |||
@@ -1,22 +1,22 @@ | |||
1 | From 0b31b8e73bfbc02e7687ea521e9e92f892e7052a Mon Sep 17 00:00:00 2001 | 1 | From 6c83b14450862c63ebd755fdf81afde43cddfe6c Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 18 Oct 2017 13:20:25 +0300 | 3 | Date: Wed, 18 Oct 2017 13:20:25 +0300 |
4 | Subject: [PATCH 4/4] apalis-imx6: lower default resolution on HDMI to 720p | 4 | Subject: [PATCH] apalis-imx6: lower default resolution on HDMI to 720p |
5 | 5 | ||
6 | --- | 6 | --- |
7 | include/configs/apalis_imx6.h | 2 +- | 7 | include/configs/apalis_imx6.h | 2 +- |
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
9 | 9 | ||
10 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 10 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
11 | index 77a8874..0292e74 100644 | 11 | index 7aabb1334b..da34817a7a 100644 |
12 | --- a/include/configs/apalis_imx6.h | 12 | --- a/include/configs/apalis_imx6.h |
13 | +++ b/include/configs/apalis_imx6.h | 13 | +++ b/include/configs/apalis_imx6.h |
14 | @@ -295,7 +295,7 @@ | 14 | @@ -294,7 +294,7 @@ |
15 | "source ${loadaddr}\0" \ | 15 | "source ${loadaddr}\0" \ |
16 | "splashpos=m,m\0" \ | 16 | "splashpos=m,m\0" \ |
17 | "vidargs=mxc_hdmi.only_cea=1 " \ | 17 | "vidargs=mxc_hdmi.only_cea=1 " \ |
18 | - "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 " \ | 18 | - "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 " \ |
19 | + "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \ | 19 | + "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \ |
20 | "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \ | 20 | "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \ |
21 | "fbmem=32M\0 " | 21 | "fbmem=32M\0" |
22 | 22 | ||