Rockbox Development > New Ports
Creative Zen Vision:M
mcuelenaere:
--- Quote from: Bagder on February 18, 2008, 02:12:02 PM ---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.
--- End quote ---
The only DM320 stuff I changed are in system-dm320.c (which I've enabled back since it doesn't cause any trouble) and in spi-dm320.c (which sets M:Robe 500 target specific GIO stuff and disables GIO stuff using spi_disable_all_targets() which isn't present at the ZVM and shouldn't be touched)
The main code at the moment is just for debugging purposes as I only have access to the LCD for now. As for the target/arm/tms320dm320/creative-zvm/ : these are just stubs so that Rockbox can compile (I haven't enabled these during boot in the bootloader).
Bagder:
--- Quote from: mcuelenaere on February 18, 2008, 02:24:28 PM ---The only DM320 stuff I changed are in system-dm320.c (which I've enabled back since it doesn't cause any trouble) and in spi-dm320.c (which sets M:Robe 500 target specific GIO stuff and disables GIO stuff using spi_disable_all_targets() which isn't present at the ZVM and shouldn't be touched)
--- End quote ---
Right, but those changes are unconditional and thus I don't dare to commit them since all I know they make cause trouble in the mrobe 500 camp.
--- Quote ---As for the target/arm/tms320dm320/creative-zvm/ : these are just stubs so that Rockbox can compile (I haven't enabled these during boot in the bootloader).
--- End quote ---
Well, if they are truly only stubs I would rather see them as stubs only and then I wouldn't mind committing them. Atm it seems like lots of leftovers from other parts that you probably used as basis when you copied these from elsewhere in Rockbox.
I'm not really complaining, I'm just explaining my reasoning why I didn't commit more files (yet).
mcuelenaere:
--- Quote from: Bagder on February 18, 2008, 04:56:32 PM ---Right, but those changes are unconditional and thus I don't dare to commit them since all I know they make cause trouble in the mrobe 500 camp.
--- End quote ---
Ok, you're right about that; that wasn't entirely clean.
--- Quote ---Well, if they are truly only stubs I would rather see them as stubs only and then I wouldn't mind committing them. Atm it seems like lots of leftovers from other parts that you probably used as basis when you copied these from elsewhere in Rockbox.
I'm not really complaining, I'm just explaining my reasoning why I didn't commit more files (yet).
--- End quote ---
I don't say you're complaining :)
Anyway, here's my current diff (no need to commit this one, it's just for possible other ZVM porters?)
update: added new diff
Falafel:
Hmm, are you using the compiler from TI or uhm, well gcc-arm? Because I want to start taking a look at how I might use the code for my ZV :)
Btw. Awesome work!
mcuelenaere:
--- Quote from: Falafel on February 19, 2008, 04:09:50 PM ---Hmm, are you using the compiler from TI or uhm, well gcc-arm? Because I want to start taking a look at how I might use the code for my ZV :)
Btw. Awesome work!
--- End quote ---
The only thing you should have is a copy of Rockbox SVN patched with my latest diff.
Then configure your build for Creative ZVM and bootloader.
Then you'd have to make a CIFF file (I advise you to use CreativeWizard): choose for the Zen Vision and add a DATA block with the rockbox.zvmboot; upload this to your player and normally this will work (although it will look distorted on your player due to the other screen dimensions I presume)
edit:
if you want some kind of input on the device, the following code will detect if the USB is inserted (other input hasn't been figured out yet atm):
--- Code: ---inline bool usb_detect(void)
{
return ( (*((volatile unsigned short*)(0x60FFC018))) & 0x100)>>8;
}
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version