Author Topic: Is SDIO support a hardware or a software/driver issue?  (Read 5856 times)

darkeye

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
Is SDIO support a hardware or a software/driver issue?
« on: February 04, 2004, 07:05:38 am »
Hi,

I\'m wondering if SDIO support is really a hardware or a software/driver issue. I\'m basing this on the fact that, for example, the Handspring Treo 90 didn\'t have SDIO support when released, but a software upgrade added SDIO support, see http://www.treocentral.com/content/Stories/115-5.htm.

I also found this (rather dated) article: http://www.pmn.co.uk/20021112sharp.shtml saying:

Quote
As with the Sl-5500, it supports both Compact Flash and Secure Digital cards, but does not yet support SDIO due to licensing problems with the closed-source SD drivers

So, is this really a closed-source driver problem? Aren\'t there any open source projects to create drivers? Or is this a licensing issue? Maybe we could live with a binary (closed) driver....

Foxdie

  • Sr. Member
  • ****
  • Posts: 465
    • View Profile
    • http://trackmygps.co.uk
Is SDIO support a hardware or a software/driver issue?
« Reply #1 on: February 04, 2004, 08:05:12 am »
It appears no one is willing to investigate SDIO, one excuse I got was the licensing issue.

I\'ve asked the Cacko team but they are very busy with their contracts with various Russian / European companies and can\'t investigate it for a few months yet.
Jason "Foxdie" Gaunt
HTC Universal G4 with 2GB SD card running Debian Titchy Linux
[img]http://trackmygps.co.uk/signatures/foxdie.gif\" border=\"0\" class=\"linked-sig-image\" /]
Click image to view my GPS tracker
Follow me on Twitter: @jasongaunt

darkeye

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
Is SDIO support a hardware or a software/driver issue?
« Reply #2 on: February 04, 2004, 08:10:23 am »
I found this thread on the ARM mailing list on the licensing issue:

http://www.spinics.net/lists/arm/msg06394.html

but, strangely enough, there is a Samsung cell phone running Linux and having SDIO support:

http://www.mobileburn.com/news-brief.jsp?Id=569

hm, maybe we should ask Samsung for the drivers?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Is SDIO support a hardware or a software/driver issue?
« Reply #3 on: February 04, 2004, 08:23:49 am »
I think read somewhere (either this forum or the devnet) that not all the pins were connected on the 5500 (or it might have been the 5600) which is of course a hardware problem. Other than that I know nothing.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Anonymous

  • Guest
Is SDIO support a hardware or a software/driver issue?
« Reply #4 on: February 04, 2004, 10:25:53 am »
SDIO cards require an interrupt line which is not used in memory cards. I don\'t think SL5500 has that wire.

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #5 on: February 04, 2004, 04:28:04 pm »
Quote
SDIO cards require an interrupt line which is not used in memory cards. I don\'t think SL5500 has that wire.

But there have been a lot of rumors flying around saying that the 5600 onwards are fully wired.

Somebody even claimed to have got it working, but when pushed did\'t provide any source/links to any code.

Part of the problem here is that we have a cf slot as well as an sd slot, so we still have access to stuff like bluetooth, wifi, gps, modem etc.  It is less of an incentive to get the sd versions of these cards working.

If we only had an sd slot, I am sure someone would have sorted this by now.  Even if that means soldering a wire in the back of the zaurus.

If sharp do include sdio drivers/support on the 6000 or other future models then it will get backported like the usb card reader stuff has.

I used to really crave sdio on my 5500, as my internal flash space was used for a swap file and all my apps were on sd.  I would have preferred to put my apps on a faster cf card, and use sd for wifi/bluetooth.

On the cx60 then you have so much internal memory free (96mb) that you don\'t need to use home on an sd card anymore, as it also has 64mb of ram, you don\'t really need the swap file either.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

