AnsweredAssumed Answered

IMX6SX u-boot gpmi NAND not found

Question asked by Baertsch Peter on Nov 19, 2015
Latest reply on Dec 1, 2015 by Fabio Estevam

Hello

 

On our custom board we use a Spansion S34MS02G1 NAND. But u-boot (fslc-2015-10) can not find it.

 

CPU:   Freescale i.MX6SX rev1.2 at 792MHz

CPU:   Industrial temperature grade (-40C to 105C) at 42C

Reset cause: POR

Board: TEM IMX6SX Modul

I2C:   ready

DRAM:  256 MiB

PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11

NAND:  0 MiB

 

Our config file:

/* NAND */

#define CONFIG_CMD_NAND

#define CONFIG_NAND_MXS

#define CONFIG_SYS_MAX_NAND_DEVICE     1

#define CONFIG_SYS_NAND_BASE           0x40000000

#define CONFIG_SYS_NAND_5_ADDR_CYCLE

#define CONFIG_SYS_NAND_ONFI_DETECTION

 

/* DMA stuff, needed for GPMI/MXS NAND support */

#define CONFIG_APBH_DMA

#define CONFIG_APBH_DMA_BURST

#define CONFIG_APBH_DMA_BURST8

 

/* MTD/UBI/UBIFS config */

#define CONFIG_LZO

#define CONFIG_MTD_DEVICE

#define CONFIG_MTD_PARTITIONS

#define CONFIG_RBTREE

 

 

On linux there is no problem:

nand: device found, Manufacturer ID: 0x01, Chip ID: 0xaa

nand: AMD/Spansion S34MS02G1

nand: 256MiB, SLC, page size: 2048, OOB size: 64

Bad block table found at page 131008, version 0x01

Bad block table found at page 130944, version 0x01

2 ofpart partitions found on MTD device gpmi-nand

Creating 2 MTD partitions on "gpmi-nand":

0x0000005a0000-0x0000069a0000 : "root"

0x0000069a0000-0x000007da0000 : "data"

 

 

Has somebody any idea?

 

Peter

Outcomes