Merge pull request #156 from ceres-c/master

Install instructions and makefile switch for ArchLinux
This commit is contained in:
Iceman 2018-01-20 21:22:16 +01:00 committed by GitHub
commit 42a1ff88cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 29 deletions

View file

@ -73,7 +73,11 @@ tarbin: newtarbin client/tarbin armsrc/tarbin bootrom/tarbin
udev: udev:
sudo cp -rf driver/77-mm-usb-device-blacklist.rules /etc/udev/rules.d/77-mm-usb-device-blacklist.rules sudo cp -rf driver/77-mm-usb-device-blacklist.rules /etc/udev/rules.d/77-mm-usb-device-blacklist.rules
sudo udevadm control --reload-rules sudo udevadm control --reload-rules
ifneq ($(wildcard /etc/arch-release),) #If user is running ArchLinux
sudo usermod -aG uucp $(USER) #Use specific command and group
else
sudo adduser $(USER) dialout sudo adduser $(USER) dialout
endif
# easy printing of MAKE VARIABLES # easy printing of MAKE VARIABLES
print-%: ; @echo $* = $($*) print-%: ; @echo $* = $($*)

View file

@ -114,6 +114,35 @@ https://github.com/iceman1001/proxmark3/blob/master/install.sh
- Run the client - Run the client
`./proxmark3 /dev/ttyACM0` `./proxmark3 /dev/ttyACM0`
## Setup and build for ArchLinux
- Run
`sudo pacman -Sy base-devel p7zip libusb readline ncurses arm-none-eabi-newlib --needed`
`yaourt -S termcap`
- Clone iceman fork
`git clone https://github.com/iceman1001/proxmark3.git`
- Get the latest commits
`git pull`
- Install the blacklist rules and add user to dialout group (if you on a Linux/ubuntu/debian). If you do this one, you need to logout and login in again to make sure your rights got changed.
`make udev`
- Clean and complete compilation
`make clean && make all`
- Flash the BOOTROM
`client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf`
- Flash the FULLIMAGE
`client/flasher /dev/ttyACM0 armsrc/obj/fullimage.elf`
- Change into the client folder
`cd client`
- Run the client
`./proxmark3 /dev/ttyACM0`
## Homebrew (Mac OS X) ## Homebrew (Mac OS X)
These instructions comes from @Chrisfu, where I got the proxmark3.rb scriptfile from. These instructions comes from @Chrisfu, where I got the proxmark3.rb scriptfile from.
Further questions about Mac & Homebrew, contact @Chrisfu (https://github.com/chrisfu/) Further questions about Mac & Homebrew, contact @Chrisfu (https://github.com/chrisfu/)