Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sun55iw3: add bare Allwinner A523 SBROM and MBROM dump #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apritzel
Copy link
Contributor

@apritzel apritzel commented Nov 3, 2023

This is from a Teclast P85T tablet with that SoC, and the secure fuse burnt. Reading the BROM from non-secure state (via FEL) returns all zeroes, but putting some code in a TOC0 image on an SD card gets that executed in secure state. This allows copying the BROM to SRAM, then going to FEL, and read the copy from there.

SBROM is located at address 0x0, and is the primary (secure) reset entry point. Allwinner calls the second blob MBROM ("Medium Boot module"), It is located at address 0x10000, so in the gap between SBROM and SRAM.

I struggled to get the other files initialised properly, so this is just the blob.hex. If you can make this to work properly, please fix this commit up, if possible.
I have quite some symbols and comments already in a separate objdump copy, so happy to contribute that later.

This is from a Teclast P85T tablet with that SoC, and the secure fuse
burnt. Reading the BROM from non-secure state (via FEL) returns all
zeroes, but putting some code in a TOC0 image on an SD card gets that
executed in secure state. This allows copying the BROM to SRAM, then
going to FEL, and read the copy from there.

SBROM is located at address 0x0, and is the primary (secure) reset entry
point. Allwinner calls the second blob MBROM ("Medium Boot module"),
It is located at address 0x10000, so in the gap between SBROM and SRAM.

Just the hexdump for now.
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.

1 participant