public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: u-boot@lists.denx.de
Subject: [PATCH 4/5] arm: mvebu: Espressobin: Define console env
Date: Mon, 24 Aug 2020 16:25:01 +0200	[thread overview]
Message-ID: <20200824142502.7281-4-pali@kernel.org> (raw)
In-Reply-To: <20200824142502.7281-1-pali@kernel.org>

Some distribution bootscripts append console env into boot cmdline.
So define console env correctly to have early console access.

Signed-off-by: Pali Roh?r <pali@kernel.org>
---
 include/configs/mvebu_armada-37xx.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index 6feceda757..b473072976 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -17,6 +17,7 @@
 
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, \
 					  115200, 230400, 460800, 921600 }
+#define CONFIG_DEFAULT_CONSOLE "console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000"
 
 /*
  * For booting Linux, the board info and command line data
@@ -99,6 +100,7 @@
 	"kernel_addr=0x7000000\0"	\
 	"kernel_addr_r=0x7000000\0"	\
 	"ramdisk_addr_r=0x8000000\0"	\
+	"console=" CONFIG_DEFAULT_CONSOLE "\0" \
 	BOOTENV
 
 #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
-- 
2.20.1

  parent reply	other threads:[~2020-08-24 14:25 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 14:24 [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses Pali Rohár
2020-08-24 14:24 ` [PATCH 2/5] arm: mvebu: Espressobin: Change default loadaddr Pali Rohár
2020-08-25  7:06   ` Stefan Roese
2020-08-24 14:25 ` [PATCH 3/5] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases Pali Rohár
2020-08-25  7:07   ` Stefan Roese
2020-08-24 14:25 ` Pali Rohár [this message]
2020-08-25  7:08   ` [PATCH 4/5] arm: mvebu: Espressobin: Define console env Stefan Roese
2020-08-26 13:22   ` Andre Heider
2020-08-26 13:31     ` Pali Rohár
2020-08-26 14:00       ` Andre Heider
2020-08-26 14:10         ` Pali Rohár
2020-08-26 14:43           ` Andre Heider
2020-08-26 15:10             ` Pali Rohár
2020-08-26 15:29               ` Andre Heider
2020-08-27  4:51               ` Andre Heider
2020-08-27 10:29                 ` Pali Rohár
2020-08-27 14:34                   ` Andre Heider
2020-08-27  5:25               ` Andre Heider
2020-08-24 14:25 ` [PATCH 5/5] arm: mvebu: Espressobin: Update README.marvell file Pali Rohár
2020-08-25  7:08   ` Stefan Roese
2020-08-25  7:05 ` [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses Stefan Roese
2020-08-26  7:30 ` Andre Heider
2020-08-26  8:31   ` Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses) Pali Rohár
2020-08-26  9:57     ` Andre Heider
2020-08-26 10:51       ` Pali Rohár
2020-08-26 11:40         ` Pali Rohár
2020-08-26 13:22           ` Andre Heider
2020-08-27 13:14             ` Pali Rohár
2020-08-28 12:39             ` Pali Rohár
2020-08-28 14:35               ` Andre Heider
2020-08-28 14:53                 ` Pali Rohár
2020-08-27 13:01 ` [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses Pali Rohár
2020-08-27 13:01   ` [PATCH v2 2/4] arm: mvebu: Espressobin: Change default loadaddr Pali Rohár
2020-08-27 15:31     ` Stefan Roese
2020-08-27 16:04     ` Andre Heider
2020-08-31 13:06     ` Stefan Roese
2020-08-27 13:01   ` [PATCH v2 3/4] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases Pali Rohár
2020-08-27 15:31     ` Stefan Roese
2020-08-27 16:04     ` Andre Heider
2020-08-31 13:06     ` Stefan Roese
2020-08-27 13:01   ` [PATCH v2 4/4] arm: mvebu: Espressobin: Update README.marvell file Pali Rohár
2020-08-27 15:32     ` Stefan Roese
2020-08-31 13:06     ` Stefan Roese
2020-08-27 14:31   ` [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses Andre Heider
2020-08-27 15:37     ` Stefan Roese
2020-08-27 15:31   ` Stefan Roese
2020-08-31 13:06   ` Stefan Roese

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=20200824142502.7281-4-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=u-boot@lists.denx.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