[U-Boot] Increase command line size

Hi everybody,
I want to know how to increase the command line size to more than 255 characters. I want to set the bootargs parameter with more than 300 chars...
Thanks in advance, Paulo Flabiano Smorigo

Dear "Paulo Flabiano Smorigo",
In message 53934def0812090508v302f54amfd66092f5f8a28ae@mail.gmail.com you wrote:
I want to know how to increase the command line size to more than 255
I recommend you start reading the documentation. For example, the file README explains which configuration settings are responsible for console buffer sizes.
You know that you are supposed to read the docs *before* posting, aren't you?
characters. I want to set the bootargs parameter with more than 300 chars...
This makes no sense. You should really study the documentation - in this case the manual, hich explains in detail how you can create the boot arguments dynamically from smaller building blocks - this is much more flexible and easier to handle in case you need to change anything.
Best regards,
Wolfgang Denk

Hi Wolfgang,
I got a board that uses u-boot to load the system. The u-boot is installed and already working. Now I want to configure u-boot to load another rootfs through nfs. The original bootargs variable has less than 255 characters but with the new configuration the variable will be more than that. I just want to know if it's just a configuration that I have to setup or I have the recompile u-boot...
Sorry to bother, I will search at the docs for this...
Thanks for the reply, Paulo Flabiano Smorigo
On Tue, Dec 9, 2008 at 12:25, Wolfgang Denk wd@denx.de wrote:
Dear "Paulo Flabiano Smorigo",
In message 53934def0812090508v302f54amfd66092f5f8a28ae@mail.gmail.com you wrote:
I want to know how to increase the command line size to more than 255
I recommend you start reading the documentation. For example, the file README explains which configuration settings are responsible for console buffer sizes.
You know that you are supposed to read the docs *before* posting, aren't you?
characters. I want to set the bootargs parameter with more than 300
chars...
This makes no sense. You should really study the documentation - in this case the manual, hich explains in detail how you can create the boot arguments dynamically from smaller building blocks - this is much more flexible and easier to handle in case you need to change anything.
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@denx.de As usual, this being a 1.3.x release, I haven't even compiled this kernel yet. So if it works, you should be doubly impressed. - Linus Torvalds in 199506181536.SAA10638@keos.cs.Helsinki.FI

Dear Paulo,
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
And you not only top-post, you also full-quote. And you post HTML, even though this is strictly forbidden on this list.
You are ignoring Netiquette more or less completely, are you aware of this?
I think you should read http://www.netmeister.org/news/learn2quote.html really carefully.
In message 53934def0812090823k224ba848kcc29f367e4026944@mail.gmail.com you wrote:
I got a board that uses u-boot to load the system. The u-boot is installed and already working. Now I want to configure u-boot to load another rootfs through nfs. The original bootargs variable has less than 255 characters but with the new configuration the variable will be more than that. I just want to know if it's just a configuration that I have to setup or I have the recompile u-boot...
There is no inherent limit on the length of an environment variable. It can grow as long as you have memory for it.
Best regards,
Wolfgang Denk

Hello again Wolfgang,
Sorry! I was not aware of this. I use gmail to post the messages and not notice this rules...
My apologies to the people in this list.
Sorry again, Paulo Flabiano Smorigo
participants (2)
-
Paulo Flabiano Smorigo
-
Wolfgang Denk