Skip to content

Conversation

b49020
Copy link
Member

@b49020 b49020 commented Aug 11, 2025

apdp_a/b partitions are optional during boot. Garbage data in that partition can lead to boot crash as follows:

...
B - 1001101 - APDP - Image Load, Start
D - 244 - Auth Metadata
B - 1009489 - Error code 65 at boot_platforminfo.c Line 76
B - 1010709 - Call Stack:
B - 1016229 - func_addr : 1481E438
B - 1018822 - func_addr : 1481D8BC
B - 1022482 - ^^^^^^^^^^^^^^^^^^^^^
B - 1031205 - sbl_error_handler: copied boot regions to crash dump region

Lets erase apdp_a/b partitions explicitly to avoid the above crash.

apdp_a/b partitions are optional during boot. Garbage data in that
partition can lead to boot crash as follows:

...
B -   1001101 - APDP -  Image Load, Start
D -       244 - Auth Metadata
B -   1009489 - Error code 65 at boot_platforminfo.c Line 76
B -   1010709 - Call Stack:
B -   1016229 - func_addr  :   1481E438
B -   1018822 - func_addr  :   1481D8BC
B -   1022482 - ^^^^^^^^^^^^^^^^^^^^^
B -   1031205 - sbl_error_handler: copied boot regions to crash dump region

Lets erase apdp_a/b partitions explicitly to avoid the above crash.

Signed-off-by: Sumit Garg <[email protected]>
@lumag lumag merged commit 202c83e into qualcomm-linux:main Aug 11, 2025
3 checks passed
@lumag
Copy link
Contributor

lumag commented Aug 11, 2025

@b49020 please provide similar fix for all other platforms with APDP partitions

@ricardosalveti
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants