Hi Lukasz,
On 24/05/19 21:05, Lukasz Domowy wrote:
> Hello!
>
> On Friday, May 24, 2019 at 8:53:30 PM UTC+2, Pierre-Jean Texier wrote:
>
>> Hello Lukasz,
>>
>> Le 24/05/2019 à 20:44, Lukasz Domowy a écrit :
>> > Hello,
>> >
>> > Does libubootenv support respect for access flags?
>> >
Yes, flags are supported in libubootenv
>> > I am able to modify ethaddr (which is write-once):
>> > fw_setenv ethaddr <my-max>
>> >
>> > Am I doing something wrong? I do not have --defenv file.
>> >
Are you sure you are using the flag ? Variable ethaddr is treated in a
special way in U-Boot. It is implicitly set to read-only in code without
using flags if CONFIG_ENV_OVERWRITE in U-Boot config is not set. Any
tool in user space cannot know this.
Best regards,
Stefano Babic
>> > Best regards,
>> > Lukasz
>> >
>>
>> Can you give the libubootenv revision you use ?
>
> fw_printenv --version
> 0.1
>
> It comes from:
> meta-swupdate = "ww-warrior:c7a188e82a46e7841e8168cbb567f522e5e7288a"
>
> So its:
> SRCREV = "8a7d4030bcb106de11632e85b6a0e7b7d4cb47af"
>
> Best regards,
> Lukasz
>
> --
> 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 post to this group, send email to
swup...@googlegroups.com
> <mailto:
swup...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/swupdate/1cc3d5ad-cad0-4044-8264-e5e0005dc7e0%40googlegroups.com
> <
https://groups.google.com/d/msgid/swupdate/1cc3d5ad-cad0-4044-8264-e5e0005dc7e0%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.
--
=====================================================================
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
=====================================================================