ARM: dts: imx6q-sabrelite: Add bootargs field
Subsystems (2)
Fabio Estevam
reviewerPATCH 2/2 ARM: dts: imx6q-sabrelite: Add bootargs field
Add bootargs field.
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/boot/dts/imx6q-sabrelite.dts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
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"; + }; + memory { reg = <0x10000000 0x40000000>; };
Signature · 1 line
1.7.1
Fabio Estevam
reviewerPATCH 1/2 ARM: dts: imx6q-arm2: Fix the console port
On the imx6q-arm2 board the console port is ttymxc3.
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/boot/dts/imx6q-arm2.dts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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"; }; memory {
Signature · 1 line
1.7.1
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.
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx6q-arm2.dts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/boot/dts/imx6q-arm2.dts +0
-0
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
PATCH 2/2 ARM: dts: imx6q-sabrelite: Add bootargs field
In reply to Fabio EstevamHi Fabio,
Quoted 12 lines · Fabio Estevam
Add bootargs field.
Signed-off-by Fabio Estevam<[email protected]>--- arch/arm/boot/dts/imx6q-sabrelite.dts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/arm/boot/dts/imx6q-sabrelite.dts +0
-0
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