<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello</div>
<div> </div>
<div>I want to create an update mechanism for our embedded system. I chose swupdate because it is very well documented and seems flexible.</div>
<div>When trying to build swupdate-image it fails with several undefined references, just a few as example:</div>
<div>"""</div>
<div>
<div>/opt/thudPoky/build/tmp/work/corei7-64-poky-linux/swupdate/2018.11-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.2.0/ld: bootloader/lib.a(uboot.o): in function `bootloader_env_set':<br/>
| uboot.c:(.text.bootloader_env_set+0x40): undefined reference to `fw_env_open'<br/>
| /opt/thudPoky/build/tmp/work/corei7-64-poky-linux/swupdate/2018.11-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.2.0/ld: uboot.c:(.text.bootloader_env_set+0xf8): undefined reference to `fw_env_write'</div>
<div>"""</div>
<div>I see lots of "uboot" in the trace, but to my understanding swupdate should also work with grub which I enabled using:</div>
<div>EFI_PROVIDER = "grub-efi" (First tried to use PREFERRED_PROVIDER_virtual/bootloader, but this doesn't work with EFI booting)</div>
<div>When I want to enable "uboot" this way, bitbake tells me there is no uboot.</div>
<div> </div>
<div>I know there is also the option of writing my own init scripts but this would be just reinventing the wheel (given there is an swupdate available) and probably more error-prone than a grown update tool. Thus I would like to get swupdate to work.</div>
<div> </div>
<div>Any ideas ?</div>
<div> </div>
<div>Best regards</div>
<div>Moritz</div>
</div></div></body></html>