[meta-xilinx] u-boot/UBIFS
Edward Wingate
edwingate8 at gmail.com
Tue Sep 22 12:08:36 PDT 2015
On Mon, Sep 21, 2015 at 12:39 PM, Joe Hershberger
<joe.hershberger at gmail.com> wrote:
> #define MTDIDS_DEFAULT "nand0=xilinx_nand"
How do I determine the right string to put in this #define? Looking
at all the .h files in u-boot-xlnx/include/configs, they vary a lot
and I didn't see this defined in any of the zynq board configs.
The flash I'm using is two 64MB devices (Spansion S25FL512S) in dual
stacked configuration.
When I run 'sf probe 0 0 0' from uboot, I get this:
SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256
KiB, total 128 MiB
Linux reports:
[ 1.010771] m25p80 spi32764.0: s25fl512s (131072 Kbytes)
[ 1.016024] 3 ofpart partitions found on MTD device spi32764.0
[ 1.021846] Creating 3 MTD partitions on "spi32764.0":
[ 1.027054] 0x000000000000-0x000000800000 : "qspi-fsbl-uboot"
[ 1.033789] 0x000000800000-0x000001c00000 : "qspi-env-itb"
[ 1.040323] 0x000001c00000-0x000008000000 : "qspi-rootfs"
After some digging, I found this thread that indicates that MTD with
SPI flash is not supported, but there is experimental MTD translation
layer driver: http://u-boot.10912.n7.nabble.com/SPI-NOR-MTD-s-td178723.html#a178726
Does this still apply here? Or are there Xilinx patches for this in
u-boot-xlnx?
More information about the meta-xilinx
mailing list