How to support MXIC nand flash?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to support MXIC nand flash?

Jump to solution
879 Views
Contributor III

I'm using MX283

L2.3.35

default is not supporting MXIC

my new chip is MX30LF1G08AA  128M 1024blocks  128k per block  64pages per block

to support MFGTOOL

I need a updater.sb file

then I built the LTIB and get a new updater_ivt.sb and updater.sb

mainly modiffied those place:

driver/mtd/nand/nand_ids.c

add

{"NAND 238MiB 3,3V 8-bit", 0xF0, 0,128,0,LP_OPTIONS},

add

{0xc2, "Macronix"},

driver/mtd/nand/nand_device_info.c

add

  {

    .end_of_table             = false,

    .manufacturer_code        = 0xc2,

    .device_code              = 0xf1,

    .cell_technology          = NAND_DEVICE_CELL_TECH_SLC,

    .chip_size_in_bytes       = 128LL*SZ_1M,

    .block_size_in_pages      = 64,

    .page_total_size_in_bytes = 2*SZ_1K,

    .ecc_strength_in_bits     = 4,

    .ecc_size_in_bytes        = 512,

    .data_setup_in_ns         = 30,

    .data_hold_in_ns          = 20,

    .address_setup_in_ns      = 0,

    .gpmi_sample_delay_in_ns  = 6,

    .tREA_in_ns               = -1,

    .tRLOH_in_ns              = -1,

    .tRHOH_in_ns              = -1,

    "Macronix",

    },

it not work!

how to deal with this?

Labels (2)
Tags (2)
1 Solution
91 Views
Contributor III

fix already.

only need to modify nand_ids.c and nand_device_info.c

View solution in original post

0 Kudos
2 Replies
92 Views
Contributor III

fix already.

only need to modify nand_ids.c and nand_device_info.c

View solution in original post

0 Kudos
91 Views
Senior Contributor I

If possibly , try using mainline U-Boot 2014.01 and mainline Linux at least 3.10.xx . They have myriad of fixes .