ROMs produced of Pop!_OS 20.10 and Fedora 33 with SDCC 4.0.0 cause uecflash to crash after verifying the block write, leaving the system unbootable until all power is removed to force an EC reset. Sorting object files appears to resolve this issue, creates a smaller binary (~200 bytes from 20.04), and gives up more reproducible builds.
System76 EC
System76 EC is a GPLv3 licensed embedded controller firmware for System76 laptops.
Documentation
- Supported embedded controllers
- Flashing firmware
- Debugging
- Creating a custom keyboard layout
- Adding a new board
Dependencies
The complete set of dependencies can be installed using the deps.sh
script
from the Open Firmware repo.
Dependencies specific to EC development can be installed with:
sudo apt install \
avr-libc \
avrdude \
gcc-avr \
sdcc
Description
Languages
C
81.5%
Makefile
9.2%
Rust
8.1%
Shell
1.2%