GitXplorerGitXplorer
t

amlogic-hdmiboot-avr

public
18 stars
5 forks
1 issues

Commits

List of commits on branch main.
Unverified
d6a54c207da07e4387b7b763c382becff78c9689

Abstractify the boot selector

ddanielg4 committed 2 months ago
Unverified
4350c5d5fd7c7e959fa31fcb53c02108ec979474

Makefile: be explicit about C standard, binary type

ttchebb committed 4 years ago
Unverified
6a5d6741bb9fe05f3f4100b6a13009c133eff02b

Add MIT license

ttchebb committed 4 years ago
Unverified
4e9f0b414133d82d64ea75710eb1bde788bfdeb7

Add README

ttchebb committed 4 years ago
Unverified
91aa5b894a55f594bf7e35cf4348d9060c3b122f

Add comment showing other magic string

ttchebb committed 4 years ago
Unverified
5627cc7198ceeb10c0eddb39f1140474174caa5e

Initial commit

ttchebb committed 4 years ago

README

The README file for this repository.

This project is a very simple emulator of an I2C flash for AVR microcontrollers, designed to trigger BootROM recovery mode on Amlogic SoCs like the S905Y2. See here and here for prior work. Unlike the Arduino sketch in the Exploitee.rs release, which was designed for the ARM core on an Arduino Due, this implementation is fast enough to avoid clock stretching on an AVR core, which is critical since Amlogic's BootROM I2C master does not support clock stretching.

I've tested this on an Arduino Duemilanove, but it will definitely work on any board with an ATmega48/88/168/328, and possibly others. Just set MCU appropriately in the Makefile.

To use, attach the SCL and SDA DDC lines (pins 15 and 16, respectively) of an HDMI breakout to the I2C lines on your AVR (which are PC5 and PC4, respectively, on the ATmega48/88/168/328), connect the HDMI port to your target device, then apply power to the device. It should enter BootROM USB DFU mode with no additional interaction needed.