Hi Jose,
I have got swupdate configured and running on Petalinux, and the crux was to configure U-boot fw-utils and libubootenv
In my user-layer I've added to user-rootfsconfig:
CONFIG_u-boot-fw-utils
CONFIG_libubootenv-bin
CONFIG_swupdate
CONFIG_swupdate-www
CONFIG_swupdate-config
CONFIG_swupdate-tools
CONFIG_swupdate-progress
In layer.conf I've added:
PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"
You also need a configuration file for fw-utils, I've added fw_env.config to be installed by meta-user/recipes-core/base-files/base-files_%.bbappend
The contents of the fw_env.config depend on how U-boot is configured to store the environment. So you need to check that U-boot is set up to use environment, and where it is stored.
Basically you should first make sure that you have fw_printenv and fw_setenv commands working in the Petalinux. Then there is a good chance that you get swupdate running as well.
Kind regards,
Trygve