Other Parts Discussed in Thread: AM3352
Hello to all
Using a AM3352 processor on a custom board. I need transfer files between two boards .
At the moment, i can use the UART1/UART4 to transfer files. Normally these files 17KB, sometimes up to to 1GB. (I can not use the SPI ports because it's already occupied.). The TRM shows that the serial can go up to 3MBs. (So the transfer time would be acceptable) For now I have only used the protocols lrzsz minicom.
I find it a little strange that for large file transfers, there is a CPU usage by almost 90%.
I think it's due to the fact that the FIFO of the UART is not using DMA. In fact in the source file
KERNEL_TREE/mach-omap2/serial.c the option for the dma is set to false
static struct omap_uart_port_info omap_serial_default_info [] __ initdata = {
{
dma_enabled = false,
I modified the source files, changing the option to "true", without making any changes to the device tree, and then I recompiled the kernel.
I saw this post http://e2e.ti.com/support/arm/sitara_arm/f/791/t/298523.aspx
But I have not seen the same mistakes. I have not seen kernel panics. I made a simple test program in C (read () and write () function adn termios.h), but I'm not sure that it works differently since I have not made the change.
How can I test if the change I made was implemented correctly?