Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1544576 > unrolled thread
| Started by | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| First post | 2016-12-19 15:50 +0100 |
| Last post | 2016-12-27 18:40 +0100 |
| Articles | 12 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 0/9] ARM: omap: Add empty chosen node in SoCs top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 3/9] ARM: dts: omap4: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
Re: [PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI Pali Rohár <pali.rohar@gmail.com> - 2017-01-02 19:10 +0100
[PATCH 5/9] ARM: dts: am33xx: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 1/9] ARM: dts: omap2: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 4/9] ARM: dts: omap5: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 6/9] ARM: dts: am4372: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 7/9] ARM: dts: dm814x: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
[PATCH 9/9] ARM: dts: dra7: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 16:00 +0100
[PATCH 8/9] ARM: dts: dm816x: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 16:00 +0100
Re: [PATCH 0/9] ARM: omap: Add empty chosen node in SoCs top level DTSI Tony Lindgren <tony@atomide.com> - 2016-12-27 18:40 +0100
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 0/9] ARM: omap: Add empty chosen node in SoCs top level DTSI |
| Message-ID | <sQ7qh-Il-1@gated-at.bofh.it> |
Hello Tony, As discussed in [0], there's a regression when booting a kernel with a DTB that doesn't have a pre-existing chosen node. This is usually not an issue for most boards since u-boot creates an empty chosen node if isn't present in the DTB. But it can be an issue for others bootloaders as Pali pointed out with the N9/900/950 phones and the Nokia Loader (NoLo). This patch series add chosen nodes in the top level DTSI for all OMAP SoCs. [0]: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1294379.html Best regards, Javier Javier Martinez Canillas (9): ARM: dts: omap2: Add an empty chosen node to top level DTSI ARM: dts: omap3: Add an empty chosen node to top level DTSI ARM: dts: omap4: Add an empty chosen node to top level DTSI ARM: dts: omap5: Add an empty chosen node to top level DTSI ARM: dts: am33xx: Add an empty chosen node to top level DTSI ARM: dts: am4372: Add an empty chosen node to top level DTSI ARM: dts: dm814x: Add an empty chosen node to top level DTSI ARM: dts: dm816x: Add an empty chosen node to top level DTSI ARM: dts: dra7: Add an empty chosen node to top level DTSI arch/arm/boot/dts/am33xx.dtsi | 1 + arch/arm/boot/dts/am4372.dtsi | 1 + arch/arm/boot/dts/dm814x.dtsi | 1 + arch/arm/boot/dts/dm816x.dtsi | 1 + arch/arm/boot/dts/dra7.dtsi | 1 + arch/arm/boot/dts/omap2.dtsi | 1 + arch/arm/boot/dts/omap3.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 1 + arch/arm/boot/dts/omap5.dtsi | 1 + 9 files changed, 9 insertions(+) -- 2.7.4
[toc] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 3/9] ARM: dts: omap4: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qh-Il-5@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit da6269e7e3dd ("ARM: dts: omap4: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: da6269e7e3dd ("ARM: dts: omap4: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/omap4.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 8087456b5fbe..578c53f08309 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -15,6 +15,7 @@
interrupt-parent = <&wakeupgen>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
aliases {
i2c0 = &i2c1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qh-Il-23@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/omap3.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index ecf5eb584c75..a3ff4933dbc1 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -17,6 +17,7 @@
interrupt-parent = <&intc>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
aliases {
i2c0 = &i2c1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Pali Rohár <pali.rohar@gmail.com> |
|---|---|
| Date | 2017-01-02 19:10 +0100 |
| Subject | Re: [PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI |
| Message-ID | <sVfdv-2gm-3@gated-at.bofh.it> |
| In reply to | #1544578 |
[Multipart message — attachments visible in raw view] — view raw
On Monday 19 December 2016 15:44:34 Javier Martinez Canillas wrote:
> Commit 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage")
> removed the skeleton.dtsi usage since we want to get rid of it.
>
> But this can cause issues when booting a kernel with a boot-loader
> that doesn't create a chosen node if this isn't present in the DTB
> since the decompressor relies on a pre-existing chosen node to be
> available to insert the command line and merge other ATAGS info.
>
> Fixes: 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage")
> Reported-by: Pali Rohar <pali.rohar@gmail.com>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Including empty chosen node fixes (or rather workaround) this problem.
You can add my Tested-By.
--
Pali Rohár
pali.rohar@gmail.com
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 5/9] ARM: dts: am33xx: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qi-Il-25@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit f8bf01611c99 ("ARM: dts: am33xx: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: f8bf01611c99 ("ARM: dts: am33xx: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/am33xx.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 64c8aa9057a3..18d72a245e88 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -16,6 +16,7 @@
interrupt-parent = <&intc>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
aliases {
i2c0 = &i2c0;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 1/9] ARM: dts: omap2: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qh-Il-13@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit d1f3156fc8c7 ("ARM: dts: omap2: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: d1f3156fc8c7 ("ARM: dts: omap2: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/omap2.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap2.dtsi b/arch/arm/boot/dts/omap2.dtsi
index 4f793a025a72..f1d6de8b3c19 100644
--- a/arch/arm/boot/dts/omap2.dtsi
+++ b/arch/arm/boot/dts/omap2.dtsi
@@ -17,6 +17,7 @@
interrupt-parent = <&intc>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
aliases {
serial0 = &uart1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 4/9] ARM: dts: omap5: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qh-Il-11@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit 76a8548ea987 ("ARM: dts: omap5: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: 76a8548ea987 ("ARM: dts: omap5: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/omap5.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 968c67a49dbd..7cd92babc41a 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -17,6 +17,7 @@
compatible = "ti,omap5";
interrupt-parent = <&wakeupgen>;
+ chosen { };
aliases {
i2c0 = &i2c1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 6/9] ARM: dts: am4372: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qh-Il-21@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit 75813028bbd7 ("ARM: dts: am4372: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: 75813028bbd7 ("ARM: dts: am4372: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/am4372.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index ac55f93fc91e..2df9e6050c2f 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -16,6 +16,7 @@
interrupt-parent = <&wakeupgen>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
memory@0 {
device_type = "memory";
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 15:50 +0100 |
| Subject | [PATCH 7/9] ARM: dts: dm814x: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7qi-Il-29@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit 76155b378c59 ("ARM: dts: dm814x: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: 76155b378c59 ("ARM: dts: dm814x: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/dm814x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi
index 1facc5f12cef..81b8cecb5820 100644
--- a/arch/arm/boot/dts/dm814x.dtsi
+++ b/arch/arm/boot/dts/dm814x.dtsi
@@ -12,6 +12,7 @@
interrupt-parent = <&intc>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
aliases {
i2c0 = &i2c1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 16:00 +0100 |
| Subject | [PATCH 9/9] ARM: dts: dra7: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7zY-ML-3@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit 55871eb6e2cc ("ARM: dts: dra7: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: 55871eb6e2cc ("ARM: dts: dra7: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/dra7.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index addb7530cfbe..1faf24acd521 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -18,6 +18,7 @@
compatible = "ti,dra7xx";
interrupt-parent = <&crossbar_mpu>;
+ chosen { };
aliases {
i2c0 = &i2c1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-12-19 16:00 +0100 |
| Subject | [PATCH 8/9] ARM: dts: dm816x: Add an empty chosen node to top level DTSI |
| Message-ID | <sQ7zY-ML-21@gated-at.bofh.it> |
| In reply to | #1544576 |
Commit 06bfb9c19957 ("ARM: dts: dm816x: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.
But this can cause issues when booting a kernel with a boot-loader
that doesn't create a chosen node if this isn't present in the DTB
since the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info.
Fixes: 06bfb9c19957 ("ARM: dts: dm816x: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
arch/arm/boot/dts/dm816x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi
index 61dd2f6b02bc..6db652ae9bd5 100644
--- a/arch/arm/boot/dts/dm816x.dtsi
+++ b/arch/arm/boot/dts/dm816x.dtsi
@@ -12,6 +12,7 @@
interrupt-parent = <&intc>;
#address-cells = <1>;
#size-cells = <1>;
+ chosen { };
aliases {
i2c0 = &i2c1;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2016-12-27 18:40 +0100 |
| Subject | Re: [PATCH 0/9] ARM: omap: Add empty chosen node in SoCs top level DTSI |
| Message-ID | <sT3Tb-53g-7@gated-at.bofh.it> |
| In reply to | #1544576 |
* Javier Martinez Canillas <javier@osg.samsung.com> [161219 06:45]: > Hello Tony, > > As discussed in [0], there's a regression when booting a kernel with a DTB > that doesn't have a pre-existing chosen node. This is usually not an issue > for most boards since u-boot creates an empty chosen node if isn't present > in the DTB. > > But it can be an issue for others bootloaders as Pali pointed out with the > N9/900/950 phones and the Nokia Loader (NoLo). > > This patch series add chosen nodes in the top level DTSI for all OMAP SoCs. > > [0]: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1294379.html Applying these into omap-for-v4.10/fixes thanks. Tony
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web