Go to previous topic
Go to next topic
Last Post 28 Dec 2006 11:44 AM by  ealtan
How to mount CF in linux ?
 2 Replies
Author Messages
tomyang
New Member
New Member
Posts:


--
10 Oct 2006 07:35 PM
    Hi,
    How to mount Compact Flash in Linux ? Please tell me. Thank you !
    ashwinb@logicpd.com
    New Member
    New Member
    Posts:


    --
    13 Oct 2006 11:27 AM
    Which Kernel version, and do you have the CF patches?

    Regards
    ealtan
    New Member
    New Member
    Posts:


    --
    28 Dec 2006 11:44 AM
    I had the same problem, this is what I did after I received Support from Logic:

    I'm using the ColdFire 5475EVB, and my CF card has FAT file system on
    it.

    1. First your CPLD needs to be programmed.

    I've used MC547X__64.upd file to program it.

    2. If you want to mount it when you are in LiLo, do a mount fatfs /cf

    losh> mount fatfs /cf
    losh> cd /cf
    losh> ls
    D : webs 0
    D : TEMP 0


    3. In order to mount it from Linux (I'm running 2.4.26 kernel)

    make sure your CF is detected during boot

    fire_engine_cpld_init:98 hw revision a2
    FireEngine CPLD HW revision 2
    FireEngine CPLD SW revision 5
    fire_engine_cpld_init:110 cpld_programmed 1
    cfide_init:554 present 1
    hda: 61MB, CHS=978/4/32
    Partition check:
    hda: p1
    cfide_init:608 paritition 0 start 0 nr_sects 125184
    cfide_init:608 paritition 1 start 32 nr_sects 123104


    Then, do a mount

    #mkdir /cf
    #mount -t vfat /dev/hd/1 /cf
    hda: p1

    Hope this helps,
    E.


    ---