public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] How to use kernel cmdline instead
@ 2007-07-06 14:17 Junior
  2007-07-06 14:34 ` Patrice Vilchez
  2007-07-06 14:36 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Junior @ 2007-07-06 14:17 UTC (permalink / raw)
  To: u-boot

Hi all,
How do I make uboot use the commandline args in embedded in the kernel
rather than those supplied by uboot?

Thanks.
--Jr.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:17 [U-Boot-Users] How to use kernel cmdline instead Junior
@ 2007-07-06 14:34 ` Patrice Vilchez
  2007-07-06 14:41   ` Junior
  2007-07-06 14:36 ` Wolfgang Denk
  1 sibling, 1 reply; 8+ messages in thread
From: Patrice Vilchez @ 2007-07-06 14:34 UTC (permalink / raw)
  To: u-boot



Junior a ?crit :
> Hi all,
> How do I make uboot use the commandline args in embedded in the kernel
> rather than those supplied by uboot?
>
> Thanks.
> --Jr.
>   
    unset bootargs

Patrice.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:17 [U-Boot-Users] How to use kernel cmdline instead Junior
  2007-07-06 14:34 ` Patrice Vilchez
@ 2007-07-06 14:36 ` Wolfgang Denk
  2007-07-06 14:51   ` Junior
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2007-07-06 14:36 UTC (permalink / raw)
  To: u-boot

In message <DAC6A9AD08C.0000016Cejr@inbox.com> you wrote:
>
> How do I make uboot use the commandline args in embedded in the kernel
> rather than those supplied by uboot?

You cannot. U-Boot never uses any information embedded in the kernel.

For U-Boot, the kernel is just a binary blob of unknown (and
uninteresting) data.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
SW engineering is a race between programmers trying  to  make  better
idiot-proof programs and the universe producing greater idiots.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:34 ` Patrice Vilchez
@ 2007-07-06 14:41   ` Junior
  2007-07-07  8:39     ` my lists
  0 siblings, 1 reply; 8+ messages in thread
From: Junior @ 2007-07-06 14:41 UTC (permalink / raw)
  To: u-boot

> 
> Junior a ?crit :
>> Hi all,
>> How do I make uboot use the commandline args in embedded in the kernel
>> rather than those supplied by uboot?
>> 
>> Thanks.
>> --Jr.
>> 
>     unset bootargs
> 
> Patrice.

Thanks. I'm actually refering to building. What option do I set or unset?
My build doesn't like when I unset CMDLINE_TAG, unless I messed something up.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:36 ` Wolfgang Denk
@ 2007-07-06 14:51   ` Junior
  2007-07-06 14:55     ` Songmao Tian
  2007-07-06 14:57     ` Patrice Vilchez
  0 siblings, 2 replies; 8+ messages in thread
From: Junior @ 2007-07-06 14:51 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: wd at denx.de
> Sent: Fri, 06 Jul 2007 16:36:27 +0200
> To: ejr at inbox.com
> Subject: Re: [U-Boot-Users] How to use kernel cmdline instead
> 
> In message <DAC6A9AD08C.0000016Cejr@inbox.com> you wrote:
>> 
>> How do I make uboot use the commandline args in embedded in the kernel
>> rather than those supplied by uboot?
> 
> You cannot. U-Boot never uses any information embedded in the kernel.
> 
> For U-Boot, the kernel is just a binary blob of unknown (and
> uninteresting) data.

Thanks,
On second thought, this might be a kernel thing. What I really meant is for the
kernel to boot with the embedded cmdline instead of using the one supplied by the 
bootloader.

--Jr.

____________________________________________________________
KEEP SPYWARE OFF YOUR COMPUTER - Protect your computer with Spyware Terminator!
Visit http://www.spywareterminator.com/install and find out more!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:51   ` Junior
@ 2007-07-06 14:55     ` Songmao Tian
  2007-07-06 14:57     ` Patrice Vilchez
  1 sibling, 0 replies; 8+ messages in thread
From: Songmao Tian @ 2007-07-06 14:55 UTC (permalink / raw)
  To: u-boot

