Commit graph

122 commits

Author SHA1 Message Date
iceman
3989d6fff6 chg: the windows exe annoys the linux compiler 2016-02-15 02:50:00 +01:00
iceman
4211fdce31 chg: the windows exe annoys the linux compiler 2016-02-15 02:49:26 +01:00
iceman1001
685d366c73 ADD: added @piwi's bucketsort to tools/mfkey/crapto1.c and tools/nonce2key/crapto1.c 2016-02-09 15:16:35 +01:00
iceman1001
bf22fab73b FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD and s->EVEN to zero should do the trick. 2016-01-20 11:31:24 +01:00
iceman1001
8130eba4d1 CHG: Syncronized so all different parts uses the same implementation of Crapto1 v3.3 2016-01-19 18:01:16 +01:00
iceman1001
9b98cb88b2 ADD: Wrote a little help text to the nonce2key tools. 2016-01-19 16:26:37 +01:00
iceman1001
a1afa550ea CHG: Crapto1 v3.3 now with comments, and I've tried to unnest some loops. 2016-01-19 16:17:29 +01:00
iceman1001
93b0bbd2dc FIX: the "make clean" for mfkey/Makefile now deletes the executables. 2016-01-17 23:06:48 +01:00
iceman1001
9d1eaa281f FIX: makeing sure the "make clean" now deletes the nonce2key.exe file. 2016-01-17 23:00:50 +01:00
iceman1001
72109f8296 CHG: Updated the crapto1 imp to latest vesion3.3 ( Thanks @blapost !) 2016-01-16 17:49:45 +01:00
iceman1001
43d3f76921 FIX: this should remove some warnings while compiling on linux and when running Travis-CI in a docker container.
some format specifier for uint64_t
and getting the git history in the perl script.
2016-01-15 12:43:29 +01:00
iceman1001
db25599d7f ADD: @holiman's clearCommandBuffer in cmdlft55xx.c
ADD: @VERTCraig's AVID commands.

