Skip to content

openSUSE Linux

pwpiwi edited this page Apr 22, 2019 · 7 revisions

This is a guide for compiling the Proxmark3 firmware on the Linux Distribution: openSUSE It has been verified working as of Suse 4.4 aarch64 release.

Preparing Proxmark3 Software

Open a terminal: Download and install the essentials to build Proxmark3 from source:

 sudo zypper install -t pattern devel_basis
 sudo zypper install git libreadline7 libusb-1_0-0 libusb-1_0-devel perl libqt4-devel readline7-devel termcap wget pcsc-lite

gcc-arm-none-eabi

Frank Kunz has a page where you can download different ARM build chains, according to your version of openSUSE. https://software.opensuse.org/download.html?project=home%3Afrank_kunz&package=arm-none-eabi-gcc

 # replace openSUSE_Leap_15.0 with your actual version (see /etc/os-release)
 sudo zypper addrepo http://download.opensuse.org/repositories/home:frank_kunz/openSUSE_Leap_15.0/home:frank_kunz.repo
 sudo zypper refresh
 sudo zypper install arm-none-eabi-gcc arm-none-eabi-binutils

Create a symlink to `libtermcap.so.2`:

 sudo ln -s /usr/lib64/libtermcap.so.2 /usr/lib64/libtermcap.so

Check out the latest revision of the Proxmark project:

  git clone https://github.com/Proxmark/proxmark3.git

Open the recently cloned Proxmark3 repository

  cd proxmark3

Make sure the folder containing `arm-none-eabi-gcc` binary is in your path. Run this if you installed Frank Kunz's packages:

 export PATH=/opt/arm-tools/arm-none-eabi/bin:$PATH

Now compile the bootrom, OS and software.

  make clean && make all