From 2c323e4f7c2c289240c40ae6e0ffb74eb0950073 Mon Sep 17 00:00:00 2001 From: Scott Brust Date: Thu, 13 Jun 2024 13:51:03 -0400 Subject: [PATCH] bump module version to 5.8.2 (5802) --- CHANGELOG.md | 24 ++++++++++++++++++++---- build/release.sh | 2 +- build/version.mk | 4 ++-- modules/shared/system_module_version.mk | 10 +++++----- system/inc/system_version.h | 4 +++- system/system-versions.md | 1 + 6 files changed, 32 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cb12b9486..91a1dc37ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,22 +4,38 @@ - Protected mode [#2734](https://github.com/particle-iot/device-os/pull/2734) -## 5.8.1 +## 5.8.2 ### FEATURES - +- [Gen 4] [rtl872x] Improve coexistence between Wifi and BLE when both are used simultaneously [#2764](https://github.com/particle-iot/device-os/pull/2764) - [Gen 4] [rtl872x] [BREAKING CHANGE] Backup RAM is no longer automatically written to flash periodically. Backup RAM will be saved when entering sleep. If users are going to reset, `hal_backup_ram_sync()` should be called first [#2766](https://github.com/particle-iot/device-os/pull/2766) +### ENHANCEMENTS +- [eg91e] [eg91ex] enable 921600 baud rate [#2782](https://github.com/particle-iot/device-os/pull/2782) +- [rtl872x] SPI hal: set sample delay for SPI0@25MHz [#2784](https://github.com/particle-iot/device-os/pull/2784) +- [Gen 4] [msom]ACM Behavior changes [#2738](https://github.com/particle-iot/device-os/pull/2738) +- Update heap5 implementation to latest [6d1d9bff2](https://github.com/particle-iot/device-os/commit/6d1d9bff2a0f39ae2e331686357c593fc18108ed)[07104a8dc2](https://github.com/particle-iot/device-os/commit/07104a8dc26611ec4a312ec113824ffbd9bbed02) ### BUGFIXES - +- Fix wifi setup not connecting when in listening mode [#2783](https://github.com/particle-iot/device-os/pull/2783) [#2778](https://github.com/particle-iot/device-os/pull/2778) +- Resumable OTA fixes [#2769](https://github.com/particle-iot/device-os/pull/2769) +- [quectel] fixes PPP resume during warm boot [#2772](https://github.com/particle-iot/device-os/pull/2772) +- [Gen 4] [bootloader] Implement bootloader reset reasons [#2773](https://github.com/particle-iot/device-os/pull/2773) +- [RTL872x] multiple SPI fixes [#2768](https://github.com/particle-iot/device-os/pull/2768) - [Gen 4] [rtl872x] Reinitialize internal wifi stack if scan or connect fails [#2766](https://github.com/particle-iot/device-os/pull/2766) [#2760](https://github.com/particle-iot/device-os/pull/2760/) - [Gen 4] [rtl872x] Resolve deadlock with USB serial monitoring on boot in some cases[#2765](https://github.com/particle-iot/device-os/pull/2765) +- [gen3] hal: fix gpio glitch [#2787](https://github.com/particle-iot/device-os/pull/2787) +- [ACM] Dont change cloud connection to preferred network during OTA update [9abfb7c72](https://github.com/particle-iot/device-os/commit/9abfb7c721b7d68b0378eebe2f31483583343b86) +- Avoid malloc/realloc while under ATOMIC_BLOCK in system event subscription [63fcc6b26](https://github.com/particle-iot/device-os/commit/63fcc6b26921fa75cd686972e74aba6e5ba83b0e) +- [gen 4] network: Increase rtlkncp thread stack [29433d38c](https://github.com/particle-iot/device-os/commit/29433d38c567b57dc69f3d364b2080f4711feb0e) ### INTERNAL +- [rtl872x] Display Photon 2 instead of P2, dont allow extended advertising data on rtl platforms [#2779](https://github.com/particle-iot/device-os/pull/2779) +- Add set credentials usb request [#2763](https://github.com/particle-iot/device-os/pull/2763) - [Gen 4] [rtl872x] Prevent M404/BG95M5 modems from connecting on 2G networks for the time being[#2761](https://github.com/particle-iot/device-os/pull/2761) - [Gen 4] [rtl872x] Query 2G registration status for M404/BG95M5 modems when querying CGMI [#2761](https://github.com/particle-iot/device-os/pull/2761) - +- [Gen 4] Update sdk submoudle ref to fix compiler warnings [#2789](https://github.com/particle-iot/device-os/pull/2789) +- [test] Adjust OTA tests [8ec558e63](https://github.com/particle-iot/device-os/commit/8ec558e63d8545856ff7ac37db1dda1546df8786) ## 5.8.0 diff --git a/build/release.sh b/build/release.sh index c8e296b497..ba2c8e51a4 100755 --- a/build/release.sh +++ b/build/release.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o errexit -o pipefail -o noclobber -o nounset -VERSION=${VERSION:="5.8.1"} +VERSION=${VERSION:="5.8.2"} function display_help () { diff --git a/build/version.mk b/build/version.mk index 81898fef0d..2bad84cfc3 100755 --- a/build/version.mk +++ b/build/version.mk @@ -1,7 +1,7 @@ -VERSION_STRING = 5.8.1 +VERSION_STRING = 5.8.2 # PRODUCT_FIRMWARE_VERSION reported by default # FIXME: Unclear if this is used, PRODUCT_FIRMWARE_VERSION defaults to 65535 every release -VERSION = 5801 +VERSION = 5802 CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING) diff --git a/modules/shared/system_module_version.mk b/modules/shared/system_module_version.mk index 89f7ef6e09..9c042d9ec0 100644 --- a/modules/shared/system_module_version.mk +++ b/modules/shared/system_module_version.mk @@ -1,6 +1,6 @@ # Skip to next 100 every v0.x.0 release (e.g. 108 for v0.6.2 to 200 for v0.7.0-rc.1) # Bump by 1 for every prerelease or release with the same v0.x.* base. -COMMON_MODULE_VERSION ?= 5801 +COMMON_MODULE_VERSION ?= 5802 SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION) RELEASE_080_MODULE_VERSION_BASE ?= 300 @@ -14,11 +14,11 @@ USER_PART_MODULE_VERSION ?= 6 # Skip to next 100 every v0.x.0 release (e.g. 11 for v0.6.2 to 100 for v0.7.0-rc.1), # but only if the bootloader has changed since the last v0.x.0 release. # Bump by 1 for every updated bootloader image for a release with the same v0.x.* base. -BOOTLOADER_VERSION ?= 2600 +BOOTLOADER_VERSION ?= 2601 ifeq ($(PLATFORM_MCU),rtl872x) PREBOOTLOADER_MBR_VERSION ?= 2 -PREBOOTLOADER_PART1_VERSION ?= 7 +PREBOOTLOADER_PART1_VERSION ?= 8 endif # The version of the bootloader that the system firmware requires @@ -26,7 +26,7 @@ endif # this version usually lags behind the current bootloader version, to avoid non-mandatory updates. ifeq ($(PLATFORM_GEN),3) ifeq ($(PLATFORM_MCU),rtl872x) -BOOTLOADER_DEPENDENCY = 2600 +BOOTLOADER_DEPENDENCY = 2601 else # ifeq ($(PLATFORM_MCU),rtl872x) BOOTLOADER_DEPENDENCY = 2300 endif # ifeq ($(PLATFORM_GEN),3) @@ -36,7 +36,7 @@ BOOTLOADER_DEPENDENCY = 0 endif ifeq ($(PLATFORM_MCU),rtl872x) -PREBOOTLOADER_PART1_DEPENDENCY = 7 +PREBOOTLOADER_PART1_DEPENDENCY = 8 endif ifeq ($(PLATFORM_GEN),3) diff --git a/system/inc/system_version.h b/system/inc/system_version.h index 3b27261213..8d594d7651 100644 --- a/system/inc/system_version.h +++ b/system/inc/system_version.h @@ -216,7 +216,8 @@ extern "C" { #define SYSTEM_VERSION_v570 SYSTEM_VERSION_DEFAULT(5, 7, 0) #define SYSTEM_VERSION_v580 SYSTEM_VERSION_DEFAULT(5, 8, 0) #define SYSTEM_VERSION_v581 SYSTEM_VERSION_DEFAULT(5, 8, 1) -#define SYSTEM_VERSION SYSTEM_VERSION_v581 +#define SYSTEM_VERSION_v582 SYSTEM_VERSION_DEFAULT(5, 8, 2) +#define SYSTEM_VERSION SYSTEM_VERSION_v582 /** * Previously we would set the least significant byte to 0 for the final release, but to make @@ -397,6 +398,7 @@ extern "C" { #define SYSTEM_VERSION_570 #define SYSTEM_VERSION_580 #define SYSTEM_VERSION_581 +#define SYSTEM_VERSION_582 typedef struct __attribute__((packed)) SystemVersionInfo { diff --git a/system/system-versions.md b/system/system-versions.md index 6b59ba3c4e..26f3c435ba 100644 --- a/system/system-versions.md +++ b/system/system-versions.md @@ -191,6 +191,7 @@ | 2500 | 5700 | 5.7.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 | | 2600 | 5800 | 5.8.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 | | 2600 | 5801 | 5.8.1 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 | +| 2601 | 5802 | 5.8.2 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 | | 3000 | 6000 | 6.0.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 | [1] For 0.8.0-rc.1, The v101 bootloader was also released in the Github releases as v200. Thus the next released bootloader in the 0.8.x line should be v201. As of 4/5/2018: 22 device had v200 bootloaders.