Bertrik Sikken
daff26b1da
Meizu M3: configure and use SDRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23614 a1c6a512-1295-4272-9138-f99709370657
2009-11-11 21:31:38 +00:00
Bertrik Sikken
69b7dab5f0
pcm-s5l8700: add missing header file, remove out-of-date comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23612 a1c6a512-1295-4272-9138-f99709370657
2009-11-11 20:30:53 +00:00
Michael Sparmann
91d982a1b6
Fix mpegplayer on S5L870x
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23587 a1c6a512-1295-4272-9138-f99709370657
2009-11-09 15:50:13 +00:00
Michael Sparmann
64ac121e2c
Squash another bunch of iPod Nano 2G NAND bugs by moving the idle powerdown code down into the lowlevel driver. Move even more things from the FTL to the bss instead of the stack to prevent USB stkovs. Also fix some evil whitespace.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23570 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 14:55:30 +00:00
Bertrik Sikken
c87270fb75
Meizu M6SP: initial button driver (adapted from Meizu M3)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23559 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 21:37:28 +00:00
Bertrik Sikken
3f70b661a3
Meizu M6SP: initialise and use SDRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23544 a1c6a512-1295-4272-9138-f99709370657
2009-11-06 22:47:09 +00:00
Michael Sparmann
890444c917
Hopefully fix the remaining iPod Nano 2G flash issues, by adding a tiny sleep after resetting the chip. Also remove some evil tabs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23489 a1c6a512-1295-4272-9138-f99709370657
2009-11-02 22:18:09 +00:00
Michael Sparmann
c9667e6d23
Fix iPod Nano 2G UI sluggishness (thanks to JdGordon for spotting this)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23365 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 22:22:01 +00:00
Bertrik Sikken
1e4c2fd9d2
Fix ipod nano 2g bootloader link problem, caused by my previous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23348 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 14:03:43 +00:00
Bertrik Sikken
d2827996af
Meizu M6 SP: make bootloader compile and run again
...
* don't use DRAM yet in the bootloader linker script
* add header files for the ftl and nand
* update svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23347 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 13:52:46 +00:00
Bertrik Sikken
52ca187f68
Meizu M6 SP: update lcd driver, it is now possible to display a rockbox logo (with some limitations, see comments in lcd-m6sp.c)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23345 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 11:31:13 +00:00
Bertrik Sikken
7e35619fb6
power-meizu.c: fix usage of USB_TR name
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23341 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 09:54:23 +00:00
Michael Sparmann
c9dd93e286
Adjust the iPod Nano 2G CPU clock freq again, this time to an exact value. Also add hardware defines for the 9th DMA channel we discovered on the S5L8701, and fix the µsec timer (there were missing braces).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23338 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 23:27:13 +00:00
Michael Sparmann
4e617332ff
Hide yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23327 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 00:05:13 +00:00
Michael Sparmann
6599932f2f
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23326 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:58:54 +00:00
Michael Sparmann
49d4c428dc
Implement iPod Nano 2G storage active indicator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23325 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:50:32 +00:00
Michael Sparmann
16a956c4f3
Finally a click, pop and other distortion free PCM driver for that fishy bufferless S5L870x I2S controller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23324 a1c6a512-1295-4272-9138-f99709370657
2009-10-23 23:47:38 +00:00
Michael Sparmann
7bff585d83
iPod Nano 2G: "Fix" the latest PCM issues, channel swap and vinyl popping. The latter is a revert of the cache coherency patch for now, we need to find a better solution in the long term...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23308 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 18:52:09 +00:00
Michael Sparmann
0c89c0ef7c
Fix another bunch of iPod Nano 2G FTL bugs. It seems to work fine for me now, but this doesn't necessarily mean that it's bug-free.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23307 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 15:28:11 +00:00
Michael Sparmann
1668cfa3dd
Fixed a bunch of iPod Nano 2G FTL bugs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23296 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 20:20:39 +00:00
Michael Sparmann
d03fe64dcf
iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23285 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 06:37:07 +00:00
Michael Sparmann
b424b852e5
iPod Nano 2G storage performance improved by not copying around buffers unneccessarily if they are aligned anyways and using cache coherency functions instead of bypassing the caches altogether.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23243 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 12:36:17 +00:00
Michael Sparmann
bde0231803
Add dcache cleaning to the S5L870x PCM driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23240 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:08:51 +00:00
Michael Sparmann
3ac50ca9ff
Fix S5L870x cache coherency functions. They were split into a different file, as changes were needed all over the place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23239 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:06:45 +00:00
Michael Sparmann
4562e683a2
Implement iPod Nano 2G nand_get_info()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23238 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:00:49 +00:00
Michael Sparmann
8f1709f434
Adjust iPod Nano 2G CPU speed to 192MHz, which measurements show it to be. Timers will be more accurate now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23237 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 22:32:46 +00:00
Dave Chapman
745266d309
Re-commit r23070 - reboot to disk mode on the Nano2G when USB is inserted. This was accidentally reverted in r23099
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23148 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 09:23:32 +00:00
Michael Sparmann
008f01348b
Fix iPod Nano 2G charging detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23146 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 09:04:51 +00:00
Dave Chapman
8b3433e1c0
Don't touch the clocks in Nano2G bootloader - this breaks the Apple firmware (audio playback didn't work).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23143 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 08:04:52 +00:00
Dave Chapman
a70c7bf862
Nano2G bootloader - fix dual-booting the Apple firmware.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23139 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 19:46:45 +00:00
Michael Sparmann
7a5904cf1c
S5L870x: Implement pcm_play_dma_get_peak_buffer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23129 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 11:58:36 +00:00
Michael Sparmann
8afaee6471
Fix the yellow again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23127 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 10:44:48 +00:00
Michael Sparmann
6b17295926
Bring the iPod Nano 2G shutdown FTL panics back.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23126 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 08:54:51 +00:00
Michael Sparmann
6cea8c1e1a
Fix the latest iPod Nano 2G NAND issues
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23115 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:21:15 +00:00
Michael Sparmann
b729a7d75e
iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:20:56 +00:00
Michael Sparmann
3b549fedbb
iPod Nano 2G: Reset NAND banks after powering the chip up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23110 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:48:12 +00:00
Bertrik Sikken
b68d7f54ae
Samsung YP-S3: make bootloader compile again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23107 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:15:23 +00:00
Michael Sparmann
264d877889
Add a thread to power down the NAND after inactivity on the iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23106 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 12:45:27 +00:00
Michael Sparmann
c3dc24b479
S5L870x: Fix PCLK freq
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23103 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 11:35:14 +00:00
Michael Sparmann
9f18e1958f
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:22:07 +00:00
Michael Sparmann
b84ef86871
Fix another anti-double-inclusion define for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23100 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:12:32 +00:00
Michael Sparmann
e6c8a185e5
Implement NAND power management for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23099 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:10:49 +00:00
Michael Sparmann
0260b0ad5a
S5L870x crt0.S: Streamline things a bit, and close unneeded clock gates on iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23098 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:52:39 +00:00
Dave Chapman
7f836fd869
Nano2G - remove HAVE_RECORDING from config-ipodnano2g.h as it's not implmented yet, and properly #ifdef audio-nano2g.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23095 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:17:12 +00:00
Dave Chapman
4ea4ce4cfb
Kill some warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23085 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 01:45:50 +00:00
Dave Chapman
b04a7a86e1
Make the Nano2G bootloader actually function as a bootloader. The resulting bootloader-ipodnano2g.ipod file needs to be encrypted on a target using the crypt_firmware plugin to create bootloader-ipodnano2g.ipodx, which can then be written to the firmware partition using the ipodpatcher patch at FS#10609. Dual-booting doesn't work yet - only Rockbox can be run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23084 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 01:37:12 +00:00
Michael Sparmann
55fc2ea314
Increase iPod Nano 2G stack size to 16KiB
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23080 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 22:02:22 +00:00
Michael Sparmann
31464f7930
Add a timeout for I2C transfers (S5L870x)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23077 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:22:06 +00:00
Michael Sparmann
e2aeef7501
Fix panic caused by r23074
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23076 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:58:37 +00:00
Michael Sparmann
6be1d8b8a8
Revert the S5L870X I2C driver to busy waiting because of some issues with interrupts, and increase the bus speed from 24kHz to 390kHz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23074 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 16:36:55 +00:00