Questions tagged [swupdate]

40 questions
2
votes
1 answer

SWUpdate on RPi4 via yocto - error parsing configuration file

After booting SWUpdate yocto-generated image for the first time, executing swupdate results in error message: Error parsing configuration file: 'globals' section missing, exiting. I tried to strictly follow SWUpdate's documentation, but it gets…
malyjak
  • 41
  • 4
2
votes
2 answers

too few arguments in ImageCmsElementResolver error after update from 6.4.8.2 to 6.4.13.0

got the following error after updating from sw 6.4.8.2 to 6.4.13.0 how to solve this? In ImageCmsElementResolver.php line 26: …
Marc Cheng
  • 111
  • 8
2
votes
1 answer

How to use sendtohawkbit or Suricatta daemon to send feedback messeges to hawkbit?

This is yet another question relating to hawkbit and SWUpdate(Suricatta daemon): Basically I used hawkbit and SWupdate to run a firmware update on the RPi on the target it says "Update successful, executing post update actions" and then asks me to…
2
votes
1 answer

How to implement authentication (user/password) to swupdate Web Interface

I need a way to implement some sort of authentication (user/password) to the swupdate web interface, in order to allow firmware updates to authorized users only. I tried to place an .htaccess file in the root folder of the web interface (namely in…
Andrea Caloni
  • 135
  • 2
  • 6
2
votes
0 answers

How do I generate a multi-boot Grub EFI WIC image from Yocto

I am trying to implement a software update process for a generic x86_64 system using Yocto and SWUpdate. I would like to have two root partitions, with SWUpdate overwriting the inactive one (dual copy strategy). I am trying to create a WIC image to…
docsteer
  • 2,506
  • 16
  • 16
1
vote
0 answers

Partition into Image in Yocto or Bundle from partition using RAUC

I am using a Yocto to build custom linux and RAUC(meta-rauc) for updating it. I have a partition with some custom files and apps and I wanna create a update bundle for it. I have a pretty simple recipe for partition just copying files from…
1
vote
1 answer

where is uboot environment variables stored in emmc?

I'm trying to understand where uboot stores the environment variables in emmc. I have the following set in the uboot config file…
Vinay
  • 131
  • 6
1
vote
0 answers

ERROR: swupdate-2021.04-r0 do_compile: oe_runmake failed | json-c/json.h: No such file or directory

I am trying to integrate SWUpdate framework with Hawkbit. I am facing some issue after changing configuration to include Suricatta in SWUpdate. Steps I have done: Enabled Suricatta in menuconfig. Ran make command. No issues here Bitbaked again the…
Preeti
  • 535
  • 1
  • 6
  • 30
1
vote
1 answer

SWUpdate with wrong mmc device address

I use this sw-description with device="/dev/mmcblk3p1", but swupdate will download files to "/dev/mmcblk3p2". files: ( { filename = "zImage"; path = "/zImage"; device =…
Halo_313
  • 11
  • 1
1
vote
1 answer

hawkBit swupdate Suricatta: HTTP/1.1 401 Unauthorized

I want to set up hawkBit (running on server) and swupdate (running on multiple clients - Linux OS) to perform OS/Software update in Suricatta mode. 1/ Follow up my post on hawkBit community, I've succeeded to run hawkBit in my server as…
Huong
  • 21
  • 4
1
vote
1 answer

Use SWUpdate on Debian 10 + grub

Does anyone know how I can use SWUpdate on a standard Debian system? I found a lot of information about SWUpdate in combination with Yocto or Raspberry PI but nothing about e.g. Debian which is running on an internal SSD. My goals: I have an…
Sebastian
  • 375
  • 3
  • 14
0
votes
0 answers

Can not update version number in sw-description (swupdate) file using BitBake variable expansion

I am trying to use BitBake variable expansion (e.g., using @@VARIABLE@@) to update version numbers of several components in sw-description file. Here is example of my sw-description file: software = { version = "@@DISTRO_VERSION@@"; …
22332112
  • 2,337
  • 5
  • 21
  • 42
0
votes
1 answer

SWUpdate use copy-handler from Yocto meta-swupdate layer

Trying to copy /etc/machine-id from one partition to another using SWUpdate. When running the .swu update I get the error ERROR : feature 'copy' required for '' in sw-description is absent! I guess I'm supposed to modify swupdate_%.bbappend on…
André Ricardo
  • 3,051
  • 7
  • 23
  • 32
0
votes
0 answers

Yocto with SWUpdate how to copy file from partition A to partition B on double-copy mode

The goal is to keep the same /etc/machine-id when the device is updated with SWUpdate so that the journalctl logs keep the same initially generated machine id even after update. The journalctl problem was also described in detail by someone else…
André Ricardo
  • 3,051
  • 7
  • 23
  • 32
0
votes
0 answers

Replace HTTP protocol with FTP to download large files

I am considering using Hawkbit + SWUpdate to manage my update environment. I am wondering if it is possible to use FTP protocol to download the update image, instead of HTTP protocol, as my update image is quite large. I couldn't find any…
Julien P
  • 11
  • 1
1
2 3