summaryrefslogtreecommitdiff
path: root/utils (follow)
Commit message (Collapse)AuthorAge
* Correctly insert build ID.Dominik Riebeling2012-03-06
| | | | Change-Id: I35a85ffd78bd0a56a31d6ba0abbd6102727155d4
* Rockbox Utility: add "revision" information back.Dominik Riebeling2012-03-06
| | | | | | | Add a revision-like information and make deploy.py replace it with the git hash. Change-Id: Ic88ad0b2af255e76a7129a6a5cf52663b868fd32
* rk27load: fix linking with newer toolchainsMarcin Bukat2012-03-04
| | | | Change-Id: Id8f86e9f5ca78f41ef4e6c6a9244031afe83389d
* Append "64bit" only on 64bit binary.Dominik Riebeling2012-02-26
| | | | | | | | Don't rely on the build host having the same bitsize as the created binary. Fixes building a 32bit binary getting a "64bit" postfix when built on a 64bit Linux. Change-Id: I2aa61dee82beddd60ebfc8e227551ea49d769664
* imxtools: remove most calls to bug/bugp from core library.Amaury Pouly2012-02-19
| | | | | | | It should not exit() anymore on error except on malloc failure. Resource leaks on errors (especially I/O) are quite likely though. Change-Id: I6fcf72fb08fc683468b390d0b8745d31ca982b48
* imxtools: use rand() instead of /dev/random.Dominik Riebeling2012-02-08
| | | | | | | | | | | On Windows /dev/random does not exist, so trying to open it will fail. Replace it with rand() which is available on all supported platforms and sufficient. Fixes mkimxboot not working, as well as Rockbox Utility "crashing" (which is in fact its error handler calling exit(), thus terminating Rockbox Utility) on Windows. Change-Id: Ia164f937f329877e8f80f473f27be8c5df2a0a68
* When writing data from repository open file as binary.Dominik Riebeling2012-02-06
| | | | | | | | Windows requires files to be explicitly opened as binaries, otherwise it will perform line ending translations. We really don't want the OS to mess with that. Change-Id: Id56de354b7ad0e5b056540755f7108456f3263ed
* Update deployment script for git.Dominik Riebeling2012-02-05
| | | | | | | | First and rather rough adjustment for git. There are still a lot of places referring to svn, and various functionality might be broken which needs fixing later. Change-Id: Ia628f06e99f527e01f131ce674746fba77d97d23
* Python module to get (some) files from the repository.Dominik Riebeling2012-02-05
| | | | | | | | | | | With git it's not possible to simply export a set of paths from the server directly. This module offers a similar functionality, but requires a local clone of the repository. It calls git directly for maximum portability. This is a prerequisite to making the deployment script used for Rockbox Utility work again. Change-Id: I1aca8ddd40d16b6268c1d6a2fc23ac59e964c3c6
* sbloader: always send packets of size xfer_size (even the first). Also ↵Amaury Pouly2012-01-27
| | | | | | maintain a table of known transfer sizes. In particular stmp3770 uses 48 instead of 1024. Change-Id: I08dddc76c251aeeaaa3b46c9466f9be54c3d4a45
* Rockbox Utility: add missing folder to deployment script.Dominik Riebeling2012-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31584 a1c6a512-1295-4272-9138-f99709370657
* zenutils: remove unused empty fileRafaël Carré2012-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31574 a1c6a512-1295-4272-9138-f99709370657
* ypr0: Add variables to provide a argv and stdout/err redirection for running ↵Thomas Martitz2011-12-24
| | | | | | Rockbox to the loader script. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31426 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of the Samsung YP-R0 port.Thomas Martitz2011-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
* imxtools: fix compilation when cross compiling for windows (tm doesn't have ↵Amaury Pouly2011-12-17
| | | | | | timezone fields) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31342 a1c6a512-1295-4272-9138-f99709370657
* amsinfo: save files with .bin extensionRafaël Carré2011-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31219 a1c6a512-1295-4272-9138-f99709370657
* Convert one more file from DOS to UNIX.Torne Wuff2011-11-06
| | | | | | | Missed one, oops. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30925 a1c6a512-1295-4272-9138-f99709370657
* Bulk convert all DOS line endings to UNIX.Torne Wuff2011-11-06
| | | | | | | | | | | | | | For the git migration we want a nice clean repository with UNIX line endings. git does not use svn:eol-style, we just need the file contents to be sane. Sorry everybody. I know this messes up blame. Scumbag *NIX developer says migrating to git will make line ending issues go away; commits giant change to svn which changes line endings anyway. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
* imxtools: add function to free instructionAmaury Pouly2011-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30919 a1c6a512-1295-4272-9138-f99709370657
* imxtools: add const and set pointer to NULL on free to avoid double freeAmaury Pouly2011-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30918 a1c6a512-1295-4272-9138-f99709370657
* elftosb: add staticAmaury Pouly2011-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30915 a1c6a512-1295-4272-9138-f99709370657
* sbtools: rename to imxtools, move imx_hid_recovery to imxtools/sbloader, fix ↵Amaury Pouly2011-11-06
| | | | | | tools to correctly handle/free memory, properly return error codes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30907 a1c6a512-1295-4272-9138-f99709370657
* Add missing copyright headerAmaury Pouly2011-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30883 a1c6a512-1295-4272-9138-f99709370657
* sbtoos: restore elf extraction functionality of sbtoelfAmaury Pouly2011-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30882 a1c6a512-1295-4272-9138-f99709370657
* sbtools: move sb reading from sbtoelf.c to sb.c with a proper interface, fix ↵Amaury Pouly2011-11-01
| | | | | | sb production bug, fix ugly code, add sb dump code and sbtoelf loopback facility git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30881 a1c6a512-1295-4272-9138-f99709370657
* sbtools: rework the color hack and add switch to disable color outputAmaury Pouly2011-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30880 a1c6a512-1295-4272-9138-f99709370657
* Fix a typo spotted from r30864.Robert Menes2011-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30865 a1c6a512-1295-4272-9138-f99709370657
* beastpatcher: check WMP version.Dominik Riebeling2011-10-30
| | | | | | | | The current implementation fails silently if Windows Media Player is version 10. Add a check and inform the user if the version installed is too old to work properly with beastpatcher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30864 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix handling of raw mode, have elf_write looks like elf_read, fix ↵Amaury Pouly2011-10-29
| | | | | | uninitiliazed offset of bss sections, add real key override on decrypt git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30858 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix compilation when linker expects correctly ordered filesAmaury Pouly2011-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30854 a1c6a512-1295-4272-9138-f99709370657
* sbtools: add options to override real key and IV, fix output prefix in ↵Amaury Pouly2011-10-29
| | | | | | sbtoelf, unify command line to add keys git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30852 a1c6a512-1295-4272-9138-f99709370657
* sbtools: move sb file production to its own file with a clean api, factor ↵Amaury Pouly2011-10-29
| | | | | | key reading even more git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30851 a1c6a512-1295-4272-9138-f99709370657
* sbtools: factor key code, introduce crypto layer, move from open/read/... to ↵Amaury Pouly2011-10-29
| | | | | | fopen/fread/..., add support for encryption/decryption using a device when the key is not known, move sbtoelf to use getopt for command line git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30849 a1c6a512-1295-4272-9138-f99709370657
* sbtools: be more verbose on real key and iv; add very advanced code to craft ↵Amaury Pouly2011-10-23
| | | | | | images git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30835 a1c6a512-1295-4272-9138-f99709370657
* sbtoelf: don't cross check if key is not validAmaury Pouly2011-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30834 a1c6a512-1295-4272-9138-f99709370657
* sbtoelf: handle the case where only one valid key is knownAmaury Pouly2011-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30833 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix sbtoelf to support NOP, add alignment support to elftosbAmaury Pouly2011-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30832 a1c6a512-1295-4272-9138-f99709370657
* imx_hid_recovery: rewrite MakefileAmaury Pouly2011-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30830 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix sbtoelf to handle files with more than one hundred commandsAmaury Pouly2011-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30810 a1c6a512-1295-4272-9138-f99709370657
* Rockbox Utility now requires voice-corrections.txt.Dominik Riebeling2011-10-19
| | | | | | | Add to deployment configuration to make it work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30809 a1c6a512-1295-4272-9138-f99709370657
* Fix off-by-one buffer errorThomas Jarosch2011-10-14
| | | | | | | | The _GET_CPU macro will write a terminating zero at cpu[8]. Detected by cppcheck git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30749 a1c6a512-1295-4272-9138-f99709370657
* Add support for i.MX28 to imx_hid_recovery, thanks to Wolfram Sang.Amaury Pouly2011-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30576 a1c6a512-1295-4272-9138-f99709370657
* sbtools: implement more complicated integer expression in db files, ↵Amaury Pouly2011-09-16
| | | | | | implement data sections, section attributes, file options, rework command line attributes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30562 a1c6a512-1295-4272-9138-f99709370657
* sbtools: move the db parse to its own file and improve error messagesAmaury Pouly2011-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30557 a1c6a512-1295-4272-9138-f99709370657
* sbtools: implement virtual to physical address translation for elf filesAmaury Pouly2011-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30556 a1c6a512-1295-4272-9138-f99709370657
* sbtools: fix code to work with file larger than header indicated sizeAmaury Pouly2011-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30544 a1c6a512-1295-4272-9138-f99709370657
* sbtools: relax file size condition (easier to work with)Amaury Pouly2011-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30543 a1c6a512-1295-4272-9138-f99709370657
* rk27load - fix indentationMarcin Bukat2011-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30460 a1c6a512-1295-4272-9138-f99709370657
* Fix free on wrong variableThomas Jarosch2011-08-25
| | | | | | Credit goes to "cppcheck" again ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30353 a1c6a512-1295-4272-9138-f99709370657
* Don't close file descriptor twiceThomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30352 a1c6a512-1295-4272-9138-f99709370657