Skip to content
代码片段 群组 项目
  1. 11月 22, 2024
  2. 11月 20, 2024
  3. 11月 15, 2024
    • Jamie McCrae's avatar
      doc: release: 3.7: Add MCUboot/TF-M updates for 3.7.1 · 33fce6ad
      Jamie McCrae 创作于
      
      Adds update notes for what has been fixed in 3.7.1
      
      Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
      33fce6ad
    • Jamie McCrae's avatar
      west.yml: MCUboot synchronization from v3.7-branch · b2a38113
      Jamie McCrae 创作于
      
      Update Zephyr fork of MCUboot to revision:
        ea2410697dd0262edec041a0ccb07fdbde7c1aff
      
      Brings following Zephyr relevant fixes:
      
        - ea241069 boot: bootutil: boot_record: Fix issue with saving
          image data
        - 03b64828 boards: mcxn947_qspi: fix mcuboot partition allocation
        - 4a0f42c0 doc: remove repetition
        - 1c47465c boot: zephyr: use EXTRA_CONF_FILE instead of
          deprecated OVERLAY_CONFIG
        - 8e8ecd91 boot: zephyr: Fix serial recovery for NXP IMX.RT
          platforms
        - 52c7231a boot: zephyr: Fix Warning 'boot_serial_enter defined
          but not used'
        - a58d9026 zephyr: hello_world: Fix the main() return type
          warning
        - 50b7b9ee bootutil: Fix AES and SHA-256 contexts not zeroized
          with mbedTLS
        - 9b1b95c1 ci: Fix zephyr workflow
        - 809b0e42 bootutil: Add better mode selection checks
        - 0fe7ffd8 ci: Fix FIH Docker image release usage
        - a990c6b6 ci: Update FIH docker to Ubuntu Jammy (22.04)
        - 03d1a443 boot: zephyr: board: Fix nrf54l15pdk Kconfig fragment
        - 323eb8d1 boot: zephyr: MCXN947 currently only does not support
          swap mode
        - 0a88733d boot_serial: Fix `format` warning
        - 157547c8 boot_serial: Fix `incompatible-pointer-types` warning
        - 60ac682a bootutil: loader: Verify image header before checking
          image
        - 1cd53982 boot: main: avoid unused build warning
        - 587289d6 bootutil: Fix missing include
        - 610b8e2b bootutil: Fix swap move max app size calculation
        - a4800ce0 imgtool: Add missing encodings to emitter tests
        - 80397e0f imgtool: Fix getpub fails for ed25519 key
        - e29a123d docs: release-notes: Add note on name clash fix
        - a375a14d zephyr: Fix issue with sysbuild if something else is
          named mcuboot
        - 77b03c7f Fix style issues
        - 35bf48c5 boot: Change boot_enc_load to take slot number instead
          of image
        - 90836499 docs: release-notes: Add note on fixed zephyr RAM load
          address
        - 24de0fbc boot: zephyr: Fix RAM load chain load address
        - 197287ce imgtool: Bump cryptography library version
        - 7566edaf boot: Move encryption context invalidation to
          boot_enc_drop.
        - 86b1ef19 boot: Rename boot_enc_decrypt to boot_decrypt_key
        - 597a1996 boot: boot_serial: change logging to debug level
        - 2fa42bfa doc: readme-zephyr: fix the scratch partition example
        - f2971d20 boot: Add missing boot_enc_init
        - 071b3b8e boot: Remove pointless slot identification
        - 2cd6ce9f sim: Fix MCUBOOT_SWAP_USING_SCRATCH defined in
          direct-xip and ram-load
        - 3c2f8375 bootutil: Properly retrieve image headers after
          interrupted swap-scratch
        - fb2cf0ec docs: release-notes: Add note on fixed nordic boards
        - 89807992 boot: zephyr: Fix build for nrf9160dk
        - 2f5a7f47 boot: zephyr: Fix build for thingy53
        - c9e4ab8b boot: zephyr: Fix build for thingy52
        - c06f7bb3 Revert "boot: Add MCUBOOT_HW_KEY support for image
          encryption"
        - 1d79ef35 boot: Fix ASN.1 for mbedtls >= 3.1
        - 86acda9e ext: fiat: Use user-defined assert macro
      
      Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
      b2a38113
    • Jamie McCrae's avatar
      manifest: Update TF-M · d3395d4b
      Jamie McCrae 创作于
      
      Updates TF-M to pull in fixes from 2.1.1, and updates the tests
      revision to work with this version
      
      Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
      d3395d4b
    • Ioannis Karachalios's avatar
      drivers: counter: Fix unbalanced policy state lock · 88b19060
      Ioannis Karachalios 创作于
      
      This commit should deal with fixing unbalanced policy state locks.
      When PM and PM_DEVICE are declared, default state, policy locks
      should be given only when  active.
      
      Signed-off-by: default avatarIoannis Karachalios <ioannis.karachalios.px@renesas.com>
      (cherry picked from commit a66c0705)
      88b19060
    • Ioannis Damigos's avatar
      driver/dma_smartbond: Fix driver initialization when PM_DEVICE is set · 8cd40948
      Ioannis Damigos 创作于
      
      Fix DMA driver initialization when PM_DEVICE is set.
      Don't put PM policy state lock if it is not active.
      
      Signed-off-by: default avatarIoannis Damigos <ioannis.damigos.uj@renesas.com>
      (cherry picked from commit 135214d8)
      8cd40948
  4. 11月 14, 2024
  5. 11月 12, 2024
  6. 11月 11, 2024
    • Krzysztof Chruściński's avatar
      kernel: fatal: Fix NO_OPTIMIZATIONS build · f7e9a609
      Krzysztof Chruściński 创作于
      
      When logging is on and optimization and multithreading is off then
      build fails to link because unoptimized compiler/linker seems to not
      look beyond the function and it fails trying to link k_thread_name_get.
      Reworking the code to make it known to the compiler without optimization
      that k_thread_name_get is not needed and not logging current thread
      name in that case.
      
      Signed-off-by: default avatarKrzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
      (cherry picked from commit 28b4bab0)
      f7e9a609
    • Simon Moser's avatar
      doc: fix body length in SMP UART transport · c480aa3e
      Simon Moser 创作于
      
      In the description of the partial-final frame of the SMP UART transport
      specification was a typo in the maximum allowed raw body size. The size
      must not be larger than MTU - 5 because there are 5 bytes occupied by
      total length (2), frame termination (1) and crc (2).
      
      Signed-off-by: default avatarSimon Moser <simon.github@mailbox.org>
      (cherry picked from commit a77d499e)
      c480aa3e
    • Declan Snyder's avatar
      drivers: nxp_enet: Fix tx error handling · 713d8c8a
      Declan Snyder 创作于
      
      The code path for error handling and timestamping in tx path
      was meant to be identical in function to old eth_mcux driver,
      but there is actually a discrepancy causing no error handling
      for timestamped frames, fix it.
      
      Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
      (cherry picked from commit b29190c3)
      713d8c8a
    • Declan Snyder's avatar
      drivers: ethernet: ksz8081: RMII override RNB part · 4c806352
      Declan Snyder 创作于
      
      I for the life of me do not know what is going on here with the RNB chip
      but it seems this override must be set in order for the chip to work,
      regardless of strap-in configuration, and if not set explicitly, the
      value after a reset for these two bits will be seemingly random and
      inconsistent. And it was working before by luck before removing a second
      redundant reset in a recent commit, because apparently the register
      was getting the opposite of the reset value according to the datasheet
      which makes it work. The result of these bits after reset seem to vary
      depending on host mcu, board, debugger, number of times reset, type of
      reset, and with a pinch of random chance after keeping all variables
      seemingly the same, so let's just set it to the value that works
      explicitly, even if it doesn't make sense. The bit here doesn't have
      clear documentation but it seems it's for using RMII regardless of the
      strap in option, which is what we want to do anyways if we know the
      interface type from DT, so I think it's fine, considering it is making
      this driver work again.
      
      Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
      (cherry picked from commit 495a374a)
      4c806352
    • Declan Snyder's avatar
      drivers: ethernet: ksz8081: Fix reset times · efb8a1d0
      Declan Snyder 创作于
      
      500 ms reset time is only for software reset and comes from IEEE spec.
      Datasheet mentions for hardware reset the assertion of the signal should
      only need to be 500 us, and 100 us after deassert to wait to access
      programming interface.
      
      Also remove an unused macro.
      
      Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
      (cherry picked from commit 96877736)
      efb8a1d0
    • Declan Snyder's avatar
      drivers: mdio_nxp_enet: Don't disable IRQ · 7098b564
      Declan Snyder 创作于
      
      No real need to be enabling and disabling IRQs, this logic has been
      reported to be causing spurious interrupts and strange behavior, we can
      just enable the interrupt and switch to interrupt based logic one time
      and keep the interrupt enabled at that point.
      
      Also, fix a W1C bug where |= was used instead of = to clear a flag.
      
      Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
      (cherry picked from commit 2ab10462)
      7098b564
    • Zak Portnoy's avatar
      mgmt: smp: shell: Respond on uart shell device when changed at runtime · 1aa25cc6
      Zak Portnoy 创作于
      
      Responses are currently set to the shell device that was configured
      in the device tree.
      
      The shell_uart driver allows for changing it's device during runtime
      which leads to a situation where we recieve packets on one device
      and respond on another.
      
      This patch causes smp_shell_tx_raw to use the shell_uart device
      
      Signed-off-by: default avatarZak Portnoy <zakportnoy@gmail.com>
      (cherry picked from commit 32b11400)
      1aa25cc6
  7. 11月 08, 2024
  8. 11月 06, 2024
    • Anas Nashif's avatar
      arm: cortex_m: restore fix for loading z_arm_int_exit · 064fcfca
      Anas Nashif 创作于
      
      This change was in the same commit previously reverted and seem to be
      unrelated and should not be reverted.
      
      Fixes the problem:
      
      ..... /swap_helper.S:432:(.text.z_arm_svc+0x26):
      relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
      `z_arm_int_exit' defined in .text._HandlerModeExit section in
      ....core/cortex_m/libarch__arm__core__cortex_m.a(exc_exit.c.obj)
      
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      (cherry picked from commit d9bc0b60)
      064fcfca
  9. 11月 05, 2024
  10. 11月 04, 2024
加载中