How to use compact flash on embedded 2.6.11 system?
Dirk Behme
dirk.behme at de.bosch.com
Fri Feb 11 02:01:15 EST 2005
Hi,
David Hinds wrote:
> On Wed, Feb 09, 2005 at 08:01:21AM +0100, Dirk Behme wrote:
>
>>Thanks for the hint! Seems that I misunderstood "Some flash memory
>>cards, and most simple static RAM cards, lack a ``Card Information
>>Structure'' (CIS), " then ;-)
>
>
> I will edit the text to make it more clear that this applies to so-
> called linear flash memory cards, and not to CF.
>
>
>>OK. But do I need pcmciamtd later if I found the problem? I'm confused
>>because of the BROKEN marker in 2.6.11-rc2.
>
>
> No. CF cards are IDE devices and use the IDE driver.
Now, with your help, I get a CIS and cardmgr loads ide_cs module :-)
With this, I get the output below. Do I have to care about the 'could
not adjust resource' messages? Do I have to configure memory windows as
used in my configuration here? If yes, why do I have to configure the
memory configuration twice, in the driver and for cardmgr?
Is the 'cardmgr[757]: get dev info on socket 0 failed: No such device'
related to this?
Thanks
Dirk
# cardmgr
cardmgr[756]: watching 1 socket
cardmgr[756]: could not adjust resource: IO ports 0xc00-0xcff: Function
not implemented
cardmgr[756]: could not adjust resource: IO ports 0x800-0x8ff: Function
not implemented
cardmgr[756]: could not adjust resource: IO ports 0x100-0x4ff: Function
not implemented
cardmgr[756]: could not adjust resource: memory 0xc0000-0xfffff:
Function not implemented
cardmgr[756]: could not adjust resource: memory 0x60000000-0x60ffffff:
Function not implemed
cardmgr[756]: could not adjust resource: memory 0xa0000000-0xa0ffffff:
Function not implemed
cardmgr[756]: could not adjust resource: IO ports 0xa00-0xaff: Function
not implemented
# cardmgr[757]: socket 0: ATA/IDE Fixed Disk
0.0: GetNextTuple: No more items
cardmgr[757]: get dev info on socket 0 failed: No such device
#
# cardctl status
Socket 0:
5V 16-bit PC Card
function 0: [ready]
# cardctl ident
Socket 0:
product info: "Transcend 128M ", "", "", ""
manfid: 0x0000, 0x0000
function: 4 (fixed disk)
# cardctl config
Socket 0:
Vcc 5.0V Vpp1 5.0V Vpp2 5.0V
# cardctl info
PRODID_1="Transcend 128M "
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=4
More information about the linux-pcmcia
mailing list