undefined reference to `fw_env_open'

65 views
Skip to first unread message

luigi onida

unread,
Sep 2, 2020, 4:45:35 AM9/2/20
to swupdate
Hello Stefano,

my actual configuration of yocto conf is:
PREFERRED_PROVIDER_u-boot-fw-utils = "u-boot-imx-fw-utils"

using this patch:

Why I cannot have reference to  fw_env_open, fw_env_close, fw_env_write .. ?

Thank you

Stefano Babic

unread,
Sep 2, 2020, 6:24:53 AM9/2/20
to luigi onida, swupdate
Why are you surprised ?

You are using a special vendor version, too. You have to ask NXP for it.


SWUpdate can be built just with the utilities in poky (since dunfell),
that means libubootenv.

PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"

Best regards,
Stefano Babic


--
=====================================================================
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
=====================================================================

luigi onida

unread,
Sep 8, 2020, 6:22:26 AM9/8/20
to swupdate
Hi Stefano,

I resolved my problems with swupdate compile, at the moment when I try to update my system with a swu image I receive this error:
[TRACE] : SWUPDATE running :  [parse_bootloader] : Bootloader var: booted = 0
[TRACE] : SWUPDATE running :  [parse_bootloader] : Bootloader var: tried = 0
[TRACE] : SWUPDATE running :  [parse_bootloader] : Bootloader var: primary = 1
[ERROR] : SWUPDATE failed [0] ERROR core/parser.c : parse : 281 : bootloader support absent but sw-description has bootloader section!

How can I enable bootloader support on defconfig?
I Have already set CONFIG_UBOOT=y

Thank you



Reply all
Reply to author
Forward
0 new messages