summaryrefslogtreecommitdiff
path: root/bootloader/sansa_as3525.c
AgeCommit message (Collapse)Author
2009-06-17Sansa c200v2 : lcd & backlight support, using the c200v1 lcd driverRafaël Carré
The LCD driver is unified and lcd_send_command now takes 2 arguments : the command and its argument. If there is no argument, it's set to 0 and a NOP command is issued If there is more than one argument (set X/Y address), the 2nd argument is sent as a 2nd command, and a NOP command is issued after it. Benefit : c200v2 transfers the command and the argument in one 16 bits transfer Performance should not be affected since commands without argument are only used in lcd_init() and lcd_enable() lcd_send_data() now transfers whole lines (or columns) instead of single pixels yuv is disabled for c200v2 for now Some buttons can be read, including left button (bit 6 of DBOP_DIN), but for some reason they have no effect in rockbox: to be investigated git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21321 a1c6a512-1295-4272-9138-f99709370657
2009-06-08FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed upRafaël Carré
- cache IRAM and DRAM - map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize - tweak delays in Fuze button code - tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on) Before reporting any problem, please check your filesystem or format your player from the OF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-05-20Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This ↵Thomas Martitz
will hopefully make ongoing mmu work easier as less places need to be changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
2009-04-10FS#10066 by Michael Chicoine: Sansa AMS bootloader "Hold" switch detection.Mustapha Senhaji
(Not for the Fuze nor the Clip, because it seems pointless for them) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20681 a1c6a512-1295-4272-9138-f99709370657
2009-04-07commit FS#10092 (cleanup AMS system init) by Rafaël Carré. Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20640 a1c6a512-1295-4272-9138-f99709370657
2008-12-24Commit FS#9679 by Thomas Martitz. Adds c200v2 to the target tree. Has some ↵Michael Giacomelli
buttons defined, a bootloader, and stubs for most drivers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19574 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Sansa AMS bootloader: consider the bootloader finishedRafaël Carré
Be verbose only if a keypress has been detected. Use enable/disable_irq() instead of inline assembly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19213 a1c6a512-1295-4272-9138-f99709370657
2008-11-11the delay in the as3525 bootloader was driving me mad so remove it and get ↵Jonathan Gordon
the bootloader closer to where a "finished" one should be (only show info if sometrhing needs to be shown, which is always for now.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19085 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Sansa AMS bootloader: use the correct (renamed) header fileRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19075 a1c6a512-1295-4272-9138-f99709370657
2008-11-09Rename functions as3525_codec_* to ascodec_* to prepare re-use of as3514 ↵Bertrik Sikken
code for sansa v2 players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19047 a1c6a512-1295-4272-9138-f99709370657
2008-11-09Sansav2 BootloaderRafaël Carré
Adds read-only SD driver, largely copied from ata-sd-pp.c Only tested on the embedded SD, on the Clip First steps to build a Normal firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19045 a1c6a512-1295-4272-9138-f99709370657
2008-11-06AS3525: we won't use threads in the bootloaderRafaël Carré
Disable tick_start() Call kernel_init() _after_ system_init() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19028 a1c6a512-1295-4272-9138-f99709370657
2008-11-06AS3525: use kernel_init() in bootloaderRafaël Carré
This way creation of scrolling thread doesn't risk crashing the system git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19026 a1c6a512-1295-4272-9138-f99709370657
2008-11-01Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do ↵Frank Gevaerts
that, it also introduces sd_*, nand_*, and mmc_*. This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
2008-10-29Embryo of a SD driver for Sansav2Rafaël Carré
Debug code included, needed until the bootloader is ready git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18926 a1c6a512-1295-4272-9138-f99709370657
2008-10-29e200v2: implement the backlight handling (copy/paste from the c200v1/e200v1 ↵Dave Chapman
code - this should probably be unified, along with other upcoming v2 code), plus clean up the lcd init by calling lcd_init() directly in the bootloader, instead of lcd_init_device(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18910 a1c6a512-1295-4272-9138-f99709370657
2008-10-28Sansav2 : initializes SDRAMRafaël Carré
The AS3525 SoC ships with an ARM PL172 MPMC controller Also correct the memory sizes in tools/configure git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18899 a1c6a512-1295-4272-9138-f99709370657
2008-10-26FS#9503 - Sansa v2 audio/PMU communication driver (for the AS3525 SoC)Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18886 a1c6a512-1295-4272-9138-f99709370657
2008-10-19Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently ↵Dave Chapman
used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
2008-10-12Commit FS#9467 - initial work on port to Sansa Clip by Rafaël Carré and ↵Dave Chapman
François Dinel. A few cosmetic changes were made by me prior to committing: 1) TAB policing in button-clip.c; 2) Add François Dinel to CREDITS; 3) Add François Dinel as (C) holder in button-target.h (it was previously blank); 4) Add Rockbox header to bootloader/sansa_as3525.c with Rafaël Carré as (C) holder; 5) Change target_id to 50 (next available number) in tools/configure and fixed indentation; 6) Change MODEL_NUMBER in config-clip.h to 50 (next available number); 7) Remove unused in/out macros from system-target.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18782 a1c6a512-1295-4272-9138-f99709370657