Tool/software: Starterware
Hi,
I am very new to linux, and this is my first Embedded Linux project. Any instructions are appreciated.
I am using am335x starter kit and sdk 3.3.0.4, my product board will base on am3352. My intention is to store linux kernel and my Filesystem to SPI FLASH, and my board will be designed to boot to SPI FLASH, by copying the contents of SPI FLASH to RAM memory then executing it. I have a FPGA connecting to am3352 through GPMC, and I hope to read/write FPGA like at local memory address. The FPGA is to emulate as a 16-bit Address/Data multiplexed NOR FLASH device, with 16-bit synchronous read/write access, with read burst access.
I have read some documents/posts about GPMC, they suggests how to configure GPMC, e.g.
http://processors.wiki.ti.com/index.php/StarterWare_GPMC
But I don't know where can I do the configuration. In the first link, it said "
GPMC configuration currently happening through u-boot(2010.06)/x-loader only, Kernel (2.6.32) only reads the configuration done by u-boot and uses it to find mapped/configured physical address and maps it to kernel virtual." Although I checked the sdkpath/board-support/u-boot folder, I didn't find x-loader, and no idea of how to put the GPMC configuration into the u-boot.
Could anybody kindly tell me where to put GPMC configuration (u-boot, kernel or File system?), and how to set these registers(command line, api)?
Lots of thanks.