From 0d1381a89bba2906dc85815e166c401f794f4d9e Mon Sep 17 00:00:00 2001 From: Mykhailo Polnyi Date: Tue, 9 Jun 2026 18:13:01 +0300 Subject: [PATCH] profiles: prpl-core: feed-prplos: provide support for Firmware Upgrade via tr-181 - feed_prplos: update tr181-deviceinfo version - feed_prplos: update imagegenerator version - feed_prplos: add mod-fwi-swupdate package - feed_prplos: include mod-fwi-swupdate module into secure_boot_emmc.yml - mxl_x86_osp_tb341_v2.yml: define config options for mod-fwi-swupdate - qca_ipq95xx.yml: define config options for mod-fwi-swupdate Integrates: tr181-deviceinfo: - d16ecbb: ("documentation: include deviceinfo_dm_mngr to doxygen", 2026-06-30) - 26d52fc: ("tr181-deviceinfo: FirmwareImage: add "Device." prefix for BFI and AFI", 2026-06-25) - 4656a48: ("acl: allow admin Download() on the inactive FirmwareImage bank", 2026-06-16) - a25e1ce: ("docs: update README with FirmwareImage Download/Activate RPC lifecycle", 2026-06-16) - c356e09: ("unit test: expand firmwareimage test coverage and introduce stateful mocks", 2026-06-03) - af7284d: ("unit tests: implement test for firmwareimage download/activate", 2026-03-27) - 4bcb17e: ("deviceinfo-manager: renamed FirmwareImage aliases to primary and secondary", 2026-06-02) - 86417fc: ("deviceinfo-manager: added validation to ensure target firmware is Available before activation", 2026-05-15) - fb7037b: ("deviceinfo-manager: updated public key path for firmware upgrades", 2026-05-15) - b711541: ("deviceinfo-manager: handle manual BootFirmwareImage changes and trigger activation", 2026-05-14) - 43e8711: ("deviceinfo-manager: encapsulated RPC state management into dedicated helpers", 2026-04-30) - 712ca09: ("deviceinfo-manager: refactored and added validation to Download() RPC flow", 2026-04-30) - 36ef0d2: ("tr181-deviceinfo: remove odl configuration in the /etc/config directory after the Firmware Update", 2026-01-19) - 9d5720c: ("tr181-deviceinfo: implemented logic to trigger PCM Backup on Firmware Update", 2026-01-19) - 0394fa4: ("odl: FirmwareImage: forbid setting Available=0 for Active images", 2026-02-12) - a7cf625: ("odl: FirmwareImage: update Available parameter on Status changes", 2026-02-10) - 4024df7: ("odl: FirmwareImage: set Status and Available parameters on startup", 2026-02-10) - 5be227f: ("deviceinfo-manager: added URL validation for Download RPC", 2026-02-13) - 783adf8: ("deviceinfo-manager: implemented event-based resolution for deferred Download RPC", 2026-02-13) tr-069-manager: - 20f65d3: ("unit tests: implemented and refactored exstisting tests for asynchronous download and schedule download", 2026-04-16) - c23222b: ("tr069-manager: fixed dynamic resolution of BootFirmwareImage status", 2026-05-20) - 25b0a5a: ("tr069-manager: improve reliability and error reporting for scheduled firmware downloads", 2026-03-27) - 1358290: ("tr069-manager: fix: resolved missed TransferComplete events and added download error handling via async callbacks", 2026-03-10) - 37f3252: ("tr069-manager: extended error reporting for ACS", 2026-01-23) Imagegenerator: - 50f6a00: ("docs: update README with upgrade scenario usage description", 2026-06-16) - 68a28d5: ("swugenerator: introduce flash-only upgrade scenario", 2026-06-08) tr181-rest-api: route /upload to the amx-fcgi socket mod-fwi-swupdate: - 4a3e142: ("ci: baf: update autogenerated files", 2026-06-30) - d4c4031: ("doc: provide doxygen generation", 2026-06-26) - 8aff1e0: ("ci: enable support for Cobertura XML report generation", 2026-04-27) - eebee93: ("ci: introduce the baf.yml file and ci template", 2026-03-18) - ddfb938: ("deviceinfo: expect ActiveFirmwareImage to use full path", 2026-06-25) - b3d992d: ("docs: update README", 2026-06-16) - d525034: ("mod-fwi-swupdate: remove unused scripts", 2026-06-02) - c4b21bc: ("unit tests: rework test based on new design", 2026-05-20) - 5b8ed7e: ("mod-fwi-swupdate: rework firmware upgrade logic", 2026-05-13) - c114211: ("firmware_partition: introduce partition swap logic", 2026-05-13) - f1ff2c4: ("version_firmware: include fw status to "info" function output", 2026-02-10) - 726807a: ("mod-fwi-swupdate: separated Firmware Flashing and Activation", 2026-01-20) firmware upgrade: Added sysupgrade wrapper script over Device.DeviceInfo.FirmwareImage.Download() prpl-webui: - fc579ad: ("firmware-upload: fix WebUI firmware upgrade", 2026-06-16) tr181-deviceinfo: - a0e3f18: ("documentation: add note on NTP sync during Activate execution", 2026-07-03) - a35d2f4: ("trigger_restore: replace odl file removal with plugin config folder deletion", 2026-07-03) References: PCF-2340, PCF-2349, PCF-2343, PCF-2368, PCF-2624, PCF-2625 Tracked-by: FEAT-356, FEAT-357, FEAT-358 Signed-off-by: Mykhailo Polnyi signed-off-by: Hela Saadani --- profiles/mxl_x86_osp_tb341_v2.yml | 2 ++ profiles/prpl_core.yml | 2 +- profiles/qca_ipq95xx.yml | 2 ++ profiles/secure_boot_emmc.yml | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/profiles/mxl_x86_osp_tb341_v2.yml b/profiles/mxl_x86_osp_tb341_v2.yml index d2f0ebf1b2..6a1a9f22d1 100644 --- a/profiles/mxl_x86_osp_tb341_v2.yml +++ b/profiles/mxl_x86_osp_tb341_v2.yml @@ -209,3 +209,5 @@ diffconfig: | CONFIG_IMAGEGENERATOR_BOARD="tb341_wav700" CONFIG_SAH_LIB_MFG_RO_PART_FILE="/dev/mmcblk0p13" CONFIG_SECURESTORE_LABEL="config" + CONFIG_FWI_FLASH_PARTITIONS="u-boot,kernel" + CONFIG_SWUPDATE_TARGET_HW_VERSION="ospv2:1.0" diff --git a/profiles/prpl_core.yml b/profiles/prpl_core.yml index 51f98c8d70..044afa6326 100644 --- a/profiles/prpl_core.yml +++ b/profiles/prpl_core.yml @@ -11,7 +11,7 @@ feeds: - name: feed_prplos uri: https://gitlab.com/prpl-foundation/prplos/feeds/feed-prplos.git - revision: main@364188ae2014b17f83bce1f7f89c48c7ab2dd4f4 + revision: main@305659e2c76e3ad74335f1339dd3b7a04eb6ec28 additional_packages: - feed: packages diff --git a/profiles/qca_ipq95xx.yml b/profiles/qca_ipq95xx.yml index d80ecf4f12..00b5969661 100644 --- a/profiles/qca_ipq95xx.yml +++ b/profiles/qca_ipq95xx.yml @@ -66,3 +66,5 @@ diffconfig: | CONFIG_BUSYBOX_CONFIG_DEVMEM=y CONFIG_IMAGEGENERATOR_BOARD="qca_ipq95xx_freedom" CONFIG_SAH_LIB_MFG_RO_PART_FILE="/dev/mmcblk0p30" + CONFIG_SWUPDATE_TARGET_HW_VERSION="freedom:1.0" + CONFIG_FWI_FLASH_PARTITIONS="u-boot,kernel,rootfs" diff --git a/profiles/secure_boot_emmc.yml b/profiles/secure_boot_emmc.yml index 6c976d14f5..6e449d34e0 100644 --- a/profiles/secure_boot_emmc.yml +++ b/profiles/secure_boot_emmc.yml @@ -11,6 +11,8 @@ packages: - libfdt - libubootenv - losetup + - mod-fwi-swupdate + - sysupgrade-prpl - readmfg - swupdate - uboot-tools