Instructions on building 64-bit Raspberry Pi AROS and cross-compiler from sources.
You will need:
- Ubuntu 24.04 or 26.04
- qemu-system-aarch64 installed
- Internet connection
- rpi-scripts.tar.gz downloaded (
https://axrt.org/download/aros/rpi/rpi-scripts.tar.gz)
1) Install prerequisites:
sudo apt install git gcc g++ make gawk bison flex bzip2 netpbm autoconf automake libc6-dev liblzo2-dev libpng-dev gcc-multilib byacc python3-mako cmake yasm curl nasm
2) Clone sources
cd <project-directory>
git clone
https://github.com/aros-development-team/AROS.git --recurse-submodules
3) Extract rpi-scripts.tar.gz. Copy all files into your project directory so that you have:
AROS (the directory with cloned sources)
fix-dotdot.py
rebuild.sh
recreate-sdcard.sh
run-qemu.sh
update-sdcard.sh
4) Run ./rebuild.sh. Select option 1) toolchain-core-aarch64
This will execute process of building a cross-compiler. During this process packages will be downloaded from Internet. This process can take up to 2 hours. If there are some missing dependencies, install them with 'sudo apt install' and restart this step.
5) Run ./rebuild.sh again. Select option 2) core-raspi-aarch64
This will build system files for 64-bit Raspberry Pi AROS. This process can take around an hour.
6) Run ./recreate-sdcard.sh
This will create an sdcard.img file with contents of previous step.
7) Run ./run-qemu.sh
This will start QEMU with SD card image and ROM images. It will boot into AROS.