TEST: testing some changes to iso14443 demod.
2015-07-18 20:43:14 +02:00
iceman1001
d8af608f8e TEST: Moebius two noce mfkey32... 2015-07-13 23:06:49 +02:00
iceman1001
a198737b44 minor code clean up 2015-05-13 09:18:37 +02:00
iceman1001
7bd30f12ac Small fixes,
Fix: removed a call to free,  which I think made linux people unhappy during "lf t55xx rd 0"...
Add: "lf t55xx fsk"  now kind of outputs binary from "FSK2a R/40 R/50"..
2014-10-16 15:05:27 +02:00
ikarus
9c6837165b Updated nameing (svn -> git) & fixed whitespaces. 2014-04-02 21:46:25 +02:00
Martin Holst Swende
e3ac0d7095 Fixed so build scripts utilises the git version 2014-04-01 20:52:45 +02:00
roel@libnfc.org
69135e1c04 changed version.c, compile time is now always present, even when svn is not working 2013-03-27 10:27:14 +00:00
roel@libnfc.org
cda056bb9e added all files for mfkeys 2013-03-07 12:23:31 +00:00
roel@libnfc.org
17331e14ee tweaked sim command, added mfkey32 2013-03-07 12:22:12 +00:00
roel@libnfc.org
9e130475f9 removed -fPIC directive 2013-03-07 10:51:25 +00:00
roel@libnfc.org
125a98a110 fixed stupid 64-bit formatting for x86/amd64 and unix/windows 2013-02-28 22:22:24 +00:00
roel@libnfc.org
b62328cc54 cleaned up memmory 2012-09-29 08:46:40 +00:00
fnargwibble@gmail.com
d13dee9046 target and bitstream back to front! 2012-08-13 16:16:39 +00:00
dn337t@gmail.com
f5c5499ab8 changed -elf to -eabi in install-gnuarm4.sh ARMLIB suggestion 2012-07-05 09:14:13 +00:00
dn337t@gmail.com
7fba33fcc4 updated install-gnuarm4.sh to reflect new convention set by r573 2012-07-03 13:13:54 +00:00
roel@libnfc.org
998064f8c8 fixed spacing 2012-07-01 07:40:26 +00:00
roel@libnfc.org
7847961b25 added mfkey 2012-07-01 07:38:26 +00:00
dn337t@gmail.com
fa4a296451 extracted download and signature verification functionality to a function in tools/install-gnuarm4.sh 2012-06-22 14:10:00 +00:00
dn337t@gmail.com
ef928a0e8b avoid spawning whoami to get username in tools/install-gnuarm4.sh 2012-06-22 13:46:56 +00:00
dn337t@gmail.com
f208c9e281 replaced string.find with str.find in findbits.search() 2012-06-20 20:43:24 +00:00
dn337t@gmail.com
c3631ff82e simplified findbits.main() loop 2012-06-20 20:41:38 +00:00
dn337t@gmail.com
ee0ef5c5d7 simplified findbits.stringreverse() 2012-06-20 20:33:53 +00:00
dn337t@gmail.com
df1e29bb40 simplified findbits.binstring() 2012-06-20 20:31:49 +00:00
dn337t@gmail.com
9f975d42e8 simplified findbits.invert() 2012-06-20 20:25:35 +00:00
dn337t@gmail.com
683f4a90ab added simple test suite for tools/findbits.py 2012-06-20 20:21:13 +00:00
dn337t@gmail.com
79c4de2a0f made tools/findbits.py importable as a Python module 2012-06-20 15:07:30 +00:00
dn337t@gmail.com
36f0588054 use downloaded keyring directly to avoid polluting the user's 2012-06-07 13:21:14 +00:00
dn337t@gmail.com
9de50d8282 typofix in install-gnuarm4 script 2012-05-29 13:40:46 +00:00
marcin.mielczarczyk
8f97dd895e Fixed versions of Binutils, GDB and Insight in compiler building scripts. 2012-03-07 13:12:33 +00:00
W8M2Hg9lLmWqXSGC
50011f1970 Added regex to remove spaces and new lines from version.c when compiling under Windows. 2012-01-29 00:51:08 +00:00
zveriu@gmail.com
3d0adc14cf - Corrected ELF to EABI target (since Makefile refers to EABI and to be consistent with Compiling wiki page)
- Added signature checks for most of the downloaded packages (gpg --verify package.tar.bz2.sig)
 - Improved general download and fail-scenarios management
 - Added additional TODO items to be handled later as lower priority
