Re: Adding command line option in kernel.

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

 



oops... my bad. I was trying to send that mail to you only and it got
sent to the list.
anyways, early_param() is the correct api in my opinion. Use the
example i provided in setup.c to compare.

Cheers,
Naren

On Wed, Aug 4, 2010 at 9:46 AM, Raahi Mehra <raahi80@xxxxxxxxx> wrote:
> 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, <naren.mehra@xxxxxxxxx> 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 <arshad.super@xxxxxxxxx>
>> wrote:
>> > On Tue, Aug 3, 2010 at 7:56 PM, Victor Rodriguez <vm.rod25@xxxxxxxxx>
>> > wrote:
>> >> On Tue, Aug 3, 2010 at 2:21 AM, Raahi Mehra <raahi80@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
>> > Please read the FAQ at http://kernelnewbies.org/FAQ
>> >
>> >
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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