nv-public: remove serialno in bootarg

after enable bootconfig since 2024/12/25, serialno is read from eeprom.
there is conflict with the hardcoded serialno in bootarg.

here is the changes to enable bootconfig with serialno reading:
https://git-master.nvidia.com/r/c/tegra/bootloader/uefi/edk2-nvidia/+/3246057
https://git-master.nvidia.com/r/c/tegra/bootloader/uefi/edk2-nvidia/+/3270705

here is the boot failure(no more useful info. looks no correct partition is mounted due to the conflict):
[    3.592828][    T1]   #0: NVIDIA Firespray HDA at 0x3518000 irq 93^M
[    3.601620][    T1] Freeing unused kernel memory: 5376K^M
[    3.604326][    T1] Run /init as init process^M
[    3.609939][    T1] init: init first stage started!^M
[    3.613994][    T1] init: Loading module /lib/modules/ivc_ext.ko with args ''^M
[    3.621074][    T1] ivc_ext: loading out-of-tree module taints kernel.^M
[    3.627387][    T1] ivc_ext: module verification failed: signature and/or required key missing - tainting kernel^M
[    3.637608][    T1] Inserting ivc_ext.ko module^M
[    3.637666][    T1] init: Loaded kernel module /lib/modules/ivc_ext.ko^M
[    3.648310][    T1] init: Loading module /lib/modules/tegra_hv.ko with args ''^M
[    3.656096][    T1] init: Loaded kernel module /lib/modules/tegra_hv.ko^M
[    3.662399][    T1] init: Loading module /lib/modules/tegra_hv_vblk_oops.ko with args ''^M
[    3.670817][    T1] init: Loaded kernel module /lib/modules/tegra_hv_vblk_oops.ko^M
[    3.677970][    T1] init: Loading module /lib/modules/tegra_vblk.ko with args ''^M
[    3.686055][    T1] init: Loaded kernel module /lib/modules/tegra_vblk.ko^M
[    3.692144][    T1] init: Loading module /lib/modules/ivc-cdev.ko with args ''^M
[    3.699716][    T1] ivc-cdev: hypervisor not present^M
[    3.790480][    T1] ^@
I> Task: Trigger mailbox for PSC-BL1 exit^M
I> Sending opcode 0x4d420802 to psc^M
I> Received ACK from psc^M
I> Task: Trigger load FSI keyblob^M
I> Sending opcode OP_FSI_KEYBLOB to psc-fw^M
I> Sending opcode 0x53535452 to psc^M
I> Sent opcode to psc^M

did not check further whether this conflict caused the boot issue.
but really don't need the hardcoded parameter.
so remove the hardcoded serialno in bootarg.
after remove it, boot is OK.

Bug 4958861

Change-Id: I6b1b34759e7441b0a749fbec292935d7e12e6c91
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3322151
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Chun Ng <chunn@nvidia.com>
Reviewed-by: Guosheng Xu <brucex@nvidia.com>
Tested-by: Guosheng Xu <brucex@nvidia.com>
This commit is contained in:
Bruce Xu
2025-03-19 05:34:59 +00:00
committed by mobile promotions
parent 4724fee17d
commit 211c8a4b67

View File

@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
/* SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
// Definitions for tegra234 android bootargs
@@ -15,4 +15,4 @@
#define ANDROID_FIRESPRAY_KDUMP_BOOTARGS "bootconfig console=ttyTCU0,115200 rootfstype=ext4 mminit_loglevel=4 enforcing=0 loop.max_part=7 firmware_class.path=/vendor/firmware crashkernel=512M"
#define ANDROID_FIRESPRAY_BOOTCONFIG "androidboot.boot_devices=bus@0/3460000.mmc\nandroidboot.hypervisor=disabled\nandroidboot.xudc=3550000.usb\nandroidboot.hardware=t234ref\nandroidboot.selinux=permissive\nandroidboot.serialno=1423522020643\n"
#define ANDROID_FIRESPRAY_BOOTCONFIG "androidboot.boot_devices=bus@0/3460000.mmc\nandroidboot.hypervisor=disabled\nandroidboot.xudc=3550000.usb\nandroidboot.hardware=t234ref\n"