RE: Kernel command line parameter?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simplest is  do $make menuconfig

Change the boot options for command line paramenter.

If you see .config it is CONFIG_CMDLINE=" “

 

 

Regards

Vivek

-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Chetan Nanda
Sent: Friday, September 19, 2008 2:13 PM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Kernel command line parameter?

 

Hi All,

I have to pass a new command line parameter to linux kernel at bootup time, I am using Intel x86 machine.

How will I go about this?
I have seen in kernel code many statements like:
__setup("str",fn);

Is statement of this kind is sufficient enough?
How/where (in code) kernel parse these parameters?

Thanks,
Chetan Nanda


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux