[#4018] NAND flash support on BF527-EZkit with NAND04 fails to work properly.

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#4018] NAND flash support on BF527-EZkit with NAND04 fails to work properly.

Submitted By: Michael Hennerich

Open Date

2008-04-08 06:56:46     Close Date

2008-04-08 07:32:24

Priority:

Medium     Assignee:

Michael Hennerich

Category:

architecture     Fixed In Release:

2008R1

Found In Release:

N/A     Status:

Closed

Board:

EZ-Kit Lite     Processor:

N/A

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

yes     

Summary: NAND flash support on BF527-EZkit with NAND04 fails to work properly.

Details:

 

While working on Task [#3971] Add NFC Nand Flash support for BF52x

I found that u-boot NAND flash support fails to work properly on the BF527-EZkit.

 

Follow-ups

 

--- Michael Hennerich                                        2008-04-08 07:04:48

 

During debug I found that there are two conflicting entries in nand_flash_ids[]

for nand_dev_id = 0xDC (unfortunately the one for the NAND04)

 

{"NAND 512MiB 3,3V 8-bit",     0xDC, 512, 512, 0x4000, 0},

 

{"NAND 512MiB 3,3V 8-bit",     0xDC, 0, 512, 0, NAND_SAMSUNG_LP_OPTIONS

| NAND_NO_AUTOINCR},

 

u-boot uses the NAND mtd driver from Linux.

In the latest Linux kernels the conflicting line was removed.

 

Fixed by removing it here as well.

(I think the removed case will be handled by the remaining entry, because the

code will read Electronic Signature byte 3 and 4, and compute the right page and

block sizes automatically) 

 

A different approach for the same issue can be found here.

 

http://lists.infradead.org/pipermail/linux-mtd/2007-July/018795.html

 

-Michael

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes