07-31-2014 04:13 AM
Looking at the xuartps.h it looks that we can change the parameters to make the UART PS work at a higher baud rate. Modify these parameters as a custom driver and test it
* The following constants indicate the max and min baud rates and these
* numbers are based only on the testing that has been done. The hardware
* is capable of other baud rates.
#define XUARTPS_MAX_RATE 115200
#define XUARTPS_MIN_RATE 110
#define XUARTPS_DFT_BAUDRATE 115200 /* Default baud rate */
xuartps.h is a part of the uartps drivers folder.
11-14-2014 12:59 PM
11-18-2014 01:51 PM
The short version is depending upon which u-boot/kernel you're running, you'll likely have to modify the source code. I happened upon this issue because my system is running an atypical system clock speed, and found that the older source doesn't actually find the device driver.
The critical error message for this version of source is:
xuartps ... failed to get alias id, errno -19
The code then uses a hard coded value for the divided clock speed supplied to the uart, which later is translated into the baudrate. You may also, as you have already done, modified the defines for t he desired baudrate.