summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-am335x-defaultenv
diff options
context:
space:
mode:
Diffstat (limited to 'configs/platform-v7a/barebox-am335x-defaultenv')
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource4
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/boot.default1
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.state_prefix1
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot1
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot1
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.targets1
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/dev.mmc0.broken_cd1
-rw-r--r--configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel2
8 files changed, 9 insertions, 3 deletions
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource b/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource
index 72e71e0..b3b73e7 100644
--- a/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/init/bootsource
@@ -5,7 +5,7 @@ if [ -n "$nv.boot.default" ]; then
fi
if [ $bootsource = mmc ]; then
- global.boot.default="mmc$bootsource_instance net"
+ global.boot.default="bootchooser net"
else
- global.boot.default="net mmc0 mmc1"
+ global.boot.default="net bootchooser"
fi
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/boot.default b/configs/platform-v7a/barebox-am335x-defaultenv/nv/boot.default
new file mode 100644
index 0000000..d7d9a37
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/boot.default
@@ -0,0 +1 @@
+bootchooser net
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.state_prefix b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.state_prefix
new file mode 100644
index 0000000..6246412
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.state_prefix
@@ -0,0 +1 @@
+state.bootstate
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot
new file mode 100644
index 0000000..c0c541c
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot
@@ -0,0 +1 @@
+mmc0.root-A
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot
new file mode 100644
index 0000000..1d40e33
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot
@@ -0,0 +1 @@
+mmc0.root-B
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.targets b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.targets
new file mode 100644
index 0000000..f0fb14e
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.targets
@@ -0,0 +1 @@
+system0 system1
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/dev.mmc0.broken_cd b/configs/platform-v7a/barebox-am335x-defaultenv/nv/dev.mmc0.broken_cd
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/dev.mmc0.broken_cd
@@ -0,0 +1 @@
+1
diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel
index 705752c..d45c344 100644
--- a/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel
+++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel
@@ -1 +1 @@
-loglevel=5 systemd.log_level=warning systemd.show_status=auto
+loglevel=5 systemd.show_status=auto