Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  nand id format in /nandflash.c
@ 2015-06-07  9:00 Ted Salazar
  2015-06-07  9:34 ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Salazar @ 2015-06-07  9:00 UTC (permalink / raw)
  To: buildroot

Not sure why this is not commented in the source code by Atmel but can one of you tell me what the nand id format is in /nandflash.c. You guys must do this all the time. I know the first four hex numbers are the manufacturer ID and the device ID from the data sheet but what is the format for the other hex values? For example,

static struct nand_chip nand_ids[] = {
                /* Micron MT29F2G16AAB 256MB */
                {0x2cca, 0x800, 0x20000, 0x800, 0x40, 0x1},
                /* Micron MT29F2G08AAC 256MB  */
                {0x2cda, 0x800, 0x20000, 0x800, 0x40, 0x0},
...

What does the 2nd (0x800), 3rd (0x20000) , 4th (0x800), 5th (0x40), and 6th (0x1) hex numbers represent since I need to move to a different memory manufacturer and will need to create a new nandflash option.

Micron nandflash data sheet link below:
http://media.digikey.com/pdf/Data%20Sheets/Micron%20Technology%20Inc%20PDFs/MT29F2G%2808,16%29AAD,ABD.pdf

Thanks in advance,
Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150607/59de2a4f/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-08 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-07  9:00 [Buildroot] nand id format in /nandflash.c Ted Salazar
2015-06-07  9:34 ` Baruch Siach
2015-06-08 16:59   ` Ted Salazar
2015-06-08 21:19     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox