Skip to contentSkip to conversation

How to use kernel cmdline instead

U-Boot-Users Junior 5 participants 8 messages Jul 6, 2007 – Jul 7, 2007

lore
Share & tools
lore

Junior

author
#0 lore raw

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

Thanks.
--Jr.

#1 lore raw

Junior a ?crit :

Quoted 7 lines

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.

author
#2 lore raw
Quoted 6 lines

Junior a ?crit :

Quoted 4 lines

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

Quoted 6 lines
Quoted 3 lines

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

#3 lore raw

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

Quoted 21 lines · --- Junior
Quoted 6 lines

Junior a ?crit :

Quoted 4 lines

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

Quoted 6 lines
Quoted 3 lines

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

Quoted 10 lines

-------------------------------------------------------------------------
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

#4 lore raw
In reply to Junior
Quoted 3 lines · In message <[email protected]> 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

Signature · 5 lines
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.
author
#5 lore raw
Quoted 8 lines

-----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

Quoted 1 line · In message <[email protected]> you wrote:
Quoted 7 lines
Quoted 2 lines

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!

#6 lore raw
Quoted 13 lines · Junior
Quoted 13 lines

-----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

Quoted 3 lines · In message <[email protected]> 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.

Quoted 9 lines
Quoted 3 lines

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".

Quoted 18 lines

--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

#7 lore raw
In reply to Junior

Junior a ?crit :

Quoted 17 lines
Quoted 8 lines

-----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 <[email protected]> you wrote:

Quoted 8 lines
Quoted 3 lines

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.

Quoted 7 lines

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.