coder101

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Is SDIO support a hardware or a software/driver issue?
« Reply #6 on: February 05, 2004, 10:12:12 pm »
Would these specs help?
http://www.samsung.com/Products/Semiconduc...ev12_030428.pdf
It has information on SDIO registers.
SL-C860 from Brando, Micro Power PtoGo 240V adapter, SanDisk CF Low Power Wireless Lan, 256MB Lexar CF, 128MB Medion CF, 128MB Traveler SD, iPDA USB SyncCable, 7in1 Card Reader and Writer USB

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #7 on: February 11, 2004, 01:18:41 am »
I found an Intel document on the web which lists errata with the PXA255 microprocessor.  One erratum concerns itself with incompatibility with various MMC cards.

Compatibility

SPI mode:  Lexar, Viking, DaneElec
Stream mode: Sandisk
Block mode: All

So, among these brands, all of the cards are compatible with the processor in Block mode.  Only the Sandisk card was compatible in Stream mode.  Only the Sandisk card was incompatible in SPI (Serial Programming Interface?) mode.

The problem of incompatiblity with various cards may be due to errors in the microprocessor.  Other errata for the PXA255 are listed as:

    MultiMediaCard Stream Writes Do Not Transmit Properly.
    Watchdog Reset Causes the Real Time Clock (RTC) to Increment at the Wrong Frequency.
    Drain Write Buffer Command Does Not Force All Memory Requests Out to the External Bus.
    Unindexed Mode LDC/STC Instructions Can Corrupt Protected Registers.
      .  The document contains wording to the effect that is confidential, but if they wanted it to be confidential, they should not have posted it in the clear on the World Wide Web.

raybert

  • Full Member
  • ***
  • Posts: 233
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #8 on: February 11, 2004, 10:34:19 am »
Quote
Watchdog Reset Causes the Real Time Clock (RTC) to Increment at the Wrong Frequency.

hmm... I\'ve noticed several times now that my C860 seems to have lost some time after a reboot.  I wonder if this has something to do with it?

Do you know any more details about this \"watchdog reset\"?  i.e. when does it take place and what is it designed to protect?

If it takes place during a reboot and it slows the clock down, this probably explains what I\'ve observed.

~ray

Anonymous

  • Guest
Is SDIO support a hardware or a software/driver issue?
« Reply #9 on: February 11, 2004, 11:22:17 am »
haha,
c7x0/860 havent real RTC chip, they use PXA register which have 1 sec increment. When you reboot your Z, sltime command save current time in /dev/mtd1 and after rebooting run sltime again for read this value. So, every time after reboot you have lost few seconds (mins).

~sashz

raybert

  • Full Member
  • ***
  • Posts: 233
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #10 on: February 11, 2004, 07:04:45 pm »
Interesting...

Well, thanks for that info.  I guess that explains it.

I guess c[78]60 owners should not leave their units unbooted for very long...

~ray

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #11 on: February 11, 2004, 09:41:20 pm »
I am unfamiliar with the ARM and derivative Xscale architectures.  The document states that there is a workaround to the issue with the watchdog timer:

Quote
After every watchdog reset:

If the lock bit is not set in the RTTR register, write the appropriate value to the RTTR register and then write the appropriate value to the RCNR register.

If the lock bit is set in the RTTR register, do a dummy write to the RTTR register to resync the internal logic to the original RTTR value that was written before the lock bit was set, and then write the appropriate value to the RCNR register.

I have never seen the definition of a watchdog timer anywhere, but my inference of its meaning is that a timer counts down, and if it is allowed to reach zero, then the processor will reset itself or run some code to get back to a known state.  For example, with one of the Mars rovers, some executing code may have run into corrupted memory and caused the system to malfunction.  A watchdog timer that would normally be reset by a properly functioning system would then be able to count down to zero, initiating a system reset.  This is a kind of event which does not happen very often, which is perhaps why a problem associated with it got past quality control for the PXA255 processor.

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #12 on: February 11, 2004, 10:50:10 pm »
You can read about the errata yourself by visiting:

http://www.intel.com/design/pca/applicatio...uals/278732.htm

mithro

  • Newbie
  • *
  • Posts: 2
    • View Profile
Is SDIO support a hardware or a software/driver issue?
« Reply #13 on: March 13, 2004, 10:06:55 am »
The Zaurus uses the Xscale\'s MMC stuff. They have no external chip for SD which is required to support SDIO. No driver can solve this problem sadly