Commit graph

348 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
271c67e802 Fix the user timer on iPod Nano 2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22959 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 16:01:26 +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
Michael Sparmann
c1c86d89c3 Make iPod Nano 2G audio work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22954 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:21 +00:00
Michael Sparmann
57b51830d6 Reduce impact of lost interrupts on S5L8700 I2C
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22953 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:14 +00:00
Michael Sparmann
385e821d04 Fix a #ifdef typo and the reds hidden by it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22952 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 12:29:08 +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
fbf034fcff Another part of FS#10633 by Michael Sparmann - correct cache/protection unit init for the Nano 2G. This should be unified with the Meizu code at some point, but is currently #ifdef'd as it is known (for some as yet unknown reason) to break the Meizu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22919 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:38:36 +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
98d7203eca Correct the IRAM definitions for the S5L8700/8701 and add definitions for plugins/codecs. The current split (64/64 core/plugins for S5L8700 and 96/80 core/plugins for S5L8701) is arbitrary and should probably be tweaked later
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22905 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 02:04:49 +00:00
Dave Chapman
8d5acd64c9 Final changes to get a Nano 2G main build compiling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22879 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:45:53 +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
2b7bc42deb Patch #2 from FS#10633 (Nano 2G developments) by Michael Sparmann - Some hardware define corrections for the S5L8701, needed for the FTL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22875 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:53:26 +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
43ec944e3c TIMERB is in a different location on the S5L8701
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:05:19 +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
Bertrik Sikken
400cd026f3 Meizu M6SP: initial LCD driver (compiles but is untested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22500 a1c6a512-1295-4272-9138-f99709370657
2009-08-24 17:37:53 +00:00
Bertrik Sikken
6b12928035 Samsung YP-S3: add backlight-target.h for the YP-S3 (contains target specific backlight and buttonlight declarations)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22327 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:59:39 +00:00
Bertrik Sikken
5aeaa84cab Samsung YP-S3: add beginning of a low-level NAND driver and update bootloader demo program to display the NAND ids.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:12:36 +00:00
Bertrik Sikken
c8e39403f4 Samsung yp-s3: clean up the lcd and button driver (making things static, rename variables etc.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22203 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 09:24:42 +00:00
Bertrik Sikken
4632fc0682 Samsung YP-S3: allow player to stay powered up without the USB cable plugged and implement power_off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22175 a1c6a512-1295-4272-9138-f99709370657
2009-08-05 16:16:17 +00:00
Bertrik Sikken
ee0ab03286 Samsung YP-S3: update backlight brightness curve again (can't go all the way down to 1/256 brightness) and update yp-s3 bootloader demo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22117 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:43:58 +00:00
Bertrik Sikken
e454d88b88 Samsung YP-S3: update backlight brightness curve so backlight is still on at the minimum brightness setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22103 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 18:53:29 +00:00
Bertrik Sikken
1b2fe50f3d Meizu: update backlight brightness curve so backlight is still on at the minimum brightness setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22102 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 18:28:25 +00:00
Bertrik Sikken
4e7517dfb1 Samsung YP-S3: implement button lights
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22100 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:27:22 +00:00
Bertrik Sikken
0f0bf7b258 Samsung YP-S3: implement headphones detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22099 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 17:13:47 +00:00
Bertrik Sikken
bcd510db66 Samsung YP-S3: implement button driver for the touch keys (and the hold/power switch)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22093 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 14:58:52 +00:00
Bertrik Sikken
95d043b26d Meizu M3: check LCD_STATUS in the lcd driver instead of using delay loops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22090 a1c6a512-1295-4272-9138-f99709370657
2009-07-30 18:33:17 +00:00
Bertrik Sikken
2fb73842a9 Start of a Rockbox port to the Samsung YP-S3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00
Bertrik Sikken
30e3350030 Meizu: fix mask for GPIO function selection used for fmradio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22076 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 23:06:31 +00:00
Dave Chapman
332da92189 Oops, too many files were committed in r22025, revert this one. The other changes committed as r22025 were initial button and audio drivers for the Nano2G - more work is needed on both, but they work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22026 a1c6a512-1295-4272-9138-f99709370657
2009-07-25 00:54:31 +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
Bertrik Sikken
17b8805b49 S5L8700: fix off-by-one error in kernel timer and fix incorrect interrupt mask in pcm driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21950 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:54:01 +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
Frank Gevaerts
c247483ef1 fix ata-nand-s5l8700 compilation properly this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21938 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 23:19:21 +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
Frank Gevaerts
c0a5a67387 Commit FS#9545, storage cleanup and multi-driver support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +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
Rafaël Carré
9191b3c16e remove nand_soft_reset and nand_disk_is_active already voided in storage.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21924 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 16:34:41 +00:00
Rafaël Carré
bdb5974c0e Revert r21912 : "Storage API : remove undeeded target-specific functions"
After a discussion mixed on mailing list and irc, it was agreed that
more abstraction for plugins is better (so developers don't have to add
a check to HAVE_DISK_STORAGE when writing disk-specific code)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 16:34:34 +00:00
Rafaël Carré
8eba69f91b Storage API : remove undeeded target-specific functions
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD
remove already unneeded nand_disk_is_active, nand_soft_reset

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 00:09:14 +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
0270e4c591 Get the Nano2G bootloader running - it now runs and displays a logo on one type of Nano2G LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21900 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:57:02 +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
Bertrik Sikken
92fed35da6 S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 19:36:27 +00:00
Bertrik Sikken
111af64e74 Meizu M3: initial version of battery readout and (uncalibrated) charge/discharge curves
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21812 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 15:33:58 +00:00
Bertrik Sikken
59b9e3ab3f Meizu: implement power driver (USB power detect / charging status / poweroff)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21805 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:32:38 +00:00
Bertrik Sikken
61394b725b S5L8700: implement timer driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21801 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 10:44:02 +00:00
Thomas Martitz
467999ac9c Remove svn:executable from these files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21797 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 09:16:55 +00:00
Bertrik Sikken
47d857981a S5L8700: fix buttons used in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21792 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 22:34:56 +00:00
Bertrik Sikken
5db8098bfd Meizu M3: implement rudimentary button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21787 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 20:00:07 +00:00
Bertrik Sikken
27c60fde0d S5L8700: add skeleton for __dbg_hw_info and __dbg_ports items in the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21777 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:41:43 +00:00
Bertrik Sikken
24cf6ce2f3 S5L8700: mask away status bits from ADC conversion result
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21775 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:12:02 +00:00
Bertrik Sikken
306753b1ed Meizu: use hardware PWM instead of interrupts+GPIO to set the backlight brightness level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21772 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 13:43:04 +00:00
Bertrik Sikken
8866342b1f S5L8700: use wakeup_wait/wakeup_signal instead of polling for i2c communication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21735 a1c6a512-1295-4272-9138-f99709370657
2009-07-09 22:08:54 +00:00
Bertrik Sikken
9ecde3d75c S5L8700: Implement ADC driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21734 a1c6a512-1295-4272-9138-f99709370657
2009-07-09 20:17:47 +00:00
Bertrik Sikken
4e965b4b6c Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21703 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 21:57:16 +00:00
Bertrik Sikken
e979951dae s5l8700: fix off-by-one error in DMA count
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21678 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 20:01:35 +00:00
Bertrik Sikken
9926c933c7 S5L8700: implement kernel timer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21672 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 19:09:14 +00:00
Bertrik Sikken
9b1c774218 S5L8700: initial framework for PCM (using DMA transfers)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21656 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 13:41:16 +00:00
Bertrik Sikken
7df759c951 Create an udacodec interface (similar to ascodec and wmcoded) and adapt/implement it for the iriver h1xx/h3xx and the meizus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21546 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 17:43:04 +00:00
Bertrik Sikken
c33373e163 S5L8700: implement i2c driver (used for communicating with the RTC and the codec in the meizus)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21533 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 20:11:11 +00:00
Bertrik Sikken
660daa51d4 Meizu M3: implement logarithmic brightness curve (curve provided by markun) and increase PWM frequency for the backlight.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21532 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 19:10:42 +00:00
Bertrik Sikken
743dcf7f69 Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to control brightness with the touch strip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21478 a1c6a512-1295-4272-9138-f99709370657
2009-06-23 18:11:03 +00:00
Bertrik Sikken
aecf2b12db Meizu lcd-m3: whitespace fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21469 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 19:46:09 +00:00
Michael Sevakis
4ed78f5c72 Clean up panicf and introduce system_exception_wait to do further target tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 10:15:32 +00:00
Frank Gevaerts
e86d651647 make the meizu bootloaders compile again with the new storage infrastructure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19088 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 14:11:49 +00:00
Frank Gevaerts
147a23a6ed More storage work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19003 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 19:36:17 +00:00
Frank Gevaerts
49ec9ea190 Make the meizu m3 load from flash, so interrupts work. More work is needed to get the m6sl "working" again
(patch by Denes Balatoni, FS#9499)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18827 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 22:28:59 +00:00
Frank Gevaerts
b69e8bb539 make colours look right
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18785 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 17:54:35 +00:00
Frank Gevaerts
2cc85bc346 Fix LCD timings on the older meizu M3 variant, so it works with a fast clock.
(FS#9484, by Denes Balatoni)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18784 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 16:55:57 +00:00
Frank Gevaerts
b56b0a37f4 remove dead code from firmware/target/arm/crt0.S, and conditionalise bits of it
make the meizu builds compile with the new crt0.S location


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18776 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 18:32:17 +00:00
Dave Chapman
e0f8c31216 Move the S5L8700 (Meizu) crt0.S file up one level - it can be used as a generic ARM crt0.S (the uncommitted patch for the Sansa V2s uses it).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18775 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 18:15:42 +00:00
Frank Gevaerts
68d9fb95de lcd now shows things on the old-style Meizu M3.
It needs to be re-tested on the new-style, colours are wrong, and timing loops need to be reviewed



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18740 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 21:12:03 +00:00
Frank Gevaerts
2d5e6e1a87 LCD driver for meizu M3, new type (older M3s are not yet supported)
Thanks to Denes Balatoni


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18719 a1c6a512-1295-4272-9138-f99709370657
2008-10-05 20:01:25 +00:00
Frank Gevaerts
e12005e9c0 set output format correctly
decrease stack size a bit, as it made bss overflow the available RAM
Thabks to Denes Balatoni


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18717 a1c6a512-1295-4272-9138-f99709370657
2008-10-05 19:52:48 +00:00
Frank Gevaerts
7983ab6cd0 M3 (and probably non-sl M6) code gets loaded at 0x22020000 by dfu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18546 a1c6a512-1295-4272-9138-f99709370657
2008-09-18 18:20:51 +00:00
Marcoen Hirschberg
48e45f5751 add Meizu M6SP and M3 ports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18544 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 23:22:11 +00:00
Frank Gevaerts
d29faf07a3 set svn properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18540 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:50:34 +00:00
Frank Gevaerts
0a584fb06c annotate init sequence
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18539 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 18:50:18 +00:00
Frank Gevaerts
66045bca7d add s6d0154 register definitions, and flesh out lcd_init_device()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18532 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 17:38:33 +00:00
Frank Gevaerts
c0e898ae29 Now reads the LCD controller ID succesfully and flashes it using the backlight
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18531 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 16:51:25 +00:00
Frank Gevaerts
3637ef9b32 First reading out of the touchpad!
disabled power handling for now, so the device will power off when unplugged again (because there is no other poweroff method provided)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18480 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:08:46 +00:00
Frank Gevaerts
d88094daa4 set PWRON bit to 1 so the player doesn't turn off immediately (should work on M6SL and M3, not sure about the others)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18386 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 20:19:12 +00:00
Frank Gevaerts
6549d312ee enable full init code, as it seems to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18382 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 01:51:43 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Marcoen Hirschberg
7b10ef9a7c initial Meizu M6SL port (take 2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:24:34 +00:00
Marcoen Hirschberg
b2ec13d8f1 Revert "initial Meizu M6SL port"
This reverts commit b7bd17ce1715c3a8acbf74a63694c28b6075da5b.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16846 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:53:51 +00:00
Marcoen Hirschberg
c7e5d78241 initial Meizu M6SL port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16844 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:29:24 +00:00