mkenvimage: a tool to generate a U-Boot environment binary image
I have strange issues using this mkenvimage tool. I am trying to generate uEnv.txt with three variables defined: var1, var2 and var3. And trying to load it into U-boot. I have done two different tests:...
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
In reply to aicastell. “env import” doesn’t require the environment to be processed by mkenvimage. “env import” just takes a simple text files, with one line per variable, like your initial uEnv.txt....
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
If I write the environment generated with mkenvimage to flash Uboot reject it saying: “*** Warning – bad CRC, using default environment” My command is: $ mkenvimage -r -s 0x00010000 -o uboot-env.bin...
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
In reply to <a href="https://bootlin.com/blog/mkenvimage-uboot-binary-env-generator/comment-page-1/#comment-2313470">Moises Araya</a>. It depends how your U-Boot is configured. Make sure...
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
In reply to Thomas Petazzoni. Thanks for the hint, the problem was indeed a mismatch with the environment size. In the STM32MP official BSP the CONFIG_ENV_OFFSET is taken from the...
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
Is it possible to use uboot default environment on every boot? i.e., uboot environment is not stored on a partition of flash. On every boot, uboot should use the default environment which is part of...
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
In reply to <a href="https://bootlin.com/blog/mkenvimage-uboot-binary-env-generator/comment-page-1/#comment-2474939">Prakash</a>. Yes, enable only CONFIG_ENV_IS_NOWHERE, and leave all other...
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
Hi, which partition should i write the custom environment?
View Articlemkenvimage: a tool to generate a U-Boot environment binary image
In reply to <a href="https://bootlin.com/blog/mkenvimage-uboot-binary-env-generator/comment-page-1/#comment-2476083">Thomas Petazzoni</a>. hi Thomas, where should I write the image to?...
View Article