Junior wrote:
>> -----Original Message-----
>> From: wd at denx.de
>> Sent: Fri, 06 Jul 2007 16:36:27 +0200
>> To: ejr at inbox.com
>> Subject: Re: [U-Boot-Users] How to use kernel cmdline instead
>>
>> In message <DAC6A9AD08C.0000016Cejr@inbox.com> you wrote:
>>     
>>> How do I make uboot use the commandline args in embedded in the kernel
>>> rather than those supplied by uboot?
>>>       
>> You cannot. U-Boot never uses any information embedded in the kernel.
>>
>> For U-Boot, the kernel is just a binary blob of unknown (and
>> uninteresting) data.
>>     
>
> Thanks,
> On second thought, this might be a kernel thing. What I really meant is for the
> kernel to boot with the embedded cmdline instead of using the one supplied by the 
> bootloader.
>   
As I known, it can be configured by "make menuconfig".
> --Jr.
>
> ____________________________________________________________
> KEEP SPYWARE OFF YOUR COMPUTER - Protect your computer with Spyware Terminator!
> Visit http://www.spywareterminator.com/install and find out more!
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
>   

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:51   ` Junior
  2007-07-06 14:55     ` Songmao Tian
@ 2007-07-06 14:57     ` Patrice Vilchez
  1 sibling, 0 replies; 8+ messages in thread
From: Patrice Vilchez @ 2007-07-06 14:57 UTC (permalink / raw)
  To: u-boot



Junior a ?crit :
>> -----Original Message-----
>> From: wd at denx.de
>> Sent: Fri, 06 Jul 2007 16:36:27 +0200
>> To: ejr at inbox.com
>> Subject: Re: [U-Boot-Users] How to use kernel cmdline instead
>>
>> In message <DAC6A9AD08C.0000016Cejr@inbox.com> you wrote:
>>     
>>> How do I make uboot use the commandline args in embedded in the kernel
>>> rather than those supplied by uboot?
>>>       
>> You cannot. U-Boot never uses any information embedded in the kernel.
>>
>> For U-Boot, the kernel is just a binary blob of unknown (and
>> uninteresting) data.
>>     
>
> Thanks,
> On second thought, this might be a kernel thing. What I really meant is for the
> kernel to boot with the embedded cmdline instead of using the one supplied by the 
> bootloader.
>
> --Jr.
>   
    From the U-boot command line you have to unset the bootargs 
environment variable.
    To do that :
    U-Boot> setenv bootargs

P.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] How to use kernel cmdline instead
  2007-07-06 14:41   ` Junior
@ 2007-07-07  8:39     ` my lists
  0 siblings, 0 replies; 8+ messages in thread
From: my lists @ 2007-07-07  8:39 UTC (permalink / raw)
  To: u-boot

Actually kernel will use buildtime option as default if nothing is passed as
boot time command line.
I guess you want to know how to use the kernel default ... then just pass
nothing to kernel. Make sure then that your kernel was well configured at build
time or you will most likely end up with a kernel panic at the time of mounting
root filesystem.

Regards
David
--- Junior <ejr@inbox.com> wrote:

> > 
> > Junior a ?crit :
> >> Hi all,
> >> How do I make uboot use the commandline args in embedded in the kernel
> >> rather than those supplied by uboot?
> >> 
> >> Thanks.
> >> --Jr.
> >> 
> >     unset bootargs
> > 
> > Patrice.
> 
> Thanks. I'm actually refering to building. What option do I set or unset?
> My build doesn't like when I unset CMDLINE_TAG, unless I messed something up.
> 
> ____________________________________________________________
> FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your
> desktop!
> Check it out at http://www.inbox.com/marineaquarium
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 



 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 


       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-07-07  8:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 14:17 [U-Boot-Users] How to use kernel cmdline instead Junior
2007-07-06 14:34 ` Patrice Vilchez
2007-07-06 14:41   ` Junior
2007-07-07  8:39     ` my lists
2007-07-06 14:36 ` Wolfgang Denk
2007-07-06 14:51   ` Junior
2007-07-06 14:55     ` Songmao Tian
2007-07-06 14:57     ` Patrice Vilchez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox