From: smithknown Date: Sun, 28 Apr 2013 09:34:21 -0700 (PDT) Subject: [U-Boot] mx28evk spi boot Message-ID: <1367166861058-153575.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I populated N25M256A spi norflash chip into freescale mx28evk board. include/configs/mx28evk.h /* SPI Flash */ #define CONFIG_SPI_FLASH #define CONFIG_SF_DEFAULT_BUS 2 #define CONFIG_SF_DEFAULT_CS 0 /* this may vary and depends on the installed chip */ #define CONFIG_SPI_FLASH_STMICRO #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 #define CONFIG_SF_DEFAULT_SPEED 50000000 /* SPI MXS driver*/ #define CONFIG_HARD_SPI #define CONFIG_MXS_SPI #define CONFIG_SPI_HALF_DUPLEX #define CONFIG_DEFAULT_SPI_BUS 2 #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0 verified that u-boot-2013.04 has N25M256A supported: static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = { .............. { .id = 0xbb19, .pages_per_sector = 256, .nr_sectors = 512, .name = "N25Q256A", }, }; But at u-boot, the spi read always return 0xff as follows: MX28EVK U-Boot > sf probe 2:0 50000000 0 SF: Unsupported manufacturer ff Failed to initialize SPI flash at 2:0 MX28EVK U-Boot > sf probe 2:0 50000000 3 SF: Unsupported manufacturer ff Failed to initialize SPI flash at 2:0 I do not want to say that there is hardware issue too early, wonder if I missed any steps here? Thanks, Smith -- View this message in context: http://u-boot.10912.n7.nabble.com/mx28evk-spi-boot-tp153575.html Sent from the U-Boot mailing list archive at Nabble.com.