Change kernel command line?

How can I change the linux kernel command line in u-boot? I tried to set bootargs and mmcargs but they do not affect the kernel command line. Using reference linux (5.0.0) image flashed to module with easy installer.

When kernel boots, I see Kernel command line: root=PARTUUID=55da87df-02 ro rootwait video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off.

Thanks!

Hi @stuo

Thanks for writing to the Toradex Community!

You can add ‘defargs’ to the U-Boot Environment.
Please Note, that starting from Bsp3.0, we are using DistroBoot for the boot process. Therefore you need to look to the ‘boot.scr’ file for setting up the needed kernel command line.

Best regards,
Jaski

Thank you!

You are welcome.