diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-10-16 14:48:41 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-10-16 14:48:41 +0300 |
commit | fb22822ea452bd990b09d0dc96607dd88c915ee2 (patch) | |
tree | b668654ca6eaee679057bc4ea0c14c888a6f9ae7 /meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch | |
parent | 718ef6e06d732543f0d9c991683fc38793489461 (diff) | |
parent | 1bb77ba7ef3677b39d5ebdcb69ac456cdd50c0f3 (diff) | |
download | meta-boot2qt-fb22822ea452bd990b09d0dc96607dd88c915ee2.tar.gz |
Merge remote-tracking branch 'origin/morty' into pyro
* origin/morty:
meta-qt5: update to 5.9.3
apalis-imx6: modify u-boot to provide support for ixora v1.0
apalis-imx6: add support for the new capasitive touch display
toradex: update to 2.7b4 release
Conflicts:
scripts/manifest.xml
Change-Id: Iaeca481a289d0bf431d2b71e03c2b3453f227021
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch')
-rw-r--r-- | meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch | 37 |
1 files changed, 37 insertions, 0 deletions
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 new file mode 100644 index 0000000..1bf7c27 --- /dev/null +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 1f3926a8e90a7e582d28b845e812d0642a4dc5ce Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 12 Oct 2017 11:02:54 +0300 | ||
4 | Subject: [PATCH 3/3] apalis-imx6: Ixora v1.0 support | ||
5 | |||
6 | Add sddrive variable that can be changed to boot from different mmc card | ||
7 | slot when using different versions of ixora carrier board. | ||
8 | Default to drive 1, which is correct for Ixora v1.1. | ||
9 | --- | ||
10 | include/configs/apalis_imx6.h | 9 +++++---- | ||
11 | 1 file changed, 5 insertions(+), 4 deletions(-) | ||
12 | |||
13 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | ||
14 | index 121eaa7..77a8874 100644 | ||
15 | --- a/include/configs/apalis_imx6.h | ||
16 | +++ b/include/configs/apalis_imx6.h | ||
17 | @@ -227,15 +227,16 @@ | ||
18 | "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | ||
19 | |||
20 | #define SD_BOOTCMD \ | ||
21 | - "sdargs=ip=off root=/dev/mmcblk1p2 ro rootfstype=ext4 " \ | ||
22 | + "sddrive=1\0" \ | ||
23 | + "sdsetup=setenv sdargs ip=off root=/dev/mmcblk${sddrive}p2 ro rootfstype=ext4 " \ | ||
24 | "rootwait\0" \ | ||
25 | - "sdboot=run setup; " \ | ||
26 | + "sdboot=run setup; run sdsetup; " \ | ||
27 | "setenv bootargs ${defargs} ${sdargs} ${setupargs} " \ | ||
28 | "${vidargs}; echo Booting from SD card; " \ | ||
29 | - "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \ | ||
30 | + "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \ | ||
31 | "${boot_file} && run fdt_fixup && " \ | ||
32 | "bootm ${kernel_addr_r} ${dtbparam}\0" \ | ||
33 | - "sddtbload=setenv dtbparam; load mmc 1: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" | ||
36 | |||
37 | #define USB_BOOTCMD \ | ||