Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Michael,
If you don't want to write/erase flash under linux, my suggestion is to use the nios romfs map, which only detects the flash chip as rom. If you do need write/erase flash ability, you can customize the map in altera.c or microtronix.c to meet your needs. Pay attention to the width of the bus to the chip, which is 8 bit for altera platforms and 16 for Microtronix platforms. You can consult your hardware engineer to get this information, or check the datasheet of that flash chip. Also make sure your kernel config has enabled the CFI probe and/or JEDEC probe. If you still have trouble detecting the chip, and if the chip is JEDEC compliant, you might need to add your chip to jedec_table in file jedec_probe.c.