Altera_Forum
Honored Contributor
20 years agoIntel Strataflash P30 and jffs2 problem
Hi
Does anyone here have any experience using Intel Strataflash P30 with Nios II? We often get the following error when writing to a mounted jffs2 file system: Node totlen on flash (0x00800080) != totlen from node ref (0x00000444) The last value (444) changes, but the first value (0x00800080) is usually the same every time. We sometimes see this warning too (status varies): SR.4 or SR.5 bits set in buffer write (status b0). Clearing. We have tried kernel versions 2.6.11, 2.6.16.11 and 2.6.16.27. Same problem on all these versions. We have made our own mapping driver based on altera.c, and we have tried using "CFI Flash device in physical memory map" and parsed partition information from kernel command-line. Bank width is 2 octets. We have developed our own board with 32MB SDRAM, SMC91111 ethernet and Intel Strataflash P30 32MB flash. We unlock the whole flash using flash_unlock utility before mounting the file system, since this flash chip powers up with all blocks locked. Lately we have also seen some packet loss. I hope someone have any ideas on how to solve this problem. Regards, Hein