Commit graph

35163 commits

Author SHA1 Message Date
Dominik Riebeling
185dfb42c2 rbutil: Fix wrong format string.
Only caused a warning, but no need to pass format parameters if there is
no format string.

Change-Id: Ifed38d8af3881c40e8609ccda3786cea23a3bc2f
2020-11-23 20:44:46 +01:00
Dominik Riebeling
9a52991bbd rbutil: Add support for installing daily builds.
Change-Id: If6618a4b2b1b0a718374ed8bac6976c4775947e1
2020-11-23 20:44:46 +01:00
Dominik Riebeling
1ba6785e46 rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I19f179907742092c970c27dd1bbf70f7e00fed76
2020-11-23 20:44:46 +01:00
Dominik Riebeling
ec730f1609 rbutil: Fix selecting the previously selected build type.
When starting Rockbox Utility select the same build type that was used
during the previous run. This broke during refactoring, fix it.

Change-Id: Ibbca3431cbfe65daedd3e5783e0940d83d1594a6
2020-11-23 20:44:46 +01:00
Solomon Peachy
64fe7e03a8 build-info: Additions for new rbutil.
Change-Id: If61c7a013af78e064a0f5f5ab1046ef07af44730
2020-11-22 12:41:53 -05:00
Dominik Riebeling
f598ef9c27 rbutil: Add support for installing daily builds.
Change-Id: If2bb23adcbd4a441f18846515c609118da8c5b5e
2020-11-22 18:30:01 +01:00
Dominik Riebeling
0ea8f074ed rbutil: Remove Install Voice button from Accessibility tab.
Installing the voice file is now done via the main installation.

Change-Id: I431744467faaf1720b3c82d339a424d67c84e6e6
2020-11-22 18:30:01 +01:00
Dominik Riebeling
0b911b7500 rbutil: Fix wrong section name in installation log.
Change-Id: I7e65d5486298253add0a4a0b5f07d4c979bb2098
2020-11-22 18:30:01 +01:00
Dominik Riebeling
ff7e8b4293 deploy: Update sources list for Rockbox Utility.
Change-Id: If23a2ee8056b124500e385a9d973dfbddbc32e02
2020-11-22 18:30:01 +01:00
Solomon Peachy
25529e4fe0 lang: More automated rejiggering, USB_MODE_* is no longer ibasso-specific
Change-Id: I8e7eb3bb3c5ed61572c0ade4059c3e3527558932
2020-11-22 14:45:16 +00:00
Dominik Riebeling
e8f8df4ee0 rbutil: Update Iriver h100 / h300 series bootloader paths.
The patching code now requires the new version 8.0 bootloaders.

Change-Id: I7bf26db2e0858523740c43e57863eb9480a93548
2020-11-22 14:52:46 +01:00
Dominik Riebeling
1b9eebb39d rbutil: Update Windows application icon.
Bring it in line with the other icons and always show the same image,
regardless of size.

Change-Id: I93f562fad168975f58064fdd64c42874f496cce6
2020-11-22 14:43:01 +01:00
Dominik Riebeling
ba2bbd60bd rbutil: Move Manual installation to main tab.
The manual tab didn't show the manual, so it's clearer to have that as
part of the main tab.

Also fixes the wrong manual getting downloaded for releases.

Change-Id: I5d4a287102af037f94f0de8464e025d9ff5f76ed
2020-11-22 14:43:01 +01:00
Dominik Riebeling
5f36aed4bf rbutil: Unify template parameter for release version.
Don't use different parameter names for the same parameter.

Change-Id: I3800d2ed7dcecf76b111b15945d62449efa70bcc
2020-11-22 14:43:01 +01:00
Dominik Riebeling
dfe9d63640 rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I984ce56b5b45bbe705ac178cfe26cbc8b0d7e9d2
2020-11-22 14:43:01 +01:00
Dominik Riebeling
1a3d12ceea rbutil: Don't try to install voice file if it's not available.
Change-Id: I42f70d6cf76298216bb626fd0fe760c0ce0a9835
2020-11-22 14:43:01 +01:00
Dominik Riebeling
0d2257d1f7 rbutil: Replace stringly types build type handling with enum.
Avoid having to repeat the same strings for lookup again and again and
use an enum instead, which is also less error prone.

Change-Id: I6ee8393948dbce97cb53850a6d8bdc4de12b4167
2020-11-22 14:43:01 +01:00
Dominik Riebeling
c2dacf6736 rbutil: Add voice installation to main widget.
Add checkbox for installing the prerendered voice file to the main
install widget. Current limitations:
- only english for now. The available languages are available from the
  build server but are not yet taken into account.
