-
Notifications
You must be signed in to change notification settings - Fork 1
Build and install Amiga Binaries
https://github.com/niklasekstrom/a314/releases/download/v1.2/a314-amiga.zip
There are multiple sub directories in the release archive, and the files in those subdirectories should be copied to the corresponding subdirectories in the AmigaOS system volume.
Note that in the Devs directory there are multiple different versions of a314.device:
a314-td.device, a314-cp.device, a314-fe.device.
--> For A314cp only copy a314-cp.device and rename it to a314.device. <--
To do so, follow these steps:
Download and install VBCC:
On the bottom of this page, http://www.compilers.de/vbcc.html, there are archives with VBCC pre-compiled for different plattforms such as Linux (x64) and Raspberry Pi.
Download the appropriate archive, e.g.: wget http://www.ibaug.de/vbcc/vbcc_linux_x64.tar.gz
Unpack to some suitable directory: tar xvf vbcc_linux_x64.tar.gz -C ~/amiga/
Set the VBCC environment variable: export VBCC=~/amiga/vbcc
Add VBCC to PATH: export PATH=$VBCC/bin:$PATH
Download and add NDK3.2:
Download archive from Aminet: wget http://aminet.net/dev/misc/NDK3.2.lha
Install lha extraction software: sudo apt install lhasa
Extract archive: lha xw=~/amiga/NDK3.2 NDK3.2.lha
Add environment variable: export NDK32=~/amiga/NDK3.2
Clone the a314 repo: git clone https://github.com/niklasekstrom/a314.git ~/amiga/a314
Change into the Software directory: cd ~/amiga/a314/Software
Build binaries by running: make -f Makefile-amiga
The binaries should now are available in the sub directories (C,Devs,L) of bin_amiga directory.
# cd to a314 directory
cd a314/Software
# execute the docker build
sudo ./rpi_docker_build.sh
# The a314/Software/bin directory contains a number of binaries, that should be copied to the Amiga boot disk:
a314/Software/bin/a314.device to DEVS:
a314/Software/bin/a314eth.device to DEVS:Networks
a314/Software/bin/a314fs to L:
a314/Software/a314fs/a314fs-mountlist should be appended to the DEVS:Mountlist file
a314/Software/bin/pi to C:
a314/Software/bin/piaudio to C:
a314/Software/bin/pisetclock to C:
After these files are copied it should be possible to mount the PiDisk: by the Amiga command 'mount PI0:'.
The pi command can be invoked by Amiga Command 'pi' without any arguments to run bash, or with arguments to run a particular Linux command.