Project

General

Profile

Preboot warnings and errors. uBootStatic.env and uBoot.env

Added by Brian Wentworth over 7 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 **
    1. Warning: Input data exceeds 1048576 bytes - truncated
    2. Info: input data size = 1048578 = 0x100002
      ERROR: Environment import failed: errno = 12
at cmd_nvedit.c:1004/do_env_import()
  • File not found /etc/uBoot.env **
    1. Warning: Input data exceeds 1048576 bytes - truncated
    2. 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


Replies (2)

RE: Preboot warnings and errors. uBootStatic.env and uBoot.env - Added by Daniel Vincelette over 7 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 over 7 years ago

Dan,

Thanks for the info. Easy enough fix!!

Much Appreciated!

--Brian

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)