git clone https://github.com/ehbc-project/ehbc-firmware
cd ehbc-firmware
cmake -S. -Bbuild
cmake --build build
To emulate firmware, download and build MAME from here.
The path of the ROM image is: build/firmware.bin
- Do board-specific initialization routine.
- Do architecture-specific intitialization routine.
- Do additional board-specific initialization routine and enumerate on-board devices
- Initialize on-board devices
- Load firmware configuration data
- Enumerate and initialize additional devices
- Run the configuration utility and reset if needed
- Search for storage devices
- Mount volume and find a bootloader binary
- Load the binary and jump to its entry point
- Return to 8 if the bootloader terminates
- If there's no more bootable volume left, print error message and halt
Firmware itself follows GPL 3.0 and LGPL 3.0 and libehbcfw follows BSD 3-Clause.