Hello,
we have a board based on the AM37x processor and having a clock rate running at 19.2Mhz ( clock rate on the AM37x EVM is 26Mhz).
I try to adapt Linux to run on this board.
1) adapting x-loader was easy and required to do the following change in omap3evm.h:
/* Clock Defines */
-#define V_OSCK 26000000 /* Clock output from T2 */
+#define V_OSCK 19200000 /* Clock output from T2 */
#if (V_OSCK > 19200000)
#define V_SCLK (V_OSCK >> 1)
#else
#define V_SCLK V_OSCK
#endif
after then X-loader is starting and dispalying correctly to serial console.
2) I did the same change in u-boot in the file omap3_evm.h:
/* Clock Defines */
-#define V_OSCK 26000000 /* Clock output from T2 */
+#define V_OSCK 19200000 /* Clock output from T2 */
#define V_SCLK (V_OSCK >> 1)
But it was not enough , I believe that u-boot is starting after MLO but it only junk characters are displayed on my serial console.
What additional changes are required (changes from 26MHz to 19.2Mhz) to start u-boot and display correctly the serial output ?
Many thanks,
Ayoub Zaki