Skip to contentSkip to conversation

ARM: dts: imx6q-sabrelite: Add bootargs field

PATCH New Fabio Estevam 3 participants 4 messages Apr 1, 2012

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 2/2 ARM: dts: imx6q-sabrelite: Add bootargs field

Add bootargs field.

---
 arch/arm/boot/dts/imx6q-sabrelite.dts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6q-sabrelite.dts +4 -0
index 4663a4e..73915dc 100644
@@ -17,6 +17,10 @@
 	model = "Freescale i.MX6 Quad SABRE Lite Board";
 	compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
 
+	chosen {
+		bootargs = "console=ttymxc1,115200 root=/dev/mmcblk0p3 rootwait";
+	};
+
 	memory {
 		reg = <0x10000000 0x40000000>;
 	};
Signature · 1 line
1.7.1
author reviewer
#1 lore raw

PATCH 1/2 ARM: dts: imx6q-arm2: Fix the console port

On the imx6q-arm2 board the console port is ttymxc3.

---
 arch/arm/boot/dts/imx6q-arm2.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/boot/dts/imx6q-arm2.dts +1 -1
index ce1c823..8b90ea1 100644
@@ -18,7 +18,7 @@
 	compatible = "fsl,imx6q-arm2", "fsl,imx6q";
 
 	chosen {
-		bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait";
+		bootargs = "console=ttymxc3,115200 root=/dev/mmcblk3p3 rootwait";
 	};
 
 	memory {
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/2 ARM: dts: imx6q-arm2: Fix the console port

Quoted 12 lines · Fabio Estevam

On the imx6q-arm2 board the console port is ttymxc3.

---
 arch/arm/boot/dts/imx6q-arm2.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/boot/dts/imx6q-arm2.dts +0 -0
index ce1c823..8b90ea1 100644

arch/arm/boot/dts/imx6q-arm2.dts line 21

Quoted 5 lines
arch/arm/boot/dts/imx6q-arm2.dts +1 -1
@@ -18,7 +18,7 @@
 	compatible = "fsl,imx6q-arm2", "fsl,imx6q";
 
 	chosen {
-		bootargs = "console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait";
+		bootargs = "console=ttymxc3,115200 root=/dev/mmcblk3p3 rootwait";

Rather than patching the line, I would suggest remove it completely. I do not see a use case for this.

Quoted 6 lines
arch/arm/boot/dts/imx6q-arm2.dts +0 -0
 	};
 
 	memory {
Signature · 1 line
1.7.1
Signature · 2 lines
Regards,
Shawn
#3 lore raw

PATCH 2/2 ARM: dts: imx6q-sabrelite: Add bootargs field

In reply to Fabio Estevam

Hi Fabio,

Quoted 12 lines · Fabio Estevam

Add bootargs field.

---
  arch/arm/boot/dts/imx6q-sabrelite.dts |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6q-sabrelite.dts +0 -0
index 4663a4e..73915dc 100644

arch/arm/boot/dts/imx6q-sabrelite.dts line 23

Quoted 7 lines
arch/arm/boot/dts/imx6q-sabrelite.dts +4 -0
@@ -17,6 +17,10 @@
  	model = "Freescale i.MX6 Quad SABRE Lite Board";
  	compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
 
+	chosen {
+		bootargs = "console=ttymxc1,115200 root=/dev/mmcblk0p3 rootwait";
+	};
+

Why do we need this? U-Boot adds this at runtime with the configured bootargs.

Best regards

Dirk