Robert Kukla
6a6c820f5f
m:robe 100 - remove ugly workaround for false initial voltage readings and wait until readings have settled instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16626 a1c6a512-1295-4272-9138-f99709370657
2008-03-11 09:38:12 +00:00
Rob Purchase
9603e4e92f
D2: Fix IRAM usage, but disable it for now as Tremor does not fit ('make zip' works now). Fix duplicate CONFIG_LCD value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16623 a1c6a512-1295-4272-9138-f99709370657
2008-03-10 21:39:04 +00:00
Jens Arnold
ed8402ca5e
Sansa SD card driver: Simplify hotswap handling, and make it send the insert/remove events while filesystem access is blocked. Also use atomic GPIO bit manipulation where possible, and protect the interrupt level manipulation in the ISR from interrupts arriving at the same time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16592 a1c6a512-1295-4272-9138-f99709370657
2008-03-09 14:49:10 +00:00
Jens Arnold
8c6920e343
Revert accidental tree commit. Sorry for that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:50:55 +00:00
Jens Arnold
d1ed7c37b1
No need to have \n here. panicf() won't output it anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:34:43 +00:00
Mark Arigo
89dc21a582
m:robe 100 - Hopefully fix the power-off issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16544 a1c6a512-1295-4272-9138-f99709370657
2008-03-07 16:05:22 +00:00
Robert Kukla
d6c23b4dd4
m:robe 100:
...
- don't compile touchpad driver for bootloader
- honour hold switch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16531 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 21:52:45 +00:00
Dave Chapman
4d58b0d4f8
Oops (from about 2 months ago) - implement viewport support in the Gigabeat F's asm-optimised lcd_bitmap_transparent_part() function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16525 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 08:12:54 +00:00
Rob Purchase
562b9de7cb
D2: Make lcd_init_device() actually turn on the LCD, in preparation for booting the main image. Previously this required an explicit lcd_enable(true).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16523 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 00:21:56 +00:00
Barry Wardell
fdb5a4b0c2
FS#8272 - Erratic reboot behaviour on sansa e200. Makes reboot on USB connect work consistently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16512 a1c6a512-1295-4272-9138-f99709370657
2008-03-04 13:52:07 +00:00
Robert Kukla
ea92e4c2d7
m:robe 100: add USB detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16480 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 13:07:11 +00:00
Jens Arnold
9876d91e35
Minor cleanup and a clarification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16468 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 21:40:33 +00:00
Frank Gevaerts
7d81e7c866
remove the #ifdef CONFIG_CPU == PP5020 around DEV_INIT2 |= INIT_USB. It shouldn't be needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16465 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 16:33:54 +00:00
Frank Gevaerts
9a6b95f721
reset USB controller when entering USB test mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16456 a1c6a512-1295-4272-9138-f99709370657
2008-02-29 18:35:21 +00:00
Frank Gevaerts
1dc9de9432
acknowledge USB disconnect. This wasn't always done anymore since the usb_wait_for_disconnect() is gone.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16452 a1c6a512-1295-4272-9138-f99709370657
2008-02-28 22:51:39 +00:00
Frank Gevaerts
14e21b207e
boost cpu while connected
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16451 a1c6a512-1295-4272-9138-f99709370657
2008-02-28 22:44:55 +00:00
Frank Gevaerts
daf3ddc70d
don't call usb_wait_for_disconnect() in the sd thread. The usb storage driver uses the sd driver, and wants to know about changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16449 a1c6a512-1295-4272-9138-f99709370657
2008-02-28 22:37:02 +00:00
Frank Gevaerts
6e7fac7c34
move the usb_core thread functionality to the main usb thread
...
fix button-detection so screenshots and charge-only mode work without enabling UMS
firewire detection is now handled separately from usb detection
increase the usb thread priority while an UMS connection is active
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16435 a1c6a512-1295-4272-9138-f99709370657
2008-02-27 19:08:30 +00:00
Frank Gevaerts
97d7f39680
added support for USB port test modes, which are (a) required by the spec, and (b) needed for electrical (i.e. signal quality) testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16427 a1c6a512-1295-4272-9138-f99709370657
2008-02-26 18:02:26 +00:00
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
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
Marcoen Hirschberg
fe99a8e3da
make the brightness setting logarithmic, which looks linear to the eye
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16161 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 17:51:05 +00:00
Rob Purchase
8a91c19f70
Fix typo (and update the build table...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16147 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 23:19:12 +00:00
Michael Giacomelli
31b6eb57b0
Commit FS#8387 by Adam Gashlin. Enables detection of firewire devices for charging on various Ipods. Note that charging itself is not yet implemented on these devices.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16124 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 23:03:23 +00:00
Michael Giacomelli
b5acab1bcf
Commit FS#8480 by Andree Buschmann. Updates battery calibration for the Sansa E series.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16122 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 22:47:05 +00:00
Robert Kukla
47cfed1f1b
audio on the m:robe 100
...
- using the existing wm8751 driver (from gigabeat port) integrated into the portal player environment
- only 44.1kHz at the moment
- for some reason the output is very quiet
- due to the lack of usable buttons the easiest (?) way to start an audio file is to copy the .playlist_control, config.cfg and nvram.bin files from another target, where auto resume is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16117 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 12:59:23 +00:00
Michael Sevakis
6a8379674c
Finally, out goes struct spinlock for anything but mutiprocessor targets where it becomes a reenterable corelock.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16105 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 13:12:33 +00:00
Michael Sevakis
3b36b98ff8
Properly serialize ata_init with other threads. Fix a bug that always initialized the lock on every call to ata_init - that should be a one time init or else the lock could be corrupted on connect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16104 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 12:32:03 +00:00
Michael Sevakis
905d80619c
meg-fx: remove superfluous i2c_init call
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16102 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 09:35:03 +00:00
Michael Sevakis
53e79cacc6
meg-fx: correct an oops in the interrupt vector table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16100 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 09:17:47 +00:00
Rob Purchase
47ea030e2e
Initial Cowon D2 commit:
...
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 22:04:48 +00:00
Jens Arnold
28cd26c471
Some cleanup for readability. No code change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16076 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 13:58:18 +00:00
Robert Kukla
bf6d5cce68
m:robe 100: tweaks for more reliable shutdown
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16074 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 12:35:10 +00:00
Robert Kukla
a615aabc33
- share adc reading code between h10 and mrobe100
...
- battery voltage calibrated and used for mrobe100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16064 a1c6a512-1295-4272-9138-f99709370657
2008-01-12 20:36:45 +00:00
Jens Arnold
41cd44caa7
Greyscale ipod lcd driver: * Assembler optimised low level functions. PP5002 targets benefit most (lcd_update() speedup >50%, and the greyscale overlay no longer makes mp3 playback skip). * Consistent brace placement style.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16060 a1c6a512-1295-4272-9138-f99709370657
2008-01-12 00:59:18 +00:00
Robert Kukla
7d961d390a
m:robe 100:
...
- adjust lcd_grey_phase_blit() parameter to recent change
- detection of external power
- compilation of plugins - need to be enabled individually in SOURCES/SUBDIRS
(use autostart.rock as test plugin with limited interaction via BUTTON_POWER)
also
- move autostart.rock to apps dir where it is expected
- set missing svn:keywords for various files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16056 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 21:48:01 +00:00
Robert Kukla
12cc3cc47c
mrobe 100:
...
- temporarily disable shutdown on low power
- enable power button for minimal interaction (not shutdown yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16049 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 21:51:44 +00:00
Jonathan Gordon
81ba146706
Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:08:31 +00:00
Jens Arnold
6a56c14e17
Greyscale library: Changed the internal data format once more (separated pixel values and phases), allowing for further optimisation of drawing, scrolling etc. * Optimised grey phase blitting in the core reduces CPU load on all architectures, most significantly on coldfire. Previous version was too slow to keep up at 45MHz, leading to unwanted graininess (update frequency was halved). Also fixed screendump on 2bpp targets with vertical pixel packing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16043 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 23:48:26 +00:00
Mark Arigo
66cd9ef385
Don't clear this bit. Helps c200 radios that have trouble tuning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16038 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 20:26:23 +00:00
Mark Arigo
2e69ec6aa7
m:robe 100 fixes: (1) add missing keymap (copied from H10), (2) rename lcd_yuv_blit to lcd_grey_phase_blit (since lcd is mono), and (3) update firmware/FILES for the new target. The bootloader and target builds should compile now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16037 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 20:07:42 +00:00
Mark Arigo
e66ddd754f
Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 07:24:43 +00:00
Dave Chapman
945c8a221a
Add viewport capabilities to all the LCD drivers, and adapt scrolling code. This is the firmware/ part of FS#8385 - the changes to the WPS code still need more work and will be committed at a later date. NOTE: There are no user-visible changes with this commit - just the infrastructure.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16018 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 20:34:11 +00:00
Jens Arnold
feb5b15e9b
All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 23:42:38 +00:00
Will Robertson
32f6109fb1
Gigabeat S memory management stuff.
...
* Moved crt0.S to imx31 subdirectory, as it was the last target using the unified file.
* DRAM is now remapped to 0x0, facilitating interrupts (which aren't done yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15965 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 12:19:40 +00:00
Will Robertson
383a32a7ae
Gigabeat S now uses the shared ARM MMU code rather than the (mostly duplicated) private code. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15961 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 03:47:28 +00:00
Jens Arnold
05784b52ab
H10 button driver: Use atomic GPIO bit manipulation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15839 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 20:23:12 +00:00
Nicolas Pennequin
c2ca8c710c
* Make the Gigabeat S bootloader a bit more interesting: it looks for the first firmware file it finds on the second partition and attempts to load it. Loading fails to get past the splash screen though.
...
* Make the main binary compile.
To send a firmware file, use mtp-sendfile. To update you'll need to delete the previous firmware file, as files are named sequentially and the first one is loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15836 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 15:40:29 +00:00
Björn Stenberg
a0224590d4
Added some error returns
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15834 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:42:47 +00:00
Michael Sevakis
a8b388fb86
Enable dualcore for the pp5002 processor by adding the needed cache handling and sleep/wakeup sync to the kernel. Refine some handling of fw/bl startup for all.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15827 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:20:26 +00:00
Michael Sevakis
7126d64820
Further lockdown of multipart i2c operations that must be done without intrusion.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15823 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:41 +00:00
Jens Arnold
120fb4f319
Speed up YUV blitting on iPod Video by ~8% (FS #8075 by Andree Buschmann).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15820 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:48:23 +00:00
Daniel Stenberg
5d2757a43f
Enable reboot on USB-insert for e200, as it works when done c200-style
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15818 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 23:13:35 +00:00
Björn Stenberg
d1f22a4e86
Disabling usb reboot for Sansa E200 until system_reboot() is fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15810 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 10:20:28 +00:00
Catalin Patulea
475e64eb5c
m:robe 500i: Fix indenting style in DSP loader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15801 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 01:27:33 +00:00
Catalin Patulea
739b2cc4bc
m:robe 500i: Initialize the HPIB from scratch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15800 a1c6a512-1295-4272-9138-f99709370657
2007-11-25 01:26:51 +00:00
Jens Arnold
cb65426b2c
Make usb_pin_detect() static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15779 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 18:00:24 +00:00
Jens Arnold
d508ce0681
USB detect pin is GPIO D3 on Mini G2, and almost for sure also on G4 grayscale, Color, and Mini G1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15778 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 17:59:43 +00:00
Björn Stenberg
20dbc1b21f
Re-added USB charger detection and auto reboot on host connect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15774 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 15:02:26 +00:00
Björn Stenberg
482e839ea9
Enable usbstack on ipods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15772 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:58:47 +00:00
Björn Stenberg
e8fd3dd28a
Bad fix, reverting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15766 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 00:29:16 +00:00
Björn Stenberg
68b440346e
Quick fix for ipod usb detect. (Charger detection coming later.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15764 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 00:02:52 +00:00
Björn Stenberg
7af22e1a86
Red fix: USB power check implemented in driver instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15761 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 22:17:45 +00:00
Björn Stenberg
b4e5123e5d
New USB stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15758 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 20:51:00 +00:00
Michael Sevakis
398d9fd8b4
Hopefully the last word on getting rid of yield_codecs loops (cut read chunk to 16kB). Sansa ata driver also didn't yield enough so buffering would starve other threads. Bump priority of audio thread to keep UI more responsive.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15724 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 22:45:46 +00:00
Dave Chapman
43cb7c3549
Restore a line accidentally removed by r15705
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15719 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 07:52:37 +00:00
Linus Nielsen Feltzing
3e192a616d
Code police raid
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15717 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 07:17:46 +00:00
Catalin Patulea
4c4c9f27b6
m:robe 500i: Fix DSP loader code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15716 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 06:02:05 +00:00
Catalin Patulea
180bd76d89
m:robe 500i: Add DSP (C5409) control driver and image loader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15713 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 05:12:05 +00:00
Karl Kurbjun
95ef859fac
Remove last few inw/outw uses in the M:Robe port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15712 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 04:55:57 +00:00
Paul Louden
9873d33bf5
Fix for Nano timing issues, should resolve crashes, data aborts, and
...
general glitchiness in playback. Based on the patch in FS#7510 by Jordan
Anderson.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15705 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 01:46:18 +00:00
Marcoen Hirschberg
c359a0ee91
let BUTTON_POWER exit the hw debug screen for the gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15690 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 16:02:50 +00:00
Linus Nielsen Feltzing
e75327b332
FS#7738 - Scroll wheel acceleration for iPod
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15681 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 11:05:54 +00:00
Karl Kurbjun
a8c020288c
Small speedup on the M:Robe LCD updates - use partial updates in landscape mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15680 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 06:26:53 +00:00
Michael Sevakis
99617d71ba
Make speex the new voice format for SWCODEC targets (non-Archos). Remove codec swapping and build speex voice decoding directly into the core binary.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:12:19 +00:00
Jens Arnold
940fe31f81
Move 4th Gen (grayscale and color) backlight init where it belongs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15661 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 14:01:58 +00:00
Jens Arnold
6ef2db2c11
Significant LCD speedup for all greyscale iPods and Sansa c200 (c200, 4th Gen, Mini 1st Gen: >3.3x speedup, 1st..3rd Gen: ~2x speedup, Mini 2nd Gen: ~30% speedup).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15655 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 12:49:24 +00:00
Karl Kurbjun
d3d0b26421
Work in progress fixes to the remote button handling. Now the remote can be unplugged and then plugged in and it will work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15628 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 06:44:35 +00:00
Jens Arnold
f4c5c6aa62
Fix bootloaders, and the backlight-modded Ondio build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15600 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 19:19:38 +00:00
Jens Arnold
ef12b3b5c6
Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 18:49:53 +00:00
Michael Sevakis
d970c3d054
Portal player i2c driver: More struct spinlock phaseout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15593 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 07:58:54 +00:00
Barry Wardell
93b021b7f6
Hopefully fix line-in recording on PortalPlayer targets (H10 in particular).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15590 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 23:41:54 +00:00
Karl Kurbjun
1b3dac9042
Setup the gigabeat so that iram is faked in a different spot since the normal iram location does not seem to be working. This lays the groundwork to get rolo running.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15581 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:13:09 +00:00
Michael Sevakis
6e36ac547c
H10: Touch-up the audio source switching a bit. Actually fix my earlier errors when enabling recording from Line/FM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15580 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 19:11:23 +00:00
Karl Kurbjun
31ea780ee0
Seperate the Gigabeat F/X crt0.s, cleanup some #ifdefs in app.lds, add an extra reg to the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15579 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 17:58:13 +00:00
Barry Wardell
c495cdae59
FS#8046: H10 FM tuner support. Thanks to Przemyslaw Holubowski for doing the hard work in figuring out how to communicate with the tuner.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15578 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 16:00:33 +00:00
Jonathan Gordon
28dfb54eeb
change the SCREEN_ROTATE define to be more meaningful, and set the mr500 orientation to landscape by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15567 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 04:48:33 +00:00
Karl Kurbjun
59a2862347
Show some more registers in the debug screen, fix the touchscreen when SCREEN_ROTATE is set.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15566 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 03:31:24 +00:00
Karl Kurbjun
d185f9eba8
Fix the Gigabeat red and move it's hw specific code into the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15562 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 23:13:27 +00:00
Karl Kurbjun
0082da7515
Add some forgotten files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15561 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:16:15 +00:00
Karl Kurbjun
d3c0a7f169
Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:12:54 +00:00
Jens Arnold
a50a80e1a3
Mini 2nd Gen: Almost doubled LCD update speed when not boosted (68.5->129fps @30MHz) by handling the serial LCD clock divider.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15524 a1c6a512-1295-4272-9138-f99709370657
2007-11-08 06:52:48 +00:00
Michael Sevakis
57d71e4267
Add some CACHEALIGN_* macros and a helper function to assist in aligning data and buffers on PortalPlayer processors to cache line boundaries. They're noops when PROC_NEED_CACHEALIGN isn't defined. Go safe and increase the value to 32 since I'm not sure yet if 16 is sufficient - changing that is a one-liner. Add helper to plugin API which will be needed shortly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15523 a1c6a512-1295-4272-9138-f99709370657
2007-11-08 05:17:20 +00:00
Karl Kurbjun
5db6b51759
Get the user timer working properly consequentially fixing doom without a hack.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15510 a1c6a512-1295-4272-9138-f99709370657
2007-11-07 05:30:31 +00:00
Jens Arnold
55398e934c
c200: Make microSD cards finally work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15493 a1c6a512-1295-4272-9138-f99709370657
2007-11-06 07:21:08 +00:00
Jens Arnold
20a39f485a
Get rid of some more inl/outl, and use the new macros for bitwise GPIO manipulation. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15492 a1c6a512-1295-4272-9138-f99709370657
2007-11-06 00:36:39 +00:00
Barry Wardell
03dd35db0e
Get rid of some more inl/outl. 0x70000084 seems to be GPO32_ENABLE.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15477 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 17:19:00 +00:00
Barry Wardell
4ef3e821cb
Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15476 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 16:12:13 +00:00
Barry Wardell
2d95fd524d
Get rid of some more inl/outl and use the new GPO32 define instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15474 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 15:48:59 +00:00
Barry Wardell
91bacf363a
Get rid of a couple of inl/outl since we have defines. Also use some other defines in place of magic values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15470 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 14:26:47 +00:00
Michael Sevakis
f29c4ccc6a
e200/c200: Take advantage of mutex recursion for the tuner driver and dump the awkward *_nolock stuff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15468 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 07:01:32 +00:00
Jens Arnold
6fb4c53fb9
The GPIO interrupts are split into several port groups on all PP502x versions, so move those definitions into pp5020.h, and add the missing group. Make microSD hotswap detection work on Sansa c200. Note that microSD access itself does not work yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15460 a1c6a512-1295-4272-9138-f99709370657
2007-11-04 13:22:17 +00:00
Jens Arnold
015f6286a8
Finally: HDD power control for all PP502x iPods (4th gen Grayscale, Color, Minis, Video). * Wait a short time after powering on the HDD on all disk based targets, as that seems like a good idea. Shorten the excessive wait on initial power on.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15444 a1c6a512-1295-4272-9138-f99709370657
2007-11-03 23:57:24 +00:00
Dave Chapman
21f0552947
TAB policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15407 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 08:43:56 +00:00
Catalin Patulea
f57ea9acd7
m:robe 500i port: Add backlight support to the main build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15404 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 06:13:43 +00:00
Karl Kurbjun
38548c7118
Build some more plugins for M:Robe most work, doom builds and runs if you use a hack - need to fix the user timer so that it works properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15403 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:21:34 +00:00
Catalin Patulea
574b1009a6
m:robe 500i port: Add support for the backlight client in the SPI subsystem
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15402 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:07:52 +00:00
Jens Arnold
9daf658ef1
iPod Video LCD driver: Reintroduce the simple method of waiting for update completion for use in the bootloader, because bootloaders don't enable interrupts and hence the tick task won't work. Slower than the full driver, but still faster than the old one, because it first transfers the data, and then polls the BCM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15399 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 01:18:14 +00:00
Jens Arnold
c888a9bebe
Bootloaders are single core... (aka fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15398 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 00:24:20 +00:00
Jens Arnold
ef8a7eaf2a
Major speedup of the iPod Video LCD driver. The internal update procedure of the BCM chip is now completely shadowed, handled by a tick task as necessary. Also fixes the occasional UI freezes due to stalled BCM updates by re-kicking it after a timeout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15397 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 00:07:45 +00:00
Dave Chapman
a4d48d0c0d
Button driver for Logik DAX, plus some changes to the debug info displayed in the bootloader build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15396 a1c6a512-1295-4272-9138-f99709370657
2007-11-01 23:38:57 +00:00
Jens Arnold
b77893e4d5
C200: Reworked the LCD driver a bit, and fixed a bug with single column updates (was only visible in mandelbrot).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15343 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 13:16:05 +00:00
Jens Arnold
b05066de12
iPod Video: Further optimised LCD data transfer (5..6% speedup, but increase in FPS measured with test_fps is less), making use of the fact that the low address bits aren't decoded by the BCM. Major cleanup of the driver, and introduced register names.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15341 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 12:09:46 +00:00
Dave Chapman
28f6ae49ec
Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15339 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 11:08:10 +00:00
Michael Sevakis
c266204aec
e200: shorten some delays so the backlight turn on is snappier. Values seem to have a safe margin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15337 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 00:39:01 +00:00
Karl Kurbjun
0a632680e9
Some small cleanups and code for testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15312 a1c6a512-1295-4272-9138-f99709370657
2007-10-26 05:17:15 +00:00
Barry Wardell
007563c93d
FS#8023: Use of AS3514 #defines instead of magic values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15297 a1c6a512-1295-4272-9138-f99709370657
2007-10-25 09:03:47 +00:00
Jonathan Gordon
eed41ff985
mrobe changes:
...
stop it thinking the battery is always flat and shutting down
add keymap for time/date screen
pressing a list item will highlight it before accepting it (looks better than it just entering the item without the selection changing first)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15280 a1c6a512-1295-4272-9138-f99709370657
2007-10-23 14:33:16 +00:00
Jonathan Gordon
dbff3731a5
enable the RTC on the mrobe.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15279 a1c6a512-1295-4272-9138-f99709370657
2007-10-23 14:22:44 +00:00
Karl Kurbjun
5a9a2b7bc4
Unify the Gigabeat F/X and M:Robe MMU code while enabling it for the M:Robe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15275 a1c6a512-1295-4272-9138-f99709370657
2007-10-23 03:29:15 +00:00
Jonathan Gordon
4c06ad6e72
mr500 sort of working battery measurments. probably could be done better, but it works
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15271 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 15:28:40 +00:00
Jonathan Gordon
12d1ff912c
touchpad driver for the mrobe. nothing in apps/ uses it yet.
...
Changes to button driver: HAVE_BUTTON_DATA targets pass the button data straight back in the button_read_device() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15262 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 07:01:59 +00:00
Jonathan Gordon
e49ab427f0
revert the previous one... = is ok and a touch faster
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15261 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 06:40:32 +00:00
Jonathan Gordon
344c41f644
fix the interupt clearing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15259 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 03:18:26 +00:00
Jens Arnold
3c1b9d9d70
Assembler optimised lcd_yuv_blit() for iPod Video (Fs #7951 by Andree Buschmann, adapted and separated into an .S file by me).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15257 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 00:37:50 +00:00
Karl Kurbjun
fdbc01c6e2
More M:Robe work including a fix to lcd-as-memframe for larger screens thanks to Michael Sevakis. Also fixes simulator builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 23:12:17 +00:00
Jens Arnold
c1051549b9
Implement YUV dithering for c200, and enable the option in mpegplayer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15246 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 13:46:26 +00:00
Jonathan Gordon
61f1ab27ff
init spi and uart in the main build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 02:14:09 +00:00
Jonathan Gordon
d8667df357
slightly better touchpad driver. Still not brilliant, but the bootloader/debugger can follow a stylus with a cursor, so we can start work on getting apps/ working
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15187 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 12:15:56 +00:00
Jonathan Gordon
b431fe349f
Make rockbox think we have a full battery untill this actually works, otherwise apps/ doesnt like it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15186 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 10:53:59 +00:00
Karl Kurbjun
fa1a38e7ce
Some changes to the UART/button driver - reduce the number of interrupts - more work is needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15180 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 05:14:10 +00:00
Karl Kurbjun
f6bc19158e
Turns out you can boot the main build by copying apps/rockbox.bin to /rockbox.mrboot. Something is wrong with the rockbox bootloader, but at least now we can work with the main build. Added in a warning for the core_sleep function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15162 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 05:19:20 +00:00
Thom Johansen
b5f779b2ef
Parts of FS #7951 by Andree Buschmann. Faster YUV BLIT (means faster mpegplayer) for Ipods Nano and Video while we're waiting for the assembler ones.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15147 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 19:47:15 +00:00
Barry Wardell
1d1a17c0db
Improved H10 ADC driver. We now do things exactly as the OF does. This includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 10:48:16 +00:00
Michael Sevakis
782aae4402
Finish the conversion to packed i2s for PP502x. Karl Kurbjun-approved for Mini-1G. Simplify the pcm format selection #ifdefs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15137 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 04:19:18 +00:00
Michael Sevakis
a9b2fb5ee3
Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 01:25:17 +00:00
Karl Kurbjun
b7a4e101cb
M:Robe - Fix compilation and remove some warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15095 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 14:53:34 +00:00
Jens Arnold
d160c10e37
H10 LCD driver size reductions: Un-inline a function for H10 20GB, and introduce lcd_write_reg() for H10 5/6GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15090 a1c6a512-1295-4272-9138-f99709370657
2007-10-12 17:09:33 +00:00
Jens Arnold
8aeed2d32e
PP LCD drivers: * Optimised and cleaned up PP colour LCD drivers. Immeasurable speedup on iPod Color, huge speedup on small H10 (a factor of 3). Should be a bit faster on big H10 too. * Big H10 changed bitmap format, so needs reconfiguring + full rebuild. * Better register naming for the mono LCD bridge. Register names for the colour LCD bridge.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15082 a1c6a512-1295-4272-9138-f99709370657
2007-10-12 00:28:57 +00:00
Will Robertson
95a3e14170
These functions haven't been implemented yet - remove their content to get Gigabeat S builds compiling again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15074 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 08:25:24 +00:00
Thom Johansen
8f72192fa2
Increase step size of stereo width to 5% to avoid tediously long list in settings. Reduce max limit from 255% to 250% for cosmetic reasons, value of 255% was chosen because of (very) old restrictions in settings system anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15057 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 21:29:20 +00:00
Dave Chapman
1092edf3e1
Packed I2S for ipod Color (tested) and ipod 4G (untested, but assumed to be the same as the Color - everything else is).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15053 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 20:57:31 +00:00
Michael Sevakis
ce135909b9
Change c200 and e200 to use the same IIS FIFO format as seems to be working for others. Samples there have been packed for a long time though so no change to that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15051 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 20:12:26 +00:00
Jens Arnold
6c98c8c6cb
Packed I2S for iPod Mini G2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15050 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 19:59:00 +00:00
Thom Johansen
8500f485b6
FS #7917 by Andree Buschmann. Packed I2S also for Ipod Video.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15049 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 19:24:18 +00:00
Michael Sevakis
3fd073ed4d
Unbloat the PCM changes on PortalPlayer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15041 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 00:09:28 +00:00
Thom Johansen
eb1e35f6af
Make Ipod Nano use packed 16 bit IIS FIFO transfers as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15040 a1c6a512-1295-4272-9138-f99709370657
2007-10-08 21:20:06 +00:00
Michael Sevakis
4c3897eb15
Hopefully take care of FS#7806 - Current Sansapatcher fails to boot OF by removing all hotswap support from the bootloader. It won't fully be closed until Sansapatcher is updated of course. There's still a report of the partition dump not working unless 20 bytes of padding are inserted at the start of main() but that's only a developer-enabled feature. Seems weird though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15038 a1c6a512-1295-4272-9138-f99709370657
2007-10-08 20:39:46 +00:00
Michael Sevakis
4512f1a14f
Finally get packed samples to work in a nice way on H10 in IIS mode. Add some more register defs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15026 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 20:14:32 +00:00
Jens Arnold
d1e2f5240c
c200: First implemention of lcd_yuv_blit(). mpegplayer works now, but speed can be optimized more and dithering is not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15020 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 17:54:49 +00:00
Jens Arnold
1f0d06f085
* Use proper definitions for the PP (mono) LCD bridge. * Clean up pp5002.h a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15018 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 16:44:55 +00:00
Jens Arnold
5f1ec307db
Name all button light functions and variables consistently starting with buttonlight_ .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15016 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 15:02:02 +00:00
Jens Arnold
0464c36bdc
Fix red bootloader build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15015 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 12:57:07 +00:00
Jens Arnold
4efd9c4eef
c200: Make the backlight react on unlocking hold as intended.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15014 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 12:22:19 +00:00