Hi Ferry,

Ferry de Groot wrote:
We have just made our own MCF5208 board with 32-bit SDRAM and Flash memory. The original M5208EVB uses an 16-bit design. Now I would like to know, what do I need to change to get my mtd partition fully working again in this design? It seems to access the flash memory in 16-bit mode. We're using 2x 16-bit Flash memories S29JL032H. I only have to know what to change for the 32-bit part Flash memory. Like for instance do I need to change the #define BUSWIDTH 2 for this design in linux-2.4.x/drivers/mtd/maps/m5208.c?

I would expect that you do need to change that to 4.


I've allready changed the flash bit width to 32-bit in block devices or do i need to make more specific changes. Erasing an sector seems to work almost fine. Except that it didn't fully erased the full memory range.

Where did you change this, what setting is it?


For the SDRAM I changed the SDRAM Processor type features to 32-bit plus the changes in the files:

linux-2.4.x/arch/m68knommu/platform/5208/crt0_ram.S
linux-2.4.x/arch/m68knommu/platform/5208/ram.ld

I don't suspect any complication on this part unless anybody says I need to change something specific?

Not to much is generally required of RAM, provided the DRAM
controller is actually setup properly.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to