wandboard: Revert device tree name change
PATCH 1/2 wandboard: Revert device tree name change
There is no reason to diverge from mainline so we revert the device tree name change.
This patch changes the machine definition and the Linux kernel recipe so the tree is kept buildable.
---
conf/machine/wandboard.conf | 6 ------ recipes-kernel/linux/linux-wandboard_4.1-2.0.x.bb | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-)
conf/machine/wandboard.conf +0 -6
@@ -21,12 +21,6 @@ WANDBOARD_DEFAULT_KERNEL = "linux-wandboard" WANDBOARD_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}" KERNEL_DEVICETREE = " \ - imx6dl-wandboard-revb1.dtb \ - imx6dl-wandboard-revc1.dtb \ - imx6q-wandboard-revb1.dtb \ - imx6q-wandboard-revc1.dtb \ -" -KERNEL_DEVICETREE_use-mainline-bsp = " \ imx6dl-wandboard.dtb \ imx6dl-wandboard-revb1.dtb \ imx6q-wandboard.dtb \
recipes-kernel/linux/linux-wandboard_4.1-2.0.x.bb +1 -1
@@ -6,6 +6,6 @@ include linux-wandboard.inc DEPENDS += "lzop-native bc-native" SRCBRANCH = "4.1-2.0.x-imx" -SRCREV = "18945fa6f63c4c5d2df14998c5e74bf799e6f65e" +SRCREV = "0d698de42426a92e3ba47071f11960aeb91eb349" COMPATIBLE_MACHINE = "(wandboard)"
Signature · 1 line
2.14.2
PATCH 2/2 wandboard: Add Wandboard revision D1 support
Latest Wandboard hardware revision is D1, which brings the following new features:
- PFUZE100 PMIC
- AR8035 Ethernet PHY
- Upgrade Wifi/BT chip to BCM4339/BCM43430
The new revision also adds support for QuadPlus SoC so the new Device Tree is also added.
---
conf/machine/wandboard.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
conf/machine/wandboard.conf +6 -3
@@ -1,7 +1,7 @@ #@TYPE: Machine -#@NAME: Wandboard i.MX6 Wandboard Quad/Dual/Solo -#@SOC: i.MX6Q/DL -#@DESCRIPTION: Machine configuration for i.MX6 Wandboard Quad +#@NAME: Wandboard i.MX6 Wandboard QuadPlus/Quad/Dual/Solo +#@SOC: i.MX6QP/Q/DL +#@DESCRIPTION: Machine configuration for i.MX6 Wandboard QuadPlus/Quad/Dual/Solo #@MAINTAINER: Alfonso Tames <[email protected]> MACHINEOVERRIDES =. "mx6:mx6dl:mx6q:"
@@ -23,8 +23,11 @@ PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}" KERNEL_DEVICETREE = " \ imx6dl-wandboard.dtb \ imx6dl-wandboard-revb1.dtb \ + imx6dl-wandboard-revd1.dtb \ imx6q-wandboard.dtb \ imx6q-wandboard-revb1.dtb \ + imx6q-wandboard-revd1.dtb \ + imx6qp-wandboard-revd1.dtb \ " KERNEL_IMAGETYPE = "zImage"
Signature · 1 line
2.14.2
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Some combination of these two patches causes the Wandboard build to fail when use-mainline-bsp is enabled.
$ grep -r WANDBOARD_DEFAULT_KERNEL *
conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL = "linux-wandboard"
conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc"
conf/machine/wandboard.conf:PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}"The linux-fslc kernel doesn't contain definitions for *-wandboard-revd1.dtb, therefore:
| make[3]: *** No rule to make target 'arch/arm/boot/dts/imx6dl-wandboard-revd1.dtb'. Stop. | arch/arm/Makefile:341: recipe for target 'imx6dl-wandboard-revd1.dtb' failed | make[2]: *** [imx6dl-wandboard-revd1.dtb] Error 2
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Quoted 8 lines · Trevor Woerner
Some combination of these two patches causes the Wandboard build to fail when use-mainline-bsp is enabled.
$ grep -r WANDBOARD_DEFAULT_KERNEL * conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL = "linux-wandboard" conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" conf/machine/wandboard.conf:PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}"
Quoted 6 lines
The linux-fslc kernel doesn't contain definitions for *-wandboard-revd1.dtb, therefore:
| make[3]: *** No rule to make target 'arch/arm/boot/dts/imx6dl-wandboard-revd1.dtb'. Stop. | arch/arm/Makefile:341: recipe for target 'imx6dl-wandboard-revd1.dtb' failed | make[2]: *** [imx6dl-wandboard-revd1.dtb] Error 2
Indeed. We must remove the imx6dl-wandboard-revd1.dtb when use-mainline-bsp.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Quoted 9 lines · Otavio Salvador
Quoted 8 lines · Trevor Woerner
Some combination of these two patches causes the Wandboard build to fail when use-mainline-bsp is enabled.
$ grep -r WANDBOARD_DEFAULT_KERNEL * conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL = "linux-wandboard" conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" conf/machine/wandboard.conf:PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}"
Quoted 8 lines
Quoted 6 lines
The linux-fslc kernel doesn't contain definitions for *-wandboard-revd1.dtb, therefore:
| make[3]: *** No rule to make target 'arch/arm/boot/dts/imx6dl-wandboard-revd1.dtb'. Stop. | arch/arm/Makefile:341: recipe for target 'imx6dl-wandboard-revd1.dtb' failed | make[2]: *** [imx6dl-wandboard-revd1.dtb] Error 2Indeed. We must remove the imx6dl-wandboard-revd1.dtb when use-mainline-bsp.
Correct. I plan to submit the revd1 dts upstream.
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Quoted 14 lines · Fabio Estevam
Quoted 12 lines · Otavio Salvador
Quoted 11 lines · Trevor Woerner
Some combination of these two patches causes the Wandboard build to fail when use-mainline-bsp is enabled.
$ grep -r WANDBOARD_DEFAULT_KERNEL * conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL = "linux-wandboard" conf/machine/wandboard.conf:WANDBOARD_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" conf/machine/wandboard.conf:PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}"The linux-fslc kernel doesn't contain definitions for *-wandboard-revd1.dtb, therefore:
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
| make[3]: *** No rule to make target 'arch/arm/boot/dts/imx6dl-wandboard-revd1.dtb'. Stop. | arch/arm/Makefile:341: recipe for target 'imx6dl-wandboard-revd1.dtb' failed | make[2]: *** [imx6dl-wandboard-revd1.dtb] Error 2Indeed. We must remove the imx6dl-wandboard-revd1.dtb when use-mainline-bsp.
Correct. I plan to submit the revd1 dts upstream.
Once you does that, we can backport the patch for our kernel fork and drop this patch.
Trevor, do you mind sending a patch?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Quoted 9 lines · Otavio Salvador
Quoted 3 lines · Fabio Estevam
Quoted 1 line
Indeed. We must remove the imx6dl-wandboard-revd1.dtb when use-mainline-bsp.
Correct. I plan to submit the revd1 dts upstream.
Once you does that, we can backport the patch for our kernel fork and drop this patch.
Trevor, do you mind sending a patch?
Otavio,
Just to make sure I understand what you'd like to see
1) Fabio is going to send a patch for the 4.13.x+fslc branch of linux-fslc to add the revd1 dts
2) You'd like a patch so wandboard with use-mainline-bsp continues to build successfully until Fabio's patch lands upstream?
I'm confused because you talk about needing to remove revd1 (which would require a patch for meta-freescale-3rdparty), but Fabio talks about adding it to linux-fslc (at which point what's currently in meta-freescale-3rdparty should then work)
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Quoted 12 lines · Trevor Woerner
Quoted 9 lines · Otavio Salvador
Quoted 3 lines · Fabio Estevam
Quoted 1 line
Indeed. We must remove the imx6dl-wandboard-revd1.dtb when use-mainline-bsp.
Correct. I plan to submit the revd1 dts upstream.
Once you does that, we can backport the patch for our kernel fork and drop this patch.
Trevor, do you mind sending a patch?
Quoted 8 lines
Otavio,
Just to make sure I understand what you'd like to see
1) Fabio is going to send a patch for the 4.13.x+fslc branch of linux-fslc to add the revd1 dts
2) You'd like a patch so wandboard with use-mainline-bsp continues to build successfully until Fabio's patch lands upstream?
Yes, you're right for both questions.
Quoted 4 lines
I'm confused because you talk about needing to remove revd1 (which would require a patch for meta-freescale-3rdparty), but Fabio talks about adding it to linux-fslc (at which point what's currently in meta-freescale-3rdparty should then work)
Sorry for the confusion but you are absolutely right.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
In reply to Fabio EstevamQuoted 1 line · Fabio Estevam
Correct. I plan to submit the revd1 dts upstream.
Here is the patch I sent that has been applied to Shawn's tree:
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=for-next&id=36cfd5b3fb556ea7f818f2669c29d15817942b97
If someone wants to backport it to linux-fslc, feel free to do so.
Re: [3rdparty PATCH 2/2] wandboard: Add Wandboard revision D1 support
Quoted 8 lines · Fabio Estevam
Quoted 1 line · Fabio Estevam
Correct. I plan to submit the revd1 dts upstream.
Here is the patch I sent that has been applied to Shawn's tree:
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=for-next&id=36cfd5b3fb556ea7f818f2669c29d15817942b97If someone wants to backport it to linux-fslc, feel free to do so.
Awesome, thanks!!
https://github.com/Freescale/linux-fslc/pull/16