All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Chan <gchan9527@gmail.com>
To: Tom Rini <trini@konsulko.com>,
	 Mattijs Korpershoek <mkorpershoek@kernel.org>,
	 Simon Glass <sjg@chromium.org>,
	Casey Connolly <casey.connolly@linaro.org>,
	 Neil Armstrong <neil.armstrong@linaro.org>,
	 Sumit Garg <sumit.garg@kernel.org>,
	 Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io,
	 George Chan <gchan9527@gmail.com>
Subject: [PATCH v2 4/5] qcom-phone.env: Example of new env var legacy_os_boot_param
Date: Mon, 05 May 2025 17:17:12 +0800	[thread overview]
Message-ID: <20250505-android-boot-v2-4-92dcb5bf59c8@gmail.com> (raw)
In-Reply-To: <20250505-android-boot-v2-0-92dcb5bf59c8@gmail.com>

This is an example for newly introduced env_var legacy_os_boot_param
that will append 'console=ramoops' to fdt bootargs.

Signed-off-by: George Chan <gchan9527@gmail.com>
---
 board/qualcomm/qcom-phone.env | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/qualcomm/qcom-phone.env b/board/qualcomm/qcom-phone.env
index e91ae3ecdfb..536467921d8 100644
--- a/board/qualcomm/qcom-phone.env
+++ b/board/qualcomm/qcom-phone.env
@@ -4,6 +4,10 @@ stdin=serial,button-kbd
 stdout=serial,vidconsole
 stderr=serial,vidconsole
 
+# Introduce var to hold legacy boot param, it will be append 
+# to bootargs automatically
+legacy_os_boot_param=console=ramoops
+
 # Fastboot is keen to use the address from kconfig, but we
 # allocate its buffer at runtime.
 fastboot=fastboot -l $fastboot_addr_r usb 0

-- 
2.43.0


WARNING: multiple messages have this Message-ID (diff)
From: George Chan via B4 Relay <devnull+gchan9527.gmail.com@kernel.org>
To: Tom Rini <trini@konsulko.com>,
	 Mattijs Korpershoek <mkorpershoek@kernel.org>,
	 Simon Glass <sjg@chromium.org>,
	Casey Connolly <casey.connolly@linaro.org>,
	 Neil Armstrong <neil.armstrong@linaro.org>,
	 Sumit Garg <sumit.garg@kernel.org>,
	 Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io,
	 George Chan <gchan9527@gmail.com>
Subject: [PATCH v2 4/5] qcom-phone.env: Example of new env var legacy_os_boot_param
Date: Mon, 05 May 2025 17:17:12 +0800	[thread overview]
Message-ID: <20250505-android-boot-v2-4-92dcb5bf59c8@gmail.com> (raw)
In-Reply-To: <20250505-android-boot-v2-0-92dcb5bf59c8@gmail.com>

From: George Chan <gchan9527@gmail.com>

This is an example for newly introduced env_var legacy_os_boot_param
that will append 'console=ramoops' to fdt bootargs.

Signed-off-by: George Chan <gchan9527@gmail.com>
---
 board/qualcomm/qcom-phone.env | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/qualcomm/qcom-phone.env b/board/qualcomm/qcom-phone.env
index e91ae3ecdfb..536467921d8 100644
--- a/board/qualcomm/qcom-phone.env
+++ b/board/qualcomm/qcom-phone.env
@@ -4,6 +4,10 @@ stdin=serial,button-kbd
 stdout=serial,vidconsole
 stderr=serial,vidconsole
 
+# Introduce var to hold legacy boot param, it will be append 
+# to bootargs automatically
+legacy_os_boot_param=console=ramoops
+
 # Fastboot is keen to use the address from kconfig, but we
 # allocate its buffer at runtime.
 fastboot=fastboot -l $fastboot_addr_r usb 0

-- 
2.43.0



  parent reply	other threads:[~2025-05-05  9:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-05  9:17 [PATCH v2 0/5] u-boot chain-loading LineageOS bootimg George Chan
2025-05-05  9:17 ` George Chan via B4 Relay
2025-05-05  9:17 ` [PATCH v2 1/5] boot/image-android: Workaround kernel/ramdisk invalid addr George Chan
2025-05-05  9:17   ` George Chan via B4 Relay
2025-05-05 12:22   ` Neil Armstrong
2025-05-07  9:30     ` Mattijs Korpershoek
2025-05-07  7:47   ` Mattijs Korpershoek
2025-05-08  4:22     ` george chan
2025-05-09 14:22       ` Mattijs Korpershoek
2025-05-05  9:17 ` [PATCH v2 2/5] mach-snapdragon: Enhance android image handling memory footprint George Chan
2025-05-05  9:17   ` George Chan via B4 Relay
2025-05-05 12:23   ` Neil Armstrong
2025-05-05  9:17 ` [PATCH v2 3/5] fdt_support: Add support for extra var for bootargs George Chan
2025-05-05  9:17   ` George Chan via B4 Relay
2025-05-05  9:17 ` George Chan [this message]
2025-05-05  9:17   ` [PATCH v2 4/5] qcom-phone.env: Example of new env var legacy_os_boot_param George Chan via B4 Relay
2025-05-05  9:17 ` [PATCH v2 5/5] mach-snapdragon: Enable workaround of ignoring androidboot addr George Chan
2025-05-05  9:17   ` George Chan via B4 Relay
2025-05-05 12:23   ` Neil Armstrong

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=20250505-android-boot-v2-4-92dcb5bf59c8@gmail.com \
    --to=gchan9527@gmail.com \
    --cc=casey.connolly@linaro.org \
    --cc=mkorpershoek@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.