DOC Mil Plus 32 question erase size erase shift????
Carlos, John J USAATC
john.carlos at atc.army.mil
Mon Jun 21 14:44:43 EDT 2004
Hello all,
Trying to get the bbt stuff working for diskonchip Mil Plus 32. Question
in nand_scan_bbt, I pass a erasesize of 8000 (32k bytes). Is this the
correct size??? If so then I get 256 bytes of mem allocated for this->bbt
but then it fails (out of memory) when I try to allocate 88ooo bytes for the
buffer. Is this correct? 544K bytes for that buffer. My proc/meminfo
shows much more memory
# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 28512256 3280896 25231360 0 0 1691648
Swap: 0 0 0
MemTotal: 27844 kB
MemFree: 24640 kB
MemShared: 0 kB
Buffers: 0 kB
Cached: 1652 kB
SwapCached: 0 kB
Active: 1080 kB
Inactive: 788 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 27844 kB
LowFree: 24640 kB
SwapTotal: 0 kB
SwapFree: 0 kB
#
What could be the cause??? Or am I not calculating something right????
Thanks,
John
More information about the linux-mtd
mailing list