swupdate 2024: Update process fails on trixie builds
Steps to reproduce:
-
Build the base image with SWUpdate feature:
$ ./kas-container build kas-cip.yml:kas/board/x86-uefi.yml:kas/opt/ebg-swu.yml:kas/opt/trixie.yml -
After successful build, copy the image artifacts to a separate location:
build/tmp/deploy/images/x86-uefi/cip-core-image-cip-core-trixie-x86-uefi.wic build/tmp/deploy/images/x86-uefi/cip-core-image-cip-core-trixie-x86-uefi.wic.wic.bmap $ mkdir base-image $ cp build/tmp/deploy/images/x86-uefi/wic* base-image/ -
Rebuild the image with the rt kernel as part of the modifications for the update-image:
$ ./kas-container --ssh-dir ~/.ssh/ build kas-cip.yml:kas/board/x86-uefi.yml:kas/opt/ebg-swu.yml:kas/opt/trixie.yml:kas/opt/rt.yml
- After successful build, the update image will be available as:
build/tmp/deploy/images/x86-uefi/cip-core-image-cip-core-trixie-x86-uefi.swu
- Boot the SIMATIC IPC device with the base image and apply swupdate with the generated update image
Result:
The SWUpdate process failed with "swupdate_async_start returns -1" error message.
Attached are the detailed logs of the observed error.
Findings:
The same update process was tested using selfbuilt swupdate as done for bookworm [ SWUpdate 2023.12 ] on the Trixie build, and the update completed successfully without any errors.
Edited by Ranjana Teli