Ok, i'll give a try, as far as i'm concerned there are two choices for SPI driver on the kernel:<br><br>- AT91_SPI<br>- ATMEL_SPI<br><br>Which one is better?, i've tested ATMEL_SPI this afternoon, but the kernel doesn't detects my dataflash, can you point me to a source of information to read steps to define my dataflash speed and get detected on boot?.
<br><br>My previous kernel was detecting the dataflash itself, but when i define the speed on my board config, the dataflash isn't detected anymore.<br><br><div><span class="gmail_quote">2007/10/25, Ulf Samuelsson <
<a href="mailto:email@example.com">firstname.lastname@example.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> What about using the SPI bitbang driver for the AT91??
<br>><br><br><br>Not a good idea since you are transferring large amount of data.<br>Better to use the PDC and the H/W SPI.<br>Just set down the speed of the SPI.<br><br>>> ons 2007-10-24 klockan 21:34 +0300 skrev Ivan Kuten:
<br>>> > ><br>>> > > During the 1st boot, Dropbear creates and "writes" the generated keys,<br>>> maybe<br>>> > > is this *write* operation the one screwing up the dataflash?
<br>>> > ><br>>> ><br>>> > We have similar problems with Dataflash&RM9200<br>>> > *write* operation is unreliable - we had corrupted filesystem after<br>>> reboot.<br>>> > Our solution was to use r/o only on dataflash.
<br>>> ><br>>><br>>> I would reduce speed to 5 Mbps or lower. or implement the external gate.<br>>> Moving to the AT91SAM9260 is of course a nice alternative.<br>>> Lower cost, (soon) much higher speed (with the AT91SAM9260A)
<br>>> Better BootROM (I defined it :-)<br>>><br>>><br><br><br>Best Regards<br>Ulf Samuelsson <a href="mailto:email@example.com">firstname.lastname@example.org</a><br>Atmel Nordic AB<br>Mail: Box 2033, 174 02 Sundbyberg, Sweden
<br>Visit: Kavallerivägen 24, 174 58 Sundbyberg, Sweden<br>Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29<br>GSM +46 (706) 22 44 57<br></blockquote></div><br>