summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-06-03 16:16:53 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-06-03 18:15:39 +0200
commit5120d83d798dea75dc4064f9fe09aa16a52b4882 (patch)
tree1e6c16aab4b6f57481b4bc2880611bdfe88bf20d
parent27a17969aafdbc592e6920514cd169e6ab90aef9 (diff)
downloadDistroKit-master.tar.gz
v7a: lxa-mc1: migrate loglevel to barebox environment variableHEADmaster
The MC-1 is the only supported board that configures loglevel via bootspec and not via barebox environment. For symmetry and because internal CI checks for it, migrate the loglevel to the environment. This also affects the stm32mp157c-dk2 target, which is fine. No one minds shorter boot times. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
-rw-r--r--configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel1
-rw-r--r--configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel
new file mode 100644
index 0000000..705752c
--- /dev/null
+++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel
@@ -0,0 +1 @@
+loglevel=5 systemd.log_level=warning systemd.show_status=auto
diff --git a/configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf b/configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf
index e0f418c..5718be4 100644
--- a/configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf
+++ b/configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf
@@ -1,6 +1,6 @@
title PTXdist - Pengutronix-DistroKit
version 5.5
-options rootwait rw loglevel=5 systemd.log_level=warning systemd.show_status=auto
+options rootwait rw
linux /boot/zImage
devicetree /boot/stm32mp157c-lxa-mc1.dtb
linux-appendroot true