summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2020-07-10voice: Enhance 'espeak' to automatically pick the language + voiceSolomon Peachy1-7/+24
Most of the 'perfect' or 'good' translations are covered. Also, don't override user-specified voice Change-Id: I837bd67e9df2b8bcc7e020f12a2f411c9175565b
2020-07-09build: Get rid of svn vestiges from version scriptSolomon Peachy1-37/+9
Set 10-character git shortrevs for consistency with modern git defaults Change-Id: I694f09acd5da1c9b837c9a71a82bd7b72578efd7
2020-07-09Python3-related fixes in some of our scriptsSolomon Peachy1-29/+29
Change-Id: I8acbe43e3f27e51159a7a78fcc361476d7406cbb
2020-07-09voice: Fix some perl warningsSolomon Peachy1-4/+4
(got lost in the output during my test runs) Change-Id: I3467b96a9607a4d6cf1e26348cd496be508809d3
2020-07-08voice: Add support for Google Translate's speech synthesizerSolomon Peachy2-51/+93
Uses the 'gtts-cli' command line client. Supports a wide variety of languages, including all "Complete" and "Good" Rockbox translations. Additional changes: * voice synth script can accept pre-encoded mp3 files * Move language->synth options mapping into the voice script * Additional cleanups Change-Id: I9523e2bca87cbcee2d8c4111f9892e8e458c7419
2020-07-02build: add '-fcommon' to the toolchain build flags.Solomon Peachy1-1/+1
This allows binutils 2.16 to build successfully with GCC10. Change-Id: Iddcd4156720f4fa05936ea459991866fc6e1524d
2020-06-30database: Fix makefile syntax for GNU Make 4.3+Solomon Peachy1-2/+4
Change-Id: If8749aff19f92aae28f5f73aaf843428d7f4b462
2020-06-25docker-rbclient: use CMD instead of ENTRYPOINTFranklin Wei1-1/+1
This makes it easier to override from the command line. Change-Id: I4bbd2995ed442b119b696da94ce1670304e59933
2020-06-07mi4: Correct a build warning/error that pops up on stricter hostsSolomon Peachy1-6/+6
Change-Id: Ibf549472aa75a1f5e63eccb5ca7974dec506710f
2020-06-07misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links.Solomon Peachy7-7/+7
(This migration happened over a decade ago!) Change-Id: Ib396414a16f2d763e549af49e3f3b03047dab49c
2020-05-24fix configure script failing on gcc version numbersSebastian Leonhardt1-5/+8
There were two problems on my system: * MinGW-gcc returns version "7.3-win32" => the "-win32"-part must be stripped off * gcc -dumpversion returns only the major version number => use both -dumpfullversion and -dumpversion (in this order) as described here: https://stackoverflow.com/questions/45168516/gcc-7-1-1-on-fedora-26-dumpversion-now-only-includes-major-version-by-default Change-Id: I74fa1c572426aab2525a00a80170d859c166e31c
2020-05-20builds: Mark the Archos Recorder v1 as officially retired.Solomon Peachy1-4/+2
The last successful build was 87c6df9-131213, shortly after the 3.13 relase, but even before that, it had been problematic due to severe firmware image size limitations (200KB) of the hardware bootrom. (Current git code genrates an image about 220KB) Change-Id: Ibaf7bd61cbc0f0656c5e119bbb9934437aa9c47c
2020-05-19builds: Archos recorder v1 hasn't seen a release since 3.13 (in 2013)Solomon Peachy1-1/+1
Fix this, so the download metadata will do the right thing. Change-Id: I7f51f0252e0f72667374143a9cad1021acc58538
2020-05-17mkinfo: Use correct binary file for "actual size" on hosted targetsSolomon Peachy1-2/+10
Change-Id: Ia22743f3cab18fb1285bcec6429bb198525f37f8
2020-04-17talk.h make voice files check for proper number of entries on loadWilliam Wilgus1-0/+1
In addition to version and target also check id1_max & id2_max for proper length before allowing voice file to be loaded Change-Id: I36016059d07781b0bb43dd9873bbb6e565298d76
2020-04-16voice: Add support for Mimic TTS engine.Solomon Peachy2-4/+51
...It generates decent voice files in 1/10th the time of festival. Change-Id: I1bf9271633a8a0e9c483761b8685f296d2f303b8
2020-04-15Android: Compile native android bits with armv7-a CPU flagsSolomon Peachy1-5/+18
DX50/DX90 has a Cortex-A9 with NEON, use those specific flags for speed. Generic Android targets is for v4.4 (API 19) which doesn't support pre-v7 ARM CPUs, so target generic armv7-a with hardfp support. (This patch includes a rearrangement of the android toolchain helpers to allow target-specific GCCOPTS. Huzzah) Change-Id: I696051ef3fae25e1569c7b904decb7a3a0c6b674
2020-04-13checkwps: have the ./buildall.sh script log all build failures.Solomon Peachy1-1/+7
Change-Id: I61be0fca0cb65e7c7108180150df5585fd83c3b5
2020-04-13obsolete: Nuke the very-incomplete Archos AV300 targetSolomon Peachy2-27/+1
It's even missing a config header file. Just shoot it in the head. Change-Id: I4c5cdb4fb63361a4e4fc893e93d73d3890fe17df
2020-04-13android: Fix configure script for "newer" versions of the NDKSolomon Peachy1-51/+55
The oldest verison of the NDK one can still download today is version 10e from mid-2015, which comes with GCC 4.9, and no longer supports 32-bit hosts. With this, one can actually compile the iBasso DX50/DX90 targets again, as well as the generic android target, as long as one has the correct SDK platforms (v16 for ibasso, v19 for generic) and SDK tools installed. Change-Id: I62f2e742d5cfc13133244aeff75a928a7294ac91
2020-04-13rockboxdev: Remove the ability to build the special cy-ng ypr0 toolchainSolomon Peachy1-4/+4
We don't actually use it any more; let's not confuse folks with it. Change-Id: Ic8fbe9bc95495b0969249dc774c5adf2126a2b98
2020-04-12build: Fix iHIFI 770c nightly builds. Bad CaPiTaLiZaTiOn.Solomon Peachy1-1/+1
Change-Id: I921e2e6e1ed8f30e162c6183b9000cc1de3382de
2020-04-10voice: Add corrections for 'DAC' and 'ADC'Solomon Peachy1-1/+2
Change-Id: I9079382926ce19dd7afa50312179987f181855c3
2020-04-08hiby_patcher: Mangle the version string in the update payload if necessarySolomon Peachy1-8/+26
Change-Id: I204837f8a0e56fe51b3ee317be7d9f597b89f877
2020-04-07build: Update builds.pm with xDuoo X3ii & X20Solomon Peachy1-5/+21
Better document the file too Change-Id: I75148785b8ed95d1d6b442b34adee23cccd7da68
2020-04-06xDuoo X3II and X20 portMarcin Bukat2-22/+76
Provided by Roman Stolyarov Integration, Refactoring, and Upstreaming by Solomon Peachy X3II confirmed working by forum tester, X20 is nearly identical. This includes bootloader, main firmware, and the flash image patcher. Eventual Todo: * Further refactor AGPTek Rocker & xduoo hiby bootloaders * Further refactor AGPTek Rocker & xduoo hosted platform code Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
2020-04-05tools: Add a tool that patches Hiby_player-derived firmware images.Solomon Peachy1-0/+165
Confirmed to work on the AGPTek Rocker and xDuoo X3ii targets! Change-Id: I721c62b88b28282d1c85fd33e49262265cd2d6a5
2020-04-04rockboxdev: Store toolchain patches in-tree, instead of downloading themSolomon Peachy7-8/+778
This frees us from having to keep the web site in sync. Note that only currently-referenced patches were kept. Change-Id: I50da1b75baeac214cf142c8b76a05a8c56b4c1d4
2020-04-03toolchain: Parallelize the toolchain build if possibleSolomon Peachy1-2/+7
Let's actually use those newfangled multicore processors! Change-Id: Idfc21f10d634b969c49e7f22ab723e48951db0f0
2020-03-29FS#13184: Support 2048 byte sectors and images without bootloader in ipod_fwSolomon Peachy1-17/+32
(From Stefan Ott) I wrote a little patch for ipod_fw.c that allows me to create bootable images for the iPod video without using any external software. The patch adds two new options: - The -s option can now be used to specify the sector size in blocks (typically 512 or 2048) when generating an image. - The -n option can be used to create an image without a boot loader Change-Id: I35ebcd19ba1491bba76dfc8011e5a856108bb9ad
2019-11-15Bump versions for 3.15.Franklin Wei4-8/+8
Change-Id: Iecea72d420ded89023798e6d613cba1413adec73
2019-10-30Add some scripts to automate target listing and generating build-infoFranklin Wei2-0/+55
This adds tools/list_targets.pl and tools/build-info.pl. list_targets does exactly what it sounds like - it lists targets by target status. build-info automates the generation of build-info.release for new releases. Change-Id: I4c859fdeb54c8cc645832a7c4192f9d18590031e
2019-10-28Promote ipod6g to stable.Franklin Wei1-1/+1
Manual is done and rbutil support is merged. Change-Id: I27d8dcb88782a5c7f9ad08d17c8521be8dfe58af
2019-10-28builds.pm: Note that last Recorder build was 3.13Franklin Wei1-0/+1
We didn't build for the Recorder when doing 3.14. Change-Id: I141cba5d821a86b5aa84217d8b011e2112282ff0
2019-07-29lua add demo scripts, atexit handler, gui_scrollbar_drawWilliam Wilgus1-0/+16
Change-Id: Ie8794e8a487f73952dae43e036787b6972fdbbee
2019-07-28docker-rbclient: update READMEFranklin Wei1-16/+30
Change-Id: If7c3565147f1092e3104d7f08e705aaaf6aafd5d
2019-07-28docker-rbclient: whitespace fixFranklin Wei1-2/+2
Gerrit's web editor can't be trusted. Change-Id: I0dd4a6ab2f8e3600fb37e9806adf6c067feea9ed
2019-07-28Add build code for Docker development environmentFranklin Wei3-0/+134
This simplifies the tedious task of building all the Rockbox toolchains manually by providing a build code for a Docker container image. It's useful for quickly spinning up a build client with just a couple commands and no waiting to compile (though downloading takes a little while). I've built an image as built1n/rbclient on Docker Hub. All toolchains (even the weird ones) are included, except android16. Change-Id: I6b863628ffb397604f59ec6def2f8bb8c8c7185f
2019-07-28Use full_path_subst on more places, to avoid replacing the wrong occurrences inVencislav Atanasov2-2/+2
paths. If ROOTDIR=/rockbox and BUILDDIR=/rockbox/build-something, it is now possible to successfully build both target binaries and simulators. Change-Id: If12d1d5933c5a15feebf627a4f1636dc1e3a67fa
2019-07-26Add Vagrant configuration for creating a development VMVencislav Atanasov4-0/+120
Vagrant is an application that automates creation and provisioning of a virtual machine for development. The config here creates an Ubuntu 16.04 LTS machine, updates it, downloads and installs the toolchains for sh, m68k and arm, mingw-w64, SDL (for Windows simulators) and other packages needed for building Rockbox. It works fine for building a Windows simulator and compiling iPod classic binaries. It should be possible to make the other build types, too. MIPS toolchain fails to build, ARM-APP is not tested because the files download very slow on my connection. Please test if it works for you, and let me know. Quick start: download and install Vagrant and VirtualBox for your operating system, make sure VT-x / AMD-V is enabled in your BIOS/EFI setup, open a shell in rockbox/tools and input the command "vagrant up" Change-Id: Ief5476ab066663a4db7e85404b25d2d781d90532
2019-07-20build: Fix puzzles build due to missing dependencySolomon Peachy1-1/+1
As rbcompat.h is -include'd on the command line, the mkdep script doesn't pick it up. Explicitly add the dependency to lang_enum.h to the makefile. Also add lang_enum.h to the 'make clean' target! Change-Id: I33c8ed0cd5c1d44dce02ac9285469c0e4feac00e
2019-07-20Fix Red - Talk support for pluginsWilliam Wilgus1-1/+1
generate lang_enum prior to apps Change-Id: Ib484138e2b01267db856415db0364d8c93237073
2019-07-20FS#7704 - Talk support for pluginsSolomon Peachy1-2/+21
Original patch by Mario Lang Heavily updated by Igor Poretsky Further updated by myself This patch breaks binary API compatibility by placing the new functions where they make the most logical sense. IMO this is the better approach to take given the scope of the changes needed for talk support. Since binary API is changing, the patch also moves some other functions around to more logical locations. As well as voice support in plugins, this patch voice-enables several simple plugins. There will be follow-up patches for many plugins that build on this one. Change-Id: I18070c06e77e8a3c016c2eb6b6c5dbe6633b9b54
2019-07-19Put -lfirmware in CORE_LIBS, to fix -thumb buildsFrank Gevaerts1-2/+2
For unknown reasons, -thumb builds need -lfirmware after -lrbcodec (but still before -lunwarminder)i. Other builds are still happy if we do that. Including it via CORE_LIBS instead of explicitly achieves that. Change-Id: Id69e4a0c042f90f71cfd9a72202ce4d8ef6a4181
2019-06-17configure: add --32-bit option to build a 32-bit simulator/applicationFranklin Wei1-0/+10
I use this to test duke3d in the sim, because it does some nasty pointer arithmetic with 32-bit ints. Should be useful for other things as well. Change-Id: I807c81b32c61538de9edc3fca77fde193dc4e617
2019-01-02Fix a capitalization typo in the ihifi770c configure target name.Solomon Peachy1-1/+1
Change-Id: Iccdb109329cec2de477e1f96f30335dbdea535ad
2019-01-02Add Xuelin iHIFI 770/770C/800 supportSolomon Peachy2-5/+87
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
2018-12-25build: Properly generate build dependency for autogenerated bitmap .h filesSolomon Peachy1-0/+2
* bmp2rb generated a .h file that rockbox .c files used. * .h files in .c files were used to generate dependency graphs for make * When Make saw the .h file for the bitmap, it didn't know how what to do with them * Only arose in parallel builds Fixed this by adding explicit dependencies for the .h files as part of the existing 'bmpdepfile' function. Solves the Xduoo X3 bootloader build failure that I could trigger 100% of the time by using 'make -j8' Change-Id: I6b3e78dde26c820a3b6c7c286e7d6c981b8e01fc
2018-12-22Support using 'rbspeak' to generate voice files.Solomon Peachy2-4/+25
(Full credit to Igor Poretsky) Change-Id: Ib9c5d2748cd7e0543b7fd110e83b4656089254b8
2018-12-10Fix host build for newer linux distrosWilliam Wilgus1-12/+5
I realized there was a better way to do this.. Instead of specifying a path just have gcc run the preprocessor (-E) on an input file consisting of only '#include <byteswap.h>' if it succeeds then we can use it if not then don't define OS_USE_BYTESWAP_H Change-Id: I0de8e469445221bc1b5ad8cc032de5b89a85ab66