Commit graph

10363 commits

Author SHA1 Message Date
marcansoft
9b87d273b5 Fix minor consistency issue in armsrc/ldscript
BSS should be AT>ram (though it really doesn't matter because load size
is 0)
2010-02-26 21:40:14 +00:00
marcansoft
86d3195518 Bootloader cleanup (UNTESTED!)
- Clean up bootloader asm
- Remove fromflash.c - it's not worth doing in C, do it in ASM
- Clean up linker script
- Force use of symbol inside bootphase2 (otherwise linker
  garbage-collects it)
- Link bootloader with gcc instead of ld
2010-02-26 15:14:47 +00:00
marcansoft
cc7580be7a Minor fix to armsrc ldscript 2010-02-26 15:14:27 +00:00
marcansoft
66d6ba7057 Get rid of flasher memory leak
Too bad the proxmark usb code still has a bajillion :(
2010-02-26 15:13:58 +00:00
marcansoft
0ae6234a5b Remove remnant junk and TODO -> FIXME 2010-02-26 14:08:54 +00:00
marcansoft
8fe1a992c7 New flasher, much more paranoid and much more correct.
Knows how to merge segments to solve the "data overwrites last text
block" issue.

Removed "partition" stuff. Now it just flashes any elf file you pass,
though there's still a -b option required to explicitly enable flashing
the bootloader.
2010-02-26 14:03:43 +00:00
marcansoft
98bf65a640 Fix up armsrc/ldscript (create proper PHDRs, cleanup)
Now explicitly creates PHDRs (to avoid including e.g. ELF headers inside
the first PHDR)
2010-02-26 14:03:21 +00:00
marcansoft
98540684df Link using gcc and get rid of the LIBGCC stuff
GCC knows how to find libgcc, and the proper way to link C code is to
use gcc, not ld.
2010-02-26 14:03:03 +00:00
marcansoft
b7913d8f4b Make version data const 2010-02-26 14:02:27 +00:00
marcansoft
85f2819c8a Add extra elf.h constants 2010-02-26 14:02:08 +00:00
marcansoft
4e3e51b612 Add beginnings of hopeful endian-independence 2010-02-26 14:01:51 +00:00
marcansoft
e949e6a63e Add license header to armsrc/ldscript 2010-02-26 14:01:31 +00:00
marcansoft
845ea63b7c Clean up common linker script 2010-02-26 13:59:37 +00:00
izsh@fail0verflow.com
e0c67c7f45 COMPILING.txt: Request for the arm crosscompiler to be in the PATH 2010-02-26 13:49:49 +00:00
izsh@fail0verflow.com
a63deed172 common/Makefile.common: Revert the DEVKITARM change. Just need to put the cross compiler in the path. No need to hardcode for a given distribution and a given version. 2010-02-26 13:06:07 +00:00
izsh@fail0verflow.com
212ef3a04d Apply copyright patch from Michael Gernoth 2010-02-25 21:57:35 +00:00
d18c7db
29639ee8e1 And directory ;) 2010-02-25 20:11:10 +00:00
d18c7db
da133b47a9 Delete obsolete windows files 2010-02-25 20:02:01 +00:00
izsh@fail0verflow.com
243dc69001 Fix memset warning 2010-02-24 20:47:32 +00:00
izsh@fail0verflow.com
9e13f87517 Fix a couple of warnings 2010-02-24 20:34:13 +00:00
izsh@fail0verflow.com
e3e96e56df client/Makefile: Typo for Darwin 2010-02-24 20:33:55 +00:00
izsh@fail0verflow.com
f1d7d57428 COMPILING: move to COMPILING.txt. 2010-02-24 19:49:16 +00:00
izsh@fail0verflow.com
8691f5b7bb Fix QT compilation for Windows/MinGW and update the compilation instructions accordingly. 2010-02-24 19:33:29 +00:00
izsh@fail0verflow.com
9cc7c4b4d1 client/COMPILING: move to /COMPILING and add instructions to be able to compile the firmware as well. 2010-02-23 22:10:35 +00:00
izsh@fail0verflow.com
13bb3b4b11 client/COMPILING: Simplify dev. environment initial setup for Windows (WORK STILL IN PROGRESS) 2010-02-23 20:55:35 +00:00
izsh@fail0verflow.com
913d23c661 client/cmdlfem4x.c: Fix a warning about probable uninitialized variable with gcc 4.4 2010-02-23 20:52:50 +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
bushing
a459118217 setting svn:eol-style=native on files, part 2 2010-02-22 19:25:02 +00:00
bushing
770f73457a setting svn:eol-style=native on files, part 1
(see http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html)
2010-02-22 19:18:49 +00:00
adam@algroup.co.uk
30351384b6 correct paths for devkitPro Linux development environment 2010-02-22 12:36:42 +00:00
d18c7db
7b93d91671 Updated missing lib in ProxSpace 2010-02-22 03:54:44 +00:00
d18c7db
72de52ee7b Updates for new MinGW ProxSpace environment 2010-02-22 01:56:15 +00:00
izsh@fail0verflow.com
fddf220a8b Add -O3 on the client's side and fix yielding warnings 2010-02-21 20:01:56 +00:00
izsh@fail0verflow.com
6620e46b00 Ooops, we forgot a few details 2010-02-21 19:58:32 +00:00
marcansoft
4fc25350c2 Add HACKING.txt with coding style guidelines 2010-02-21 19:16:36 +00:00
adam@algroup.co.uk
afb8304a7b make a start on updating the main README 2010-02-21 10:23:05 +00:00
d18c7db
428ee1df57 Updated COMPILING 2010-02-21 07:45:59 +00:00
d18c7db
b97a3d994b Windows specific instructions regarding the compile environment. 2010-02-21 06:54:43 +00:00
izsh@fail0verflow.com
62b1302c97 client/Makefile: Cosmestic changes. 2010-02-21 01:07:11 +00:00
izsh@fail0verflow.com
a553f26748 Add License/Copyright headers/notices. Please add your own copyright notice if you have made any nontrivial changes or additions to the code. There are several files without any attribution, currently. 2010-02-21 00:47:22 +00:00
izsh@fail0verflow.com
46cd40465a /client/Makefile: Output object files to the obj subdir. 2010-02-21 00:16:42 +00:00
marcansoft
c1bd1140c4 Some random cleanup 2010-02-21 00:13:08 +00:00
marcansoft
bd20f8f478 Add license headers to armsrc/bootrom/common stuff
I have kept whatever copyright notices exist. Please add your own
copyright notice if you have made any nontrivial changes or additions to
the code. There are several files without any attribution, currently.
2010-02-21 00:12:52 +00:00
marcansoft
9ab7a6c755 Split str* and mem* into string.[ch] 2010-02-21 00:10:28 +00:00
izsh@fail0verflow.com
4cd41f34ea Removing windows specific code. Everything now compile and work the same for the three OS 2010-02-20 23:35:09 +00:00
marcansoft
f7e3ed8287 Clean up data types, some header cleanup, etc. 2010-02-20 22:51:00 +00:00
marcansoft
8419248d2d More CRLF -> LF conversion 2010-02-20 22:50:30 +00:00
marcansoft
e30c654b19 More en masse cleanup (whitespace/newlines/headers/etc) 2010-02-20 21:57:20 +00:00
marcansoft
49b35ff9c2 More CRLF -> LF 2010-02-20 21:56:46 +00:00
marcansoft
fdcc61d318 More CRLF -> LF cleanup 2010-02-20 21:56:33 +00:00