This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9512 - Sansa fuze in the rockbox tree
Attached to Project:
Rockbox
Opened by Thomas Martitz (kugel.) - Wednesday, 29 October 2008, 23:06 GMT+2
Last edited by Frank Gevaerts (fg) - Saturday, 08 November 2008, 00:26 GMT+2
Opened by Thomas Martitz (kugel.) - Wednesday, 29 October 2008, 23:06 GMT+2
Last edited by Frank Gevaerts (fg) - Saturday, 08 November 2008, 00:26 GMT+2
|
DetailsThis patch adds the sansa fuze target.
It includes a building bootloader (untested!!), a keymap and a simulator build (half-baked, using the h300 background). Some stuff is just copied from arm/as3525/e200v2 (e.g. backlight-e200v2.c). So, they're not meant to be usable. Of course this files could be removed or replaced by a file only dummy'ing functions. Comments are welcome. |
This task depends upon
Closed by Frank Gevaerts (fg)
Saturday, 08 November 2008, 00:26 GMT+2
Reason for closing: Accepted
Additional comments about closing: Sim work will go to a new task
Saturday, 08 November 2008, 00:26 GMT+2
Reason for closing: Accepted
Additional comments about closing: Sim work will go to a new task
I think lcd file can be empty for now since according to disassembly the controller isn't the same than the e200v2.
Also you have put code for a button wheel (maybe from e200v1?) : it should be left empty since the fuze, like its little brother the clip, has no wheel ;)
For the picture, I mentioned it on irc: a good picture for the Clip would serve also for the Fuze (and the reverse is true).
If you do so, implement something which I can use to find out the button light gpio pin :)
Here is a patch to mkamsboot.
To find the button light pin (if it really is on a gpio), you can do something like that in the bootloader's main():
GPIOA_DIR = 0xff; /* all pins output */
GPIOA_PIN(0) = (1<<0);
GPIOA_PIN(1) = (1<<1);
etc .. and try pins one by one
GPIOA_DIR = 0xff;
GPIOA_PIN(0) = (1<<0);
delay = 0x100000;
while(delay--);
GPIOA_PIN(1) = (1<<1);
delay = 0x100000;
while(delay--);
..
I can't think of something else, especially if you have no output at all, I think each pin one by one is the best solution (there is "only" 32 of them)
It still adds a preliminary version of a simulator.
The meaning of the GPIO D7 (supposedly buttonlight pin) needs to be investigated though. Backlight didn't work without that pin. Possibly lcd didn't too, but I can't tell if the lcd is working without backlight.
Now with correct colors and a loop which shows brightness level and buttonlight change is working. Also commented storage_init() out, since it's broken.