Kernel command line

Hello all,

I can see via “cat /proc/cmdline” that my video output is set up as follows:

video=mxcfb0:dev=lcd,640x480M@60,if=RGB666

If I wish to change this, how best to do it? I’ve done this in the past by e.g. “make menuconfig” and rebuilding the kernel, but I read that in more recent kernels, this configuration is done via the “device tree”?

Regards,
Richard.

Hi

The kernel command line is put together in U-Boot from U-Boot environment variables.

The sniplet for video is found in the vidargs variable. Easiest is to change it from the U-Boot command line.
Have a look here.

Max

Thanks Max. I looked into this some more myself last night and came to that conclusion - the command line is passed from U-Boot as you say.