Laelaps
Notice
- To test a new firmware, create a directory in the
projdirectory. The general naming rule isproj_devicename_appname. - The last worked version of Angr is
8.19.2.4.
Release
This release is a VMware Workstation Virtual Machine of Ubuntu 18.04, which has Laelaps and its running environment.
Docker Installation
A docker image with Lealaps installation has been created for testing purporses.
docker pull guanleustc/laelaps:1.0
docker run -it guanleustc/laelaps:1.0 /bin/bash
The image was build with the provided Dockerfile and installation script in this repo.
Source Code Installation
Make sure Ubuntu 18.04 and Python 3 are used.
- Install Python virtualenvwrapper and create a virtual environment
laelaps. All the following steps are operated inside this virtual environment. So, execute this command first.
$ workon laelaps
- Build qemu-3.0.0.
$ sudo apt-get build-dep -y qemu
$ mkdir ./build && cd ./build
$ ../qemu-3.0.0/configure --python=python3 --target-list="arm-softmmu" --disable-vnc --disable-curses --disable-sdl --disable-hax --disable-rdma --enable-debug
$ make
Then, qemu-system-arm can be found in this build directory and the path is: arm-softmmu/qemu-system-arm. Put qemu-system-arm in PATH.
- Download ARM GCC toolchain. The URL can be found at https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2. Unzip it and put the
bindirectory in PATH.