Skip to content

Conversation

@Fiooodooor
Copy link

ADD: Basic soc info for H713 chip. Starting point.

Chips are being miss recognized and mistakenly wrong values are being used for addresses. This will be added later.

The full credit for this PR must go to the @shift
owner of https://github.com/shift/sun50iw12p1-research I am only a bystander. Worth noticing that the full repository is result of some kind of vibe coding results and is hard to read and got through.

NOTICE: Please feel free to take ownership of this PR, add changes and make progress. Including merge, rebase of the head etc. Just don't wait for me in case i am not responsive in ~1-2 days

ADD: Basic soc info for H713 chip. Starting point.

Chips are being miss recognized and mistakenly wrong values are being used for addresses. This will be added later.

The full credit for this PR must go to the @shift
 owner of https://github.com/shift/sun50iw12p1-research I am only a bystander. Worth noticing that the full repository is result of some kind of vibe coding results and is hard to read and got through.
@Icenowy
Copy link
Contributor

Icenowy commented Dec 22, 2025

Where is H713 user manual available? I don't think the PR reviewable w/o UM.

@shift
Copy link

shift commented Dec 22, 2025

AFAIK there is no H713 user manual. I even signed up with Allwinner as a developer and couldn't find anything about it. But is is used on a boat load of cheap projectors now running insecure and outdated Android. My repo is linked in the original. I used some spec driven development with a few different agents to get them to reverse engineer the manufacturer supplied image, which luckily had some development headers for the kernel in the initramfs and some other bits which allowed for the RE to be kind of successful. I've had reports from other developers that the U-Boot which my repo can build boots on a few different board revisions of this SoC. Out of the 4 projectors I've had access too each is slightly different. Some have a UART, some don't. Specs of the devices seems to vary wildly.

All of my findings are in the linked repo. You'll need to source the factory images elsewhere due to copyright concerns.

@Icenowy
Copy link
Contributor

Icenowy commented Dec 23, 2025

Well, to be honest, sp_irq=0x00000000, sp=0x00000000 looks very bogus.
Maybe it's some caching issue?
Could .icache_fix = true be tried?

In addition, the SoC info does not match information in the repository too.

@Fiooodooor
Copy link
Author

As for the Allwinner H713 chip I've got it in cheap projector as @shift mentioned, I bought it as not booting up, out of pure curiosity, for couple of dollars. From the beginning I had "communication" issues when using native Allwinner recommended and available firmware software, but I must admit that changes included in mentioned repository allowed me to make some progress, but not yet managed to patch the firmware and boot it.
If anyone interested I can just send the projector on chosen address as I no longer need it nor have spare time lately.

As a side note, I find Rockchip software way more intuitive.
20251223_213329
20251223_213218

@Fiooodooor
Copy link
Author

@Icenowy Yes if this is required, as I did not find any relevant docs on this chip.
If I will remember I will send some logs from Linux tools and here is what I could get from Windows 11:

PS C:\Users\milos\Downloads\new\xfel-windows-v1.3.5> .\xfel.exe version
WARNING: Not yet support this device ID 0x00186000
ERROR: No FEL device found!

And some USB logs:
hy320_usbtree_driver_log.log

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