Project

General

Profile

Is it possible to use the u-boot binary env file?

Added by Nathan Wright 3 months ago

I see on e2e.ti.com that some posts imply there might be a way to restore use of saveenv and the binary boot.env file.

The posts do not state how to restore it though. :(

If it is possible to restore that functionality, it will save me from modifying swupdate project from relying on it.

Thanks for any help,
Nathan


Replies (2)

RE: Is it possible to use the u-boot binary env file? - Added by Nathan Wright 3 months ago

For posterity, we figured out how to restore u-boot-initial-env text file and then we placed a fake uboot.env file in place and libubootenv rebuilt the uboot.env file.

This allowed us to let swupdate believe it was passing state to uboot through the env file.

Then we manually moved state via the uEnv.txt file.

So we don't really need to "restore saveenv". I'm still curious as to why TI removed it.

RE: Is it possible to use the u-boot binary env file? - Added by Joshua Bourgeot 3 months ago

Hi Nathan,

I have been looking into this but have been unable to add saveenv back in. I'm glad you found a work around. I will keep you updated if I do find something.

Best,
Joshua Bourgeot

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