Amaury Pouly
9cc0dab3ce
elftosb: remove duplicate code, merge two redundant fields
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30123 a1c6a512-1295-4272-9138-f99709370657
2011-07-04 21:55:56 +00:00
Amaury Pouly
fed77808c5
elftosb: support 'strings' in section id, support load binary at address, support call/jump at address
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30110 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:12:01 +00:00
Amaury Pouly
143d451403
elftosb: add support for jumps/calls with one argument
...
sbtoelf: remove sb version check and print it in the basic info
Thanks TheLemonMan !
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30106 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 21:30:06 +00:00
Amaury Pouly
50be1a8c4c
sbtools: add support for the mode command (rarely used) and explicit env variable to skip version check
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30003 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 21:46:29 +00:00
Amaury Pouly
4cfb5da35b
sbtools: always check the result of getenv against NULL, use strcasecmp instead of strcmp more greater flexibility
...
Thanks TheLemonMan for spotting that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29989 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 09:39:21 +00:00
Amaury Pouly
2d2246ed7d
sbtoelf: add environment command to ignore format version checks (some files do not match it seems)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29988 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 09:21:32 +00:00
Torne Wuff
754b1572fb
Remove superfluous executable bits on a bunch of files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29986 a1c6a512-1295-4272-9138-f99709370657
2011-06-08 14:22:03 +00:00
Dominik Riebeling
9b7b653f85
Move various logo files to a single location.
...
Introduce a new folder that will hold the original files for various variants
of the Rockbox logo. The "Rb" variant of the icon (used in the Rockbox Utility
icon on Windows) has been missing from svn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29960 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 20:31:11 +00:00
Marcin Bukat
8f4202db28
Rockchip rk27xx utils
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29936 a1c6a512-1295-4272-9138-f99709370657
2011-05-30 21:10:43 +00:00
Dominik Riebeling
2ce1dfedaa
Theme Editor: add libskin_parser files to clean rule.
...
Since those are created below the build folder but unknown to qmake the
generated Makefile doesn't remove those. Explicitly add appropriate wildcards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29932 a1c6a512-1295-4272-9138-f99709370657
2011-05-29 19:33:17 +00:00
Amaury Pouly
bdb8f4c15c
sbtools: fix a few memcpy with overlapping src/dst, fix a parsing bug (would access one byte paste the end of the buffer)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29868 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 12:20:49 +00:00
Amaury Pouly
a29ef617f3
sbtools: be more verbose on debug and fix a bug (uninitialized structure)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29867 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 12:13:02 +00:00
Dominik Riebeling
7d4616ea40
Fix BUILDID getting appended even if not set.
...
Rename some stuff to make it clearer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29836 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 19:34:03 +00:00
Dominik Riebeling
6ba552cc5d
deploy.py: support adding a build id.
...
Add support for passing and injecting a build ID to the souces prior to
compiling. Allows to easily create rebuilds of Rockbox Utility without creating
false positives on update detection.
Fix a typo in version.h. Thanks to sideral for noting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29825 a1c6a512-1295-4272-9138-f99709370657
2011-05-05 17:19:00 +00:00
Amaury Pouly
8fa0e13c9f
sbtools: generate a unique name for each section
...
This allows to manipulate the elf file more easily with objcopy for example. Executable sections are named .text0, .text1, ..., bss sections are named .bss0, .bss1, ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29817 a1c6a512-1295-4272-9138-f99709370657
2011-05-02 22:52:52 +00:00
Amaury Pouly
c0838cbfd8
Add imx_hid_recovery_tool to send a sb file to a imx chip using the HID recovery mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29807 a1c6a512-1295-4272-9138-f99709370657
2011-05-01 12:53:30 +00:00
Amaury Pouly
8da7237fd9
sbtools: do not rely on the ELF flags and always assume the entry point is valid
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29806 a1c6a512-1295-4272-9138-f99709370657
2011-05-01 12:44:57 +00:00
Dominik Riebeling
8c768a544b
Rockbox Utility deployment: insert revision into OS X' Info.plist too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29800 a1c6a512-1295-4272-9138-f99709370657
2011-04-30 20:25:19 +00:00
Dominik Riebeling
d905754bdf
Correct revision replacement string gotten replaced by svn itself.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29766 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 20:20:40 +00:00
Amaury Pouly
79c6aca566
sbtools: fortify code against weird elf files with no string table and/or no sections/programs headers !
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29747 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 20:27:23 +00:00
Amaury Pouly
b6a6809879
sbtools: document a bit the command file format
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29744 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 23:40:14 +00:00
Amaury Pouly
84c70b2c5b
elftosb: implement encryption support; now fully working
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29743 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 23:28:18 +00:00
Amaury Pouly
b2c59541b4
sbtoelf: fix to handle unencrypted files (minor tweak)
...
elftosb: properly generate sb file (encryption not implemented yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29742 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 22:30:09 +00:00
Amaury Pouly
e3fe3956f6
elftosb: more code toward sb production
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29741 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 18:37:30 +00:00
Amaury Pouly
8bff25945b
sbtoslf: command size doesn't include itself, but section can be padded with random data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29740 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 18:37:27 +00:00
Amaury Pouly
8a8d77b8e5
sbtoelf: include a raw command mode to see hidden command used by the bootrom (tag and nop)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29739 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 18:37:23 +00:00
Amaury Pouly
c4cb4cca47
sbtools: move internal elf definition to elf.c, implement elf reading
...
sbtoelf: generate a correct section name for undef and string table sections
elftosb: static'ify functions, add cmd file to sb file conversion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29738 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 15:49:58 +00:00
Amaury Pouly
e57e4c79c1
sbtools: add elftosb tool, yet to be finished (parsing of keys and command files done)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29735 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:52 +00:00
Amaury Pouly
e2f8fbfb16
sbtools: update Makefile; fix whitespaces
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29734 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:48 +00:00
Amaury Pouly
f6208bde46
Rename sbinfo to sbtools and sbinfo.c to sbtoelf.c; preparing for future elftosb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29733 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:44 +00:00
Amaury Pouly
02118edb99
sbinfo: make the time calculation clearer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29732 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:40 +00:00
Amaury Pouly
709856621a
sbinfo: use a define instead of hardcoded values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29731 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:30 +00:00
Amaury Pouly
e4dd514e6f
sbinfo: move more things to sb.h, rewrite code to use structures instead of hardcoded offsets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29723 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 18:22:42 +00:00
Amaury Pouly
d9b050ee2b
sbinfo: move sb specific bits of its own header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29722 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 18:22:37 +00:00
Amaury Pouly
6821d2ebd6
sbinfo: fix section flags, don't output more than 80 characters per line, fix colours
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29720 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 14:06:02 +00:00
Amaury Pouly
80889ee828
sbinfo: fix section headers generation (first section is always undefined)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29714 a1c6a512-1295-4272-9138-f99709370657
2011-04-15 17:05:10 +00:00
Michael Giacomelli
77268ec48f
Update parse_testcodec to parse AAC-HE files with parametric stereo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29707 a1c6a512-1295-4272-9138-f99709370657
2011-04-12 20:24:43 +00:00
Dominik Riebeling
2c297760df
deploy.py: insert version number into sources.
...
After downloading the sources insert the number of the revision checked out
into the code. Results in the Rockbox Utility about dialog showing the actual
revision instead of the one of the last change to version.h. Only applied when
building from trunk for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29684 a1c6a512-1295-4272-9138-f99709370657
2011-04-06 20:17:29 +00:00
Robert Bieber
5c47872b9c
Theme Editor: Made touch area position relative to enclosing viewports
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29618 a1c6a512-1295-4272-9138-f99709370657
2011-03-20 04:20:13 +00:00
Dominik Riebeling
cc6cc53737
Fix wrong theme base path when loading a wps.
...
When loading a wps in the Theme Editor without having a theme cfg loaded
the base path derived from it would be wrong. Make sure to start from
the wps files folder when deriving it. Still assumes the wps file to be
in the standard layout, i.e. in a folder called wps/.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29545 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 21:05:57 +00:00
Dominik Riebeling
8059347300
Fix cross compiling on Linux: Python uses "linux2" as platform name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29539 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 21:22:57 +00:00
Dominik Riebeling
4cc2cc430c
Fix a potential variable problem. Change some messages a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29534 a1c6a512-1295-4272-9138-f99709370657
2011-03-06 17:37:27 +00:00
Dominik Riebeling
43a40caa37
Support cross compiling for Windows target.
...
Restructure deploy.py by moving the platform decisions out of the calling
scripts. This is necessary when cross compiling since this is only decided in
deploy.py. Add support for passing a cross compiler prefix on the command line
and always build targeting Windows if set.
Correct some whitespace errors and long lines while at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29531 a1c6a512-1295-4272-9138-f99709370657
2011-03-06 00:04:26 +00:00
Dominik Riebeling
e1244a0dff
Remove outdated and unmaintained wpseditor.
...
The wpseditor is superseded by the Theme Editor these days.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29528 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 21:12:31 +00:00
Dominik Riebeling
8c6b8e6cd5
Theme Editor: make cross compiling on OS X work.
...
The attempt to detect if building a fat library is necessary for libskin_parser
makes cross compiling fail on OS X. Allow overriding the target platform for
libskin_parser to fix that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29515 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 12:50:46 +00:00
Amaury Pouly
f85c04469e
sbinfo: fix a few typos (thanks to Kane Xie), correct coding style, now generate segments along with program sections to make elf files appear more valid (this allows to rebuild an .sb file using elftosb2)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29510 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 09:22:32 +00:00
Andree Buschmann
01c0523e3f
Revert nonsense change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29195 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 22:02:56 +00:00
Andree Buschmann
adf7224538
Fix red. Replace remaining MEM's mit MEMORYSIZE.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 17:55:04 +00:00
Robert Bieber
5729be4017
Theme Editor: Updated rendering code to accomodate new format for %xd tags, including long names, numerical tile specification, tag-evaluating tile specification, and tile offset
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29107 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 08:45:59 +00:00
Nils Wallménius
fcb9ea4002
parse_testcodec.rb: add new 'pegase' filenames so they get a heading and fix printing of the MHz needed for realtime values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28876 a1c6a512-1295-4272-9138-f99709370657
2010-12-22 13:27:55 +00:00