Test program for SDRAM, Nand-Flash in Linux for ARM9
I am working on ARM based controller AT91SAM9260 from ATMEL.
It is already having Linux kernel in flash and I need to make a test program to check the peripherals are connected properly.
It has two 256kbits SDRAM and i need to just test that. The kernal has driver and i need to read and write the memory.
How to give commands to driver for memory configuration, read and write?