* serial Flash over SPI as rootdevice?
@ 2013-04-09 6:52 Alexander Stein
2013-04-09 8:21 ` Thomas.Betker
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2013-04-09 6:52 UTC (permalink / raw)
To: linux-mtd
Hello,
is it currently possible to use a serial Flash connected over SPI to use as a rootdevice?
If not, would it be possible and which drivers need to be written for that then?
Best regards,
Alexander
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: serial Flash over SPI as rootdevice?
2013-04-09 6:52 serial Flash over SPI as rootdevice? Alexander Stein
@ 2013-04-09 8:21 ` Thomas.Betker
2013-04-09 8:28 ` Alexander Stein
0 siblings, 1 reply; 3+ messages in thread
From: Thomas.Betker @ 2013-04-09 8:21 UTC (permalink / raw)
To: Alexander Stein; +Cc: linux-mtd
Hello Alexander:
> is it currently possible to use a serial Flash connected over SPI to
> use as a rootdevice?
> If not, would it be possible and which drivers need to be written
> for that then?
Yes, it is certainly possible; we are doing it ourselves. No extra drivers
are required for this beyond those you need anyway (SPI driver, SPI flash
driver).
The real problem, though, is that you cannot boot from standard SPI flash.
For this, you need memory which can be read directly by the CPU, such as
parallel NOR flash.
Best regards,
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: serial Flash over SPI as rootdevice?
2013-04-09 8:21 ` Thomas.Betker
@ 2013-04-09 8:28 ` Alexander Stein
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2013-04-09 8:28 UTC (permalink / raw)
To: Thomas.Betker; +Cc: linux-mtd
Hello Thomas,
On Tuesday 09 April 2013 10:21:26, Thomas.Betker@rohde-schwarz.com wrote:
> Hello Alexander:
>
> > is it currently possible to use a serial Flash connected over SPI to
> > use as a rootdevice?
> > If not, would it be possible and which drivers need to be written
> > for that then?
>
> Yes, it is certainly possible; we are doing it ourselves. No extra drivers
> are required for this beyond those you need anyway (SPI driver, SPI flash
> driver).
That sound great. Could you please point me to the driver needed for that? Do you have any performance comparisons to e.g. NOR flash?
> The real problem, though, is that you cannot boot from standard SPI flash.
> For this, you need memory which can be read directly by the CPU, such as
> parallel NOR flash.
Well, the idea is to use an AT91 which can boot directly from serial flash with it's own ROM code. This would load the bootloader (will be u-boot likely) which in turns needs to fetch the kernel from the serial flash too. Should be possible, no?
Best regards,
Alexander
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-09 8:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 6:52 serial Flash over SPI as rootdevice? Alexander Stein
2013-04-09 8:21 ` Thomas.Betker
2013-04-09 8:28 ` Alexander Stein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox