Rockbox Development > New Ports
Creative Zen Vision:M
Bagder:
Cool!
If you could take a photo of the LCD perhaps someone recognizes the sympthom.
The patch is however incomplete as it refers to several files that aren't included. Like config-creativezvm.h and the ones in target/arm/tms320dm320/creative-zvm/
Update: also, the scramble.c patch adds a be2int() function that isn't used. Why?
mcuelenaere:
All LCD problems are solved, I'm currently working on figuring out the buttons (GPIO etc).
A diff will follow (I forgot to do 'svn add' on some files)
edit: added diff
If I forgot adding a file, please reply
edit2: nk.bin
edit3: currently only LCD driver is working; for compiling: use Bootloader and it will output a rockbox.zvmboot file which you'll have to put in a CIFF structure (use CreativeWizard) with filename Hjukebox2.jrm and type set to DATA.
edit4: about the be2int() in scramble: that was for testing purposes, can be removed now; it is indeed not used anymore
shotofadds:
Congratulations on gettting the LCD code up and running! It's good to see this progressing finally - maybe I'll even get my ZVM out of the cupboard one day when I'm bored with the D2....
One thing though: in your patch it looks like there's a lot of TCC780x code left over from the D2 driver: anything referring to LCDC_* is specific to the 7801 LCD controller and needs to be removed, since writing to those addresses on another target is probably not a good idea and will almost certainly bear no relation to what is needed (the same applies to PORTCFG, BCLKCTR etc).
But I'm sure you knew that already. ;)
mcuelenaere:
--- Quote from: shotofadds on February 18, 2008, 11:30:31 AM ---Congratulations on gettting the LCD code up and running! It's good to see this progressing finally - maybe I'll even get my ZVM out of the cupboard one day when I'm bored with the D2....
One thing though: in your patch it looks like there's a lot of TCC780x code left over from the D2 driver: anything referring to LCDC_* is specific to the 7801 LCD controller and needs to be removed, since writing to those addresses on another target is probably not a good idea and will almost certainly bear no relation to what is needed (the same applies to PORTCFG, BCLKCTR etc).
But I'm sure you knew that already. ;)
--- End quote ---
Thanks.
Yes I know, the code needs some cleanup. Actually I wasn't sure about the LCD Controller registers; I just left them there as something to base myself on.
About the pictures: I just made some (I know: most of them are bad quality and took with an unsteady hand), they're available here.
Bagder:
I committed a small part of the patch now that seemed clean and not likely to cause troubles for anyone else.
Some parts of the remainder of the patch seems to modify stock dm320 code that isn't clean enough to commit. And then I'm not sure how valid the firmware/target/arm/tms320dm320/creative-zvm parts are.
Comments?
I just want to help getting the core vision:m stuff added so that more people can join in this effort and help easier.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version