mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] OMAP and i.MX boards: do not set console= commandline parameter in environment
@ 2015-02-23  8:00 Sascha Hauer
  2015-02-23  8:00 ` [PATCH 2/2] boards: Use nv.linux.bootargs.console for setting the console= commandline parameter Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2015-02-23  8:00 UTC (permalink / raw)
  To: Barebox List

This is not necessary since for OMAP and i.MX the console= parameter is
initialized by the serial driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Suggested-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/boards/beagle/env/nv/linux.bootargs.base                        | 1 -
 arch/arm/boards/ccxmx51/env/nv/linux.bootargs.base                       | 1 -
 arch/arm/boards/guf-vincell/env/nv/linux.bootargs.base                   | 1 -
 arch/arm/boards/mx31moboard/env/nv/linux.bootargs.base                   | 1 -
 arch/arm/boards/panda/env/nv/linux.bootargs.base                         | 1 -
 arch/arm/boards/phytec-phycore-imx31/env/nv/linux.bootargs.base          | 1 -
 arch/arm/boards/phytec-phycore-imx35/env/nv/linux.bootargs.base          | 1 -
 .../defaultenv-phyflex-am335x/nv/linux.bootargs.base                     | 1 -
 .../phytec-phyflex-imx6/defaultenv-phyflex-imx6/nv/linux.bootargs.base   | 1 -
 9 files changed, 9 deletions(-)
 delete mode 100644 arch/arm/boards/beagle/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/ccxmx51/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/guf-vincell/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/mx31moboard/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/panda/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/phytec-phycore-imx31/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/phytec-phycore-imx35/env/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/nv/linux.bootargs.base
 delete mode 100644 arch/arm/boards/phytec-phyflex-imx6/defaultenv-phyflex-imx6/nv/linux.bootargs.base

diff --git a/arch/arm/boards/beagle/env/nv/linux.bootargs.base b/arch/arm/boards/beagle/env/nv/linux.bootargs.base
deleted file mode 100644
index 5fef726..0000000
--- a/arch/arm/boards/beagle/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttyO2,115200
diff --git a/arch/arm/boards/ccxmx51/env/nv/linux.bootargs.base b/arch/arm/boards/ccxmx51/env/nv/linux.bootargs.base
deleted file mode 100644
index d83eb94..0000000
--- a/arch/arm/boards/ccxmx51/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-earlyprintk console=ttymxc0,115200n8
diff --git a/arch/arm/boards/guf-vincell/env/nv/linux.bootargs.base b/arch/arm/boards/guf-vincell/env/nv/linux.bootargs.base
deleted file mode 100644
index d775310..0000000
--- a/arch/arm/boards/guf-vincell/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttymxc0,115200
diff --git a/arch/arm/boards/mx31moboard/env/nv/linux.bootargs.base b/arch/arm/boards/mx31moboard/env/nv/linux.bootargs.base
deleted file mode 100644
index 84e488d..0000000
--- a/arch/arm/boards/mx31moboard/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttymxc0,921600
diff --git a/arch/arm/boards/panda/env/nv/linux.bootargs.base b/arch/arm/boards/panda/env/nv/linux.bootargs.base
deleted file mode 100644
index 5fef726..0000000
--- a/arch/arm/boards/panda/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttyO2,115200
diff --git a/arch/arm/boards/phytec-phycore-imx31/env/nv/linux.bootargs.base b/arch/arm/boards/phytec-phycore-imx31/env/nv/linux.bootargs.base
deleted file mode 100644
index d775310..0000000
--- a/arch/arm/boards/phytec-phycore-imx31/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttymxc0,115200
diff --git a/arch/arm/boards/phytec-phycore-imx35/env/nv/linux.bootargs.base b/arch/arm/boards/phytec-phycore-imx35/env/nv/linux.bootargs.base
deleted file mode 100644
index d775310..0000000
--- a/arch/arm/boards/phytec-phycore-imx35/env/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttymxc0,115200
diff --git a/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/nv/linux.bootargs.base b/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/nv/linux.bootargs.base
deleted file mode 100644
index d7b01a1..0000000
--- a/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttyO0,115200
diff --git a/arch/arm/boards/phytec-phyflex-imx6/defaultenv-phyflex-imx6/nv/linux.bootargs.base b/arch/arm/boards/phytec-phyflex-imx6/defaultenv-phyflex-imx6/nv/linux.bootargs.base
deleted file mode 100644
index c61c603..0000000
--- a/arch/arm/boards/phytec-phyflex-imx6/defaultenv-phyflex-imx6/nv/linux.bootargs.base
+++ /dev/null
@@ -1 +0,0 @@
-console=ttymxc3,115200
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] boards: Use nv.linux.bootargs.console for setting the console= commandline parameter
  2015-02-23  8:00 [PATCH 1/2] OMAP and i.MX boards: do not set console= commandline parameter in environment Sascha Hauer
@ 2015-02-23  8:00 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-02-23  8:00 UTC (permalink / raw)
  To: Barebox List

Using a dedicated variable makes it easier to change the console= parameter
without affecting other values. Also the linux.bootargs.console variable is
already used by common/console.c. Using the same variable in the environment
avoids giving duplicate console= twice to the kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Suggested-by: Teresa Gámez <t.gamez@phytec.de>
---
 .../linux.bootargs.base => at91sam9m10ihd/env/nv/linux.bootargs.console}  | 0
 .../avnet-zedboard/env/nv/{linux.bootargs.base => linux.bootargs.console} | 0
 .../clep7212/env/nv/{linux.bootargs.base => linux.bootargs.console}       | 0
 .../env/nv/linux.bootargs.console}                                        | 0
 .../env/nv/{linux.bootargs.base => linux.bootargs.console}                | 0
 .../defaultenv-imx233-olinuxino/nv/linux.bootargs.console}                | 0
 .../env/nv/linux.bootargs.base => lubbock/env/nv/linux.bootargs.console}  | 0
 .../radxa-rock/env/nv/{linux.bootargs.base => linux.bootargs.console}     | 0
 .../versatile/env/nv/{linux.bootargs.base => linux.bootargs.console}      | 0
 9 files changed, 0 insertions(+), 0 deletions(-)
 rename arch/arm/boards/{lubbock/env/nv/linux.bootargs.base => at91sam9m10ihd/env/nv/linux.bootargs.console} (100%)
 rename arch/arm/boards/avnet-zedboard/env/nv/{linux.bootargs.base => linux.bootargs.console} (100%)
 rename arch/arm/boards/clep7212/env/nv/{linux.bootargs.base => linux.bootargs.console} (100%)
 rename arch/arm/boards/{imx233-olinuxino/defaultenv-imx233-olinuxino/nv/linux.bootargs.base => crystalfontz-cfa10036/env/nv/linux.bootargs.console} (100%)
 rename arch/arm/boards/efika-mx-smartbook/env/nv/{linux.bootargs.base => linux.bootargs.console} (100%)
 rename arch/arm/boards/{crystalfontz-cfa10036/env/nv/linux.bootargs.base => imx233-olinuxino/defaultenv-imx233-olinuxino/nv/linux.bootargs.console} (100%)
 rename arch/arm/boards/{at91sam9m10ihd/env/nv/linux.bootargs.base => lubbock/env/nv/linux.bootargs.console} (100%)
 rename arch/arm/boards/radxa-rock/env/nv/{linux.bootargs.base => linux.bootargs.console} (100%)
 rename arch/arm/boards/versatile/env/nv/{linux.bootargs.base => linux.bootargs.console} (100%)

diff --git a/arch/arm/boards/lubbock/env/nv/linux.bootargs.base b/arch/arm/boards/at91sam9m10ihd/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/lubbock/env/nv/linux.bootargs.base
rename to arch/arm/boards/at91sam9m10ihd/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.base b/arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.base
rename to arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/clep7212/env/nv/linux.bootargs.base b/arch/arm/boards/clep7212/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/clep7212/env/nv/linux.bootargs.base
rename to arch/arm/boards/clep7212/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/imx233-olinuxino/defaultenv-imx233-olinuxino/nv/linux.bootargs.base b/arch/arm/boards/crystalfontz-cfa10036/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/imx233-olinuxino/defaultenv-imx233-olinuxino/nv/linux.bootargs.base
rename to arch/arm/boards/crystalfontz-cfa10036/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/efika-mx-smartbook/env/nv/linux.bootargs.base b/arch/arm/boards/efika-mx-smartbook/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/efika-mx-smartbook/env/nv/linux.bootargs.base
rename to arch/arm/boards/efika-mx-smartbook/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/crystalfontz-cfa10036/env/nv/linux.bootargs.base b/arch/arm/boards/imx233-olinuxino/defaultenv-imx233-olinuxino/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/crystalfontz-cfa10036/env/nv/linux.bootargs.base
rename to arch/arm/boards/imx233-olinuxino/defaultenv-imx233-olinuxino/nv/linux.bootargs.console
diff --git a/arch/arm/boards/at91sam9m10ihd/env/nv/linux.bootargs.base b/arch/arm/boards/lubbock/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/at91sam9m10ihd/env/nv/linux.bootargs.base
rename to arch/arm/boards/lubbock/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/radxa-rock/env/nv/linux.bootargs.base b/arch/arm/boards/radxa-rock/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/radxa-rock/env/nv/linux.bootargs.base
rename to arch/arm/boards/radxa-rock/env/nv/linux.bootargs.console
diff --git a/arch/arm/boards/versatile/env/nv/linux.bootargs.base b/arch/arm/boards/versatile/env/nv/linux.bootargs.console
similarity index 100%
rename from arch/arm/boards/versatile/env/nv/linux.bootargs.base
rename to arch/arm/boards/versatile/env/nv/linux.bootargs.console
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-23  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23  8:00 [PATCH 1/2] OMAP and i.MX boards: do not set console= commandline parameter in environment Sascha Hauer
2015-02-23  8:00 ` [PATCH 2/2] boards: Use nv.linux.bootargs.console for setting the console= commandline parameter Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox