Commit graph

22 commits

Author SHA1 Message Date
Michael Sparmann
e74daf2973 Reduce iPod Nano 2G NAND timeouts to a sane value (20ms)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23054 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 18:54:48 +00:00
Michael Sparmann
1fa5d49380 Implemented iPod Nano 2G power_off()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23014 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 20:56:51 +00:00
Michael Sparmann
304d7175b9 Make iPod Nano 2G FTL return -1 on write() call, if read-only, to prevent panic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23000 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 18:46:53 +00:00
Dave Chapman
ee21a5322e Implement lcd_blit_yuv() for the 2nd gen Nano, based on the implementation for the iPod Color and 1st gen Nano. mpegplayer now works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22992 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 21:48:11 +00:00
Michael Sparmann
5abd9686f4 Encoding fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22970 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:54:37 +00:00
Michael Sparmann
be25469b9b Reworked iPod Nano 2G PMU code, added RTC and battery ADC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22967 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:21:33 +00:00
Michael Sparmann
79bf2da1ef iPod Nano 2G NAND/ECC driver and FTL improvements (still polling)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22958 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 14:42:25 +00:00
Dave Chapman
b349d8b0ea Implement lcd_update_rect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22924 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 17:32:51 +00:00
Dave Chapman
ad0a0569ea Another patch from FS#10633 by Michael Sparmann (with a couple of minor cosmetic tweaks by me) - cleanly unmount the flash when powering off or rebooting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22920 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 16:08:33 +00:00
Dave Chapman
a7ea270e9c Read/write Nano2G FTL/NAND driver by Michael Sparmann (FS#10633).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22918 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:02:40 +00:00
Dave Chapman
f5feb13cc5 Unify the button driver for the Nano 2G with the driver for earlier clickwheel ipods. The clickwheel hardware appears to be the same - the differences are just related to the hardware init and how the data is read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22878 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:04:30 +00:00
Dave Chapman
997e6bd7e9 Fix unreliable LCD updates on the "type 0" LCD. Plus add some comments and a stub lcd_blit_yuv()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22717 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:08:58 +00:00
Dave Chapman
8dae933293 Add an app.lds and some stub functions for the Nano 2G - this isn't enough to make rockbox.bin compile, but it's a step towards it (more commits coming soon).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22714 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 07:26:08 +00:00
Dave Chapman
5b3f333dd7 Correct the memory sizes (IRAM and DRAM) for the Nano2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22025 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 00:49:13 +00:00
Dave Chapman
808938220a Nano2G Backlight driver improvements - the previous version didn't work reliably.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21986 a1c6a512-1295-4272-9138-f99709370657
2009-07-20 21:30:07 +00:00
Dave Chapman
9be28179e4 Nano2g button driver - currently only implementing the hold switch. Should have been part of previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21949 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:36:35 +00:00
Dave Chapman
386503502b Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Dave Chapman
6432941f10 Basic backlight driver for Nano 2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21935 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:40:36 +00:00
Dave Chapman
11c3f67a1e Improvments to Nano 2G LCD driver. This now works reliably on both LCD types.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21926 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 17:58:43 +00:00
Dave Chapman
715d8c63d9 Add auto-detection of Nano 2G LCD type, and an initial attempt at lcd_update() for the second lcd type. This lcd_update works, but not reliably.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21905 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 18:03:09 +00:00
Dave Chapman
02f5a001fe Working LCD driver for half the Nano2Gs. It now appears that there are two types of LCD though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21895 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:00:16 +00:00
Dave Chapman
afe43d3fcb Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:16:51 +00:00