Commit graph

773 commits

Author SHA1 Message Date
Frank Gevaerts
2279d95efe disable logf again, since it was accidentally enabled in the previous commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16409 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 16:05:35 +00:00
Frank Gevaerts
a5a03cdb62 comment fix, and one logf() removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16407 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 13:59:48 +00:00
Mark Arigo
c9b8f2f5a3 m:robe 100 - now that we have working buttons, we can enable backlight on/off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16402 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 04:30:05 +00:00
Mark Arigo
cc7e667ef2 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16401 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 04:27:36 +00:00
Mark Arigo
d829075a00 Driver for the Synaptics touchpad on the m:robe 100 based on the 3-wire interface spec. Needs some tweaking as it's too sensitive with the default hardware settings. For now, the vertical strip is divided into up/select/down buttons. Also, redo the keymap (using the Gigabeat as a starting point), but it still needs a good bit of work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16400 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 04:12:16 +00:00
Frank Gevaerts
523af276c1 Only allow high-speed usb if USE_HIGH_SPEED is defined. It still causes data corruption (full speed should be safe)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16368 a1c6a512-1295-4272-9138-f99709370657
2008-02-22 20:08:53 +00:00
Frank Gevaerts
fcd6cf24a2 Make high speed work. Does not fix any other bugs yet, so still be careful about pressing buttons while connecting, or making screenshots.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16366 a1c6a512-1295-4272-9138-f99709370657
2008-02-22 17:08:23 +00:00
Frank Gevaerts
07427592a9 Major USB stack improvements. It now works at nearly the maximum speed for a full speed connection, and does seem stable.
Still not enabled by default, #define USE_ROCKBOX_USB is still required to enable it.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16360 a1c6a512-1295-4272-9138-f99709370657
2008-02-20 22:54:26 +00:00
Barry Wardell
c643b85ce4 FS#8588: disable USB device again when USB is disconnected on PortalPlayer targets. Previously, the USB device was left on after USB disconnection causing extra battery drain. This alleviates this problem somewhat, although it seems like battery drain may still be higher after a USB disconnection, so we're still missing something.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16354 a1c6a512-1295-4272-9138-f99709370657
2008-02-19 15:25:07 +00:00
Will Robertson
bc4621499a Bring the IMX31 serial driver in line with the CONTRIBUTING guidelines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16352 a1c6a512-1295-4272-9138-f99709370657
2008-02-19 14:15:59 +00:00
Nicolas Pennequin
e2f5f21e5b Give the Gigabeat S bootloader the ability to untar a tarball.
To test a build, use 'make tar' and send the tar to the unit. The bootloader will unarchive it and delete it before loading the main binary.
This is a temporary hack to make testing possible until we have a better way of sending a complete build.
Also enable writing to the disk by disabling the optimised write stubs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16338 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 23:17:08 +00:00
Christian Gmeiner
a999556e84 revert my work, suggested by amiconn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16328 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 17:58:56 +00:00
Christian Gmeiner
d085ead3ba the last one... sorry for trouble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16327 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 16:38:30 +00:00
Christian Gmeiner
433a7d4ea9 fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16326 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 15:43:43 +00:00
Christian Gmeiner
b9c9ca6290 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16325 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 15:32:26 +00:00
Christian Gmeiner
78fa347c6b FS#8611: move hw_info for pp targets into target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16324 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:43:23 +00:00
Christian Gmeiner
5df1273741 a very basic power_off function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16319 a1c6a512-1295-4272-9138-f99709370657
2008-02-16 13:01:30 +00:00
Christian Gmeiner
55e7f11c44 I need to overwork this - sorry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16318 a1c6a512-1295-4272-9138-f99709370657
2008-02-16 12:47:42 +00:00
Christian Gmeiner
868fcce96c Shutdown needs about 2 seconds, but it seems to work :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16317 a1c6a512-1295-4272-9138-f99709370657
2008-02-16 12:44:15 +00:00
Christian Gmeiner
b650bc592a fix compiling of debug menu for tcc780x
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16316 a1c6a512-1295-4272-9138-f99709370657
2008-02-15 12:37:36 +00:00
Robert Keevil
746ff30003 Revert LCD changes - make sure the backlight remains on as a visible sign that the unit has powered off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16314 a1c6a512-1295-4272-9138-f99709370657
2008-02-14 20:48:17 +00:00
Robert Keevil
15581e8ad5 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16312 a1c6a512-1295-4272-9138-f99709370657
2008-02-14 15:24:31 +00:00
Robert Keevil
5d6994ee99 Prevent the screen flashing white when shutting down colour ipods - fixes FS#7755
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16311 a1c6a512-1295-4272-9138-f99709370657
2008-02-14 15:02:06 +00:00
Rob Purchase
addb5228ec D2: Further work-in-progress on the NAND driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16308 a1c6a512-1295-4272-9138-f99709370657
2008-02-13 23:50:44 +00:00
Karl Kurbjun
c3213e40ad Fix the red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16299 a1c6a512-1295-4272-9138-f99709370657
2008-02-13 05:49:48 +00:00
Karl Kurbjun
94bd1f74a7 Make the gigabeat LCD initialization work properly without the original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16298 a1c6a512-1295-4272-9138-f99709370657
2008-02-13 05:46:04 +00:00
Björn Stenberg
2f7cffa204 Major USB fixes by Frank Gevaerts. Still disabled in builds, #define USE_ROCKBOX_USB to test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16279 a1c6a512-1295-4272-9138-f99709370657
2008-02-11 14:26:25 +00:00
Michael Sevakis
9811fc9abf Some misc. ATA stuff: Increase threads' priority (important for idle callbacks to get done faster). Use a simpler loop for ata thread. Add a balancing mutex_lock call to ata_init (oops).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16278 a1c6a512-1295-4272-9138-f99709370657
2008-02-11 07:42:11 +00:00
Robert Kukla
c7559753ce make mrobe100 work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16270 a1c6a512-1295-4272-9138-f99709370657
2008-02-10 16:06:01 +00:00
Michael Giacomelli
054447f9e6 Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
2008-02-10 05:39:20 +00:00
Jonas Häggqvist
f6f1127219 Use a fixed multiplier of 2^10 as required when calculating number of blocks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16256 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 21:07:44 +00:00
Michael Sevakis
952347decb Oops. Tiny goof.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16248 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 08:05:01 +00:00
Michael Sevakis
02de55cc85 Gigabeat S: Get button driver at 100%. Disable SPI because it hangs and will be changed to interrupt-based. Add some more iMX.31 register definitions and flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16247 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 07:59:53 +00:00
Michael Sevakis
bc057f91b5 Gigabeat S: Get boot to go a little father.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16245 a1c6a512-1295-4272-9138-f99709370657
2008-02-08 06:34:11 +00:00
Michael Sevakis
a07c034de7 Gigabeat S: Interrupt enabled bootloader. Miscellaneous integration changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16243 a1c6a512-1295-4272-9138-f99709370657
2008-02-08 02:20:05 +00:00
Michael Sevakis
ca62cc082b Oops. On a roll...that shouldn't have been committed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16227 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 18:09:02 +00:00
Michael Sevakis
73de812cb6 gigabeatS: Fix the timer startup oddness. Seems it likes the interrupt clear at the module level after enabling the vector.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16226 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 18:07:57 +00:00
Michael Sevakis
c3e73a5f9e Do better job with UIE_VECTOR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16221 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 07:17:56 +00:00
Michael Sevakis
47412cbc35 Code police tabs and spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16219 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 05:17:33 +00:00
Michael Sevakis
1f021af60c Gigabeat S mixer: Make some progress. Get the tick and core sleep working using the AVIC. Redo the startup code to remap from IRAM and not include the lcd driver frambuffer in the remapping (until it can be moved). Clean up LCD driver. For other misc. changes, see the diffs. Now it progresses to ATA init and fails with -11 but without crashing or hanging. Replace all bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16216 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 04:43:19 +00:00
Robert Kukla
8812879aac fix h300 red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16209 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 18:31:47 +00:00
Robert Kukla
9dc67828a9 mrobe 100: real time clock (if anybody recognises the RTC chip let me know)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16208 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 18:15:39 +00:00
Mark Arigo
06daa03630 mrobe 100: (1) device reset in system_init is same as H10. (2) make power_off actually work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16203 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 00:04:02 +00:00
Michael Sevakis
7e402d8202 H10-20GB: Commit the first patch in FS#8533 to fix the mpegplayer display problem where only half the data was reaching the display on some players. Two individuals report that it corrects it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16193 a1c6a512-1295-4272-9138-f99709370657
2008-02-01 02:02:38 +00:00
Michael Sevakis
0efdd7a5f7 Use the timeout API as a oneshot for headphone plug debouncing. Set at 1s for now which seems comfortable and was good for meg-fx but target-specific adjustment is easy enough (my 3G hp jack is dead so I can't check that one :( ). Do some minor rearrangements for init safety and consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16178 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 21:13:04 +00:00
Rob Purchase
637e26e8e4 D2: Add auto-detection of the SAMSUNG flash chips used in the 2/4/8Gb
models.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16177 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 18:50:09 +00:00
Michael Sevakis
f8709ac7e2 H10 20GB: Assembly YUV blitting and dithering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16171 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 14:24:09 +00:00
Rob Purchase
5991478628 Read ID codes & raw page data from D2 NAND flash (work in progress;
no logical->physical address translation yet)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16167 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 21:37:59 +00:00
Michael Sevakis
506d18b0e6 H10 20GB: Hopefully fix the issue on FM not operating at 80MHz CPU frequency for everyone. Works for me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16165 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 19:17:48 +00:00
Marcoen Hirschberg
7dff491a72 - make the booloader compile again
- make the brightness table static
- also use the logarithmic scale for the button lights


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16162 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 18:05:21 +00:00