- only for releases. This is the same limitations we had before. We do
  have voices for daily builds, but that requires adding daily builds
  again (those have been removed some time back.)
- Old voice installation dialog still present.

Change-Id: Ia6443b0f15365196df86cc1b64d5e043dff70c4c
2020-11-22 14:43:01 +01:00
Dominik Riebeling
ad37655687 rbutil: Use pattern replacement for SystemInfo build type.
Use pattern replacement for lookup instead of expanded values. Will
allow simplifying things later for better handling of different build
types.

Change-Id: Iaad67a6c8654d27c3206cf95a379acab169565bc
2020-11-22 14:43:01 +01:00
James Buren
6b3b4df6f6 rockbox: move firmware checksum algorithms into a common header
Before this was just implemented inline wherever it was needed. Now
it is provided as 2 inline functions in a header called checksum.h.
There should be no differences in actual behavior.

Change-Id: I5d756cc01dc6225f5cc8b6af90911a3fc7b57cd5
2020-11-22 05:12:04 +00:00
Solomon Peachy
2eb191a3f4 manual: hopefully fix html generation
(by using the 'scrhack' package)

Change-Id: I229b59878016d18ac7714139debc1ad2b0621fed
2020-11-21 23:55:45 -05:00
Solomon Peachy
9d33ed10ab manual: Remove some (very) obsolete latex style files.
* scrreprt.4ht
  * booktabs.sty
  * optional.sty
  * pdfdraftcopy.sty

Use system-provided stuff instead.

Change-Id: I8d11d789b2e1c074a2b10f8ac1c0fec2e0792b20
2020-11-21 23:17:22 -05:00
Moshe Piekarski
332433eb3d fix a few manual warnings
Change-Id: I4b9bf1e418367b2a420f56ce36f30cb0926e816f
2020-11-22 03:48:28 +00:00
Solomon Peachy
4641d86c46 xduoox3: Fix a few issues with the manual
Change-Id: I5055fc280170686f4f0bb1f298d66fb362a5d963
2020-11-21 19:55:47 -05:00
Dominik Riebeling
efacce58eb rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I6bb86e34438eef10813f0d19e910599156a876e6
2020-11-21 10:21:31 +01:00
Dominik Riebeling
f29b81d521 rbutil: Avoid creating temporary object.
There's a static function for that.

Change-Id: I5d07d73368f20167bb45f5b0df510be6d4227109
2020-11-19 21:32:41 +01:00
Dominik Riebeling
fb6840e572 rbutil: Remove done() signal from Themes Install window.
This shadows a slot from the base class. Since it isn't used simply
remove it.

Change-Id: If2e524141b7ca4ab1083b4b713b2db3a0b25e6a6
2020-11-19 21:32:41 +01:00
Dominik Riebeling
12764781c6 rbutil: Modernize code to use C++11 nullptr.
Change-Id: I112cf95122a896cdb30a823b4c1f49831273dc7e
2020-11-19 21:32:41 +01:00
Dominik Riebeling
f608de723c rbutil: Convert ServerInfo to singleton.
Change-Id: I29d94eb6bae084754e5e3f337c41de8354ba123c
2020-11-19 21:32:41 +01:00
Dominik Riebeling
f8fb4274ee rbutil: Rework server info data handling.
Remove map that isn't used anymore.

Change-Id: I771a98c9b64f3dac36e71041c566b89fbea51e06
2020-11-19 20:53:32 +01:00
Solomon Peachy
497618e51e Add libraries to native MIPS toolchain to enable bluetooth support
libffi, zlib, glib, expat, and dbus

Change-Id: I9453b3cabe91fd3dc992e065729d61d7e005091e
2020-11-19 12:33:01 -05:00
Solomon Peachy
b7b0c7c648 languages: convert recording_swcodec -> recording
Change-Id: I481a53284d63457717f4a6524edc5b477f29a20a
2020-11-19 09:52:37 -05:00
Solomon Peachy
6d62a7a1bd Clean out some obsolete strings from the Russian translation
Change-Id: Ic0878ae5d8e5d12c803702f3c069a1d1a3a74ef8
2020-11-19 09:52:05 -05:00
Solomon Peachy
3027cead01 hosted: Improve buffer underrun handling in the ALSA driver
* Bump internal mix buffer size by 4x, to 1K frames (matching ALSA period)
 * Handle an underrun that occurs when filling the audio buffer
 * Log underruns and make them available in the debug info

Change-Id: I28d56dd35d88851fa167ad92368a5882937a758f
2020-11-18 14:38:12 -05:00
Moshe Piekarski
473aa615de Minor additions to g#3035
Change-Id: I6f518ccbca9834d738eb4a5621ddef638b335195
2020-11-18 14:50:37 +00:00
Moshe Piekarski
0aa702836b Manual: remove most HWCODEC artifacts
This causes 3 changes in layout. 2 I can't track down and 1 is better this way.

