Hi,

I need to modify the kernel cmdline to support more console devices and provide the dmesg bootup log, as is customary on most linux machines. However, I cannot find any info on how to do this. The whole system is different from what I am used to.

Basically all these settings are exposed on `cat /proc/cmdline`. Various Debian documents, say that it should be found in `/etc/cmdline` but there is no such file, anywhere. Other distros mention Grub, but I don't see this either. Some other place mentions that my system is using Uboot or that maybe its set using systemd.

https://manpages.debian.org/bookworm/sy ... .7.en.html
https://manpages.debian.org/bookworm/ma ... .7.en.html
https://manpages.debian.org/bookworm/dr ... .7.en.html

Code: Select all

#  cat /proc/cmdline | tr ' ' '\n'

storagemedia=emmc
androidboot.storagemedia=emmc
androidboot.mode=normal
androidboot.dtbo_idx=0
androidboot.verifiedbootstate=orange
earlycon=uart8250,mmio32,0xfeb50000
console=ttyFIQ0
coherent_pool=1m
irqchip.gicv3_pseudo_nmi=0
rw
cgroup_enable=memory
cgroup_memory=1
consoleblank=0
root=/dev/mmcblk2p8
rootflags=discard
rootfstype=auto
androidboot.fwver=ddr-v1.17-3488111f83,bl31-v1.46,bl32-v1.16,uboot-9abd042ed7-08/16/2024
#                                                            ^^^^^ Uboot ??



I want to change:

Code: Select all

# change
console=ttyFIQ0
# to
console=tty1


And possibly also the baudrate, and maybe some others...
My system was flashed for OMV, and is current running this:

Code: Select all

# cat /proc/version

Linux version 6.1.57 (fa@jensen) (aarch64-linux-gcc (ctng-1.25.0-119g-FA) 11.3.0, GNU ld (GNU Binutils) 2.38) 
#25 SMP Fri Oct 11 19:56:28 CST 2024

# lsb_release -a

Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm


How can I find and change these settings?