The Faux86-remake source code can be compiled using standard linux and arm build tools. For compiling and targeting ARM RPi builds the Circle SDK from the develop branch is required. The instructions below for cloning and compiling the ARM RPi build were provided by moononournation
For ARM RPi builds a custom settings file can be used for each model which is performance optimized for that particular RPi model. The following settings file will be used for each build:
- faux86.cfg For Windows/Linux binary builds.
- faux86-1.cfg For RPi Model 1 Kernel.img
- faux86-2.cfg For RPi Model 2 Kernel7.img
- faux86-3.cfg For RPi Model 3 kernel8-32.img
- faux86-4.cfg For RPi Model 4 kernel7l.img
git clone -b develop https://github.com/rsta2/circle.git
git clone https://github.com/ArnoldUK/Faux86-remake.git
apt update && apt install -y make gcc-arm-linux-gnueabihf gcc-arm-none-eabi
- Edit Faux86-remake/pi/Config.mk (Set RPi Model 1-4 in line RASPPI=3)
- Copy Faux86-remake/pi/Config.mk to Circle SDK root folder
- Edit Circle SDK
Rules.mk
file and change lines to match as below:
-include $(CIRCLEHOME)/Config.mk
#-include $(CIRCLEHOME)/Config2.mk # is not overwritten by "configure"
- Replace 3 with the target RPi Model 1-4 in the first line below.
cd /git/circle/ && ./configure -f -r 3 && ./makeall
cd /git/circle/addon/SDCard && make
cd /git/circle/addon/vc4/sound && make
cd /git/circle/addon/vc4/vchiq && make
cd /git/circle/addon/linux && make
cd /git/circle/addon/fatfs && make
cd /git/circle/addon/Properties && make
cd /git/Faux86-remake/pi && make clean && make libs && make