path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2018-06-12bmp2rb: Add XRGB 32bit native formatMarcin Bukat1-5/+34
Change-Id: Ic4af5a7c53c032e58dc252d1f69001d7aafd7f26
2018-06-12Agptek Rocker: Build pluginsMarcin Bukat1-1/+1
Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
2018-06-12Agptek Rocker: Restrict root directory to SD onlyMarcin Bukat1-1/+0
Actual / of underlying linux OS should not be available to user. I am still not sure if implementation is correct. It doesn't perform any relative path sandboxing for example. Change-Id: Ic577a10f3947f6e950e2c4d03173f9f207395eb7
2018-06-12Agptek Rocker: Add tools to work with OF update imagesMarcin Bukat5-0/+316
Original firmware update is provided as .upt file. This file is actually ISO9660 image containing uBoot, kernel image and UBIFS rootfs and additional control files. Installing bootloader means patching UBIFS rootfs image. Change-Id: Ica86d1189dc1d5f3131d2035d8b87c8d08ec36b5
2018-06-12Agptek Rocker: Initial commitMarcin Bukat2-2/+51
Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
2018-06-12mipsel-rockbox-linux toolchain build fixMarcin Bukat1-1/+4
If we use mips-rockbox-linux target resulting toolchain is big endian. If we use mipsel-rockbox-linux build fail since linux doesn't have separate archs for BE and LE mips. So we tweak arch passed to linux-headers stage to fix this. Change-Id: Iccae529998d1cd8f3429fa3b2ca4f030122f23bb
2018-06-12Add generic linux MIPS toolchainAmaury Pouly1-1/+36
Change-Id: I9f8927e348421bd8592d62eb61f6acf324d5f3a4
2018-04-03Zen XFi2: Enable PluginsSebastian Leonhardt1-1/+1
Keymaps aren't tested, there may be room for improvement. Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
2017-11-14nwz: enable plugins on all targets except NWZ-A860Amaury Pouly1-7/+7
Keymap might be suboptimal. Change-Id: Ibaf51e91cf935c96b7f419647fe1147dee6cc8be
2017-11-06nwzlinux: add support for radioAmaury Pouly1-9/+9
None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
2017-09-17Add NWZ-E350 as unstableAmaury Pouly1-0/+4
Change-Id: I13cb173b2e0eee8799469c6b9a7029cb965dc2dd
2017-09-17Add support for the NWZ-E350bootloader_nwze350_v1Amaury Pouly2-12/+37
Strangely it has the SAME encryption key as the E450. Either they didn't bother changing it or more likely they have exactly the same internals and a slightly different case. Change-Id: I39ab88845b3e40db34160c2e61dde421f391df44
2017-09-17Add support for the Sony NWZ-S750Amaury Pouly3-2/+31
Change-Id: I9050129949809b3dbe9f4f9e816f8980c4f3a904
2017-09-17Add NWZ-A860 as unstableAmaury Pouly1-0/+4
Change-Id: Iba944551d7bf4e1f24ffbd4f2a0be82eee395651
2017-09-17Add support for the NWZ-A860Amaury Pouly2-2/+27
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
2017-09-06fix yellowsAmaury Pouly1-1/+0
Change-Id: Ie27d3aa7d2485b4eb053af48ba34ad6526bf6472
2017-09-06Add NWZ-E450/E460/E470/E580/A10/A20 as unstableAmaury Pouly1-0/+24
Change-Id: If4e20893e77f1f0e7b1d38ce21a8e945b7930463
2017-09-06Add support for Sony NW-A20Johannes Rauh2-3/+28
Add original author to CREDITS Change-Id: I7a0159635c7896e2b5521c078ef62618f568d89e
2017-09-05Initial commit for the Sony NWZ linux portAmaury Pouly3-13/+166
SUPPORTED SERIES: - NWZ-E450 - NWZ-E460 - NWZ-E470 - NWZ-E580 - NWZ-A10 NOTES: - bootloader makefile convert an extra font to be installed alongside the bootloader since sysfont is way too small - the toolsicon bitmap comes from the Oxygen iconset - touchscreen driver is untested TODO: - implement audio routing driver (pcm is handled by pcm-alsa) - fix playback: it crashes on illegal instruction in DEBUG builds - find out why the browser starts at / instead of /contents - implement radio support - implement return to OF for usb handling - calibrate battery curve (NB: of can report a battery level on a 0-5 scale but probabl don't want to use that ?) - implement simulator build (we need a nice image of the player) - figure out if we can detect jack removal POTENTIAL TODOS: - try to build a usb serial gadget and gdbserver Change-Id: Ic77d71e0651355d47cc4e423a40fb64a60c69a80
2017-09-04Modernize toolchain script and add generic arm toolchainAmaury Pouly1-80/+476
I did some cleanup of redudant stuff, simplify some logic, also switch to bash because sh in the pain when ones want to locally define variables for functions calls. I also added support to download more stuff like alsa-lib and more recent gccs that use a different naming convention, as well as linux kernels. I also add some build to build linux toolchains without ct-ng. The biggest problem with ct-ng is that they regularly drop support for old stuff and as a result it rots really quickly for old toolchains. I add a new toolchain for generic linux arm with the minimum requirements, it works fine on Sony NWZ and also on YP-R0. Finally, now understand options on its command line (see --help). Notably --target to give the list of targets (useful for noninteractive scripts), --restart to restart at a step, --makeflags and others (instead of the environment variables) Change-Id: I869760c1faeb00ab381796a4cda82ffbc9637123
2017-08-27Implement warning silencing in a cleaner wayFranklin Wei1-0/+5
Change-Id: Iae6356c7e9e04f4e975b1995f77a35f6252293a4
2017-08-27Revert "Silence GCC 7.x warnings when building simulator"Franklin Wei1-5/+0
This reverts commit b13f6e5b67abda2e466731f39d221eec2c9eb576.
2017-08-23Silence GCC 7.x warnings when building simulatorFranklin Wei1-0/+5
Adds -Wno-expansion-to-defined and -Wimplicit-fallthrough=0 to sim opts. Change-Id: I62148e392446ae6a3fbe4c4d55770b72962e393d
2017-05-16Fix formatting in configureAmaury Pouly1-1/+1
Change-Id: Ie877121bb60df6fb1fed4f778cc9aa0f5c426ed8
2017-05-12Fix unsafe substitutions in Makefile.Amaury Pouly2-1/+16
Strange things can happen in the (unlikely) case that ROOTDIR=/rockbox Change-Id: I085f928fd859b307667e8fccf40b29a9c325f7ae
2017-04-30fix nano status (3=stable)Franklin Wei1-1/+1
Change-Id: I6e86e6ef0894f28c6583eca8273fadf51028e924
2017-04-30N2G is stable and 6G is unstableFranklin Wei1-3/+2
Change-Id: Ib5b939debb1db838907d33563784d336fdad3444
2017-04-30Actually bump version to 3.14Franklin Wei4-8/+8
This reverts commit e59197f07869d63bfc90dbce000d6af9c0fb73de.
2017-04-30Revert "Bump version to 3.14"Franklin Wei4-8/+8
This reverts commit 42115ffab8c36ee9f1dead8f20a6da93bb7298db.
2017-04-30Bump version to 3.14Franklin Wei4-8/+8
Change-Id: I839e90638d55782d0ce330808051842de581a0bd
2017-01-16Fix typo in configureAmaury Pouly1-1/+1
Change-Id: I142822983bf1144ab265caf5e9a488c5e423da4f
2017-01-16Fix path handling snafu for CheckWPS toolMichael Sevakis3-5/+8
Somehow it got hooked to simulator file functions when it should be (and was) using raw OS functions. Credit: Frank Gevaerts Change-Id: Iac02fed1067830a432183632a047e00dfd03d3c2
2017-01-15Fix configure for windows simulator builds in cygwin / mingw cross-compiling ↵Matthias Mohr1-13/+76
environments. Fixes and Changes to configure the Windows simulator builds mostly for cygwin / mingw cross-compiling environments: - fix CROSS_COMPILE values including detection for old and newer mingw environments - fix detection of sdl-config by searching inside CROSS_COMPILE sys-root - fix call of sdl-config and use correct (found) version - add possibility to build a 64-bit simulator - added several -Wno- options to GCCOPTS to prevent annoying compiler warnings - use cross-compiler as HOST_CC if no "native" HOST_CC is available Change-Id: Ib5dd288c3f9a11be9b66e53e3406eadfa65f7604 fix compilation of ARM toolchainAmaury Pouly1-1/+1
This will breaks mips but mips is already super hard to build anyway. Change-Id: Ia481a22440758fe72a87e2808f4fb8d31c49cb53
2016-09-23Fix makefile not rebuilding rbversion.h in some casesAmaury Pouly1-2/+3
For example when running make VERSION="bla" Change-Id: I8f8833f0fb200828346ed0a6842a9340e3653932
2016-09-22Mark Philips GoGear players as stable.Szymon Dziok1-3/+3
Change-Id: Id1f22488724d3ada5fa6efffc87e444add86400d
2016-09-22Mark Samsung YH players as stable.Szymon Dziok1-3/+3
Change-Id: I4a0e8b7042ca54bf653ff2ce46a93f87000b0b2d
2016-09-21Move ZEN X-Fi/X-Fi3/X-Fi Style/Mozaic, NWZ-E360/E370/E380 and Fuze+ to stable.Amaury Pouly1-9/+13
Move ZEN and ZEN X-Fi2 to unstable. Change-Id: I432d99b4fa976d93e2db883869995802a41186b6
2016-08-21Print make version in configure output.Frank Gevaerts1-0/+3
This should make it easier to figure out random build issues. Change-Id: Ic037ecc94a3c8386043349db1573c3587d7e1fda
2016-08-12Silence newer toolchains a bitFrank Gevaerts1-0/+9
Newer toolchains (both gcc and libc related) add a lot of warnings. While these can be useful and correct, cleaning them up woult be a lot of work and isn't likely to actually happen any time soon. Change-Id: I8c4e8cd3dc92f9afa4bf003c63ca65e895e3ef00
2016-06-01Fix broken simulator build with weird sdl-configFranklin Wei1-3/+8
* --static-libs isn't supported on some (possibly newer) SDL installs, falls back to --libs if this is the case Patch mostly by Amaury Pouly. Change-Id: I6dd2f4847f2a2d1de7b2d287c0af6651cec461ff
2016-05-25Use an actually reliable method to determine 32 vs 64 bitFrank Gevaerts1-1/+9
Change-Id: Idba256ae66e67efa7a03f3817bc588e0b4ccd4ba
2016-05-13configure: statically link sdl on win32 cross compileAmaury Pouly2-13/+2
Change-Id: If9115da0470e2c301589329af67433f7260d24d3
2016-02-02configure: allow for compiler toolchain override (with warnings)Amaury Pouly1-0/+8
The current configure script unfortunately does not allow one to use another toolchain than the one hardwire in the script. Although this is good to ensure working builds, it can be burden when one wants to either test other compilers, does not want to have to multiple redundant compilers or when the compiler install script fails for unknown reasons (MIPS I'm looking at you). The syntax is simple, for example: /path/to/configure --compiler-prefix arm-none-eabi- Also 'make reconf' will properly keep the prefix. Change-Id: I5ee3bc61afa10193586ddd3aef694a8ac08854e2
2015-06-20Fix rebuilding librbspeex on OS X and make rm work on Windows.Dominik Riebeling1-3/+6
OS X ar operates on fat libaries and cannot update existing archives. Remove it first to avoid this. Use a make function when removing files to allow calling the correct command on Windows, which doesn't know about rm. Change-Id: Ia0c13ef7907239a1e6f4abc26bb08238a226c476
2015-04-19configure: harden arch autodetected a bitThomas Martitz1-2/+2
Some arm gcc versions have multiple cpp symbols beginning with __ARM_ARCH, but want only the one that contains the arch version. Change-Id: I6792572e29200fc4e62ba07bdd63dc722356c2bb
2015-02-21iBasso DX50/DX90 added as "unstable" to builds.pmSimon Rothen1-0/+8
Change-Id: If6c906c363341aa8c80b6c5010274ce07daef4c8
2015-02-15Prevent configure from being run in the root of the tree, fix a typo in the ↵Franklin Wei1-1/+18
configure script Change-Id: I61205c2f00edbdcd726ca455a67c810fafe3ca92
2015-02-02iBasso DX50/DX90: Major code cleanup and reorganization.Udo Schläpfer2-19/+72
Reorganization - Separated iBasso devices from PLATFORM_ANDROID. These are now standlone hosted targets. Most device specific code is in the firmware/target/hosted/ibasso directory. - No dependency on Android SDK, only the Android NDK is needed. 32 bit Android NDK and Android API Level 16. - Separate implementation for each device where feasible. Code cleanup - Rewrite of existing code, from simple reformat to complete reimplementation. - New backlight interface, seperating backlight from touchscreen. - Rewrite of device button handler, removing unneeded code and fixing memory leaks. - New Debug messages interface logging to Android adb logcat (DEBUGF, panicf, logf). - Rewrite of lcd device handler, removing unneeded code and fixing memory leaks. - Rewrite of audiohw device handler/pcm interface, removing unneeded code and fixing memory leaks, enabling 44.1/48kHz pthreaded playback. - Rewrite of power and powermng, proper shutdown, using batterylog results (see - Rewrite of configure (Android NDK) and device specific config. - Rewrite of the Android NDK specific Makefile. Misc - All plugins/games/demos activated. - Update tinyalsa to latest from Includes - - - Does not include due to new backlight interface and new option for hold switch, touchscreen, physical button interaction. Rockbox needs the iBasso DX50/DX90 loader for startup, see The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If /mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit gracefully and the loader will restart Rockbox on USB disconnect. Tested on iBasso DX50. Compiled (not tested) for iBasso DX90. Compiled (not tested) for PLATFORM_ANDROID. Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-01-03Multiple variables for 'my' need to be in parenthesisThomas Jarosch1-1/+1
perl -wc reported: Parentheses missing around "my" list at line 9. Useless use of a variable in void context at line 9. Useless use of a variable in void context at line 9. Useless use of a variable in void context at line 9. Useless use of a variable in void context at line 9. Name "main::doonly" used only once: possible typo at line 9. -> now it's happy. Change-Id: I3b3685d6918ddb77e47c58bade931897075c6e04