Re: [U-Boot] Creating U-Boot env image

2013-12-11 Thread Bo Shen
Hi Alexey Smishlayev, On 12/09/2013 10:34 PM, Alexey Smishlayev wrote: Hello! I would like to flash the environment variable values to my board, rather than setting them at the prompt. I've founa a tool mkenvimage is made specially for that. I used it to create a binary image of the U-Boot envi

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Alexey Smishlayev
Hello Mats, On 2013.12.10. 15:33, Mats Kärrman wrote: On: Tuesday, December 10, 2013 1:32 PM, Alexey Smishlayev wrote: I'm not sure, if that's not something simple, that's why I wrote to this list. I just don't know every little detail about using U-Boot. I was thinking something like: [flash

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Mats Kärrman
On: Tuesday, December 10, 2013 1:32 PM, Alexey Smishlayev wrote: > I'm not sure, if that's not something simple, that's why I wrote to this > list. I just don't know every little detail about using U-Boot. I was thinking something like: [flash-sector-size] <= [U-Boot-configured-env-size] and you

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Alexey Smishlayev
Hello, Mats, On 2013.12.10. 13:39, Mats Kärrman wrote: Hi Alexey, I can definitely see the use case in producing a complete flash image, e.g. for production use and maybe be able to select the env image from one of many depending on some factor. Yes, the use case is exactly as you described.

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Mats Kärrman
Hi Alexey, on: Monday, December 09, 2013 3:34 PM, Alexey Smishlayev wrote: > I would like to flash the environment variable values to my board, > rather than setting them at the prompt. I've founa a tool mkenvimage is > made specially for that. I used it to create a binary image of the > U-Boot en

Re: [U-Boot] Creating U-Boot env image

2013-12-09 Thread Stephen Warren
On 12/09/2013 02:39 PM, Alexey Smishlayev wrote: > Dear Wolfgang Denk, > > On 2013.12.09. 22:12, Wolfgang Denk wrote: >> Dear Alexey Smishlayev, >> >> In message <52a5d4f1.7020...@xtech2.lv> you wrote: >>> What should I do to flash environment values directly to the board's >>> NAND? >> Why don't

Re: [U-Boot] Creating U-Boot env image

2013-12-09 Thread Alexey Smishlayev
Dear Wolfgang Denk, On 2013.12.09. 22:12, Wolfgang Denk wrote: Dear Alexey Smishlayev, In message <52a5d4f1.7020...@xtech2.lv> you wrote: What should I do to flash environment values directly to the board's NAND? Why don't you just use "env import"? I didn't have any information about that

Re: [U-Boot] Creating U-Boot env image

2013-12-09 Thread Wolfgang Denk
Dear Alexey Smishlayev, In message <52a5d4f1.7020...@xtech2.lv> you wrote: > > I would like to flash the environment variable values to my board, > rather than setting them at the prompt. I've founa a tool mkenvimage is > made specially for that. I used it to create a binary image of the > U-B

[U-Boot] Creating U-Boot env image

2013-12-09 Thread Alexey Smishlayev
Hello! I would like to flash the environment variable values to my board, rather than setting them at the prompt. I've founa a tool mkenvimage is made specially for that. I used it to create a binary image of the U-Boot environment. However, when I flash it to my board, I get the message ***