Re: [U-Boot] [U-boot] question about one env variable size

2014-02-19 Thread TigerLiu
Hi, Denk: Thanks a lot! I got it! Not exceed CONFIG_SYS_PBSIZE defined in my platform config file is a good choice! >What exactly was your reason to worry about the maximum size for env >vars? My colleage wanted to save a variable which contains 8KB data. He asked me whether it was ok for u-boot c

Re: [U-Boot] [U-boot] question about one env variable size

2014-02-19 Thread Wolfgang Denk
Dear tiger...@via-alliance.com, In message you wrote: > > I want to know the size limit for a single env variable. In theory the size of the variable is only limited by the free room in the envrionment (the size of which you configure in your board config file). > I have reviewed the code: >

[U-Boot] [U-boot] question about one env variable size

2014-02-19 Thread TigerLiu
Hi, experts: I want to know the size limit for a single env variable. I have reviewed the code: 1. It seems the size limit for a single env variable is 1M bytes, right? #defineMAX_ENV_SIZE (1 << 20) /* 1 MiB */ (in common/cmd_nvedit.c) Best wishes, ___