Link issue on xilinx_zynq_a9_qemu BSP on rtems-libbsd head

2020-01-15 Thread Lou Woods
Hello all, I just pulled from the master of both rtems (362cf319d44e7e64987f12aa36ea030e6298c586) and rtems-libbsd (d892051f37c2c4ad7f345f6a817ea3d38e56a431) trees and ran into an couple undefined references when linking an application outside of the tree. The application doesn't directly use

[PATCH] bsp/raspberrypi: AUX uart driver

2020-01-15 Thread G S Niteesh
This patch adds the driver for aux driver present in Raspberry Pi 3 and above, this uart is currently used as the primary uart. The AUX uart is similar to ns16550, it uses the libchip/ns16550 driver. --- bsps/arm/raspberrypi/console/console-config.c | 113 -- bsps/arm/raspberrypi/i

[PATCH] libchip/ns16550: Allow user calculate baud divisor

2020-01-15 Thread G S Niteesh
This patch will allow the user to pass a function to calculate the baud divisor. This is will allow for more flexibility, since for some BSP's like raspberrypi, the calculate of baud divisor is different from what is in the current driver. --- bsps/include/libchip/ns16550.h | 11

Re: Raspberrypi3: AUX Uart driver

2020-01-15 Thread Christian Mauderer
On 15/01/2020 12:13, Niteesh wrote: > Thank you, it works now :) > I have tested in on a real rpi3 and on rpi2 using QEMU, it works on both > of them. > Shall I send it as two patches, because the first one adds the facility > to pass > user define functions to calculate baud divisor and the 2nd is

Re: Raspberrypi3: AUX Uart driver

2020-01-15 Thread Niteesh
Thank you, it works now :) I have tested in on a real rpi3 and on rpi2 using QEMU, it works on both of them. Shall I send it as two patches, because the first one adds the facility to pass user define functions to calculate baud divisor and the 2nd is the driver patch? On Wed, Jan 15, 2020 at 1:25