Skip to content

Commit

Permalink
[realtek-ambz2] Fix partition table & bootloader flashing via UART
Browse files Browse the repository at this point in the history
  • Loading branch information
prokoma committed Dec 16, 2024
1 parent e2760c7 commit 30af0a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/family/realtek-ambz2.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,8 @@ def encode_for_define(data: bytes) -> str:
# use patched OTA image for device
f"{image_firmware_is_ota},{image_firmware_is_ota}=device:ota1,ota2",
# having flashed an application image, update the bootloader and partition table (incl. keys)
f"{image_bootloader}=flasher:boot",
f"{image_part_table}=flasher:part_table",
f"{image_bootloader},{image_bootloader}=flasher:boot,boot",
f"{image_part_table},{image_part_table}=flasher:part_table,part_table",
# clearing headers of the "other" OTA image (hence the indexes are swapped)
f"{image_ota_clear},{image_ota_clear}=flasher:ota2,ota1",
],
Expand Down

0 comments on commit 30af0a2

Please sign in to comment.