[meta-xilinx] Linux qspi support/4.4 kernel/zedaboard
gmane at reliableembeddedsystems.com
gmane at reliableembeddedsystems.com
Thu Feb 11 02:20:15 PST 2016
Hi,
Did someone here manage to get qspi work for the 4.4 kernel?
On some older xilinx kernel I see:
[ 0.492965] dma-pl330 f8003000.ps7-dma: Loaded driver for PL330
DMAC-267056
[ 0.492982] dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes
Num_Chans-8 Num_Peri-4 Num_Events-16
[ 0.494411] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.497546] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82,
base_baud = 3124999) is a xuartps
[ 0.915469] console [ttyPS0] enabled
[ 0.918613] xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to
e0866000
[ 0.928884] brd: module loaded
[ 0.938215] loop: module loaded
[ 0.945848] m25p80 spi32764.0: found s25fl256s1, expected n25q128
[ 0.950794] m25p80 spi32764.0: s25fl256s1 (32768 Kbytes)
[ 0.954763] 4 ofpart partitions found on MTD device spi32764.0
[ 0.959304] Creating 4 MTD partitions on "spi32764.0":
[ 0.963060] 0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
[ 0.969413] 0x000000100000-0x000000600000 : "qspi-linux"
[ 0.975163] 0x000000600000-0x000000620000 : "qspi-device-tree"
[ 0.981612] 0x000000620000-0x000001000000 : "qspi-rootfs"
root at zedboard-zynq7:~# cat /proc/version
Linux version 3.14.2-xilinx-00002-g80bd109
(builduser at localhost.localdomain) (gcc version 4.9.1 (GCC) ) #23 SMP
PREEMPT Tue Aug 11 11:01:48 BST 2015
root at zedboard-zynq7:~#
root at zedboard-zynq7:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00010000 "qspi-fsbl-uboot"
mtd1: 00500000 00010000 "qspi-linux"
mtd2: 00020000 00010000 "qspi-device-tree"
mtd3: 009e0000 00010000 "qspi-rootfs"
root at zedboard-zynq7:~#
----
On my 4.4.1 kernel /proc/mtd is empty;)
The device tree indicates:
compatible = "spansion,s25fl256s0", "jedec,spi-nor";
And I think I do have the right CONFIG_MTD_xxx drivers included.
I will try to build the latest meta-xlinx stuff as soon as I'm back in
the lab next week.
Any ideas?
Regards,
Robert
More information about the meta-xilinx
mailing list