Skip to contentSkip to conversation

defenv2: complete move config-board out of /env/init

PATCH Applied Fabio Porcedda 3 participants 11 messages Feb 22, 2013 – Feb 25, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

v2 cover defenv2: complete move config-board out of /env/init

v2:
- add patch 2/2 for telit-evk-pro3

Fabio Porcedda (2):
defenv2: comment setting default values in /env/config ARM at91 telit-evk-pro3: move config-board out of /env/init

 arch/arm/boards/telit-evk-pro3/env/config-board      | 8 ++++++++
 arch/arm/boards/telit-evk-pro3/env/init/config-board | 8 --------
 defaultenv-2/base/config                             | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
 create mode 100644 arch/arm/boards/telit-evk-pro3/env/config-board
 delete mode 100644 arch/arm/boards/telit-evk-pro3/env/init/config-board
Signature · 7 lines
1.8.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH v2 1/2 defenv2: comment setting default values in /env/config

There is no need to set againg deafult values in /env/config because they are already setted in /env/bin/init, that allow /env/config-board to change those default values without being overwritten by /env/config.

---
 defaultenv-2/base/config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
defaultenv-2/base/config +4 -4
index 189e5a6..dec0595 100644
@@ -6,16 +6,16 @@
 #global.hostname=
 
 # set to false if you do not want to have colors
-global.allow_color=true
+#global.allow_color=true
 
 # user (used for network filenames)
-global.user=none
+#global.user=none
 
 # timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
+#global.autoboot_timeout=3
 
 # default boot entry (one of /env/boot/*)
-global.boot.default=net
+#global.boot.default=net
 
 # base bootargs
 #global.linux.bootargs.base="console=ttyS0,115200"
Signature · 7 lines
1.8.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Re: [PATCH v2 next 1/2] defenv2: comment setting default values in /env/config

Quoted 36 lines · Fabio Porcedda

There is no need to set againg deafult values in /env/config because they are already setted in /env/bin/init, that allow /env/config-board to change those default values without being overwritten by /env/config.

---
 defaultenv-2/base/config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
defaultenv-2/base/config +4 -5
index 189e5a6..dec0595 100644
@@ -6,16 +6,16 @@
 #global.hostname=
 
 # set to false if you do not want to have colors
-global.allow_color=true
+#global.allow_color=true
 
 # user (used for network filenames)
-global.user=none
+#global.user=none
 
 # timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
+#global.autoboot_timeout=3
 
 # default boot entry (one of /env/boot/*)
-global.boot.default=net
+#global.boot.default=net
 
 # base bootargs
 #global.linux.bootargs.base="console=ttyS0,115200"
--
Quoted 2 lines

1.8.1.1

This patch works fine on master too.

Best regards

Signature · 6 lines
Fabio Porcedda

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

Re: [PATCH v2 next 1/2] defenv2: comment setting default values in /env/config

In reply to Fabio Porcedda

Hi,

