From 3d23211c1e58116b7e588bc93ba5dd13bf0c8b3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Prokopi=C4=8D?= Date: Tue, 17 Dec 2024 17:13:04 +0100 Subject: [PATCH] [realtek-ambz2] Fix partition table & bootloader flashing via UART (#307) --- builder/family/realtek-ambz2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/family/realtek-ambz2.py b/builder/family/realtek-ambz2.py index e593bec4f..79f56a5e6 100644 --- a/builder/family/realtek-ambz2.py +++ b/builder/family/realtek-ambz2.py @@ -427,8 +427,8 @@ # same OTA images for flasher and device f"{image_firmware_is},{image_firmware_is}=device:ota1,ota2;flasher:ota1,ota2", # having flashed an application image, update the bootloader and partition table (incl. keys) - f"{image_bootloader}=device:boot;flasher:boot", - f"{image_part_table}=device: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}=device:ota2,ota1;flasher:ota2,ota1", ],