Is there any example to show how to communicate through external bus on Linux system.
I compile bitbake -k angstrom-lxde-image (LinuxImageV2.5) with no problem.
Brandon Shibley send to my mail patch with DMA support (change board-colibri_t20.c), but what about CS, bus data width, clock settings, etc? Where they need to be adjusted? Any example?
Sources of bench (External Memory Bus (Linux) | Toradex Developer Center)?
Thanks!
I apologize for not responding right away. On T20, the driver defaults to 32-bit, non-mux’d, async mode. The bus width is set to 32-bit in board-colibri_t20.h with #define GMI_32BIT. Some configurations are simply unsupported in the driver; however the driver does have some configurability via ioctl settings which you can see by inspecting the source code. This is the relevant function:
Hi!
Thanks!
Now I work on Colibri T30 module and have some question.
In tegra-gmi-bus.c
config |= TEGRA_SNOR_CONFIG_SNOR_CS(4); // chip select = 4
In Nvidia datasheet 6:4 bit of SNOR_CONFIG_0 is CS4.
Where is CS4 on Colibri Evaluation Board v3.2B?
I think that actually used CS0 because on A27(X3) where are right signal.
I try to set CS0, recompile kernel, and after that, there are nothing on A27(X3).
I try to write some data in tegra-nor device in nonmux async 16bit mode, but only GMI_AD[7:0]
is right signal. In 15:8 there are some strange signal.
Please help.