Skip to contentSkip to conversation

Select CMD_LOADENV with DEFAULT_ENVIRONMENT

RFC In review Sanjeev Premi 2 participants 2 messages Feb 7, 2012

lore
Share & tools
lore
#0 lore raw

RFC 1/1 Select CMD_LOADENV with DEFAULT_ENVIRONMENT

The environment isn't loaded until this command is is selected - even if compiled in.

This patch makes the dependency explicit.

---
Problem was encountered when trying to boot Linux with default environmenti on OMAP3 EVM. Since the default config was also being improved from its current state, it took rather long to narrow why the compiled environment was being 'ignored'.

Sending change as RFC, as I may be missing something obvious as well.

 common/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
common/Kconfig +1 -0
index d1db27d..2a7cbfc 100644
@@ -447,6 +447,7 @@ config PARTITION_DISK_DOS
 config DEFAULT_ENVIRONMENT
 	bool
 	default y
+	select CMD_LOADENV
 	prompt "Compile in default environment"
 	help
 	  Enabling this option will give you a default environment when
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 5 lines · Sanjeev Premi

The environment isn't loaded until this command is is selected - even if compiled in.

This patch makes the dependency explicit.

Quoted 7 lines

---
Problem was encountered when trying to boot Linux with default environmenti on OMAP3 EVM. Since the default config was also being improved from its current state, it took rather long to narrow why the compiled environment was being 'ignored'.

Nice catch. Applied 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