[realtek-ambz2] Fix partition table & bootloader flashing via UART (#307)
This commit is contained in:
@@ -427,8 +427,8 @@ env.Replace(
|
|||||||
# same OTA images for flasher and device
|
# same OTA images for flasher and device
|
||||||
f"{image_firmware_is},{image_firmware_is}=device:ota1,ota2;flasher:ota1,ota2",
|
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)
|
# having flashed an application image, update the bootloader and partition table (incl. keys)
|
||||||
f"{image_bootloader}=device:boot;flasher:boot",
|
f"{image_bootloader},{image_bootloader}=flasher:boot,boot",
|
||||||
f"{image_part_table}=device:part_table;flasher:part_table",
|
f"{image_part_table},{image_part_table}=flasher:part_table,part_table",
|
||||||
# clearing headers of the "other" OTA image (hence the indexes are swapped)
|
# 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",
|
f"{image_ota_clear},{image_ota_clear}=device:ota2,ota1;flasher:ota2,ota1",
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user