DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 3/3] v7a: lxa-mc1: migrate loglevel to barebox environment variable
Date: Wed,  3 Jun 2020 16:16:53 +0200	[thread overview]
Message-ID: <20200603141653.30803-3-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20200603141653.30803-1-a.fatoum@pengutronix.de>

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>
---
 .../barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel       | 1 +
 configs/platform-v7a/projectroot/loader/entries/lxa-mc1.conf    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel

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 000000000000..705752ca416d
--- /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 e0f418c95398..5718be4d1710 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
-- 
2.27.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  parent reply	other threads:[~2020-06-03 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-03 14:16 [DistroKit] [PATCH 1/3] v7a: barebox: stm32mp: enable barebox-state support Ahmad Fatoum
2020-06-03 14:16 ` [DistroKit] [PATCH 2/3] v7a: barebox: stm32mp: enable sha1sum command Ahmad Fatoum
2020-06-03 14:16 ` Ahmad Fatoum [this message]
2020-06-03 16:18 ` [DistroKit] [PATCH 1/3] v7a: barebox: stm32mp: enable barebox-state support Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200603141653.30803-3-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox