summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
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
2018-12-08Fix Sim & checkwps for newer distrosWilliam Wilgus1-1/+6
__builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this Change-Id: I4d004e68313e8b32aa5587582be36bc459fdaf6b
2018-12-07Fix Sim for newer distrosWilliam Wilgus2-0/+48
__builtin found fix for rbendian.h tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in /usr/include/ maybe there is a better mechanism for this genshortcut.sh is a simple script to make .desktop shortcut files several newer distros don't allow you to run the simulator from the file manager, this or perhaps a different method can probably be included while building a sim at a later date. for now it can be run manually like so: similar to ../tools/configure run from your simulator folder ../tools/genshortcut.sh exepath shortname icon ex. ../tools/genshortcut.sh ./rockboxui clip+sim music-app Change-Id: Ia05d3a9349b27c5968a4a7a68b2eb480e60faec3
2018-11-10speech: additional correction rules for acronyms etc.Solomon Peachy1-0/+16
Taken from Igor Poretsky's tree. Change-Id: I339c3524916aebb71b6f81727c60ea1c7324e5eb
2018-09-28build: Log the zipfile creationSolomon Peachy1-0/+1
Change-Id: I7d5b923cfe6bc133a1b2ac39b39bbe07e327d9cd
2018-09-28misc: Fix some assorted compiler warningsSolomon Peachy2-2/+3
Change-Id: Ibc4aac79e6fce92ad4414ed50122c2d4d6295f89
2018-07-29Fix syntax error in builds.pmFranklin Wei1-1/+1
This should fix the build system. Change-Id: I7af7628083cf20aa85278dfa3fee70a0ccb2dcc3
2018-07-28Fix download link for the MIPS toolchain.Michael Giacomelli1-1/+1
2018-07-28Add cleaned-up xDuoo X3 supportSolomon Peachy5-2/+33
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
2018-07-28Update MIPS toolchain to GCC 4.9.4 and binutils 2.26.1, update configureAmaury Pouly2-7/+3
Change-Id: I4d3dad4521bdf0b0d6ee5d1635ddbf57483d2b42
2018-06-14Agptek Rocker: Add to builds.pmMarcin Bukat1-0/+4
Change-Id: I512dc1d5419d4e59a3dd2503ce9da0a826975af1
2018-06-14Agptek Rocker: Slightly tweak build procedureMarcin Bukat1-2/+1
In bootloader build create stripped binary bootloader.rocker Change-Id: Id67bebe82251fac22ad905ad3d49525691816746
2018-06-13Agptek Rocker: Update tools to alter .upt update imagesMarcin Bukat3-30/+48
Change all references to official rockbox repository Change-Id: I22d305bc6c6f89b8737b2bc15378bfd7fe10621e
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