Commit Graph

21391 Commits

Author SHA1 Message Date
harshal.patil
a24715d822 feat(bootloader_support): Encrypt only the app image instead of the whole partition
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.

Closes https://github.com/espressif/esp-idf/issues/12576
2024-02-27 18:27:04 +08:00
harshal.patil
633b63d6fd fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2024-02-27 18:27:04 +08:00
Mahavir Jain
dcf187ff76 Merge branch 'feature/update_mbedtls_v5.1' into 'release/v5.1'
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2 (v5.1)

See merge request espressif/esp-idf!28893
2024-02-27 18:26:27 +08:00
Mahavir Jain
7003f1ef0d Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.1' into 'release/v5.1'
feat(bootloader_support): Read secure_version under sha256 protection (v5.1)

See merge request espressif/esp-idf!29060
2024-02-27 18:26:03 +08:00
Mahavir Jain
fe5ccaf2cb Merge branch 'feature/conservative_key_revocation_in_secure_boot_v5.1' into 'release/v5.1'
feat: Add API to verify the bootloader and application image before revoking... (v5.1)

See merge request espressif/esp-idf!28489
2024-02-27 18:25:32 +08:00
Marius Vikhammer
b80a694abe Merge branch 'bugfix/rtc_i2c_not_in_od_mode_v5.1' into 'release/v5.1'
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs (v5.1)

See merge request espressif/esp-idf!28932
2024-02-27 18:16:08 +08:00
Marius Vikhammer
51b461e6b4 Merge branch 'bugfix_lp_i2c_not_in_od_mode_v5.1' into 'release/v5.1'
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode (v5.1)

See merge request espressif/esp-idf!28771
2024-02-27 17:51:37 +08:00
Marius Vikhammer
51c263bd8f Merge branch 'bugfix/linenoise_calculates_negative_prompt_len_v5.1' into 'release/v5.1'
fix(console): Fixed linenoise prompt length calculation (v5.1)

See merge request espressif/esp-idf!28527
2024-02-27 17:51:08 +08:00
Marius Vikhammer
ba155b0ebd Merge branch 'fix/esp_hw_support_remove_unused_include_dirs_v5.1' into 'release/v5.1'
fix(esp_hw_support): Removed nonexistent include directories from cmake (v5.1)

See merge request espressif/esp-idf!27608
2024-02-27 17:50:51 +08:00
Marius Vikhammer
c2274f9ef3 Merge branch 'bugfix/reset_reasons_v5.1' into 'release/v5.1'
Update reset reasons for C6, H2, P4 and C5 (v5.1)

See merge request espressif/esp-idf!29181
2024-02-27 17:47:00 +08:00
Marius Vikhammer
e7771c75bd versions: Update version to 5.1.3 2024-02-26 11:09:16 +08:00
Marius Vikhammer
d9a6158700 fix(system): update reset reasons for C6 and H2 2024-02-22 12:36:09 +08:00
Jakob Hasse
a66234b6de fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2024-02-21 11:41:11 +08:00
Mahavir Jain
f047237aa5 fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:16:56 +02:00
ShenWeilong
f05aef3ddf fix(ble): Fixed the free_all crash on esp32c6 and esp32h2 2024-02-19 20:17:17 +08:00
Mahavir Jain
83ec466b26 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-15 15:10:28 +02:00
luomanruo
f5a0d5d0bc ble(update):
Update h2 lib to eb112893
Update c6 lib to eb112893
2024-02-07 17:29:32 +08:00
Sudeep Mohanty
746b8bf98f fix(ulp_riscv): Updated RTC I2C to use open-drain IOs
This commit updates the RTC I2C driver in the ULP RISC-V to initialize
all I2C IOs in open-drain mode.
2024-02-06 08:42:12 +01:00
nilesh.kale
fee1e43f09 feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-05 12:50:43 +05:30
Jiang Jiang Jian
7380f96017 Merge branch 'bugfix/bugfix_for_radio_spinel' into 'release/v5.1'
fix(openthread): fix openthread configurations for radio spinle on 5.1

