Skip to contentSkip to conversation

Increase command line size

U-Boot Paulo Flabiano Smorigo 2 participants 5 messages Dec 9, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Dear "Paulo Flabiano Smorigo",

Quoted 2 lines · In message <[email protected]> you…

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?

Quoted 1 line

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

Signature · 6 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
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 <[email protected]>
#2 lore raw

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

Quoted 35 lines · Wolfgang Denk

Dear "Paulo Flabiano Smorigo",

In message <[email protected]>

Quoted 2 lines · you

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?

Quoted 1 line

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 at 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 <[email protected]>

#3 lore raw

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.

Quoted 7 lines · In message <[email protected]> you…

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

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
"There is nothing new under the sun, but there are lots of old things
we don't know yet."                                  - Ambrose Bierce
#4 lore raw

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