too late for this correction :(

Quoted 1 line · Fabio Porcedda

There is no need to set againg deafult values in /env/config

s/deafult/default/

Quoted 42 lines

because they are already setted in /env/bin/init, that allow /env/config-board to change those default values without being overwritten by /env/config.

---
 defaultenv-2/base/config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
defaultenv-2/base/config +4 -4
index 189e5a6..dec0595 100644
@@ -6,16 +6,16 @@
 #global.hostname=
 
 # set to false if you do not want to have colors
-global.allow_color=true
+#global.allow_color=true
 
 # user (used for network filenames)
-global.user=none
+#global.user=none
 
 # timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
+#global.autoboot_timeout=3
 
 # default boot entry (one of /env/boot/*)
-global.boot.default=net
+#global.boot.default=net
 
 # base bootargs
 #global.linux.bootargs.base="console=ttyS0,115200"
Signature · 7 lines
1.8.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#4 lore raw

Re: [PATCH v2 next 1/2] defenv2: comment setting default values in /env/config

Quoted 8 lines · Alexander Aring

Hi,

too late for this correction :(

Quoted 1 line · Fabio Porcedda

There is no need to set againg deafult values in /env/config

s/deafult/default/

Thanks for catching the typo.

Quoted 38 lines
Quoted 38 lines

because they are already setted in /env/bin/init, that allow /env/config-board to change those default values without being overwritten by /env/config.

---
 defaultenv-2/base/config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
defaultenv-2/base/config +4 -5
index 189e5a6..dec0595 100644
@@ -6,16 +6,16 @@
 #global.hostname=
 
 # set to false if you do not want to have colors
-global.allow_color=true
+#global.allow_color=true
 
 # user (used for network filenames)
-global.user=none
+#global.user=none
 
 # timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
+#global.autoboot_timeout=3
 
 # default boot entry (one of /env/boot/*)
-global.boot.default=net
+#global.boot.default=net
 
 # base bootargs
 #global.linux.bootargs.base="console=ttyS0,115200"
--

1.8.1.1

Quoted 4 lines
Quoted 4 lines

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

--
Fabio Porcedda

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#5 lore raw

Re: [PATCH v2 next 1/2] defenv2: comment setting default values in /env/config

In reply to Alexander Aring
Quoted 3 lines · Alexander Aring

Hi,

too late for this correction :(

We can still fixup things in -next and I just did that.

Sascha

Quoted 54 lines · Fabio Porcedda
Quoted 1 line

There is no need to set againg deafult values in /env/config

s/deafult/default/

Quoted 42 lines

because they are already setted in /env/bin/init, that allow /env/config-board to change those default values without being overwritten by /env/config.

---
 defaultenv-2/base/config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
defaultenv-2/base/config +4 -4
index 189e5a6..dec0595 100644
@@ -6,16 +6,16 @@
 #global.hostname=
 
 # set to false if you do not want to have colors
-global.allow_color=true
+#global.allow_color=true
 
 # user (used for network filenames)
-global.user=none
+#global.user=none
 
 # timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
+#global.autoboot_timeout=3
 
 # default boot entry (one of /env/boot/*)
-global.boot.default=net
+#global.boot.default=net
 
 # base bootargs
 #global.linux.bootargs.base="console=ttyS0,115200"
Signature · 7 lines
1.8.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#6 lore raw

Re: [PATCH v2 next 1/2] defenv2: comment setting default values in /env/config

Hi,

Quoted 6 lines · Sascha Hauer
Quoted 3 lines · Alexander Aring

Hi,

too late for this correction :(

We can still fixup things in -next and I just did that.

Ok, that's cool. It's not only deafult to default. There is another typo with againg and again.

Thanks

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#7 lore raw

Re: [PATCH v2 next 1/2] defenv2: comment setting default values in /env/config

In reply to Sascha Hauer
Quoted 6 lines · Sascha Hauer
Quoted 3 lines · Alexander Aring

Hi,

too late for this correction :(

We can still fixup things in -next and I just did that.

Thanks for fixing it.

Quoted 62 lines

Sascha

Quoted 44 lines · Fabio Porcedda
Quoted 1 line

There is no need to set againg deafult values in /env/config

s/deafult/default/

Quoted 38 lines

because they are already setted in /env/bin/init, that allow /env/config-board to change those default values without being overwritten by /env/config.

---
 defaultenv-2/base/config | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
defaultenv-2/base/config +4 -5
index 189e5a6..dec0595 100644
@@ -6,16 +6,16 @@
 #global.hostname=
 
 # set to false if you do not want to have colors
-global.allow_color=true
+#global.allow_color=true
 
 # user (used for network filenames)
-global.user=none
+#global.user=none
 
 # timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
+#global.autoboot_timeout=3
 
 # default boot entry (one of /env/boot/*)
-global.boot.default=net
+#global.boot.default=net
 
 # base bootargs
 #global.linux.bootargs.base="console=ttyS0,115200"
--

1.8.1.1

Quoted 10 lines
Quoted 4 lines

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Signature · 6 lines
Fabio Porcedda

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#8 lore raw

PATCH v2 2/2 ARM at91 telit-evk-pro3: move config-board out of /env/init

In reply to Fabio Porcedda

This is to complete the work of two recent commits:
- defenv2: move config-board out of /env/init
- defenv2: comment setting default values in /env/config

---
 arch/arm/boards/telit-evk-pro3/env/config-board      | 8 ++++++++
 arch/arm/boards/telit-evk-pro3/env/init/config-board | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
 create mode 100644 arch/arm/boards/telit-evk-pro3/env/config-board
 delete mode 100644 arch/arm/boards/telit-evk-pro3/env/init/config-board
arch/arm/boards/telit-evk-pro3/env/config-board new file +8 -0
new file mode 100644
index 0000000..741b902
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# board defaults, do not change in running system. Change /env/config
+# instead
+
+global.hostname=evk-pro3
+global.linux.bootargs.base="console=ttyS0,115200"
+global.boot.default=nand-ubi
arch/arm/boards/telit-evk-pro3/env/init/config-board deleted +0 -8
deleted file mode 100644
index 741b902..0000000
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# board defaults, do not change in running system. Change /env/config
-# instead
-
-global.hostname=evk-pro3
-global.linux.bootargs.base="console=ttyS0,115200"
-global.boot.default=nand-ubi
Signature · 7 lines
1.8.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#9 lore raw
In reply to Fabio Porcedda
Quoted 7 lines · Fabio Porcedda

v2:
- add patch 2/2 for telit-evk-pro3

Fabio Porcedda (2):
defenv2: comment setting default values in /env/config ARM at91 telit-evk-pro3: move config-board out of /env/init

Quoted 6 lines
 arch/arm/boards/telit-evk-pro3/env/config-board      | 8 ++++++++
 arch/arm/boards/telit-evk-pro3/env/init/config-board | 8 --------
 defaultenv-2/base/config                             | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
 create mode 100644 arch/arm/boards/telit-evk-pro3/env/config-board
 delete mode 100644 arch/arm/boards/telit-evk-pro3/env/init/config-board

Applied, thanks. I decided to apply it to next though as I tend to be careful with changes to master.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#10 lore raw
Quoted 15 lines · Sascha Hauer
Quoted 7 lines · Fabio Porcedda

v2:
- add patch 2/2 for telit-evk-pro3

Fabio Porcedda (2):
defenv2: comment setting default values in /env/config ARM at91 telit-evk-pro3: move config-board out of /env/init

Quoted 6 lines
 arch/arm/boards/telit-evk-pro3/env/config-board      | 8 ++++++++
 arch/arm/boards/telit-evk-pro3/env/init/config-board | 8 --------
 defaultenv-2/base/config                             | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
 create mode 100644 arch/arm/boards/telit-evk-pro3/env/config-board
 delete mode 100644 arch/arm/boards/telit-evk-pro3/env/init/config-board
Quoted 2 lines

Applied, thanks. I decided to apply it to next though as I tend to be careful with changes to master.

Thanks, it's fine like that.

Quoted 8 lines

Sascha

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Signature · 6 lines
Fabio Porcedda

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox