AMiLDA FORUM

You are not logged in.

Announcement

### Our Homepage is down at the moment...work in progress !! ###

#1 2006-03-31 14:40:10

Gwydion
New member
Registered: 2006-03-27
Last visit: 2006-05-05
Posts: 7

SD card

I've found this in the download directory: http://downloads.amilda.org/MODs/SDCard/
Is this some mod in progress, sounds like an interessting idea by adding an SD card to the box. This would save a USB port for some other device.

Has anybody tested this, or can anyone tell me more about this?

Offline

 

#2 2006-03-31 19:57:31

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: SD card

I do plan to make such a MOD with alot of help from the core programmers cool
but from 100% finished it's like 0.01% big_smile

The main problem is that for this MOD, we need our own linux driver for the SD Card.

So all in all....it's a work in progress wink


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#3 2006-04-01 04:53:16

HH
Developer
Registered: 2006-02-15
Last visit: 2007-03-12
Posts: 103

Re: SD card

I've been looking a little at how the SD card mod was done for the Linksys.  I think it's feasible.  We need a map of all the GPIO signals and there are a few questions that still need to be answered.

Determining what all the GPIO lines do is the first task.  All I know is that GPIO5 should not be used.  My router just came alive again yesterday after several weeks of being on the shelf so I will start to investigate.

Offline

 

#4 2006-04-01 14:56:31

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: SD card

My GPIO driver exposes an interface to user programs, but not to kernel drivers. I will try to do something with it, so we can do a SD driver on top of it. Beware however, that we may get into trouble for publishing an SD driver. It is supposedly confidential how the SD card works. It's not clear to me how we can get into trouble by using free documentation available in the internet, and not using their propietary documentation, which requires an NDA.

Regards,

Sergio

Offline

 

#5 2006-04-01 17:28:20

HH
Developer
Registered: 2006-02-15
Last visit: 2007-03-12
Posts: 103

Re: SD card

Is there a Linux driver for SD cards already?  Except for small routers I have never looked at the MTD kernel features.

Offline

 

#6 2006-04-02 13:50:43

Gwydion
New member
Registered: 2006-03-27
Last visit: 2006-05-05
Posts: 7

Re: SD card

I've found this site: http://mmc.drzeus.cx/wiki/Welcome

It states that there's support for MMC/SD cards starting from kernel 2.6.14. I've browsed through the 2.6.15 kernel from my own desktop machine. There's indeed an option for MMC/SD card support. But only for some Winbond W83L51xD interface.

Offline

 

#7 2006-12-13 17:19:25

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: SD card

I understand that there may be problems with publishing an SD driver.....but how did the OpenWRT group do it? They have a hack like this and wrote there own driver, why should there be a problem if you write your own peace of software(driver) for anything for that matter? What could they do? Ask us(demand) to NOT publish our own code? hmm ?


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#8 2006-12-20 01:55:41

HH
Developer
Registered: 2006-02-15
Last visit: 2007-03-12
Posts: 103

Re: SD card

Royalties or patent issues maybe?  Where did you hear about problems?

Offline

 

#9 2006-12-20 10:25:05

MrZack
Administrator
Austria
Registered: 2006-02-15
Last visit: 2017-10-23
Posts: 106

Re: SD card

HH wrote:

Royalties or patent issues maybe?  Where did you hear about problems?

From sergioag......but i think that he meant that there could be problems when we release a working code.

I think we should try it.....a full working code is not an option because we don't have enough GPIOs, so we have to make a driver that uses the serial way, that is..one I/O line, to interface the SD card.

I hope i will have more time in the near future to work on this a bit :-).....and other things to


Nothing is impossible....except that the state of your mind makes it so.

Offline

 

#10 2008-10-15 07:20:40

thilo
New member
Registered: 2008-10-15
Last visit: 2008-10-15
Posts: 1

Re: SD card

Hey there,

is there any progress on the SD card side of things?

As far as the IP rights go, my understanding is the HW interface is divided into three different ones:

spi
parallel low speed
parallel high speed,
and only the high speed requires an NDA.

The SPI is the one to use (although it will be slow (400 kbits/sec or so)
but the IF requires only 3 gpio (miso,mosi,clk)  the enable can be hard wired.

The command set is publicly available and should be already in the linux kernel.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB