summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-17nwzlinux: print version and model in bootloaderbootloader_nwzs750_v1bootloader_nwze580_v1bootloader_nwze470_v1bootloader_nwze460_v1bootloader_nwze450_v1bootloader_nwza860_v1bootloader_nwza10_v1bootloader_nwa20_v1Amaury Pouly1-0/+6
Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c
2017-09-17mknwzboot: add support for uninstallationAmaury Pouly6-25/+247
There is not need for a bootloader file to create an uninstall firmware so one needs to provide a model. Also cleanup the install script a bit by factoring message into a function, also print them to the log so that the user can report what was printed on the screen easily. The uninstall script is quite trivial, it remounts the rootfs and restores the backed up OF to its right place. Change-Id: I1f5c0efeb965fdc7fe17f45c2753c0f52c34f7f1
2017-09-17fix warning in lcd-as-memframe.cAmaury Pouly1-2/+0
The fix is to actually remove unused variables. Those were unused from day 1, which I find slightly suspicious so either there is some problem or the code was copy-pasted and modified, making some variables useless. Change-Id: I41caf52d469b48c969ece969540de67d87e77357
2017-09-17fix warning in vorbisAmaury Pouly1-1/+4
Change-Id: I01dd320ac7f4641caaef62363556ca7527dbee19
2017-09-17Add support for the Sony NWZ-S750Amaury Pouly6-2/+51
Change-Id: I9050129949809b3dbe9f4f9e816f8980c4f3a904
2017-09-17Don't call touchscreen functions when we don't have a touchscreenAmaury Pouly1-0/+12
Change-Id: Ia8c05f45c289729031d6333445d932bb5ac242ca
2017-09-17fix red on ypr0/ypr1Amaury Pouly1-2/+0
Always compile in pcm_alsa_set_digital_volume, the linker will optimize it away on targets that don't use it. Change-Id: Ia21c3eaa8a64b75761ab5d056361e7ed1fcf949a
2017-09-17Add NWZ-A860 as unstableAmaury Pouly1-0/+4
Change-Id: Iba944551d7bf4e1f24ffbd4f2a0be82eee395651
2017-09-17imx233: make debug usable with a touchscreenAmaury Pouly1-0/+7
Change-Id: I08a3302024646c0d915aa34855970678730eb44c
2017-09-17zenxfi2: fix touchscreen bugAmaury Pouly1-9/+6
Due to some undocumented behavior, the touchscreen was almost unusable in point mode. Now it's much better but still not very nice to use, probably it needs some filtering. Change-Id: Idc8a0214b09f268e6be907ee6ec3126cc0d88773
2017-09-17Add simulator support for the A860Amaury Pouly8-6/+89
This requires a few changes unrelated to the A860 because configure unsets APPLICATION but the NWZ is an application! Change-Id: Id91aa23193383ac95886b281653da5286edd9caf
2017-09-17Add support for the NWZ-A860Amaury Pouly10-10/+419
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
2017-09-17sonynwz: fix various drivers, notably touchscreen relatedAmaury Pouly3-36/+44
Change-Id: If43087ec9ad405ee6eeae8bedba8d221f8fb142f
2017-09-16For Sony players that have explicit volume keys, make better use of the up ↵Johannes Rauh1-1/+7
and down button Longpress Up: pitch screen Down: playlist view Change-Id: Ibb1032cefd32ce7a3fc309d6ee8d1ba0914583f6
2017-09-15ATJ hwstub: Add cache coherencyMarcin Bukat1-0/+7
All the hard work was done by pamaury. I simply added proper defines. Change-Id: Ib374eea7cd20f35518ad8a68d771c57c54ae01ca
2017-09-07ARM support: provide compiler a better popcount functionMichael Sevakis1-0/+31
Just the 32-bit one for now. The default uses lookup tables and is ungainly and bloated. Change-Id: I4a2eb31defb1f4d6f6853b65fe6dacc380d6ffc0
2017-09-07Explicitly provide both cases in conditional (fixes warning)Frank Gevaerts1-1/+1
Change-Id: Iedca64432103af5407a7c7bac83e92ca1ae8992b
2017-09-06qeditor: add workaround for c++11 in qt4, suggest to use qt5Amaury Pouly1-1/+10
Change-Id: Iad7b8fd171d57228796a68cb3406914213b91926
2017-09-06Make android build work with both old and new locations of zipalignFrank Gevaerts1-1/+5
Change-Id: I56438c55debc60cb5e1a118ce0123f0c837258cd
2017-09-06fix yellowsAmaury Pouly2-2/+0
Change-Id: Ie27d3aa7d2485b4eb053af48ba34ad6526bf6472
2017-09-06Forgot to add the name to CREDIT in 3a5ae7dAmaury Pouly1-0/+1
Change-Id: I0177d7a4e370836e464e3e7c87dce8736ec508f0
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 Rauh5-3/+47
Add original author to CREDITS Change-Id: I7a0159635c7896e2b5521c078ef62618f568d89e
2017-09-05Initial commit for the Sony NWZ linux portAmaury Pouly89-2913/+4439
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, rockboxdev.sh 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-09-01Silence warnings in mp3_encoderFranklin Wei1-4/+4
`const' only needs to be used once (a const pointer to const data is `const type * const'). Change-Id: I47a0d69755cb7753ac64b82b930d14b4a19b7527
2017-09-01Fix typo in gobanFranklin Wei1-1/+1
Pointer wasn't dereferenced as it should be. Change-Id: I4b4993fef2290c22ab8f36ba8aafe7dcafcbfa2e
2017-09-01Add missing strings Italian translationFranklin Wei1-4/+4
Should make us all green once again. Change-Id: Icee92fa0a0e214a0e905e4df30739e22e623733e
2017-09-01puzzles: remove unused overlay loaderFranklin Wei2-37/+0
Just cluttering the plugins directory as there is no COMBINED support anymore. Change-Id: I05591d457055e67cd1a01e007bec7ce77dcecb4a
2017-08-28qeditor: fix compile error and some commentsAmaury Pouly2-5/+6
Change-Id: I157c83fea8173adc53254f15aa49e41ee1ba7549
2017-08-27Keybox: display the entry name along with the passwordFranklin Wei1-1/+1
The dereference of entry->name was originally omitted, which meant that only the password would ever be displayed. Change-Id: If368a2d3dd9ddf0a253d28b9db5b98d639cfb30b
2017-08-27fix yellow, commit f2f1889 left a variable unusedAmaury Pouly1-1/+0
Change-Id: I128bf509cb68860cc2c12b42d032621a5bc71008
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-27zen/zenxfi: always set EMI frequency to 130MHzAmaury Pouly1-4/+7
The ZEN/X-Fi (STMP3700) don't handle memory frequency scaling really well, for this reason we run it at a fixed frequency. That frequency was previously set to 64Mhz because when the CPU run at its lowest frequency, we set the VDD voltage to 0.975 V and on STMP3700, VDDD=VDDDMEM and this is too low to run EMI at 130Mhz. This is not a good solution because under heavy load, running the EMI at 64Mhz results in frame drops and a sluggish device. Thus we now run the EMI at 130Mhz all the time now. To do so, increase the minimum VDD voltage to 1.275 V. This may result is a decreased battery life on those targets but it will also avoid all sorts of glictches and all the device to truly run at full speed. Change-Id: Ia8391492c29fe67bc2701aa7d8cfd00a9df349e8
2017-08-27imx233: fix potential bug in udelayAmaury Pouly1-1/+3
Change-Id: I5c8f5d9917f7a3353862c856bd9bbbbe9b291b1d
2017-08-27zen/zenxfi: increase LCD clock frequencyAmaury Pouly1-1/+1
Change-Id: I157e0d537a1b9d73eda4e18a4a64b10410c6fac4
2017-08-27imx233: update comment about vbusvalidAmaury Pouly1-2/+3
Change-Id: Ice1ece716657fa7f78f69736e5e733e1b7f67b59
2017-08-27zen/zenxfi: fix backlight white flash on backlight onAmaury Pouly1-9/+7
Change-Id: If028a208bd10f46dbe25e4aade085ba7ba13d7be
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-08-23puzzles: misc. changes and sync with upstreamFranklin Wei20-702/+102
This brings puzzles up-to-date with Simon's tree, along with the rockbox-specific changes I made. Note that I also got rid of some of the ugly floating-point code in rbwrappers.c and replaced it with wrappers for our fixed-point library. Change-Id: Ibfb79acb15517116a26de1c3ea89e025146b9e2e
2017-08-23puzzles: remove old combined build codeFranklin Wei1-102/+6
We don't really need it anymore. Change-Id: I7c8149faa6b80807ca718b73483bdb2e41830cbd
2017-08-23puzzles: faster, smaller sqrt()Franklin Wei1-62/+8
Change-Id: I18e170ee49bff131fe76fa4bb1b9e0f120818b82
2017-08-23Sokoban: enable restarting level via "Select Level"Sebastian Leonhardt1-5/+2
This patch disables the (deliberate) feature of "Select Level", that selecting the current level wouldn't restart but rather resume. (i.e. now selecting any level will always start this from scratch). There definitely should be a way to restart the current level via menu. Currently the only possibility to do this is via button presses, but (a) these are hard to remember combos, and (b) they are not defined on all targets. This patch is meant as a lightwight alternative to g#1356 (adding a "restart level" option to the menu). Change-Id: I18ee5aff5c922f95c28d1edf2ba71dd2e50687d2
2017-08-23Add myself to docs/COMMITTERSSebastian Leonhardt1-0/+1
Change-Id: Ieb7967d50d0046914d37bfed49c820dd2a2706ad
2017-08-23FS#11922: Lua game - Pixel PainterSebastian Leonhardt19-1/+733
* Changed keymaps to PLA and added to SOURCES and CATEGORIES file * improved keymaps: implement wrap-around and key repeat * change keymap according to screen orientation * fix font size calculation * use blocking button query in main loop * replace tabs with spaces * added manual entry * added original author to CREDITS Change-Id: Id67ae99cbb7a737c7f4608e278b77a389ac2ffa6
2017-08-16puzzles: fix buildFranklin Wei40-40/+0
Change-Id: Ifb6d7938968a48a1492483b33c84050abcfb75e0
2017-08-16puzzles: various useless tweaksFranklin Wei2-1/+17
Change-Id: Ibf9769f99d61581b184d0ffa4ef0614eb976f0e8
2017-08-16puzzles: enable long-press in MapFranklin Wei1-1/+2
This allows for stippling regions. Change-Id: If8f271b66f6f350c843d6669918ea39712acd818
2017-08-16puzzles: fix polygon drawing in InertiaFranklin Wei1-2/+7
Yet another hack to accommodate our polygon algorithm... Change-Id: Ic5d304be23d30c380b19771ab68cf01c416261b4