SPI and SD-Card from debian

Started by rfk, January 09, 2014, 05:06:49 PM

Previous topic - Next topic

rfk

Could anybody tell me how to access the SD-Card from debian please?
I have in script.bin ( .fex) the following:


[mmc1_para]
sdc_used = 0
sdc_detmode = 1
sdc_buswidth = 4
sdc_clk = port:PG04<2><1><2><default>
sdc_cmd = port:PG03<2><1><2><default>
sdc_d0 = port:PG05<2><1><2><default>
sdc_d1 = port:PG06<2><1><2><default>
sdc_d2 = port:PG07<2><1><2><default>
sdc_d3 = port:PG08<2><1><2><default>
sdc_det = port:PG13<0><1><default><default>
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"



[size=78%]Will it be sufficient to set "[/size][/size][size=78%]sdc_used = 1" to get it into /dev ?[/size]


From other threads here, I understand, that SPI is not (yet ?) supported - or do I just have to change the script file?
In my script.bin, SPI 1 and 2 are set to 1 - 0 and 3 set to 0


Thanks in advance!
[/size]
-- rfk

Mouchon

putting sdc_used = 1
should be enough this is what i did.

rfk

Quote from: Mouchon on January 09, 2014, 08:48:53 PM
putting sdc_used = 1
should be enough this is what i did.


Thanks ! will try next days
-- rfk