user_ABCD
user_ABCD

Reputation: 347

What is the maximum byte size for 1 U-Boot environment variable?

Odd question, but how big can I make a U-Boot environment variable before it fails?

Essentially what type is a U-boot environment variable?

Upvotes: 3

Views: 2003

Answers (1)

Tom Rini
Tom Rini

Reputation: 2173

It depends slightly on what you're doing. The overall environment is limited to CONFIG_ENV_SIZE. The amount of text you can input at a given time is CONFIG_SYS_CBSIZE.

Upvotes: 4

Related Questions