DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/3] barebox-mx6: fix bootsource selection
@ 2018-12-05  7:58 Rouven Czerwinski
  2018-12-05  7:58 ` [DistroKit] [PATCH 2/3] barebox-mx6: disable state and remove boostate entries Rouven Czerwinski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rouven Czerwinski @ 2018-12-05  7:58 UTC (permalink / raw)
  To: distrokit; +Cc: Rouven Czerwinski

Also disable the bootchooser which is no longer used.

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
---
 .../platform-v7a/barebox-mx6-defaultenv/init/bootsource   | 8 ++++----
 configs/platform-v7a/barebox-mx6.config                   | 3 +--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource b/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource
index 4de7163..ba04809 100644
--- a/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource
+++ b/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource
@@ -4,10 +4,10 @@ if [ -n "$nv.boot.default" ]; then
 	exit
 fi
 
+
 if [ $bootsource = mmc ]; then
-	global.boot.default="bootchooser net"
-elif [ $bootsource = net ]; then
-	global.boot.default="net bootchooser"
+	detect mmc$bootsource_instance
+	global.boot.default="mmc$bootsource_instance net"
 else
-	global.boot.default="disk0.1 net"
+	global.boot.default="net mmc1 mmc2 mmc3"
 fi
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 536cbfe..8bc8d3f 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -249,7 +249,7 @@ CONFIG_POLLER=y
 CONFIG_STATE=y
 CONFIG_STATE_CRYPTO=y
 # CONFIG_STATE_BACKWARD_COMPATIBLE is not set
-CONFIG_BOOTCHOOSER=y
+# CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 
 #
@@ -437,7 +437,6 @@ CONFIG_CMD_OF_PROPERTY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
-CONFIG_CMD_BOOTCHOOSER=y
 # CONFIG_CMD_DHRYSTONE is not set
 # CONFIG_CMD_SPD_DECODE is not set
 # CONFIG_CMD_SEED is not set
-- 
2.19.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2018-12-05 13:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05  7:58 [DistroKit] [PATCH 1/3] barebox-mx6: fix bootsource selection Rouven Czerwinski
2018-12-05  7:58 ` [DistroKit] [PATCH 2/3] barebox-mx6: disable state and remove boostate entries Rouven Czerwinski
2018-12-05 13:20   ` Roland Hieber
2018-12-05  7:58 ` [DistroKit] [PATCH 3/3] barebox-vexpress: disable state and bootchooser and remove files Rouven Czerwinski
2018-12-05  8:07 ` [DistroKit] [PATCH 1/3] barebox-mx6: fix bootsource selection Rouven Czerwinski
2018-12-05 13:22   ` Roland Hieber

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