OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: MstPrgmr on October 23, 2007, 11:19:13 pm

Title: Titchy On Internal 16gb Cf Microdrive Replacement (3200)
Post by: MstPrgmr on October 23, 2007, 11:19:13 pm
OK, has anybody ever sucessfully installed Titchy linux on an internal CF card instead of the standard Hitachi microdrive? I have searched the forums and the problem seems to be that the Hitachi 6gb (on a 3200) microdrive manfid is coded into the kernel. Apparently no other card, except the very expensive Sandisk Extreme III 16gb as some report, will work because the manfid is different. Someone suggested recompiling the kernel with a different manfid but I cannot program in C and do not know how to compile/recompile a kernel. Even if i did know how to do those two things, I would have to know where in the code the manfid is and how to change it without disrupting anything else.

So, does anybody know another way how to easily accomplish this? If not, if somebody who knows how to recompile the Titchy linux kernel with different manfid's can compile a kernel with support for commonly used 16gb cards (Transcend, A-data, etc.) that would be great. Why is it necessary for specific manfid's to be in the kernel anyway? Thanks.

Hitachi Microdrive
product info: "HITACHI", "microdrive"
manfid: 0x0319, 0x0000
function: 4 (fixed disk)

Transcend 16gb
product info: "TRANSCEND", "TS16GCF133", ""
manfid: 0x004f, 0x0000
function: 4 (fixed disk)

A-data 16gb
product info: "", "CF 16GB", ""
manfid: 0x000a, 0x0000
function: 4 (fixed disk)
Title: Titchy On Internal 16gb Cf Microdrive Replacement (3200)
Post by: tux on October 24, 2007, 05:01:38 am
Quote from: MstPrgmr
OK, has anybody ever sucessfully installed Titchy linux on an internal CF card instead of the standard Hitachi microdrive? I have searched the forums and the problem seems to be that the Hitachi 6gb (on a 3200) microdrive manfid is coded into the kernel. Apparently no other card, except the very expensive Sandisk Extreme III 16gb as some report, will work because the manfid is different. Someone suggested recompiling the kernel with a different manfid but I cannot program in C and do not know how to compile/recompile a kernel. Even if i did know how to do those two things, I would have to know where in the code the manfid is and how to change it without disrupting anything else.

So, does anybody know another way how to easily accomplish this? If not, if somebody who knows how to recompile the Titchy linux kernel with different manfid's can compile a kernel with support for commonly used 16gb cards (Transcend, A-data, etc.) that would be great. Why is it necessary for specific manfid's to be in the kernel anyway? Thanks.

Hitachi Microdrive
product info: "HITACHI", "microdrive"
manfid: 0x0319, 0x0000
function: 4 (fixed disk)

Transcend 16gb
product info: "TRANSCEND", "TS16GCF133", ""
manfid: 0x004f, 0x0000
function: 4 (fixed disk)

A-data 16gb
product info: "", "CF 16GB", ""
manfid: 0x000a, 0x0000
function: 4 (fixed disk)

  Just thought I'd put in the Sandisk manfid that ZDevil posted earlier:

Sandisk Extreme III 16GB
product info: "SanDisk", "SDP", "5/3 0.6", ""
manfid: 0x0045, 0x0401
function: 4 (fixed disk)
 
That is the card I'm using.  

Any other people who have put in CF cards instead of the microdrive would be helpful if they posted any different manfids. Of course, it would be ideal if they had also managed to install Debian. How about those people who have installed other systems that boot from their swapped CF cards chiming in?  

If it really is a case of the kernel then I'm sure that various recompiles are taking place. Maybe the experimenters would put these manfids in the appropriate place?  From my vague memory of inserting manfids on other roms: doesn't this info get put somewhere around /etc/pcmcia?  

If I've remembered correctly. it seems to me that you could  simply untar the rootfs on a desktop, modify the appropriate section and tar it all  back up. You could then try the alternate install path, which is in another couple of threads here.  

Just a thought.
Title: Titchy On Internal 16gb Cf Microdrive Replacement (3200)
Post by: golly on October 24, 2007, 05:26:36 pm
The area that you want to add the MANIDs are in (I think) ide-cs.  See Marcin's patch here (http://uwsg.iu.edu/hypermail/linux/kernel/0609.3/0393.html).  However, I don't know how to generate the associated hex numbers that go along with the MANIDs right now.  I'm sure its not too hard, but my cross-compile dev environment got toasted and I don't have the time to work on this right now.

Regards