Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
768 Views

spidev for DE0-Nano-Soc

I have bought terasic DE0-Nano-Soc board and startup the board. I can see spidev under /dev . also i can use it to connect with my slave device. 

 

I am new to soc concept, i want to build everything from scratch(same as default SD card) , for same i have followed RocketBoard 

 

https://rocketboards.org/foswiki/documentation/embeddedlinuxbeginnersguide 

 

(as i don’t found other source.) 

 

after finishing evrything i have put new mmc card to board and there is no spidev under /dev in new linux i have deployed. 

 

how can i generate de0-nano-soc mmc from scratch same as shipped with board? 

 

i am struggling from long time for enabling spidev with soc.
0 Kudos
1 Reply
Highlighted
Honored Contributor I
24 Views

I have got one method to build everything for de0-nano-soc board, 

 

https://hackmd.io/iwqwlmdsweygtauzgnnmgbmanpekaoyeabjagmurmwjsccg=?view#3-build-linux-filesystem 

 

i have follow this procedure , Board is booted successfully but while booting i got the error continuously as follows, 

I tried by changing the card, but result is same. 

 

 

 

mmcblk0: retrying using single block read mmcblk0: error -110 transferring data, sector 31115616, nr 80, cmd response 0x900, card status 0x0 mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 400000Hz, actual 400000HZ div = 250) mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 25000000Hz, actual 25000000HZ div = 4) mmcblk0: error -110 transferring data, sector 31115616, nr 80, cmd response 0x900, card status 0x0 mmcblk0: retrying using single block read mmcblk0: error -110 transferring data, sector 31115704, nr 72, cmd response 0x900, card status 0x0 mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 400000Hz, actual 400000HZ div = 250) mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 25000000Hz, actual 25000000HZ div = 4) mmcblk0: error -110 transferring data, sector 31115704, nr 72, cmd response 0x900, card status 0x0 

 

 

what can i do to clear this error?
0 Kudos