Solomon Peachy
97b8692b65
fiio: add in a missing audiohw_mute() call.
...
Change-Id: I837dcb81b8814573fe947d6c7cfa10ff651689d0
2020-10-22 16:14:16 +00:00
Dominik Riebeling
ce3da6238f
rbutil: Fix linking zlib on Windows.
...
With Qt4 zlib was linked implicitly (and explicitly linking it caused
errors). This was a Qt issue that has been resolved with (at least
current) Qt5, now we need to explicitly link zlib on native Windows.
Change-Id: Ia5a6bdc83a39f6f5629c34ed835d2272a887f161
2020-10-21 21:33:39 +02:00
Dominik Riebeling
1801dcc999
rbutil: Fix native Windows build for tools.
...
- When make on Windows finds sh.exe it will try to use that. We use
cmd.exe calls when detecting Windows, so make sure we use cmd.exe as
shell.
- Add missing Windows compatibility to tomcrypt Makefile.
Change-Id: Iaef133ca27472a5ddf449174d540983f15c66aea
2020-10-21 21:33:39 +02:00
Solomon Peachy
884d8922e3
hosted: Allow ALSA driver to switch output device at runtime
...
* Allow output device name to be specified
* Set hw/swparams prior to actual playback start, not at init
* If told to open a new device, cleanly close down old one.
Change-Id: Ib97310ec23588136c031466ee9c22312ab0f9f5a
2020-10-21 13:24:47 +00:00
Solomon Peachy
6b13437aff
Add UI Simulator for Eros Q / K series
...
Change-Id: I9ffc101bd904b3f0e2d6a86a43fb1ae3fda73a19
2020-10-21 13:24:01 +00:00
Solomon Peachy
6834d1a02f
xduoox20: Start unmuted, as the least-worst option
...
Change-Id: Ie85d9df0f861315dfc9d767218d86115420aa9d7
2020-10-20 17:07:48 -04:00
Amaury Pouly
dfae5d881d
nwza860: fix simulator build
...
Change-Id: Ie05e91241398e45890f98ced9c0116a98475437e
2020-10-19 03:39:33 +00:00
Amaury Pouly
08513103c6
nwzstools: add NW-A820 nvp nodes
...
Change-Id: Iab79eb0c9b0bbf8fb7622f5630f385d56878507a
2020-10-18 22:34:16 +02:00
Dominik Riebeling
1a1338c379
rbutil: Fix ipodpatcher qmake based build on macOS.
...
On macOS we need to pass the used frameworks, otherwise linking will
fail.
Change-Id: I6b19eac6a460d91b567c0eb128b776558c0a4a39
2020-10-18 19:22:10 +02:00
Dominik Riebeling
a05d061aa3
rbutil: Pass isysroot to rbutil libs on macOS.
...
On macOS we pass the full path to the compiler. On recent versions this
causes the compiler to not find its SDK path, this needs to get passed
via the isysroot option.
Change-Id: Iea2820e1755cc80e12691119dfa31d70938ea511
2020-10-18 19:16:27 +02:00
Dominik Riebeling
d097742155
sbtools: Change crypto wrapper implementation to C.
...
There's nothing C++ left.
Change-Id: I98d8406215287c02b56029ed7c0e2b0e645bbcf1
2020-10-18 19:08:32 +02:00
Dominik Riebeling
2037b837f8
sbtools: convert crypto to libtomcrypt.
...
Replace the use of crypto++ with tomcrypt, which is much smaller and C.
This gets rid of various build issues for systems that don't ship
crypo++ (i.e. everything except Linux.)
Change-Id: Ic0799e17b94935c71b14765cf9a2a7ea2b0adc7a
2020-10-18 19:08:32 +02:00
Dominik Riebeling
815b289cb3
imxtools: Replace use of "byte" with its underlying uint8_t.
...
libtomcrypt uses a macro "byte" which conflicts with this type. Since
the underlying type is uint8_t and there's no real benefit from using a
custom type use the actual underlying type.
Change-Id: I982c9b8bdcb657b99fa645a5235303af7afda25b
2020-10-18 19:08:32 +02:00
Dominik Riebeling
387a45923c
utils: Add Makefile for our copy of libtomcrypt.
...
Change-Id: I6b9ffe86b9e78b494a3a9211d6e79bb81c9fb6d4
2020-10-18 19:08:32 +02:00
Dominik Riebeling
caa9d9c1c5
utils: Add (partial) libtomcrypt.
...
Add the parts of libtomcrypt that we're about to use.
Change-Id: I0adc1d7d1f4833e7bb3ed53b9a4d9a85977cfb8b
2020-10-18 19:08:32 +02:00
Dominik Riebeling
7603533f7f
tools: Modernize rbspeex Makefile.
...
- Replace echo with make internal info function.
- Make dependency generation implicit to avoid another compiler call.
- Align object handling with libtools.make.
Change-Id: Iaaddd17af04039dcd8948399bc99d21def05181d
2020-10-18 19:07:08 +02:00
Solomon Peachy
6a94f1e995
sonynwz: Properly support multidrive, with hotswap of the SD card
...
Change-Id: I7eb8efb0986a395d5ffbcc06a54bb680e0b59e9d
2020-10-18 10:19:42 -04:00
Solomon Peachy
5f75c493e3
xduoox20: Remove a duplicate config option
...
Change-Id: Ieeacc8b42d2a4d1c647cfa3b0d00f90fe98af0ed
2020-10-17 22:52:48 -04:00
Solomon Peachy
edbdefa09a
hosted: Drop a bootloader version string in /etc, and report it in debug menu
...
Change-Id: I4d72d7800dbff56619898b6bc9d0f81a6c561598
2020-10-17 21:40:40 -04:00
Solomon Peachy
4cdb28c167
Fix sim build for STORAGE_USB
...
Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
2020-10-17 21:30:07 -04:00
Solomon Peachy
b1e21bbd7a
hosted: Consolidate common config of hiby-based units into a common header
...
* Enabled MULTIDRIVE and ROOTFS_HOTPLUG for full hotswap!
(Requires updated bootloader/integration!)
Change-Id: I7dad1f8d375e087c36fce37bec3e9184602ede50
2020-10-17 20:45:41 -04:00
Solomon Peachy
7d3e39cfd8
hiby_patcher: Fix a couple of bugs in the hotplug scripts
...
Change-Id: Id8782b843c626aba37a954b930f9bcaac21bc073
2020-10-17 18:38:53 -04:00
Solomon Peachy
6f9a157fca
hosted: Fix USB mounting code to work with HAVE_MULTIDRIVE enabled
...
Change-Id: I48944c28903db117d3d883a5e777cafe5d055600
2020-10-17 18:38:49 -04:00
Solomon Peachy
f3ec58c05b
hosted: Support hot-swappable internal and external storage
...
Change-Id: I321e9da4d5087dbd91194e6faa35cd4a685a0495
2020-10-17 18:38:49 -04:00
Solomon Peachy
d8d37ffdb8
Define a USB storage type, and hook it up for hosted targets
...
Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2
2020-10-17 18:38:49 -04:00
Solomon Peachy
0a4a920029
hosted: ROLO: Fixes for PIVOT_ROOT targets
...
Change-Id: I4888bd5db6f8a419d312c6b017f676ba6c749d89
2020-10-17 18:38:46 -04:00
Solomon Peachy
012908e064
hosted: Fix HAVE_MULTIDRIVE to work properly with PIVOT_ROOT
...
Change-Id: Ibc97de5c345e88c19ad8ba8c05fefebbada08790
2020-10-17 17:10:52 -04:00
Solomon Peachy
a68fc3b6c2
xduoox3ii/erosq: Fix CPU frequency declared in header
...
(108 MHz -> 1008 MHz)
Change-Id: I2baf416689e2afb68948609e226df8c5feeecc4a
2020-10-17 17:10:52 -04:00
Solomon Peachy
13f5e123f9
samsung yp-r0/r1: use os-native opendir() in the low-level driver code
...
Fixes blank LCD on both R0/R1 and the PMU on the R1
Change-Id: I356907676f7a0a009897fd4895bf78c1022b71d1
2020-10-17 14:37:15 -04:00
Solomon Peachy
0e667ff5b0
sonynwz: use os-native opendir() in the low-level input driver code
...
instead of the rockbox opendir() wrapper.
Change-Id: I06e8c2d7997c7cc3d507f06659d46cdfd6a02ce3
2020-10-17 14:22:02 -04:00
Solomon Peachy
cd721754d0
Fix configure target name for the erosq/k series.
...
Change-Id: Ic114d8d26209d37133ffa48d232ab278a0309dcd
2020-10-16 21:16:13 -04:00
Solomon Peachy
1b110daf08
rbutil: Add in the EROS Q / EROS K and clones
...
Change-Id: I0b482542fc15af3abbaf7a132ee56414a2bd3231
2020-10-17 01:02:16 +00:00
Solomon Peachy
ce40ef42ff
hosted: Make sure we don't call mixer/etc controls when we're not ready
...
(Might fix the rocker crash-on-shutdown bug)
Change-Id: Id375fc5053adef18d7ec812bdba36ee002e706ef
2020-10-16 20:34:18 -04:00
Solomon Peachy
d993448c9f
Add Samsung YP-R1 to the builds.pm file, as an unstable (but usable) target.
...
Change-Id: I0987e66767f266efd59d1459b944570d9bd14874
2020-10-16 17:28:45 -04:00
Solomon Peachy
318229e742
rbutil: Fix incorrect USB IDs for the xDuoo X3ii and X20
...
Change-Id: I0d16189d236a8589ff51d93d1eeabed3cfe751da
2020-10-16 15:31:05 -04:00
Solomon Peachy
c6d2a0358f
hosted: open input device as read-only.
...
Change-Id: I4dcd98f45f41fe06a0a75a2a0dd45c753c2cf365
2020-10-16 14:37:01 -04:00
Solomon Peachy
1a76bc403e
erosq: Fix up builds.pm to match what we actually call the target
...
Change-Id: I2cedc68ca408a805815954a205ba43c3c9e970cb
2020-10-15 17:34:04 -04:00
Amaury Pouly
df8b817c96
nwztools/scsitool: fix incorrect declaration in header file
...
Change-Id: I10727311db4747a66b3ae7f72a92a64cc99dfc82
2020-10-15 23:03:15 +02:00
Solomon Peachy
2e07223690
m3k: Fixes for the M3K.
...
* Cannot turn off the LCD directly (have to rely on backlight)
* Only insmod/rmmod the usb gadget modules if state changes
Change-Id: I9ea90177d496cd035ada93e04a93a7c6f2e84706
2020-10-15 14:11:41 -04:00
Solomon Peachy
455a23bdab
Promote the eros q/k to "unstable"
...
Change-Id: I27c5a06f6655fecb850fce4e5ea5305026194ab7
2020-10-15 13:33:13 -04:00
Solomon Peachy
82787709bd
update the hibi patcher script to handle initial m3k stuff
...
Change-Id: I63ed8443952888da3dafb23ff6e7daf9c7aca574
2020-10-15 13:31:28 -04:00
Solomon Peachy
0cde20fadb
xduoox3: Disable the DAC's digital de-emphasis filter.
...
Whether or not this is correct depends on how the source material was
mastered, digitized, and/or encoded. There is no setting appropriate
for everything.
Eventually I'd like to make this configurable, but I'd want to have it
shared with more than one target first.
Change-Id: I20a0eff4b3dc2517c33db49d4f72e85bf81d1ca6
2020-10-15 13:30:48 -04:00
Solomon Peachy
d544ce46a7
hosted: Unify the USB code for the hiby-based players.
...
* Specify exported USB VID/PID in target config header
* Don't fail if the sd filesystem has already been remounted
(ie due to platform hotplug)
Change-Id: Ifd2dae0c4f15086bf2bf89eb093018b3c4d2b75d
2020-10-15 10:18:16 -04:00
Solomon Peachy
4873a1ac61
fiiom3k: Temporarily disable filter rolloff programming
...
(Hardware control isn't wired into ALSA properly)
Change-Id: Iac537d2d90a6119b8c002cd38a558a4ebb3321eb
2020-10-15 07:43:14 -04:00
Solomon Peachy
ca4d63d4d9
m3k: Fixes to the launcher/loader.
...
* Execute the correct OF player binary
* We don't have adb, so error out
Change-Id: I4fb39fcdf5e437450c059e6c1296ea6cb99298fe
2020-10-14 13:42:52 -04:00
Solomon Peachy
1b449abf39
erosq: Add battery discharge curve and initial runtime estimation.
...
(playing mp3 with headphones inserted lasted just over 13 hours)
Change-Id: Id610f911811eafd914db20000ae860c75e0d8a93
2020-10-14 08:37:00 -04:00
Solomon Peachy
19d45c9257
Work around wonky inline asm issue with creativezenvm build.
...
The right thing here probably to just not bother at all, as this
bootloader can't launch rockbox yet anyway.
Change-Id: I62bd22353b6adc9dbe35b94f3b60a6a67348356a
2020-10-13 21:48:23 -04:00
Solomon Peachy
105a0eb0b7
mrobe500 bootloader fix
...
Change-Id: I0ab99a427df34ef6c5899a280953250660ffc156
2020-10-13 21:33:55 -04:00
Solomon Peachy
cddd8d66e2
Silence warnings that happen on newer GCCs
...
(code is presumably correct)
Change-Id: I3ee11b6a10dc87eb6f6178d6182397f0c7f686d5
2020-10-13 20:09:14 -04:00
Solomon Peachy
26bebd77ab
Fix more red.
...
Change-Id: Id1a45b420f8eb70a25010b058822b78f80db33d8
2020-10-13 19:45:03 -04:00