Skip to content

Cardputer ADV Bootloop on v2.1 #374

Description

@bmorcelli

Cardputer ADV is bootlooping when flasing the merged binary file:

[14:30:36]W (24) boot: Unicore bootloader
[14:30:36]E (24) boot: ota data partition invalid and no factory, will try all partitions
[14:30:36]E (25) esp_image: image at 0x20000 has invalid magic byte (nothing flashed here?)
[14:30:36]E (30) boot: OTA app partition slot 0 is not bootable
[14:30:36]E (35) esp_image: image at 0x3f0000 has invalid magic byte (nothing flashed here?)
[14:30:36]E (42) boot: OTA app partition slot 1 is not bootable
[14:30:36]E (47) boot: No bootable app partitions in the partition table
[14:30:36]ESP-ROM:esp32s3-20210327
[14:30:36]Build:Mar 27 2021
[14:30:36]rst:0x3 (RTC_SW_SYS_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
[14:30:36]Saved PC:0x403cd079

Root Cause:
Your workflow is merging files at 0x10000

0x10000 "$ARTIFACT_DIR/firmware.bin" || { echo "Failed to create merged binary"; exit 1; }

while your partition table expects firmware at 0x20000

ota_0, app, ota_0, 0x20000, 0x3D0000,

It is affecting devices using these partition tables:

partitions_banshee_c5_updater.csv
partitions_ota_16mb.csv
partitions_ota_16mb_c5xip.csv
partitions_ota_8mb.csv
partitions_ota_s3twatch.csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions