Jens Arnold
17bc340f1f
Make the LCD remote work in the iAudio M3, M5 and X5 bootloaders. * Fix viewport related init bug in the 2 bit vertically interleaved LCD driver. * Fix low bat warning in iaudio bootloader - voltages are in millivolts now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16648 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 23:08:33 +00:00
Jens Arnold
769fcbd4d9
More iAudio M3 work. Bootloader compiles, but doesn't work yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16645 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 20:35:42 +00:00
Michael Sevakis
f5921cface
Really stop red. Whatever works atm.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16639 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 11:59:10 +00:00
Michael Sevakis
e37044ff1d
Hotswap code shuffling: Fix yellow. Simplify some target function access. Keep fat lock access from compiling for Ondios - think of a nicer way later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16637 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 11:08:41 +00:00
Michael Sevakis
06a5299aff
Do some crackdown on kernel object reinitialization after they could be in use and use before initialization. For c200/e200: Be sure fat cache and ata locks are acquired in the proper order during hot swapping. Delay hotswap monitoring until after initial file mounting (address 2nd kobj concern + possible call of fat driver before init).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16636 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 10:03:52 +00:00
Michael Sevakis
2f5a37de5c
Fix newly introduced race condition in SD driver. Make sure to force remount in case two SYS_HOTSWAP_INSERTED messages are received in a row. Be sure flags are reset to re-initialize the SD-card. Go back to locking out driver access during disk mount/unmount attempts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16635 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 02:50:07 +00:00
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
Nils Wallménius
d1fadb28f8
Move some sh specific assembler files into the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16516 a1c6a512-1295-4272-9138-f99709370657
2008-03-04 16:02:19 +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
Peter D'Hoye
3c58f5d026
code police: add some missing trailing zeroes to remove possible confusion. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16466 a1c6a512-1295-4272-9138-f99709370657
2008-03-01 17:52:26 +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
Jens Arnold
41c1f17296
Fix a few comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16434 a1c6a512-1295-4272-9138-f99709370657
2008-02-27 18:50:54 +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