summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2011-07-22sbtools: add missing cariage return, implement boot mode command, add C++ ↵Amaury Pouly2-43/+114
style comments support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30192 a1c6a512-1295-4272-9138-f99709370657
2011-07-04elftosb: remove duplicate code, merge two redundant fieldsAmaury Pouly1-9/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30123 a1c6a512-1295-4272-9138-f99709370657
2011-07-02elftosb: support 'strings' in section id, support load binary at address, ↵Amaury Pouly1-29/+182
support call/jump at address git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30110 a1c6a512-1295-4272-9138-f99709370657
2011-06-30elftosb: add support for jumps/calls with one argumentAmaury Pouly2-7/+21
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-13sbtools: add support for the mode command (rarely used) and explicit env ↵Amaury Pouly2-0/+20
variable to skip version check git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30003 a1c6a512-1295-4272-9138-f99709370657
2011-06-09sbtools: always check the result of getenv against NULL, use strcasecmp ↵Amaury Pouly2-4/+17
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-09sbtoelf: add environment command to ignore format version checks (some files ↵Amaury Pouly1-2/+2
do not match it seems) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29988 a1c6a512-1295-4272-9138-f99709370657
2011-06-08Remove superfluous executable bits on a bunch of files.Torne Wuff10-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29986 a1c6a512-1295-4272-9138-f99709370657
2011-06-04Move various logo files to a single location.Dominik Riebeling1-0/+1
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-05-30Rockchip rk27xx utilsMarcin Bukat28-0/+1845
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29936 a1c6a512-1295-4272-9138-f99709370657
2011-05-29Theme Editor: add libskin_parser files to clean rule.Dominik Riebeling1-0/+4
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-13sbtools: fix a few memcpy with overlapping src/dst, fix a parsing bug (would ↵Amaury Pouly3-3/+3
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-13sbtools: be more verbose on debug and fix a bug (uninitialized structure)Amaury Pouly2-0/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29867 a1c6a512-1295-4272-9138-f99709370657
2011-05-08Fix BUILDID getting appended even if not set.Dominik Riebeling1-9/+9
Rename some stuff to make it clearer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29836 a1c6a512-1295-4272-9138-f99709370657
2011-05-05deploy.py: support adding a build id.Dominik Riebeling2-20/+37
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-02sbtools: generate a unique name for each sectionAmaury Pouly1-10/+25
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-01Add imx_hid_recovery_tool to send a sb file to a imx chip using the HID ↵Amaury Pouly2-0/+159
recovery mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29807 a1c6a512-1295-4272-9138-f99709370657
2011-05-01sbtools: do not rely on the ELF flags and always assume the entry point is validAmaury Pouly2-5/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29806 a1c6a512-1295-4272-9138-f99709370657
2011-04-30Rockbox Utility deployment: insert revision into OS X' Info.plist too.Dominik Riebeling1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29800 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Correct revision replacement string gotten replaced by svn itself.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29766 a1c6a512-1295-4272-9138-f99709370657
2011-04-18sbtools: fortify code against weird elf files with no string table and/or no ↵Amaury Pouly1-6/+11
sections/programs headers ! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29747 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbtools: document a bit the command file formatAmaury Pouly1-0/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29744 a1c6a512-1295-4272-9138-f99709370657
2011-04-17elftosb: implement encryption support; now fully workingAmaury Pouly1-4/+42
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29743 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbtoelf: fix to handle unencrypted files (minor tweak)Amaury Pouly5-29/+234
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-17elftosb: more code toward sb productionAmaury Pouly1-15/+95
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29741 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbtoslf: command size doesn't include itself, but section can be padded with ↵Amaury Pouly1-1/+1
random data git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29740 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbtoelf: include a raw command mode to see hidden command used by the ↵Amaury Pouly2-56/+196
bootrom (tag and nop) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29739 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbtools: move internal elf definition to elf.c, implement elf readingAmaury Pouly4-149/+449
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-17sbtools: add elftosb tool, yet to be finished (parsing of keys and command ↵Amaury Pouly1-0/+472
files done) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29735 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbtools: update Makefile; fix whitespacesAmaury Pouly3-13/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29734 a1c6a512-1295-4272-9138-f99709370657
2011-04-17Rename sbinfo to sbtools and sbinfo.c to sbtoelf.c; preparing for future elftosbAmaury Pouly10-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29733 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbinfo: make the time calculation clearerAmaury Pouly1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29732 a1c6a512-1295-4272-9138-f99709370657
2011-04-17sbinfo: use a define instead of hardcoded valuesAmaury Pouly2-5/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29731 a1c6a512-1295-4272-9138-f99709370657
2011-04-16sbinfo: move more things to sb.h, rewrite code to use structures instead of ↵Amaury Pouly2-121/+95
hardcoded offsets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29723 a1c6a512-1295-4272-9138-f99709370657
2011-04-16sbinfo: move sb specific bits of its own headerAmaury Pouly2-42/+100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29722 a1c6a512-1295-4272-9138-f99709370657
2011-04-16sbinfo: fix section flags, don't output more than 80 characters per line, ↵Amaury Pouly1-29/+63
fix colours git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29720 a1c6a512-1295-4272-9138-f99709370657
2011-04-15sbinfo: fix section headers generation (first section is always undefined)Amaury Pouly1-2/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29714 a1c6a512-1295-4272-9138-f99709370657
2011-04-12Update parse_testcodec to parse AAC-HE files with parametric stereo.Michael Giacomelli1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29707 a1c6a512-1295-4272-9138-f99709370657
2011-04-06deploy.py: insert version number into sources.Dominik Riebeling3-1/+20
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-03-20Theme Editor: Made touch area position relative to enclosing viewportsRobert Bieber3-4/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29618 a1c6a512-1295-4272-9138-f99709370657
2011-03-08Fix wrong theme base path when loading a wps.Dominik Riebeling1-1/+2
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-07Fix cross compiling on Linux: Python uses "linux2" as platform name.Dominik Riebeling2-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29539 a1c6a512-1295-4272-9138-f99709370657
2011-03-06Fix a potential variable problem. Change some messages a bit.Dominik Riebeling1-8/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29534 a1c6a512-1295-4272-9138-f99709370657
2011-03-06Support cross compiling for Windows target.Dominik Riebeling3-97/+119
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-05Remove outdated and unmaintained wpseditor.Dominik Riebeling54-5918/+0
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-05Theme Editor: make cross compiling on OS X work.Dominik Riebeling1-1/+1
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-03sbinfo: fix a few typos (thanks to Kane Xie), correct coding style, now ↵Amaury Pouly3-43/+129
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-02-02Revert nonsense change.Andree Buschmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29195 a1c6a512-1295-4272-9138-f99709370657
2011-02-02Fix red. Replace remaining MEM's mit MEMORYSIZE.Andree Buschmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657
2011-01-22Theme Editor: Updated rendering code to accomodate new format for %xd tags, ↵Robert Bieber2-9/+63
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