Skip to contentSkip to conversation

ARM: dts: add initial dts file for ORIGEN4QUAD

PATCH New chlrbgh0 at gmail.com 4 participants 8 messages Nov 26, 2012 – Nov 27, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---
 arch/arm/boot/dts/exynos4412-origen4quad.dts |   45 ++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +45 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *		http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is based on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+	model = "Insignal Origen4Quad board based on Exynos4412";
+	compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+	memory {
+		reg = <0x40000000 0x40000000>;
+	};
+
+	chosen {
+		bootargs ="root=/dev/ram0 rw ramdisk=32768 initrd=0x41000000,32M console=ttySAC2,115200 init=/linuxrc";
+	};
+
+	serial@13800000 {
+		status = "okay";
+	};
+
+	serial@13810000 {
+		status = "okay";
+	};
+
+	serial@13820000 {
+		status = "okay";
+	};
+
+	serial@13830000 {
+		status = "okay";
+	};
+};
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

Hi,

Quoted 35 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---
 arch/arm/boot/dts/exynos4412-origen4quad.dts |   45
++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *		http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is based

on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +2 -0
+*/
+

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 10 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +10 -0
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+	model = "Insignal Origen4Quad board based on Exynos4412";
+	compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+	memory {
+		reg = <0x40000000 0x40000000>;
+	};

does it test to boot with this dts file?
does it support 1GiB memory section?

Thank you,
Kyungmin Park

Quoted 31 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +3 -0
+
+	chosen {
+		bootargs ="root=/dev/ram0 rw ramdisk=32768 initrd=0x41000000,32M

console=ttySAC2,115200 init=/linuxrc";

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +18 -1
+	};
+
+	serial at 13800000 {
+		status = "okay";
+	};
+
+	serial at 13810000 {
+		status = "okay";
+	};
+
+	serial at 13820000 {
+		status = "okay";
+	};
+
+	serial at 13830000 {
+		status = "okay";
+	};
+};
--

1.7.5.4

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

Hi Kyungmin, Kyuho,

Quoted 46 lines · On Monday 26 of November 2012 20:52:12 Kyungmin Park wrote:

Hi,

Quoted 43 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---

 arch/arm/boot/dts/exynos4412-origen4quad.dts |   45

++++++++++++++++++++++++++

 1 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *		http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is

based on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+	model = "Insignal Origen4Quad board based on Exynos4412";
Quoted 8 lines

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 5 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +5 -0
+	compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+	memory {
+		reg = <0x40000000 0x40000000>;
+	};

does it test to boot with this dts file?
does it support 1GiB memory section?

It will most likely fail to boot with u-boot versions that do not support replacing memory configuration in device tree and without CONFIG_ARM_ATAG_DTB_COMPAT enabled.

In other words, the memory setup from dts is used only if both of the following are true:
- CONFIG_ARM_ATAG_DTB_COMPAT is disabled
- u-boot does not modify memory setup in device tree passed to the kernel

Best regards,

Signature · 3 lines
Tomasz Figa
Samsung Poland R&D Center
SW Solution Development, Linux Platform
author
#3 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

Hi Tomasz,

2012/11/26 Tomasz Figa <[email protected]>

Quoted 62 lines

Hi Kyungmin, Kyuho,

Quoted 46 lines · On Monday 26 of November 2012 20:52:12 Kyungmin Park wrote:

Hi,

Quoted 43 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---

 arch/arm/boot/dts/exynos4412-origen4quad.dts |   45

++++++++++++++++++++++++++

 1 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *         http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is

based on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+   model = "Insignal Origen4Quad board based on Exynos4412";
Quoted 8 lines

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 5 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +5 -0
+   compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+   memory {
+           reg = <0x40000000 0x40000000>;
+   };

does it test to boot with this dts file?
does it support 1GiB memory section?

It will most likely fail to boot with u-boot versions that do not support replacing memory configuration in device tree and without CONFIG_ARM_ATAG_DTB_COMPAT enabled.

Quoted 6 lines

In other words, the memory setup from dts is used only if both of the following are true:
- CONFIG_ARM_ATAG_DTB_COMPAT is disabled
- u-boot does not modify memory setup in device tree passed to the kernel

