From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Smishlayev Date: Tue, 10 Dec 2013 14:32:22 +0200 Subject: [U-Boot] Creating U-Boot env image In-Reply-To: References: <52A5D4F1.7020101@xtech2.lv> Message-ID: <52A709D6.6020708@xtech2.lv> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > What you describe should definitely be possible. Are you sure that it's not > something simple like a missmatch in env size? 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. > You could use U-Boots Linux fw_printenv tools and/or dd to read the flashed env > image and perhaps compare it to an image saved by U-Boot to figure out what is > going wrong. That's what I've thought also - if I just dd the environment contents to a file, can I then use it as a valid image for production? That could be the most simple way to achieve what I want. Best regards, Alexey Smishlayev