See merge request espressif/esp-idf!28872
2024-02-05 14:15:15 +08:00
Xu Si Yu
3c6ee5a957 fix(openthread): fix openthread configurations for radio spinle on 5.1 2024-02-04 11:50:41 +08:00
zwx
5c74483fb6 feat(openthread): disable the rx on when idle in coex scenario 2024-02-01 14:53:57 +08:00
zwx
d117ae0d21 fix(openthread): fix RCP handle timeout crashing issue
* update openthread upstream
2024-02-01 14:17:04 +08:00
zwx
ff1fd81e2f fix(openthread): support uart ISR in IRAM 2024-02-01 14:16:00 +08:00
zwx
1cc34e69d7 fix(802154): fix pending tx will be delayed issue 2024-02-01 14:16:00 +08:00
Sudeep Mohanty
300cd0c34f fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode
This commit fixes an issue where in the LP I2C IO lines were not
initialized in open-drain mode.

Closes https://github.com/espressif/esp-idf/issues/12969
2024-01-29 09:48:39 +01:00
Jiang Jiang Jian
7cbee80fb9 Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set_v5.1' into 'release/v5.1'
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() (backport v5.1)

See merge request espressif/esp-idf!28679
2024-01-29 14:46:58 +08:00
Shu Chen
0b28bdb8f0 Merge branch 'backport/154_receive_handle_done_v5.1' into 'release/v5.1'
Backport/154 receive handle done v5.1

See merge request espressif/esp-idf!28718
2024-01-29 14:30:16 +08:00
Michael (XIAO Xufeng)
7f39afb373 Merge branch 'h2_auto_dbias_master_hsq_v5.1' into 'release/v5.1'
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.1)

See merge request espressif/esp-idf!28715
2024-01-29 11:21:06 +08:00
Island
71dfc32a98 Merge branch 'bugfix/ble_update_lib_20240125_v5.1' into 'release/v5.1'
Bugfix/ble update lib 20240125 v5.1

See merge request espressif/esp-idf!28709
2024-01-29 10:40:21 +08:00
Jiang Jiang Jian
a5e3e0b90e Merge branch 'bugfix/fix_dynamic_mbedtls_crash_v5.1' into 'release/v5.1'
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation(backport v5.1)

See merge request espressif/esp-idf!28325
2024-01-26 22:25:24 +08:00
Shu Chen
81ee463f54 feat(ieee802154): make the receive done handler feature mandatory 2024-01-26 17:00:38 +08:00
Shu Chen
fa544a6dff feat(ieee802154): remove the ieee802154 lib submodule 2024-01-26 17:00:38 +08:00
Shu Chen
15a392cfd9 Merge branch 'backport5.1/openthread_backport' into 'release/v5.1'
some openthread changes backport to release/v5.1

See merge request espressif/esp-idf!28638
2024-01-26 13:37:02 +08:00
hongshuqing
9f5cd217a0 feat(pmu): set fix voltage to different mode for esp32h2
h2 remove include
2024-01-26 11:39:16 +08:00
KonstantinKondrashov
cce3c4a1d5 feat(efuse): Adds new efuses for esp32c6 2024-01-26 11:39:16 +08:00
KonstantinKondrashov
f7a920685a feat(efuse): Adds new efuse for esp32h2 2024-01-26 11:39:16 +08:00
luomanruo
9f405f2174 fix failure of pre-commit 2024-01-26 10:38:16 +08:00
zwl
39ef366eed Update ble lib to eb473dda on ESP32-C6 and ESP32-H2 2024-01-25 20:37:28 +08:00
zwl
0b3649aa0e feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2 2024-01-25 20:37:22 +08:00
zwl
d1e16cea67 feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2 2024-01-25 20:37:15 +08:00
zwl
b13a4e2d9c fix(ble): fixed build error when disable sm feature 2024-01-25 20:37:08 +08:00
luomanruo
e8f0906c11 Update C6 H2 lib to bb9d578e 2024-01-25 20:36:55 +08:00
zwx
e2e54312da feat(openthread): support openthread radio caps rx on when idle 2024-01-25 14:14:51 +08:00
xiaqilin
738145a65e fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex 2024-01-25 14:14:51 +08:00
zwx
2f988d08de feat(802.15.4): introduce pending tx while rx feature 2024-01-25 14:14:51 +08:00
zwx
08f462dc0e feat(openthread): integrate console command with ot command 2024-01-25 14:14:51 +08:00
Xu Si Yu
dd0eeaf7f3 feat(openthread): add menuconfig for openthread address query 2024-01-25 14:14:51 +08:00
Xu Si Yu
f86a39ad87 fix(openthread): set spinel frame buffer to member variables 2024-01-25 14:14:51 +08:00
Xu Si Yu
d339120bed feat(openthread): support esp openthread radio spinel 2024-01-25 14:14:51 +08:00