2011-08-30 19:56:53 +00:00
adam@algroup.co.uk
9455b51c2a Issue 20 patch (refactored code of the iso15693 implementation as well as several enhancements) [Adrian Dabrowski "atrox"] 2010-10-19 14:25:17 +00:00
d18c7db
bad6eab230 Fix possible type casting issue. Add another JTAG config file :) 2010-03-03 02:27:14 +00:00
marcansoft
b7913d8f4b Make version data const 2010-02-26 14:02:27 +00:00
bushing
ba06a4b694 setting svn:eol-style=native on files, part 3
(should be done now, sorry)
2010-02-22 19:29:05 +00:00
marcansoft
49b35ff9c2 More CRLF -> LF 2010-02-20 21:56:46 +00:00
d18c7db
23c1df52b0 Tweak JTAG config file 2010-02-18 08:29:03 +00:00
d18c7db
709a8d3ff0 replaced obsolete config options with current 2010-01-02 20:47:53 +00:00
roel@libnfc.org
93f5759045 mifare tools update 2009-12-30 00:12:17 +00:00
bushing
ead7519327 change MFPR version to 2.4.2 to fix install script fail 2009-12-22 12:56:36 +00:00
d18c7db
e3dfa42772 Amontec JTAGKey config 2009-12-15 06:28:40 +00:00
henryk@ploetzli.ch
258a9f3899 Fix MPFR URL 2009-12-13 22:55:49 +00:00
henryk@ploetzli.ch
d6e91bf086 Change gcc source URL 2009-12-13 11:35:46 +00:00
henryk@ploetzli.ch
c3adc9fd60 Create a stamp file for download completion so that it won't have to be redone later
Unpack newlib before compiling gcc, fixes the bug where header files were not installed
2009-09-19 21:55:22 +00:00
adam@algroup.co.uk
a93bd81d88 tool to find UIDs in bitstream 2009-09-12 08:11:24 +00:00
d18c7db
715d74c5be Fixed up last gcc 4.1 and 4.4 warnings, added OpenOCD wiggler config 2009-09-08 10:08:43 +00:00
adam@algroup.co.uk
7cea81eea6 oops, missed a bit! 2009-09-05 13:11:31 +00:00
adam@algroup.co.uk
98af9ddf8c fix wrong terminology - LRC/CRC and calulate result instead of matching (thanks Henryk!) 2009-09-05 13:10:17 +00:00
adam@algroup.co.uk
c5847014fd clarify output 2009-09-05 08:46:59 +00:00
adam@algroup.co.uk
4962d41420 tool to find correct byte for 8-bit XOR CRC 2009-09-05 07:14:35 +00:00
henryk@ploetzli.ch
4f3bd9738f Fix mkversion.pl for the case where the global svn revision is different from the last changed revision 2009-09-01 22:56:07 +00:00
henryk@ploetzli.ch
3927b707bd Our windows perl doesn't like use strict 2009-08-28 07:31:36 +00:00
henryk@ploetzli.ch
8a6aec16d8 Implement version information storage and retrieval for the bootrom and the osimage.
Use perl to create the version information (thereby re-creating the perl dependency and adding an svn dependency) but fall back in case of missing perl or svn
2009-08-28 06:40:44 +00:00
henryk@ploetzli.ch
e73e717239 Add Makefile for fpga directory (Windows codepath is untested, in any case, go.bat is still there)
Retire rbt2c.pl, instead use objcopy to directly convert the .bit file into an .o that can be linked with the flash image
Rename armsrc/fpga.c to armsrc/fpgaloader.c (since there is now a new fpga.o, created from fpga.bit)
Remove fpgaimg.c from subversion, add fpga.bit
Instead of creating fpgaimage.elf and osimage.elf separately, now create a joined fullimage.elf 
  first (obsoleting ldscript-full), then extract only the fpga and os sections with objcopy
  (This creates unspecific warnings about an empty segment, need to investigate)
Implement a rudimentary .bit parser in the firmware, use that to locate the bitstream in the new
  fpgaimage (which is just a plain copy of the fpga.bit file) and send it to the FPGA
  The code will check the format that's in flash and fall back to the legacy format
2009-08-27 23:29:49 +00:00
henryk@ploetzli.ch
8652988d62 Merge linker scripts in bootrom to have a single linker script for the bootloader proper (previously known as bootrom-merged.s19)
Remove the now unnecessary files (merge-srec.pl, ldscript-ram-jtag)
Note that this drops the dependency on perl for bootrom build, so end-users who don't touch the FPGA bitstream will not need perl anymore
2009-08-27 04:25:34 +00:00
skamkar
14ac2f1ea0 look for binary data in other data 2009-08-08 05:50:54 +00:00
d18c7db
49209d37da merge-srec.pl create proper S19 file with checksums. 2009-07-28 01:03:09 +00:00
d18c7db
94f6d4a683 Fixed it so it accepts DOS (CRLF) text files as input. 2009-07-19 03:48:02 +00:00
adam@algroup.co.uk
bb06be43b7 update arm toolchain installer for linux and make it a little more user friendly
use ARMLIB environment variable so you don't need to edit Makefile.linux after updates
2009-06-28 21:31:35 +00:00
edouard@lafargue.name
aa4d9d9b73 - Added new Makefile.linux in bootrom directory
- Cleaned up Makefile.linux in armsrc directory
- Added Linux toolchain build script in tools directory
- Made LCD support optional (disabled by default) in armsrc
- Small formatting changes
2009-04-25 21:19:59 +00:00
edouard@lafargue.name
30f2a7d38f Added LF frequency adjustments from d18c7db, cleaned up code,
typo fixes in iso14443a code, added the missing "tools" directory,
added initial elements for online/offline detection for commands.
2009-04-15 08:09:06 +00:00