Compilation Steps
Follow these steps to compile the firmware.
- Clone our repo:
- HTTPS:
git clone https://github.com/acm-CFW/batocera.linux.git
- SSH:
git clone git@github.com:acm-CFW/batocera.linux.git
- HTTPS:
- Change your directory to that folder and switch to our
acm-cfw-wip
branch:$ cd batocera.linux $ git checkout acm-cfw-wip
- Update submodules (buildroot) and switch to our
acm-cfw-wip
branch:git submodule update --init --recursive git checkout acm-cfw-wip
- Build the ACM and E2M images with:
make sunxi-r16-build
Depending on your system this may take more or less, but it will be about 1-4 hours
Once the build is complete, you should find the generated image for the ACM in this path:
output/acmimages/batocera/images/e2m
You will find the following files there:
- batocera-sunxi_r16-acm-36-20221031.img.gz
- batocera-sunxi_r16-acm-36-20221031.img.gz.md5
- batocera-sunxi_r16-acm-36-20221031.img.gz.sha256
- batocera.version
- boot.tar.xz
- boot.tar.xz.md5
- boot.tar.xz.sha256
And the image for the E2M here:
output/acmimages/batocera/images/e2m
You will find the following files there:
- batocera-sunxi_r16-e2m-36-20221031.img.gz
- batocera-sunxi_r16-e2m-36-20221031.img.gz.md5
- batocera-sunxi_r16-e2m-36-20221031.img.gz.sha256
- batocera.version
- boot.tar.xz
- boot.tar.xz.md5
- boot.tar.xz.sha256
Flash the firmware with your preferred tool (e.g. Balena Etcher). You will need at least a 4GB card, but we recommend a minimum of 16GB. The system will automatically expand the card to use all the space available during the first boot.