load environment variables from uEnv.txt at preboot#24
Conversation
|
Hi, When I apply this patch everybody will see message about loading file from SD which ends up in questions why it is failing. Also message on systems without MMC looks weird Please check if there is better way how to do it but I can't apply this patch with the current implementation. |
|
Hi Michal, Sorry, didn't think about that. Will look for a fix. |
|
Hi Michal, I fixed up the error showing up, but this problem is not entirely my doing. If you boot without an uEnv.txt with the vanilla xilinx master version, you will still get uEnv.txt errors: This is fairly clear if you take a look at the surrounding code in I'd be happy to fix this error message too, but I think that should probably come under a different pull request as it is really a different problem. What do you think? Thanks, |
|
ok - this is better now. Can you please squash that two patches together and send it to git@xilinx.com |
|
Commits squashed here. Thanks, |
|
merged with small changes of commit message. |
TPL: Copy data from flash to RAM before using
Hi,
When using a uEnv.txt file, the environment variables are loaded too late to influence some of the behaviour of u-boot. In my case, I wanted to be able to set "bootdelay" using uEnv.txt rather than recompiling u-boot. This pull request fixes that.
I've tested this on a Digilent Zybo, and it also does not cause problems if there is no uEnv.txt file present.
Questions, comments and suggestions are welcome.
Thanks,
Jeremy