From: George Chan <gchan9...@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 <gchan9...@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