You're right. I'd working based on exynos4_defconfig.

It's default disabled CONFIG_ARM_ATAG_DTB_COMPAT. And my u-boot version is 2012.10.

Quoted 6 lines

Best regards,
--
Tomasz Figa
Samsung Poland R&D Center
SW Solution Development, Linux Platform

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121127/722e1d9b/attachment.html>

#4 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

In reply to Tomasz Figa

Hi Tomasz,

2012-11-26 ?? 8:57, Tomasz Figa ? ?:

Quoted 58 lines

Hi Kyungmin, Kyuho,

Quoted 46 lines · On Monday 26 of November 2012 20:52:12 Kyungmin Park wrote:

Hi,

Quoted 43 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---

  arch/arm/boot/dts/exynos4412-origen4quad.dts |   45

++++++++++++++++++++++++++

  1 files changed, 45 insertions(+), 0 deletions(-)

create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *		http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is

based on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+	model = "Insignal Origen4Quad board based on Exynos4412";
Quoted 8 lines

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 5 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +5 -0
+	compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+	memory {
+		reg = <0x40000000 0x40000000>;
+	};

does it test to boot with this dts file?
does it support 1GiB memory section?

Quoted 8 lines

It will most likely fail to boot with u-boot versions that do not support replacing memory configuration in device tree and without CONFIG_ARM_ATAG_DTB_COMPAT enabled.

In other words, the memory setup from dts is used only if both of the following are true:
- CONFIG_ARM_ATAG_DTB_COMPAT is disabled
- u-boot does not modify memory setup in device tree passed to the kernel

I'd working based on exynos4_defconfig for ORIGEN4QUAD board. exynos4_defconfigs default disabled CONFIG_ARM_ATAG_DTB_COMPAT. And ORIGEN4QUAD working on u-boot v2012.10.

Quoted 3 lines

Best regards,

#5 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

Hi Kyuho,

Quoted 68 lines · On Tuesday 27 of November 2012 19:28:09 kh.choi wrote:

Hi Tomasz,

2012-11-26 ?? 8:57, Tomasz Figa ? ?:

Quoted 65 lines

Hi Kyungmin, Kyuho,

Quoted 47 lines · On Monday 26 of November 2012 20:52:12 Kyungmin Park wrote:

Hi,

Quoted 44 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---

  arch/arm/boot/dts/exynos4412-origen4quad.dts |   45

++++++++++++++++++++++++++

  1 files changed, 45 insertions(+), 0 deletions(-)

create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *		http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which

is
based on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+	model = "Insignal Origen4Quad board based on Exynos4412";
Quoted 8 lines

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 5 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +5 -0
+	compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+	memory {
+		reg = <0x40000000 0x40000000>;
+	};

does it test to boot with this dts file?
does it support 1GiB memory section?

It will most likely fail to boot with u-boot versions that do not support replacing memory configuration in device tree and without CONFIG_ARM_ATAG_DTB_COMPAT enabled.

In other words, the memory setup from dts is used only if both of the

Quoted 7 lines
Quoted 4 lines

following are true:
- CONFIG_ARM_ATAG_DTB_COMPAT is disabled
- u-boot does not modify memory setup in device tree passed to the kernel

I'd working based on exynos4_defconfig for ORIGEN4QUAD board. exynos4_defconfigs default disabled CONFIG_ARM_ATAG_DTB_COMPAT. And ORIGEN4QUAD working on u-boot v2012.10.

This means that u-boot version you use modifies memory setup in device tree before passing it to the kernel.

You can try to boot with empty memory node or no memory node at all and check what memory configuration the kernel gets in /proc/device-tree, for example using

xxd -c8 -g4 /proc/device-tree/memory/reg

Still, the maximum section size for mach-exynos is set in kernel to 256MiB and so the memory in reg property such be defined in chunks less or equal 256 MiB.

Best regards,

Signature · 3 lines
Tomasz Figa
Samsung Poland R&D Center
SW Solution Development, Linux Platform
author
#6 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

In reply to Kyungmin Park

Hi,

2012/11/26 Kyungmin Park <[email protected]>

Quoted 52 lines

Hi,

