RE: [PATCH 2/2] ARM: dts: r7s9210-rza2mevb: Add support for RZ/A2M EVB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, December 11, 2018, Rob Herring wrote:
> > +	/* Cramfs XIP File System in QSPI */
> > +	qspi@20000000 {
> 
> 
> > +		compatible = "mtd-rom";
> 
> This should be the actual Quad-SPI controller and then a flash device
> underneath it. It may work as-is initially, but eventually won't you
> need the flash details?

Not really.
The "QSPI" actually works as a memory mapped SPI (as in, the CPU sees 
the QSPI flash as a linear read-only address range).
Basically, u-boot sets up the QSPI to look like a ROM area, and that's 
it. Everything is running directly from that QSPI flash, so you can't 
make any modifications to it while running, otherwise the whole system will
go down. Therefore, there is no need to know anything about the actually
Flash that is connected, because you are never allowed to interact with it
(or even query it on boot).

This board in particular only has 8MB of RAM. So, it really only works 
well as an XIP system (meaning both kernel and file system are XIP from 
Flash).


Chris




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux