|
|
@ -22,6 +22,7 @@ RUN set -ex; \
|
|
|
|
flex \
|
|
|
|
flex \
|
|
|
|
git \
|
|
|
|
git \
|
|
|
|
libtool \
|
|
|
|
libtool \
|
|
|
|
|
|
|
|
ninja-build \
|
|
|
|
pkg-config \
|
|
|
|
pkg-config \
|
|
|
|
wget \
|
|
|
|
wget \
|
|
|
|
'; \
|
|
|
|
'; \
|
|
|
@ -45,7 +46,7 @@ RUN set -ex; \
|
|
|
|
# QEMU
|
|
|
|
# QEMU
|
|
|
|
git clone git://git.qemu.org/qemu.git; \
|
|
|
|
git clone git://git.qemu.org/qemu.git; \
|
|
|
|
cd qemu; \
|
|
|
|
cd qemu; \
|
|
|
|
git checkout tags/v5.1.0; \
|
|
|
|
git checkout tags/v5.2.0; \
|
|
|
|
./configure --target-list=aarch64-softmmu --enable-modules \
|
|
|
|
./configure --target-list=aarch64-softmmu --enable-modules \
|
|
|
|
--enable-tcg-interpreter --enable-debug-tcg \
|
|
|
|
--enable-tcg-interpreter --enable-debug-tcg \
|
|
|
|
--python=/usr/bin/python3; \
|
|
|
|
--python=/usr/bin/python3; \
|
|
|
@ -63,10 +64,14 @@ RUN set -ex; \
|
|
|
|
# GDB
|
|
|
|
# GDB
|
|
|
|
wget -P ~ git.io/.gdbinit; \
|
|
|
|
wget -P ~ git.io/.gdbinit; \
|
|
|
|
# GCC AArch64 tools
|
|
|
|
# GCC AArch64 tools
|
|
|
|
wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf.tar.xz; \
|
|
|
|
wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf.tar.xz; \
|
|
|
|
tar -xf gcc-arm-9*; \
|
|
|
|
tar -xf gcc-arm-10*; \
|
|
|
|
cp gcc-arm-9*/bin/aarch64-none-elf-objdump gcc-arm-9*/bin/aarch64-none-elf-nm /usr/local/bin/; \
|
|
|
|
cp \
|
|
|
|
rm -rf gcc-arm-9*; \
|
|
|
|
gcc-arm-10*/bin/aarch64-none-elf-objdump \
|
|
|
|
|
|
|
|
gcc-arm-10*/bin/aarch64-none-elf-readelf \
|
|
|
|
|
|
|
|
gcc-arm-10*/bin/aarch64-none-elf-nm \
|
|
|
|
|
|
|
|
/usr/local/bin/; \
|
|
|
|
|
|
|
|
rm -rf gcc-arm-10*; \
|
|
|
|
# Cleanup
|
|
|
|
# Cleanup
|
|
|
|
apt-get purge -y --auto-remove $tempPkgs; \
|
|
|
|
apt-get purge -y --auto-remove $tempPkgs; \
|
|
|
|
apt-get autoremove -q -y; \
|
|
|
|
apt-get autoremove -q -y; \
|
|
|
|