Thanks for the explaining on my behalf :) As you explained while chatting with me, i will try it out and then come back with results and post it in this list, if it works out. Thanks again, i will keep in mind your below mail while asking next time.
Regards, Raahi On Wed, Aug 4, 2010 at 9:41 AM, <[email protected]> wrote: > Hi, > > Thanks for the reply. > Sorry for not making it clear in the first mail. > I wish to add a parameter to kernel command line which will set a > value that can be used inside kernel. > now legacy system use __setup() call for that. > I wish to do this for my arm based board which uses u-boot. > I hope the question will be clear now. > > Thanks and regards, > Raahi > > On Tue, Aug 3, 2010 at 10:34 PM, arshad hussain <[email protected]> > wrote: > > On Tue, Aug 3, 2010 at 7:56 PM, Victor Rodriguez <[email protected]> > wrote: > >> On Tue, Aug 3, 2010 at 2:21 AM, Raahi Mehra <[email protected]> wrote: > >>> > >>> Hi, > >>> > >>> I wish to add a new command line option in my kernel. > >>> Can anybody help me with steps to achieve that ?? > >>> As I read somewhere that __setup is now obsolete and since i need to > use > >>> this new option in early boot time > > > > If you are using GRUB/GRUB2 as your bootloader. > > Then one possible option is to let GRUB import that > > for you. Have a look at GRUB_CMDLINE_LINUX, > > (for GRUB2) and GRUB1's "kernel" option. > > > > This should help https://wiki.ubuntu.com/Grub2 > > > > Thanks > > > > > > so I need to use early_param(). > >>> So how can I do that ?? > >>> Is there any documentation available anywhere that i can use ?? > >>> > >>> > >>> Regards, > >>> Raahi > >>> > >> > > > > -- > > To unsubscribe from this list: send an email with > > "unsubscribe kernelnewbies" to [email protected] > > Please read the FAQ at http://kernelnewbies.org/FAQ > > > > >
