by anarki » Thu Oct 26, 2023 12:14 pm
Hi all. Just switched to grayskys linux-rpi on my headless rpi4. I have a question regarding cmdline, though.
My /boot/cmdline.txt consists of:
[code]root=/dev/mmcblk0p2 rw rootwait console=serial0,115200 console=tty1 fsck.repair=yes[/code]
Although, /proc/cmdline reads:
[code]coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:12:82:CD vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 fsck.repair=yes[/code]
Not only I wonder how and when actual cmdline is assembled, I also wonder why snd_bcm2835_enable_headphones is present twice. Meanwhile, my /boot/config.txt reads:
[code]initramfs initramfs-linux.img followkernel
arm_boost=0
display_auto_detect=0
camera_auto_detect=0
dtparam=krnbt=on,hdmi=off,audio=on[/code]
Can someone shed some light into generation of cmdline? - Thank you