Quoted 20 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---
 arch/arm/boot/dts/exynos4412-origen4quad.dts |   45
++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +0 -0
new file mode 100644
index 0000000..390a2ab

arch/arm/boot/dts/exynos4412-origen4quad.dts line 7

Quoted 7 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *           http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is

based

Quoted 8 lines

on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +2 -0
+*/
+

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 10 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +10 -0
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+     model = "Insignal Origen4Quad board based on Exynos4412";
+     compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+     memory {
+             reg = <0x40000000 0x40000000>;
+     };

does it test to boot with this dts file?
does it support 1GiB memory section?

Quoted 1 line

Yes, I'd test this dts.

ORIGEN4QUAD board support 1GiB memory section. But in current patch, only support 760MiB on boot.

Quoted 29 lines

Thank you,
Kyungmin Park

arch/arm/boot/dts/exynos4412-origen4quad.dts

Quoted 3 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +3 -0
+
+     chosen {
+             bootargs ="root=/dev/ram0 rw ramdisk=32768

initrd=0x41000000,32M

Quoted 23 lines

console=ttySAC2,115200 init=/linuxrc";

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +18 -1
+     };
+
+     serial at 13800000 {
+             status = "okay";
+     };
+
+     serial at 13810000 {
+             status = "okay";
+     };
+
+     serial at 13820000 {
+             status = "okay";
+     };
+
+     serial at 13830000 {
+             status = "okay";
+     };
+};
--

1.7.5.4

Quoted 6 lines
Quoted 5 lines

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121126/7879a6f7/attachment-0001.html>

#7 lore raw

PATCH 1/1 ARM: dts: add initial dts file for ORIGEN4QUAD

In reply to Kyungmin Park

Hi,

2012-11-26 ?? 8:52, Kyungmin Park ? ?:

Quoted 42 lines

Hi,

Quoted 39 lines · On 11/26/12, chlrbgh0 at gmail.com <[email protected]> wrote:

From: Kyuho Choi <[email protected]>

This patch adds initial dts file for ORIGEN4QUAD board. ORIGEN4QUAD board based on Samsung EXYNOS4412 SoC. More properties will be added later.

---
  arch/arm/boot/dts/exynos4412-origen4quad.dts |   45
++++++++++++++++++++++++++
  1 files changed, 45 insertions(+), 0 deletions(-)

create mode 100644 arch/arm/boot/dts/exynos4412-origen4quad.dts

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +7 -0
new file mode 100644
index 0000000..390a2ab
@@ -0,0 +1,45 @@
+/*
+ * Samsung's Exynos4412 based Origen4Quad board device tree source
+ *
+ * Copyright (c) 2012-2013 Isnignal Co., Ltd.
+ *		http://www.insignal.co.kr
+ *
+ * Device tree source file for Insignal's Origen4Quad board which is based

on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +6 -0
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
Quoted 8 lines

arch/arm/boot/dts/exynos4412-origen4quad.dts line 24

Quoted 6 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +6 -0
+	model = "Insignal Origen4Quad board based on Exynos4412";
+	compatible = "insignal,origen4quad", "samsung,exynos4412";
+
+	memory {
+		reg = <0x40000000 0x40000000>;
+	};

does it test to boot with this dts file?
does it support 1GiB memory section?

Yes, I tested this dts.
ORIGEN4QUAD board support 1GiB memory.
But in current patch state, only support 760MiB on boot.

Quoted 39 lines

Thank you,
Kyungmin Park

Quoted 26 lines
arch/arm/boot/dts/exynos4412-origen4quad.dts new file +3 -0
+
+	chosen {
+		bootargs ="root=/dev/ram0 rw ramdisk=32768 initrd=0x41000000,32M

console=ttySAC2,115200 init=/linuxrc";

arch/arm/boot/dts/exynos4412-origen4quad.dts new file +18 -1
+	};
+
+	serial at 13800000 {
+		status = "okay";
+	};
+
+	serial at 13810000 {
+		status = "okay";
+	};
+
+	serial at 13820000 {
+		status = "okay";
+	};
+
+	serial at 13830000 {
+		status = "okay";
+	};
+};
--

1.7.5.4

Quoted 5 lines

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html