Investigate FEL as a recovery path - the wiki says A80 supports it #73
Labels
No labels
blocked-physical
cleanup
hardware
infra
kernel
P1-critical
P2-high
P3-normal
P4-later
reliability
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tiagoagueda/a80#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The mirror turned up a recovery path we have never considered, and it is directly relevant to
the two P1 issues (#3 hangs in SPL, #5 no remote power control).
What the wiki says
FEL/USBBootlists the Allwinner A80 as Supported for FEL, both forboot0and SPLloading, at roughly 930 KB/s - with the caveat "Not enabled by BROM".
FEL is the boot ROM's USB recovery mode: with the board in FEL,
sunxi-felon a host can uploadand execute U-Boot/SPL over USB without any bootable media at all. That is a fundamentally
different recovery class from everything we have, all of which assumes something on the eMMC or
the SD card is loadable.
The Sunchip CX-A99 page - an A80 board close to a sibling of ours - reports its FEL USB id as
1f3a:efe8, and marks PH16 in its pin table as a "recovery key? (input)".Why it is worth investigating
Every recovery path this board has assumes the SoC gets far enough to run code from storage:
bootlimit/altbootcmdneeds u-boot to run at all#3 is precisely the case where none of that holds - it hung in SPL, and no software path
existed. It cost a physical power cycle. FEL, if reachable, is the only mechanism that could
recover a board whose on-media bootloader is broken, and it would also make bootloader flashing
(#72) far less consequential.
What to find out
script.bin(the33-REAL-PINMAP.mdmethod), and look for a recovery pad or key.specific condition (no valid boot media, a held key), or does it need a fuse/pad?
sunxi-felrecognise sun9i, and can it upload our SPL?Caveats up front
FEL needs a USB connection to a host and physical access to trigger, so this is not remote
power control and does not replace #5. What it would buy is that a physical visit becomes
"plug in a cable" rather than "reflash storage on another machine", and that a bad bootloader
stops being able to brick the board.
Note the board's USB 3.0 OTG port is the likely FEL device port;
32-USB3-WORKING.mdhas thetopology.
From a deep pass over the offline linux-sunxi.org mirror (
a80/linux-sunxi.org/wiki-backup, 4095 pages, snapshot 2026-08-29). linux-sunxi.org content is CC BY-SA; the pages named above are the attribution.