Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Creative Zen Vision:M
« previous next »
  • Print
Pages: 1 ... 44 45 [46]

Author Topic: Creative Zen Vision:M  (Read 659664 times)

Offline moritzk

  • Member
  • *
  • Posts: 2
Re: Creative Zen Vision:M
« Reply #675 on: December 24, 2008, 04:00:35 PM »
Hey,

I am reading this thread for a long long time now and have to say that you did a great job already!!
I read the source code for the cfs and it seems reasonable to understand but now I need a test file to look further into the structure of the vfat system. I downloaded the one on the wiki but that does not seem to contain the vfat directory?
quetzalcoatl said something about a 122,5 mb file but I can't find that file anywhere. Is it available?

Greets
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #676 on: December 24, 2008, 04:21:33 PM »
Quote from: moritzk on December 24, 2008, 04:00:35 PM
Hey,

I am reading this thread for a long long time now and have to say that you did a great job already!!
Thanks!
Quote
I read the source code for the cfs
Have you read only the code in the Rockbox sources or also the standalone programs I made (which are usable on a PC)?
Quote
and it seems reasonable to understand but now I need a test file to look further into the structure of the vfat system. I downloaded the one on the wiki but that does not seem to contain the vfat directory?
quetzalcoatl said something about a 122,5 mb file but I can't find that file anywhere. Is it available?

Greets

I can provide 2 GZIP'ed 30GB filesystems (raw copies of my ZVM HDD, it compresses to about 40MB). Of course you'll need quite some space to unpack them, unless you use sparse files (a feature that exists on some Linux file systems and also in NTFS, but I've only tested it on Linux).

Links:
  * http://www.mediafire.com/?uua5q3r5nec
  * http://www.mediafire.com/?3hgjqirupl9

Notes for file 1:
 - I filled the 'virtual' disk with 0x11
 - when the Creative OS formatted the 'virtual' disk, it added a standard FAT header in it; so the OS knows how to 'format' drives as FAT
 - the file unpacks as a 30GB disk dump
 - as mediafire detected a virus (?), I encrypted the file; to decrypt it you'll need openssl:
Code: [Select]
openssl enc -in disk_dump.enc -out disk_dump.dec.gz -k quetzalcoatl -d -blowfish
Notes for file 2:
 - I filled the 'virtual' disk filled with 0x0 and  then I formatted it as FAT
 - same notes as other file (30GB HDD & encrypted with same key)

Hint:
this link illustrates how to unzip the files to a sparse file on Linux (meaning the file will appear to be 30GB big, but will only take in about 40MB of space)
« Last Edit: December 24, 2008, 05:16:00 PM by mcuelenaere »
Logged

Offline moritzk

  • Member
  • *
  • Posts: 2
Re: Creative Zen Vision:M
« Reply #677 on: December 24, 2008, 05:28:10 PM »
Wow thank you for your fast reply, I am currently downloading the files. I just read the code in the rockbox svn, not the one of the standalone tools (link?).
I use windows, but I know how to cross compile files. And I got a new 500gig HDD which will host the file image.

A question to the images. How did you fill them? Did you just copy one file on them, or write manually with dd?
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: Creative Zen Vision:M
« Reply #678 on: December 24, 2008, 07:32:10 PM »
Quote from: moritzk on December 24, 2008, 05:28:10 PM
Wow thank you for your fast reply, I am currently downloading the files. I just read the code in the rockbox svn, not the one of the standalone tools (link?).
I believe this is all I have: http://www.mediafire.com/download.php?fgydmajigje

They should be compilable in Windows (MingW) and Linux (GCC).
Quote
I use windows, but I know how to cross compile files. And I got a new 500gig HDD which will host the file image.

A question to the images. How did you fill them? Did you just copy one file on them, or write manually with dd?
I formatted the ZVM's HDD using dd if=/dev/zero at all times before I installed the OF.

In the first image, I created a virtual disk in the OF using the Removable Disk Drive option of (I think) 1GB.
I mounted it and filled every byte with 0x11.

Same procedure for the second image, except I filled it with 0 (== dd if=/dev/zero) and after that I formatted it as FAT and placed some test files on it.
Logged

  • Print
Pages: 1 ... 44 45 [46]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Creative Zen Vision:M
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.074 seconds with 21 queries.