summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sonynwz
AgeCommit message (Collapse)AuthorFilesLines
2021-03-25build: Get rid of suplerflous '-Os' references in linker callsSolomon Peachy1-2/+2
We should be using global optimization flags, and -Os is already our default. Change-Id: Iaba511b2b4fa2ee0f1eb1ad28024be954f4c5f03
2020-10-31nwz/alsa: various improvementsAmaury Pouly1-1/+1
Also audiohw driver to specific device name, rewrite alsa controls code to cache more data, thus making the code easier and use less stack. Avoid using short/long in pcm alsa code since it's the wrong size on 64-bit (simulator for example) Change-Id: Ibc1ec44396e37b6cbdedbcf37300878638e5d2d3
2020-10-18nwzstools: add NW-A820 nvp nodesAmaury Pouly1-1/+131
Change-Id: Iab79eb0c9b0bbf8fb7622f5630f385d56878507a
2020-10-18sonynwz: Properly support multidrive, with hotswap of the SD cardSolomon Peachy1-8/+66
Change-Id: I7eb8efb0986a395d5ffbcc06a54bb680e0b59e9d
2020-10-17sonynwz: use os-native opendir() in the low-level input driver codeSolomon Peachy1-9/+11
instead of the rockbox opendir() wrapper. Change-Id: I06e8c2d7997c7cc3d507f06659d46cdfd6a02ce3
2020-10-16hosted: open input device as read-only.Solomon Peachy1-1/+1
Change-Id: I4dcd98f45f41fe06a0a75a2a0dd45c753c2cf365
2020-10-11nwztools: fix MW-WM1/A30 KAS, fix KAS lengthAmaury Pouly2-3/+6
Split WM1A/WM1Z because they don't have the same KAS. On newer devices, the KAS is actually 64 bytes, not 60. The strange thing is that "get_dnk_nvp kas" returns 60 bytes whereas "get_dnk_prop kas" returns 64, not sure why. Change-Id: I944d3d838209ba58388439af0cdf5d7c74f1f7fc
2020-10-11hosted: Use O_CLOEXEC for all open() and "e" for fopen() callsSolomon Peachy1-2/+2
This way we'll automatically close the files upon exec() Change-Id: Ic0daca8fb56432830de4a2f4a86a77337121ecc7
2020-10-01fix some of the red introduced in e43726dSolomon Peachy1-1/+1
Change-Id: Id1abb0dd11f8a8e79a80fc54e58a5a22706a03ad
2020-01-29sonynwz/scsitools: add NWZ-S610 seriesAmaury Pouly1-1/+1
Change-Id: I8977e1bcc805df463f7b08f11be889368db4eab2
2020-01-12sonynwz/scsitools: add support for NW-A56Amaury Pouly2-3/+4
Change-Id: I07e57218638ef62c0e4bf92833add6c3ba7bdcd8
2019-04-22nwztools: add DMP-Z1 to the databaseAmaury Pouly2-2/+6
This is one of those fancy gold-plated devices. Of course it breaks my scripts that were nicely expecting every device to start with NW. Change-Id: I161320f620f65f4f92c2650d192b26a9831eeb9d
2018-11-30sonynwz: add NW-A57 and NW-ZX300G to the databaseAmaury Pouly2-5/+7
Change-Id: I9bbfa56c5b2d79568de5443f1098d724c4beda6a
2018-11-30Add the NWZ-A844 to the databaseAmaury Pouly2-4/+5
For some reason even Sony didn't have it in its list... Change-Id: I26de6071e5887cc7c6ebb695ea333c7b3d1b50db
2018-10-29sonynwz: add nvp map for NW-A50 seriesAmaury Pouly2-1/+191
Change-Id: I49f3399552721e515cc01021c2e0aa28c781ec28
2018-10-29sonynwz: add NW-A55 to databaseAmaury Pouly2-2/+6
Change-Id: I59861119c59490f586b3c6ed32a1c41df8b3d365
2018-04-20Add battery calibration for Sony NWZ A10.Michael Giacomelli1-1/+1
2018-01-13Add information for NWZ-S630 and NWZ-S730Amaury Pouly1-2/+127
Change-Id: I4c48c9a8d862eaf67ec27c1c13b9b7f1fb204fc0
2018-01-07sonynwz: Add NVP information for NWZ-A810Amaury Pouly1-1/+126
Change-Id: I37671ddf15ee1a4b469f97fe06ec86249ff9ce60
2017-11-14nwz: fix tuner on older players (also fixes audio because Sony)Amaury Pouly2-4/+30
Change-Id: I1915bcfc27708d34a9dde81fce1e0bc0b01e1040
2017-11-06nwzlinux: add support for radioAmaury Pouly3-0/+236
None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
2017-11-01nwztools: add NW-A46 to the databaseAmaury Pouly2-3/+4
Change-Id: I85dc2080e0be07ff689384c0445f4f1595baf4ac
2017-10-24nwztools: add NW-A45Amaury Pouly2-3/+4
Change-Id: I75a7723498564ee73c3682391582e354ad672fd7
2017-10-24nwztools: add NW-ZX300AAmaury Pouly2-3/+4
Change-Id: I8b311ed6b48b92b9ecf4fb25c19119cfb2d5beb1
2017-10-17sonynwz: add NW-A47 to the database and regenerate nwz_db.{c,h}Amaury Pouly2-3/+4
Change-Id: I6331a48a4d336348e90a32cf151427b29eeedb2b
2017-10-07sonynwz: add api and debug entries for "acoustic" and "cue/rev" modeAmaury Pouly1-12/+45
We don't really know what those are supposed to do. They seem to change the volume curve but it is not very clear what is the intended purpose. Change-Id: I65f5d18aba139844c23df092277ba17ee8518f96
2017-10-07nwztools/scsitools: fix databaseAmaury Pouly1-2/+2
I forgot to add the NW-ZX300 to its series Change-Id: I78fd9440492e1868b887f6a2e137d4d0c2ff199a
2017-10-07Add Sony NW-ZX300 model id to databaseAmaury Pouly2-1/+2
Change-Id: I8e7a14b86408c52cbd4a059e2db6a9c9d0966fc6
2017-10-06sonynwz: add nvp nodes for NW-A40/ZX300, various fixes for toolsAmaury Pouly2-1/+150
We still miss the model IDS for those device so scsitool won't be able to recognize them automatically. Change-Id: I17ae0f0d95c011cea8e289def63c7673b6c4b667
2017-10-01sonynwzlinux: print debug info to log on crashAmaury Pouly1-0/+30
Print the crash info and dump the memory map from /proc/self/maps Change-Id: I99de32e5e6cca3bf1aca4fa253834ca4ad599fbe
2017-09-17Add support for the NWZ-A860Amaury Pouly2-4/+60
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
2017-09-17sonynwz: fix various drivers, notably touchscreen relatedAmaury Pouly3-36/+44
Change-Id: If43087ec9ad405ee6eeae8bedba8d221f8fb142f
2017-09-06fix yellowsAmaury Pouly1-1/+0
Change-Id: Ie27d3aa7d2485b4eb053af48ba34ad6526bf6472
2017-09-05Initial commit for the Sony NWZ linux portAmaury Pouly22-0/+4018
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