How to hardcoded linux kernel command line
Hi,
I know that in U-boot, you can set up bootargs in the command prompt.
But because I do not have specificated flash space for u-boot to store those data, can I hard-code the linux kernel command line? I mean just write it in the source code. If I can, where should I go?
Thank you.
Nick Lo
-----------------
John14:6 - Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20041209/8ff9ffb6/attachment.htm
Quoted 2 lines · In message <000801c4de1a$f7e8c680$df85d783@NICK> you wrote:
But because I do not have specificated flash space for u-boot to store those data,
Why don't you? Why are you castrating one of the most powerful features of U-Boot?
Quoted 2 lines
can I hard-code the linux kernel command line? I mean just write it in the source code. If I can, where should I go?
Go and read the documentation. In this case, the README. Search for CONFIG_BOOTARGS
Quoted 7 lines
------=_NextPart_000_0005_01C4DDD7.E995EB00
Content-Type: text/html; charset="iso-8859-1"Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD>
Please NEVER post HTML again!!!
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. - Karl Lehenbauer