Hi Mitch,
On 14.06.21 20:06, Mitch Gaines wrote:
> Some more findings on my end -
>
> Before that though - this is the right place to be reaching out for
> libubootenv, right? Is anybody seeing this? The docs seemed to point
> here as opposed to opening an issue on Github. Please let me know if
> this is not the case 🙂
>
FYI: yes, this is the right place, but if nobody is using OrangePI, it
is required to check U-Boot sources to get where the environment is set.
And also to change sources, as I suspect no redundancy is set, and so
on. All of this requires too much time and it cannot be done for free.
Just a suggestion after reading fast your e-mails:
At first glance, the environment is simply set in a file and not as raw
data, and on VFAT filesystem, that is also not a good idea. Just to make
it working, you should set in fw_env.config to get a file instead of
offsets (look at original sources for Raspi for example), but do not use
it in a real project because it is not reliable enough.
Best regards,
Stefano Babic
> So, yocto seems to be generating the following files:
>
> *
> u-boot-initial-env
> *
> u-boot-initial-env-orange-pi-zero
> *
> u-boot-initial-env-orange-pi-zero-2020.01-r0
>
> However, they don't seem to be getting placed into my generated
> file-systems. Potentially an issue to resolve at another time. For the
> meantime, however, I have manually placed those generated files into the
> file system.
>
> When I do that, running fw_printenv seems to only print out the
> *first* var that is set in uboot.env. See below:
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swupdate+u...@googlegroups.com
> <mailto:
swupdate+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/swupdate/60DAB176-95F8-47B5-8D7E-BA1D3906AE81%40getmailspring.com
> <
https://groups.google.com/d/msgid/swupdate/60DAB176-95F8-47B5-8D7E-BA1D3906AE81%40getmailspring.com?utm_medium=email&utm_source=footer>.
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone:
+49-8142-66989-53 Fax:
+49-8142-66989-80 Email:
sba...@denx.de
=====================================================================