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
Maurus Cuelenaere
d07ac657a4
Forgot one ...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18738 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 20:24:41 +00:00
Maurus Cuelenaere
23b7e95770
Correct HAS_BUTTON_HOLD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18734 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 19:07:33 +00:00
Vitja Makarov
c4fdd2e788
Fill some ata_identify fields, e.g model name, firmware, block count
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18725 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 05:04:11 +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
478fc5baed
reorganise the USB stack a bit to allow for easier integration of non-ARC controller drivers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18703 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 22:43:16 +00:00
Peter D'Hoye
66f5eec8f0
Fix samplerate setting for mini 1g/2g
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18673 a1c6a512-1295-4272-9138-f99709370657
2008-09-30 20:26:25 +00:00
Peter D'Hoye
b297eb9d9d
Codepolice: the patch I accepted contained some tabs. Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18668 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 20:50:26 +00:00
Peter D'Hoye
11ef4ce1f9
Accept FS #9394 by Christian Lees and extend it to all PP targets with a WM8731: More samplerates for playback and recording. Only tested on H10 but should work on the others too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18662 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 23:25:07 +00:00
Karl Kurbjun
3ef51c5cbb
Add the shutdown routine necessary when bootloader is flashed. Normal build/bootloader still operate as expected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18651 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 03:08:19 +00:00
Karl Kurbjun
143b8f1c30
More Gigabeat F flash work. This sets the bootloader up for dual boot functionality and allows the player to shutdown cleanly (with the help of the OF). This does not effect the normal build or non-flash bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18650 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 02:54:29 +00:00
Jens Arnold
15d996a023
Disable bidirectional text handling and arabic joining in the bootloaders in order to save space. * Disable greyblitting in archos bootloaders for the same reason.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18584 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 18:46:27 +00:00
Vitja Makarov
9e13e365d6
Add some missed bits + change MODE to TMODE
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18567 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:27:21 +00:00
Dave Chapman
85807cd44e
Trivial changes to make the main Rockbox builds for the Sansa m200 and Logik DAX ports compile. Note that some codecs are currently disabled (due to lowmem on these targets), but that needs more work and analysis to decide how much RAM we want to allocate to codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18566 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:15:18 +00:00
Jens Arnold
3e9ca1de90
Define the various CPUFREQ_* macros so that Gigabeat S compiles with test_codec enabled, and use the correct value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18562 a1c6a512-1295-4272-9138-f99709370657
2008-09-21 22:32:56 +00:00
Vitja Makarov
eab5498484
Fix ata2501 serial reading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18550 a1c6a512-1295-4272-9138-f99709370657
2008-09-19 05:55:11 +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
Maurus Cuelenaere
9407ae838e
Onda VX747:
...
* Button driver rework
* Backlight driver rework
* LCD driver rework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18543 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 21:44:47 +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
Rob Purchase
1a08f46329
Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 08:09:44 +00:00
Bertrik Sikken
f13184e472
Fix some more #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18522 a1c6a512-1295-4272-9138-f99709370657
2008-09-15 19:50:55 +00:00
Jens Arnold
b1a584a1b6
Simplify & fix the MMC driver. After more than 3 years I found that the MMC specs were a bit misleading, and the 'large' MMC which state a block size of 1024 or 2048 bytes and no partial read and/or partial write capability are happily accepting a block size of 512 bytes. So go KISS and remove all the variable/partial block handling code. This fixes the driver for the Transcend 4GB MMCplus, which doesn't cope when we actually set the 2048 byte block size it states. It also makes write operations involving small blocks faster and more reliable. * Note: The 4GB Transcend still doesn't work when plugged at boot, but works when hotplugged.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18515 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 20:33:24 +00:00
Maurus Cuelenaere
1e294e3f25
Onda VX747:
...
* Get rid of bug when interrupts are enabled
* Get threading to work (although with some weirdness)
* Other fixes/optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18512 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 16:26:08 +00:00
Jens Arnold
6938083e4f
iPod Video: Fix playback after recording (FS #7402 ). Implement recording gain adjustment. * Enable timeout for zero-crossing detection (SLOWCLK), avoids hanging volume/ gain due to DC offsets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18509 a1c6a512-1295-4272-9138-f99709370657
2008-09-13 19:34:16 +00:00
Bertrik Sikken
56e2764116
Make local function static and add missing #includes for Archos player
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18505 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 21:11:06 +00:00
Bertrik Sikken
05707cc570
Make local function static in mp3_playback.c and match usb_init_device prototype to implementation for Archos recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18504 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 20:57:19 +00:00
Maurus Cuelenaere
69ec3bfdbe
Get basic NAND driver working on Onda targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18499 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 00:07:55 +00:00
Karl Kurbjun
b8a7a373f2
Fix the Gigabeat F/X bootloader and add some code from Barry Wardell that was accidentally removed a while ago. Some of these changes are also more work towards getting the bootloader working from flash; it works but the player will not shutdown fully. About 16 mA are still drawn after calling the rom_shutdown routine. If anyone has some insight why I would be very interested.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18492 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 01:34:52 +00:00
Jens Arnold
3656382f7d
iPod G4, Color/Photo and Nano audio driver rework: Fix playback after recording (FS #7402 ). Implement recording gain adjustment. * Fix slightly off Bass/Treble scale.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18490 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 23:50:26 +00:00
Maurus Cuelenaere
2b64418a17
More VX767 work...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18489 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 22:02:36 +00:00
Bertrik Sikken
37a384c541
Minor missing #include and static function fixes for mrobe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18487 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 20:14:22 +00:00
Maurus Cuelenaere
1cf8331d7a
Hopefully fix LCD problems
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18485 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:59:52 +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
Bertrik Sikken
5a0c3ec9e2
Some header file / static function fixes for creative zvm
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18479 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:03:49 +00:00
Maurus Cuelenaere
ce2ab4b44d
Get rid of static buffer and use buffer_alloc() instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18450 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 11:10:33 +00:00
Rob Purchase
e682143af5
Telechips NAND: split out a couple of small functions to help readability, and add a note about LPT blocks. No functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18440 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 19:44:23 +00:00
Maurus Cuelenaere
23fc923bde
ZVM:
...
* Optimize MiniFS handling
* Add basic CFS handling (doesn't work yet)
* Remove hacky stuff in disk.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18438 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 17:24:14 +00:00
Dave Chapman
d462a64a91
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-09-06 17:50:59 +00:00
Maurus Cuelenaere
e144638167
Add Onda VX767 target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18422 a1c6a512-1295-4272-9138-f99709370657
2008-09-05 15:09:40 +00:00
Maurus Cuelenaere
f3d5700df7
... but still be compatible with OF..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:47:45 +00:00
Maurus Cuelenaere
aefbd6301a
* Clean up Jz4740 USB tool a bit
...
* Make IHFSsplit compile under Windows
* Change SDRAM base address + remove hack for Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18395 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:42:14 +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