This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM36x and NAND flash problem

Normal 0 false false false

Dear Sirs,

we have a DM368 booting from a SAMSUNG Nand Flash K9F4G08U0B-PCB0, whose main parameters are

- Memory Cell Array : (512M + 16M) x 8bit

- Data Register : (2K + 64) x 8bit
• Automatic Program and Erase

- Page Program : (2K + 64)Byte

- Block Erase : (128K + 4K)Byte

• Page Read Operation
- Page Size : (2K + 64)Byte

 

We have problems to read the Nand Flash both from u-Boot and from Linux. Our software versions are

- u-Boot 2009.03 and the related UBL 1.50
- Linux 2.6.32-rc2-davinci1.

 Under u-Boot we have to perform two read operations in order to receive an Ok:

 DM365 EVM > nand read 0x80500000 0x20000 0x100          -->     First read operation

               NAND read: device 0 offset 0x20000, size 0x100

               NAND read from offset 20000 failed -74                  -->     Error received

               0 bytes read: ERROR

DM365 EVM > nand read 0x80500000 0x20000 0x100          -->     Second read operation

              NAND read: device 0 offset 0x20000, size 0x100

             256 bytes read: OK                                                     -->     OK

 

Under Linux we can't recognize the device and we receive the following messages

- davinci_nand davinci_nand.0: resource missing

- davinci_nand: probe of davinci_nand.0 failed with error -22

 therefore we can't mount or use the nand flash.

Very important!!!!! The problems are present both on our board and in the EVM by Spectrum Digital, when we replace on the socket the shipped Micron Nand Flash with the our Samsung Nand Flash.

Could you help us on this topic?

Thanks,
Massimo