[Craneboard] using NAND 8bit


I'm working with Craneboard schematics and installed Samsung 8 bit
NAND chip. To build necessary SW I used these instructions:

x-loader complained for NAND, but fixed it.

Now u-boot complains about NAND bus width:

OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
Craneboard + LPDDR/NAND
I2C: ready
DRAM: 256 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND
256MiB 3,3V 8-bit)
NAND bus width 16 instead 8 bit
No NAND device found!!!
0 MiB

I tried to define GPMC_NAND_ECC_LP_x8_LAYOUT, commenting
GPMC_NAND_ECC_LP_x16_LAYOUT, but it did not help. Can anybody from
Mistral help here? Is it possible to change u-boot for this type of

Thank you!

Hi Lisarden,

You may have to edit these files in u-boot:

drivers/mtd/nand/nand_bbt.c: Define the Bad Block Descriptor table structure here.

Hope the support is already made available in the Board file

include/linux/mtd/nand.h: Set the NAND Bus width here.

Hope this helps.

Best Regards,