[U-Boot-Users] How to use kernel cmdline instead

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

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

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

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

-----Original Message----- From: wd@denx.de Sent: Fri, 06 Jul 2007 16:36:27 +0200 To: ejr@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!

Junior wrote:
-----Original Message----- From: wd@denx.de Sent: Fri, 06 Jul 2007 16:36:27 +0200 To: ejr@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

Junior a écrit :
-----Original Message----- From: wd@denx.de Sent: Fri, 06 Jul 2007 16:36:27 +0200 To: ejr@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.
participants (5)
-
Junior
-
my lists
-
Patrice Vilchez
-
Songmao Tian
-
Wolfgang Denk