MBX AMD AM29F080 flash not recognized

dibacco at inwind.it dibacco at inwind.it
Sun Feb 12 03:51:08 EST 2006


Hi,

on my MBX board I have two flashes: AM29F040 called bootrom and four chips of AM29F080 (each one 8 Mbit for a total of 4MB).

The kernel (from DENX) doesn't find the AM29F080. I added the following in amd_flash.c to support AM29F040 (a friend of mine told me)

#define AM29F040	0x00A4

and also:

{
                mfr_id: MANUFACTURER_AMD,
		dev_id: AM29F040,
		name: "AMD AMD29F040",
		size: 0x00080000,
		numeraseregions: 1,
		regions: {
	          { offset: 0x000000, erasesize: 0x10000, numblocks: 8 },
		}
},

in the amd_flash_info table.

For AM29F080 I don't know what to add and if to add something is ok !?!?!?!?

Someone knows?

Furthermore, how can I specify that there are 4 chips of AM29F080?

The kernel will handle this automatically?

Bye,
Antonio.







More information about the Linuxppc-embedded mailing list