Change-Id: If4ad5e1d7431b4c2cbaaf9767d78139ef4e2dc44
2020-11-18 14:35:09 +00:00
Solomon Peachy
7c87467ba4 configure: Add prompt for USB Serial into the advanced mode
And explicitly disable USB_ENABLE_SERIAL when HAVE_USBSTACK is not define

Change-Id: Ieb4176b02a60eb1b9db81f0b8c69403898a76ca1
2020-11-18 08:50:05 -05:00
Solomon Peachy
20774d88b5 Update english-US language
Change-Id: I0a20e76d2e5267eb15e85dac0cd1f524eafe0415
2020-11-17 11:06:13 -05:00
Solomon Peachy
170f72156b lang: Drop all deprecated strings, and rename LANG__NEVER to LANG_NEVER
Change-Id: Ie1a1cb04ecb566b75d9884b98a8c4e37a4e8736f
2020-11-17 11:06:13 -05:00
Solomon Peachy
7ff3c94e13 lang: Make all swcodec &| lcd_bitmap strings default.
Change-Id: Id0a3282884c3e258c5b2f24b35aa7e618a8e8bbe
2020-11-17 11:06:09 -05:00
Solomon Peachy
0400a391d3 usb: increase the stack size.
It's not large enough on some targets.

(this will be revisited when the USB insertion prompt stuff is moved
 out of the USB helper and over to the main thread)

Change-Id: Iefed2cdf2fbb4ce92569fc5cacbdb479b7d24e61
2020-11-17 06:58:46 -05:00
William Wilgus
ad665a04d2 Manual Bugfix SetWPSContextPlugin
Change-Id: Idf06c12ecbabbd6a1adb7ba9eaa6b183d3a0c289
2020-11-16 18:31:37 -05:00
James Buren
4fd1e4364b fwpatcher: fix compile errors and warnings on modern Linux
Change-Id: I87b71654ce8669904cfb587cb0673a46455bcbd1
2020-11-16 21:05:52 +00:00
James Buren
84086af957 update fwpatcher and rbutil checksums for iriver h1x0/h300 V8 bootloader
Change-Id: Icf6bc96889fbe682832a99882c5d66c832ffb2f7
2020-11-16 20:51:11 +00:00
James Buren
adee6a11bf rockbox: fix iriver firmware validation for larger bootloaders
It turns out the code for the firmware size validation was incorrectly
using the total length of the firmware file to check if it was too big
for the flash rom which caused it to incorrectly flag larger bootloaders
as too big even though they would still fit.

As it happens this situation can only really arise after mkboot has been
run on the decoded firmware image. Because mkboot writes the actual binary
size to the ESTFBINR header we will be using that to check if the firmware
image is too large for the flash rom.

Now because this information is embedded in the decrypted / encrypted
region we have to collect it as the region is processed so the validation
is also moved to after the data processing loop.

Change-Id: I8bfead73812fe4e59f08fbbe8956790604dcb4e2
2020-11-16 19:44:52 +00:00
James Buren
64ea644269 mkboot: fix the buffer size used for constructing the final firmware image
It was short by a fair number of bytes which could be reached when
attempting to insert bootloaders near the maximum size of 64k. This
ensures even the largest acceptable bootloader will not overflow the
buffer.

Change-Id: I8fbc92d4e3452192bf47104d7a32b49248eefc0e
2020-11-16 18:23:30 +00:00
Solomon Peachy
63691ad106 Fix the fix, which managed to make things _worse_
Change-Id: I91b6bc71cf1d5c4cf06d839dfa783cb799756b77
2020-11-16 12:55:33 -05:00
Solomon Peachy
3e32521be5 Fix the red introduced in 9c68c69
Change-Id: I5f3e3ddd5bc11b8d58e5c05ec3bf7171537c016d
2020-11-16 12:35:47 -05:00
Solomon Peachy
9c68c69cf0 FS13257: Fix inconsistent defaults in the USB mode selection
Change-Id: I44894d13f070313ad326ce68018556573e35aad9
2020-11-16 17:11:38 +00:00
James Buren
5252523937 fwpatcher: fix a few issues with the mksums.pl script
First, the way it was invoking mkboot was no longer correct so it
was not producing files used in the later commands.

Second, support for the H300 1.31k firmware was added sometime ago
but not to this script.

Change-Id: I0e9c74a3b9f83ade8d01df0bebfe06f4d3b92ce4
2020-11-16 14:05:17 +00:00