Forum Discussion
Altera_Forum
Honored Contributor
20 years agoProbably you need some customization ( we don't have a board with this kind of flash here). If you are willing to try, I have two solutions for you:
1. If you don't want the capability to write flash under uClinux (such as required by jffs2), I can email you a rom map, and you will be able to use romfs. Please tell me an email address if you like. 2. If you want the kernel find out the flash you are using, so that you can use jffs2 later, you need to do this: 1) enable CONFIG_MTD_JEDECPROBE, since Am29LV128MH is a jedec standard chip. 2) Since this chip's bus width is 16 bit (better check me on this), you need to change the Altera NDK map (drivers/mtd/maps/altera.c), change the line#define BUSWIDTH 1 to: #define BUSWIDTH 2 3) Add the chip infor to the jedec_table[] in file /drivers/mtd/chips/jedec_probe.c, like Microtronix did for AM29LV065D. You have to find the necessary information from the datasheet of that chip. Then the kernel should be able to find the chip. Good luck, wentao