Forums » Software Development »
Preboot warnings and errors. uBootStatic.env and uBoot.env
Added by Brian Wentworth about 8 years ago
Hello,
I am trying to figure out a couple of errors that occur during or right after pre-boot.
""preboot reading MMC uBoot ENV data
- File not found /etc/uBootStatic.env **
- Warning: Input data exceeds 1048576 bytes - truncated
- Info: input data size = 1048578 = 0x100002
ERROR: Environment import failed: errno = 12
- File not found /etc/uBoot.env **
- Warning: Input data exceeds 1048576 bytes - truncated
- Info: input data size = 1048578 = 0x100002
ERROR: Environment import failed: errno = 12""
Seems the board ends up booting correctly and functioning. Would like to know what this means and how to fix it so these warnings and errors don't happen.
Attached is a full boot log.
Thanks,
Brian
Linux_Boot_Warning.txt (12.6 KB) Linux_Boot_Warning.txt |
Replies (2)
RE: Preboot warnings and errors. uBootStatic.env and uBoot.env - Added by Daniel Vincelette about 8 years ago
Brian
Those warnings are caused by the uboot environment trying to read external environment setup scripts from the SD card, these scripts aren't present so you get that warning. This feature really was never used and shouldn't of been in the uboot environment. In order to fix is you can clear our the preboot uboot environment variable.
Dan
RE: Preboot warnings and errors. uBootStatic.env and uBoot.env - Added by Brian Wentworth about 8 years ago
Dan,
Thanks for the info. Easy enough fix!!
Much Appreciated!
--Brian